]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix sparc build with older compilers.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c8df52ec
DM
12012-12-04 David S. Miller <davem@abraco.davemloft.net>
2
3 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4
b3b099af
JM
52012-12-04 Joseph Myers <joseph@codesourcery.com>
6
c33aa6e3
JM
7 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8 (CFLAGS-nldbl-acos.c): New variable.
9 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
44 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
45 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
46 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
61 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
63 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
68 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
70 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
72 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
74 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
75 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
76 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
77 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
78 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
79 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
80 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
81 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
82 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
83 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
84 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
85 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
86 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
87 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
88 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
89 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
90 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
91 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
92 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
93 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
94 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
95 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
96 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
97 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
98 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
99 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
100 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
101 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
102 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
103 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
104 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
105 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
106
20f0018d
JM
107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
108 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
109
b3b099af
JM
110 [BZ #14914]
111 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
112 whole low double instead of just low 47 bits when splitting values
113 into two parts.
114
029264d1
AM
1152012-12-03 Allan McRae <allan@archlinux.org>
116
117 * manual/stdio.texi (Predefined Printf Handlers): Remove
118 @hsep and @vsep usage.
119
c9d6789e
MF
1202012-12-03 Mike Frysinger <vapier@gentoo.org>
121
122 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
123 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
124
4b7634a5
JL
1252012-12-03 Jeff Law <law@redhat.com>
126
127 * time/sys/time.h (settimeofday): Do not mark TV argument
128 as __nonnull.
129
eb6cbd24
MF
1302012-12-01 Mike Frysinger <vapier@gentoo.org>
131
132 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
133 when currently writing and seek to current position when not.
134 * libio/Makefile (tests): Remove bug-fclose1.
135 * libio/bug-fclose1.c: Delete.
136
f638872a
JM
1372012-12-01 Joseph Myers <joseph@codesourcery.com>
138
139 * manual/arith.texi (feenableexcept): Fix typo.
140 (fedisableexcept): Likewise.
141
48085d14
RM
1422012-11-30 Roland McGrath <roland@hack.frob.com>
143
144 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
145 second, differently-typed declaration, rather than a cast.
146
1a538b9f
SP
1472012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
148
149 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
150 * include/rpc/svc.h: ... here.
151
d07f2ff1 1522012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
153
154 [BZ #13013]
155 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
156 depending n and resplen2 to catch cases where answer
157 equals answerp2.
158
c93ec1f0
CD
1592012-11-29 Carlos O'Donell <carlos@systemhalted.org>
160
161 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
162 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
163
37db69de
MF
1642012-11-29 Mike Frysinger <vapier@gentoo.org>
165
166 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
167
e10c4e4f
RM
1682012-11-29 Roland McGrath <roland@hack.frob.com>
169
170 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
171
2af1b328
JL
1722012-11-28 Jeff Law <law@redhat.com>
173
174 [BZ #13761]
175 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
176 dataset_temporary. Track alloca usage into alloca_used.
177 If dataset is large allocate and release it via malloc/free.
178
111db5b1
FW
1792012-06-04 Florian Weimer <fweimer@redhat.com>
180
f06cc227 181 [BZ #14197]
111db5b1
FW
182 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
183
dd694abd
DM
1842012-11-28 David S. Miller <davem@davemloft.net>
185
186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
187
9984dd01
JM
1882012-11-28 Joseph Myers <joseph@codesourcery.com>
189
190 [BZ #14803]
191 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
192 of pi/2 rounded to nearest to 64 bits.
193 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
194 nearest to 64 bits.
195 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
196 bits.
197
14bc93a9
JL
1982012-11-28 Jeff Law <law@redhat.com>
199 Martin Osvald <mosvald@redhat.com>
200
201 [BZ #14889]
202 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
203 * sunrpc/svc.c: Include time.h.
204 (__svc_accept_failed): New function.
205 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
206 any reason other than EINTR, call __svc_accept_failed.
207 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
208 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
209
e3c6aa3a
AS
2102012-11-28 Andreas Schwab <schwab@suse.de>
211
212 * scripts/abilist.awk: Also handle indirect functions in .opd
213 section.
214
1bead169
JM
2152012-11-28 Joseph Myers <joseph@codesourcery.com>
216
217 [BZ #13881]
218 * sysdeps/x86/fpu/powl_helper.c: New file.
219 * sysdeps/x86/fpu/Makefile: Likewise.
220 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
221 (p3): New object.
222 (__ieee754_powl): Use __powl_helper for finite arguments except
223 integer exponents below 8.
224 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
225 (p3): New object.
226 (__ieee754_powl): Use __powl_helper for finite arguments except
227 integer exponents below 8.
228 * math/libm-test.inc (pow_test): Add more tests and enable some
229 previously disabled tests.
230 * sysdeps/i386/fpu/libm-test-ulps: Update.
231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
232
0817d63d
SP
2332012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
234 Carlos O'Donell <carlos_odonell@mentor.com>
235
236 * nss/makedb.c (is_prime): Assert that input is odd and greater
237 than 4. Note that fact in a comment too.
238 (next_prime): Add 4 to input.
239
de2fd463
SP
2402012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
241
242 [BZ #11741]
243 * libio/Makefile (tests): Add test case tst-fwrite-error.
244 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
245 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
246 * libio/tst-fwrite-error.c: New test case.
247
c515fb51
L
2482012-11-26 H.J. Lu <hongjiu.lu@intel.com>
249
250 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
251 before casting to void *.
252 * include/libc-internal.h (__pointer_type): New macro.
253 (__integer_if_pointer_type_sub): Likewise.
254 (__integer_if_pointer_type): Likewise.
255 (cast_to_integer): Likewise.
256 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
257 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
258 before casting to atomic64_t.
259 (atomic_exchange_acq): Likewise.
260 (__arch_exchange_and_add_body): Likewise.
261 (__arch_add_body): Likewise.
262 (atomic_add_negative): Likewise.
263 (atomic_add_zero): Likewise.
264
4cf77aa9
JM
2652012-11-26 Joseph Myers <joseph@codesourcery.com>
266
267 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
268 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
269 (add_fdes): Likewise.
270 (linear_search_fdes): Likewise.
271 (binary_search_unencoded_fdes): Likewise.
272
d260b3b4
AS
2732012-11-26 Andreas Schwab <schwab@linux-m68k.org>
274
275 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
276
67060746
AC
2772012-11-24 Adam Conrad <adconrad@0c3.net>
278
279 * configure.in: Autodetect C++ header directories.
280 * configure: Regenerated.
281
800938a1
MF
2822012-11-23 Mike Frysinger <vapier@gentoo.org>
283
284 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
285
4e6e34e6
AS
2862012-11-23 Andreas Schwab <schwab@linux-m68k.org>
287
288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
289
7c7feb47
JM
2902012-11-22 Joseph Myers <joseph@codesourcery.com>
291
7184dcdf
JM
292 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
293 LDBL_MANT_DIG == 106]: Disable some tests.
294 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
295 Likewise.
296 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
297 Likewise.
298
0a42601f
JM
299 [BZ #14871]
300 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
301 input for small inputs. Return +/- pi/2 for large inputs.
302 * math/libm-test.inc (atan_test): Add more tests.
303
79c9b9fe
JM
304 * sysdeps/generic/unwind-dw2-fde-glibc.c
305 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
306 __attribute__ ((unused)).
307
c60d3bf2
JM
308 [BZ #14645]
309 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
310 x * y if x and y are nonzero and z is zero.
311
ef1e0867
JM
312 [BZ #14811]
313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
314 nonzero exponents with absolute value below 0x1p-117 to +/-
315 0x1p-117.
316
1468ded3
JM
317 [BZ #14869]
318 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
319 up arguments below 2**-450, not just those below 2**-500.
320 * math/libm-test.inc (hypot_test): Add another test.
321
8e27e3cc
JM
322 [BZ #14868]
323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
324 Return a+b for ratio over 2**120, not 2**60.
325 * math/libm-test.inc (hypot_test): Add another test.
326
c9c0279b
JM
327 * math/libm-test.inc (clog_test): Use
328 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
329 (clog10_test): Likewise.
330
7c7feb47
JM
331 [BZ #6778]
332 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
333
fff1530e
AS
3342012-11-22 Andreas Schwab <schwab@suse.de>
335
336 * sysdeps/i386/fpu/libm-test-ulps: Update.
337
94558d30
PT
3382012-11-22 Pino Toscano <toscano.pino@tiscali.it>
339
340 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
341 printf output with newline.
342
7e1be741
L
3432012-11-21 H.J. Lu <hongjiu.lu@intel.com>
344
6bfea974
L
345 [BZ #14865]
346 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
347 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
348 -z nodlopen, -z initfirst and -z execstack support.
349 * configure: Regenerated.
350
7e1be741
L
351 * elf/elf.h (DF_1_NODIRECT): New macro.
352 (DF_1_IGNMULDEF): Likewise.
353 (DF_1_NOKSYMS): Likewise.
354 (DF_1_NOHDR): Likewise.
355 (DF_1_EDITED): Likewise.
356 (DF_1_NORELOC): Likewise.
357 (DF_1_SYMINTPOSE): Likewise.
358 (DF_1_GLOBAUDIT): Likewise.
359 (DF_1_SINGLETON): Likewise.
360 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
361 DT_1_SUPPORTED_MASK bits.
362 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
363
105ce2ce
CD
3642012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
365
366 * sysdeps/unix/make-syscalls.sh: Document prefixes.
367
123be9de
TS
3682012-11-20 Thomas Schwinge <thomas@codesourcery.com>
369
d072f3f7
TS
370 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
371 macro.
372
123be9de
TS
373 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
374 (sendmmsg): Move declarations...
375 * socket/sys/socket.h: ... here.
376 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
377 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
378 include it from...
379 * socket/recvmmsg.c: ... this new file.
380 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
381 (sendmmsg): Rename to __sendmmsg, create weak alias and make
382 definition of __sendmmsg hidden.
383 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
384 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
385 Move ENOSYS stub into and include it from...
386 * socket/sendmmsg.c: ... this new file.
387 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
388 (sysdep_routines): Move recvmmsg and sendmmsg...
389 * socket/Makefile (routines): ... here.
390 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
391 (GLIBC_PRIVATE): Add __sendmmsg.
392 * include/sys/socket.h (__sendmmsg): Add declarations.
393 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
394 sendmmsg.
395
cf9a5d18
JM
3962012-11-20 Joseph Myers <joseph@codesourcery.com>
397
398 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
399 variable I1 with __attribute__ ((unused)).
400 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
401
ecd4caf9
JM
4022012-11-19 Joseph Myers <joseph@codesourcery.com>
403
be14d48f
JM
404 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
405 DUMMY variables with __attribute__ ((unused)).
406
ecd4caf9
JM
407 * bits/byteswap.h: Include <bits/types.h>.
408 (__bswap_64): Use __uint64_t instead of unsigned long long int.
409
986cab95
PT
4102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
411
412 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
413 string_t. Do not manually set errno.
414 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
415 length with __strnlen. Make sure to both set errno and return it on
416 failure.
417
6d33cc9d
DM
4182012-11-19 David S. Miller <davem@davemloft.net>
419
420 With help from Joseph Myers.
421 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
422 very large arguments properly.
423 * math/libm-test.inc (atan_test): New tests.
424 (atan2_test): New tests.
425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
427
ee663277
JM
4282012-11-19 Joseph Myers <joseph@codesourcery.com>
429
877f2d8e
JM
430 [BZ #14856]
431 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
432 Define to 3.
433
116fc08a
JM
434 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
435 [POSIX] (EADDRNOTAVAIL): Likewise.
436 [POSIX] (EAFNOSUPPORT): Likewise.
437 [POSIX] (EALREADY): Likewise.
438 [POSIX] (ECONNABORTED): Likewise.
439 [POSIX] (ECONNREFUSED): Likewise.
440 [POSIX] (ECONNRESET): Likewise.
441 [POSIX] (EDESTADDRREQ): Likewise.
442 [POSIX] (EDQUOT): Likewise.
443 [POSIX] (EHOSTUNREACH): Likewise.
444 [POSIX] (EIDRM): Likewise.
445 [POSIX] (EISCONN): Likewise.
446 [POSIX] (ELOOP): Likewise.
447 [POSIX] (EMULTIHOP): Likewise.
448 [POSIX] (ENETDOWN): Likewise.
449 [POSIX] (ENETUNREACH): Likewise.
450 [POSIX] (ENOBUFS): Likewise.
451 [POSIX] (ENODATA): Likewise.
452 [POSIX] (ENOLINK): Likewise.
453 [POSIX] (ENOMSG): Likewise.
454 [POSIX] (ENOPROTOOPT): Likewise.
455 [POSIX] (ENOSR): Likewise.
456 [POSIX] (ENOSTR): Likewise.
457 [POSIX] (ENOTCONN): Likewise.
458 [POSIX] (ENOTSOCK): Likewise.
459 [POSIX] (EOPNOTSUPP): Likewise.
460 [POSIX] (EOVERFLOW): Likewise.
461 [POSIX] (EPROTO): Likewise.
462 [POSIX] (EPROTONOSUPPORT): Likewise.
463 [POSIX] (EPROTOTYPE): Likewise.
464 [POSIX] (ESTALE): Likewise.
465 [POSIX] (ETIME): Likewise.
466 [POSIX] (ETXTBSY): Likewise.
467 [POSIX] (EWOULDBLOCK): Likewise.
468 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
469 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
470 [POSIX] (SEEK_CUR): Likewise.
471 [POSIX] (SEEK_END): Likewise.
472 [POSIX || UNIX98] (mode_t): Do not require.
473 [POSIX] (off_t): Likewise.
474 [POSIX] (pid_t): Likewise.
475 [POSIX] (sys/stat.h): Do not allow header.
476 [POSIX] (unistd.h): Likewise.
477 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
478 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
479 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
480 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
481 require.
482 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
483 sigevent): Specify elements.
484 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
485 entry.
486 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
487 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
488
a483863f
JM
489 * conform/data/cpio.h-data [POSIX]: Disable whole file.
490 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
491 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
492 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
493 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
494 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
495 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
496 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
497 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
498 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
499 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
500 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
501 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
502 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
503 Likewise.
504 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
505 Likewise.
506 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
507 Likewise.
508 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
509 Likewise.
510 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
511 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
512 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
513 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
514 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
515 Specify lower bound on value.
516 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
517 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
518 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
519 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
520 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
521 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
522 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
523 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
524 value.
525 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
526 as optional.
527 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
528 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
529 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
530 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
531 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
532 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
533 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
534 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
535 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
536 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
537 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
538 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
539 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
540 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
541 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
542 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
543 entry.
544 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
545 optional.
546 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
547 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
548 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
549 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
550 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
551 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
552 Likewise.
553 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
554 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
555 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
556 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
557 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
558 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
559 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
560 as optional.
561 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
562 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
563 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
564 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
565 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
566 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
567 specify as optional.
568 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
569 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
570 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
571 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
572 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
573 [XPG3] (NL_LANGMAX): Likewise.
574 [POSIX || XPG3] (NL_MSGMAX): Likewise.
575 [POSIX || XPG3] (NL_NMAX): Likewise.
576 [POSIX || XPG3] (NL_SETMAX): Likewise.
577 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
578 [XPG3] (NZERO): Likewise.
579 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
580 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
581 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
582 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
583 (REG_ERANGE): Expect.
584 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
585 optional-constant.
586 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
587 Use (void) in prototype.
588 [POSIX] (*_t): Allow.
589 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
590 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
591 (WRDE_BADVAL): Expect.
592
5ba924e3
JM
593 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
594 expect.
595 [XPG3 || XPG4] (O_RSYNC): Likewise.
596 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
597 Likewise.
598 [XPG3 || XPG4] (pthread_sigmask): Likewise.
599 [XPG3 || XPG4] (sigqueue): Likewise.
600 [XPG3 || XPG4] (sigtimedwait): Likewise.
601 [XPG3 || XPG4] (sigwaitinfo): Likewise.
602 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
603 [XPG3 || XPG4] (vsnprintf): Likewise.
604 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
605 Likewise.
606 [XPG3 || XPG4] (blksize_t): Likewise.
607 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
608 Likewise.
609 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
610 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
611 [XPG3 || XPG4] (struct itimerspec): Likewise.
612 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
613 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
614 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
615 [XPG3 || XPG4] (clockid_t): Likewise.
616 [XPG3 || XPG4] (timer_t): Likewise.
617 [XPG3 || XPG4] (clock_getres): Likewise.
618 [XPG3 || XPG4] (clock_gettime): Likewise.
619 [XPG3 || XPG4] (clock_settime): Likewise.
620 [XPG3 || XPG4] (nanosleep): Likewise.
621 [XPG3 || XPG4] (timer_create): Likewise.
622 [XPG3 || XPG4] (timer_delete): Likewise.
623 [XPG3 || XPG4] (timer_gettime): Likewise.
624 [XPG3 || XPG4] (timer_getoverrun): Likewise.
625 [XPG3 || XPG4] (timer_settime): Likewise.
626 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
627 [XPG3 || XPG4] (getlogin_r): Likewise.
628 [XPG3 || XPG4] (pread): Likewise.
629 [XPG3 || XPG4] (pthread_atfork): Likewise.
630 [XPG3 || XPG4] (pwrite): Likewise.
631
ee663277
JM
632 [BZ #14835]
633 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
634 <bits/siginfo.h>.
635
942caa16
PT
6362012-11-19 Pino Toscano <toscano.pino@tiscali.it>
637
e19af380
PT
638 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
639 finalizing MALLSTREAM.
640
942caa16
PT
641 * sysdeps/mach/hurd/syncfs.c: New file.
642
cfde9b46
SP
6432012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
644
645 [BZ #14719]
646 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
647 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
648 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
649 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
650 (_nss_dns_gethostbyname4_r): Likewise.
651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
652 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
653
f6da27e5
PH
6542012-11-19 Peng Haitao <penght@cn.fujitsu.com>
655
656 [BZ #13763]
657 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
658
6665d4a2
SM
6592012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
660
1f51ee92
SM
661 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
662 * elf/cache.c (print_entry): Print ",AArch64" for
663 FLAG_AARCH64_LIB64
664
6665d4a2
SM
665 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
666 * elf/cache.c (print_entry): Print ",hard-float" for
667 FLAG_ARM_LIBHF.
668
05b227bd
DM
6692012-11-18 David S. Miller <davem@davemloft.net>
670
671 With help from Joseph Myers.
672 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
673 cutoff to 2**-13.
674 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
675 cutoff to 2**-25.
676 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
677 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
678 small.
679 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
680 * math/libm-test.inc (y0_test): New tests.
681 (y1_test): New tests.
682 * sysdeps/i386/fpu/libm-test-ulps: Update.
683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
685
786b0b67
AS
6862012-11-18 Andreas Schwab <schwab@linux-m68k.org>
687
688 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
689 64-bit targets.
690 * configure: Regenerated.
691
8e18b86d
DM
6922012-11-17 David S. Miller <davem@davemloft.net>
693
694 [BZ #14811]
695 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
696 nonzero exponents with absolute value below 0x1p-128 to +/-
697 0x1p-128.
698
531f1ae0
JM
6992012-11-17 Joseph Myers <joseph@codesourcery.com>
700
12df29e2
JM
701 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
702
150dc1a0
JM
703 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
704
531f1ae0
JM
705 * posix/getconf-speclist.c: New file.
706 * posix/posix-envs.def: Likewise.
707 * posix/confstr.c (START_ENV_GROUP): New macro.
708 (END_ENV_GROUP): Likewise.
709 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
710 (KNOWN_PRESENT_ENV_STRING): Likewise.
711 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
712 (UNKNOWN_ENVIRONMENT): Likewise.
713 (confstr): Include posix-envs.def instead of handling
714 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
715 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
716 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
717 (END_ENV_GROUP): Likewise.
718 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
719 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
720 (UNKNOWN_ENVIRONMENT): Likewise.
721 (__sysconf): Include posix-envs.def instead of handling associated
722 cases directly here.
723 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
724 preprocessing getconf-speclist.c rather than running getconf or
725 generating empty file.
726
a93f9cbc
PT
7272012-11-16 Pino Toscano <toscano.pino@tiscali.it>
728
729 * scripts/check-local-headers.sh: Ignore 'mach' headers.
730
d64d9f87
AL
7312012-11-16 Andrej Lajovic <natrij@gmail.com>
732
733 [BZ #14672]
734 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
735
447885eb
DM
7362012-11-16 David S. Miller <davem@davemloft.net>
737
738 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
739 smaller than LDBL_EPSILON/2.0L, just return xm1.
740
bcbf9830
L
7412012-11-16 H.J. Lu <hongjiu.lu@intel.com>
742
743 * elf/tst-array1.c (init): Set constructor priority to 1000.
744 (fini): Set destructor priority to 1000.
745 * elf/tst-array2dep.c: Likewise.
746
2b766585
SP
7472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
748
749 [BZ #11741]
750 * libio/fileops.c (_IO_new_file_write): Correctly return error.
751 (_IO_new_file_xsputn): Also return EOF if none of the input
752 data was written when overflow failed.
753 * libio/iopadn.c (_IO_padn): Likewise.
754 * libio/iowpadn.c (_IO_wpadn): Likewise.
755 * stdio-common/tst-put-error.c: Add copyright notice.
756 (do_test): Add case for printing padded string.
757 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
758 _IO_padn returned error.
759 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
760 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
761 return EOF.
762
b1848fde
SP
7632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
764
765 * libio/libioP.h: Add comment note that the references to C++
766 bits are now obsolete.
767
2fd89785
MS
7682012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
769
770 * math/libm-test.inc (check_complex): Use asprintf.
771
e3ea5409
JM
7722012-11-14 Joseph Myers <joseph@codesourcery.com>
773
774 * debug/pcprofiledump.c (print_version): Update copyright year.
775 * malloc/memusagestat.c (print_version): Likewise.
776
2e64d265
L
7772012-11-14 H.J. Lu <hongjiu.lu@intel.com>
778
779 [BZ #14831]
780 * elf/Makefile (tests): Add tst-audit8.
781 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
782 ($(objpfx)tst-audit8.out): New target.
783 (tst-audit8-ENV): New variable.
784 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
785 audit if l_reloc_result is NULL.
786 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
787 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
788 * elf/tst-audit8.c: New file.
789
c485e4d2
MS
7902012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
791
792 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
793 * misc/Makefile (CFLAGS-select.c): Define.
794 * posix/Makefile (CFLAGS-pause.c): Define.
795
3a0d900a
DM
7962012-11-13 David S. Miller <davem@davemloft.net>
797
798 * crypt/Makefile: Move test targets after toplevel Rules
799 inclusion. Grab any necessary sysdep routines when linking.
800 * crypt/md5.c (md5_process_block): Remove define, we will always
801 name it __md5_process_block.
802 (md5_finish_ctx): Update md5_process_block call.
803 (md5_stream): Likewise.
804 (md5_process_bytes): Likewise.
805 (md5_process_block): Rename to __md5_process_block and move to ...
806 * crypt/md5-block.c: ... here.
807 * crypt/sha256.c (sha256_process_block): Move to ...
808 * crypt/sha256-block.c: ... here.
809 * crypt/sha512.c (sha512_process_block): Move to ...
810 * crypt/sha512-block.c: ... here.
811 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
812 path.
813 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
814 * sysdeps/sparc/sparc64/multiarch/Makefile
815 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
816 crypt subdir.
817 (localedef-aux): Add md5 crypto assembler when in locale subdir.
818 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
819 multiarch changes.
820 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
821 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
822 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
823 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
824 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
825 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
826 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
827 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
828 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
829 file.
830 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
831 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
832 file.
833 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
834
8ca89318
JM
8352012-11-13 Joseph Myers <joseph@codesourcery.com>
836
e27d476a
JM
837 * timezone/tzselect.ksh: Update from tzcode git revision
838 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
839 * timezone/zdump.c: Likewise.
840 * timezone/zic.c: Likewise.
841 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
842 in TZVERSION setting, not $(PKGVERSION).
843 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
844 REPORT_BUGS_TO settings.
845
8ca89318
JM
846 [BZ #14838]
847 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
848 macro.
849
47594329
MS
8502012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
851
852 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
853 detection to immediately after _FP_ROUND().
854 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
855 bits are 0.
856
640ac3f1
DM
8572012-11-11 David S. Miller <davem@davemloft.net>
858
859 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
860 inttypes.h
861 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
862 __close rather than their public counterparts.
863
3d2577bb
JM
8642012-11-10 Joseph Myers <joseph@codesourcery.com>
865
866 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
867 file.
868 [UNIX98] (sem_timedwait): Do not expect.
869 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
870 [XPG4 || UNIX98] (sockatmark): Do not expect.
871 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
872 (clock_getcpuclockid): Do not expect.
873 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
874 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
875 Do not expect.
876 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
877 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
878 [UNIX98] (vwscanf): Likewise.
879 [UNIX98] (vswscanf): Likewise.
880
fb1ae1ee
JM
8812012-11-09 Joseph Myers <joseph@codesourcery.com>
882
9ec6f8bd
JM
883 * timezone/version.h: Remove file.
884 * timezone/README: Do not refer to version.h.
885 * timezone/Makefile ($(objpfx)zic.o): New dependency on
886 $(objpfx)version.h.
887 ($(objpfx)zdump.o): Likewise.
c3f81911 888 ($(objpfx)version.h): New target.
9ec6f8bd 889
0aa8f8a1
JM
890 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
891 2012i.
892 * timezone/README: Don't mention modification to tzselect.ksh.
893 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
894 work on unmodified tzselect.ksh. Substitute version numbers in
895 tzselect.ksh.
896
4e87147f
JM
897 * Makefile (format-me): Remove.
898 (INSTALL): Adjust indentation. Use commands directly instead of
899 using $(format-me).
900
8b748aed
JM
901 * aclocal.m4 (ACX_PKGVERSION): New macro.
902 (ACX_BUGURL): Likewise.
903 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
904 (PKGVERSION): New AC_DEFINE_UNQUOTED.
905 (REPORT_BUGS_TO): Likewise.
906 * configure: Regenerated.
907 * config.h.in (PKGVERSION): New macro.
908 (REPORT_BUGS_TO): Likewise.
909 * config.make.in (PKGVERSION): New variable.
910 (PKGVERSION_TEXI): Likewise.
911 (REPORT_BUGS_TO): Likewise.
912 (REPORT_BUGS_TEXI): Likewise.
913 * Makefile (format-me): Use -I$(common-objpfx)manual.
914 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
915 ($(common-objpfx)manual/%): New target.
916 (manual/%): Remove target.
917 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
918 (print_version): Use PKGVERSION.
919 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
920 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
921 and REPORT_BUGS_TO.
922 ($(objpfx)xtrace): Likewise.
923 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
924 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
925 (print_version): Use PKGVERSION.
926 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
927 (do_version): Use PKGVERSION.
928 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
929 REPORT_BUGS_TO.
930 (common-ldd-rewrite): Likewise.
931 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
932 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
933 (print_version): Use PKGVERSION.
934 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
935 * elf/pldd.c (argp_program_bug_address): Remove variable.
936 (more_help): New function.
937 (argp): Use more_help.
938 (print_version): Use PKGVERSION.
939 * elf/sln.c (main): Use PKGVERSION.
940 (usage): Use REPORT_BUGS_TO.
941 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
942 (top level): Use PKGVERSION.
943 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
944 (print_version): Use PKGVERSION.
945 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
946 (print_version): Use PKGVERSION.
947 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
948 (print_version): Use PKGVERSION.
949 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
950 (print_version): Use PKGVERSION.
951 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
952 (print_version): Use PKGVERSION.
953 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
954 (print_version): Use PKGVERSION.
955 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
956 and BUGURL.
957 ($(objpfx)memusage): Likewise.
958 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
959 (do_version): Use PKGVERSION.
960 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
961 (print_version): Use PKGVERSION.
962 * malloc/mtrace.pl ($PACKAGE): Remove variable.
963 ($PKGVERSION): New variable.
964 ($REPORT_BUGS_TO): Likewise.
965 (usage): Use $REPORT_BUGS_TO.
966 (top level): Use $PKGVERSION.
967 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
968 ($(objpfx)pkgvers.texi): New rule.
969 ($(objpfx)stamp-pkgvers): Likewise.
970 * manual/install.texi: Include pkgvers.texi.
971 (--with-pkgversion): Document new configure option.
972 (--with-bugurl): Likewise.
973 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
974 than necessarily for this particular distribution. Use
975 REPORT_BUGS_TO for where to report bugs.
976 * INSTALL: Regenerated.
977 * manual/libc.texinfo: Include pkgvers.texi.
978 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
979 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
980 (print_version): Use PKGVERSION.
981 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
982 (print_version): Use PKGVERSION.
983 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
984 (print_version): Use PKGVERSION.
985 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
986 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
987 macro.
988 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
989 (print_version): Use PKGVERSION.
990 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
991 (print_version): Use PKGVERSION.
992 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
993 and PKGVERSION.
994
92e4b6a9
JM
995 * timezone/checktab.awk: Update from tzcode 2012i.
996 * timezone/ialloc.c: Likewise.
997 * timezone/private.h: Likewise.
998 * timezone/scheck.c: Likewise.
999 * timezone/tzfile.h: Likewise.
1000 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1001 (TZVERSION): Hardcode tzcode version number.
1002 * timezone/zdump.c: Update from tzcode 2012i.
1003 * timezone/zic.c: Likewise.
1004 * timezone/version.h: New file.
1005 * timezone/README: Describe version.h. Update upstream location.
1006
9bde902c
JM
1007 [BZ #14824]
1008 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1009 (mktemp): Enable declaration.
1010 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1011 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1013 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1014 Likewise.
1015 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1016 Likewise.
1017 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1018 Likewise.
1019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1020 Likewise.
1021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1022 Likewise.
1023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1024 Likewise.
1025
fb1ae1ee
JM
1026 [BZ #14821]
1027 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1028 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1029 for copies of such integer values.
1030 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1031 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1032
2c1adbcb
AJ
10332012-11-09 Andreas Jaeger <aj@suse.de>
1034
1035 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1036 definitions and declarations that are provided by
1037 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1038
d0f8457e
AK
10392012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1040
1041 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1042 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1043 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1044 definition.
1045
57241e26
MS
10462012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1047
1048 * elf/elf.h: Update comment before AArch64 relocations.
1049
60e8270d
DM
10502012-11-07 David S. Miller <davem@davemloft.net>
1051
1052 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1053 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1054 (__start_context): Declare.
1055 (__makecontext_ret): Delete.
1056 (__makecontext): Hook up __start_context instead of
1057 __makecontext_ret.
1058 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1059 (sysdep_routines): Add __start_context when in stdlib.
1060
0fbb0fbc
JM
10612012-11-07 Joseph Myers <joseph@codesourcery.com>
1062
1063 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1064 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1065 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1066 hardcoded "nm".
1067 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1068 (READELF): New variable. Use it instead of hardcoded "readelf".
1069
eb48db7e
L
10702012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1073 * sysdeps/x86/Makefile: Here.
1074 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1075 * sysdeps/x86/tst-xmmymm.sh: This.
1076
05bcf62a
JM
10772012-11-07 Joseph Myers <joseph@codesourcery.com>
1078
c4b6cf53
JM
1079 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1080 expectations.
1081 [UNIX98] (pthread_barrier_t): Do not expect.
1082 [UNIX98] (pthread_barrierattr_t): Likewise.
1083 [UNIX98] (pthread_spinlock_t): Likewise.
1084 [UNIX98] (pthread_barrier_destroy): Likewise.
1085 [UNIX98] (pthread_barrier_init): Likewise.
1086 [UNIX98] (pthread_barrier_wait): Likewise.
1087 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1088 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1089 [UNIX98] (pthread_barrierattr_init): Likewise.
1090 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1091 [UNIX98] (pthread_getcpuclockid): Likewise.
1092 [UNIX98] (pthread_mutex_timedlock): Likewise.
1093 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1094 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1095 [UNIX98] (pthread_sigmask): Likewise.
1096 [UNIX98] (pthread_spin_destroy): Likewise.
1097 [UNIX98] (pthread_spin_init): Likewise.
1098 [UNIX98] (pthread_spin_lock): Likewise.
1099 [UNIX98] (pthread_spin_trylock): Likewise.
1100 [UNIX98] (pthread_spin_unlock): Likewise.
1101 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1102 Do not expect.
1103 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1105 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1106 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1107 [XPG3 || XPG4] (pthread_key_t): Likewise.
1108 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1109 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1110 [XPG3 || XPG4] (pthread_once_t): Likewise.
1111 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1112 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1114 [XPG3 || XPG4] (pthread_t): Likewise.
1115
cbe6e120
JM
1116 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1117 not expect.
1118 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1119
1b126443
JM
1120 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1121 Change function return type to int.
1122
b961a573
JM
1123 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1124 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1125 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1126 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1127 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1128 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1129 [!POSIX] (posix_madvise): Likewise.
1130 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1131 && !UNIX98].
1132 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1133 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1134 (mode_t): Likewise.
1135 (posix_mem_offset): Likewise.
1136 (posix_typed_mem_get_info): Likewise.
1137 (posix_typed_mem_open): Likewise.
1138
9e188909
JM
1139 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1140 Change condition to [XOPEN2K8].
1141
05bcf62a
JM
1142 * conform/conformtest.pl: Preprocess allow-header data with -x c
1143 instead of from stdin.
1144 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1145 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1146 [C99-based standards] (cerfc): Likewise.
1147 [C99-based standards] (cexp2): Likewise.
1148 [C99-based standards] (cexpm1): Likewise.
1149 [C99-based standards] (clog10): Likewise.
1150 [C99-based standards] (clog1p): Likewise.
1151 [C99-based standards] (clog2): Likewise.
1152 [C99-based standards] (clgamma): Likewise.
1153 [C99-based standards] (ctgamma): Likewise.
1154 [C99-based standards] (cerff): Likewise.
1155 [C99-based standards] (cerfcf): Likewise.
1156 [C99-based standards] (cexp2f): Likewise.
1157 [C99-based standards] (cexpm1f): Likewise.
1158 [C99-based standards] (clog10f): Likewise.
1159 [C99-based standards] (clog1pf): Likewise.
1160 [C99-based standards] (clog2f): Likewise.
1161 [C99-based standards] (clgammaf): Likewise.
1162 [C99-based standards] (ctgammaf): Likewise.
1163 [C99-based standards] (cerfl): Likewise.
1164 [C99-based standards] (cerfcl): Likewise.
1165 [C99-based standards] (cexp2l): Likewise.
1166 [C99-based standards] (cexpm1l): Likewise.
1167 [C99-based standards] (clog10l): Likewise.
1168 [C99-based standards] (clog1pl): Likewise.
1169 [C99-based standards] (clog2l): Likewise.
1170 [C99-based standards] (clgammal): Likewise.
1171 [C99-based standards] (ctgammal): Likewise.
1172 * conform/data/inttypes.h-data [C99-based standards]: Include
1173 stdint.h-data. Remove all expectations for stdint.h contents.
1174 [C99-based standards] (PRI*): Do not allow.
1175 [C99-based standards] (SCN*): Likewise.
1176 [C99-based standards] (*_t): Likewise.
1177 [C99-based-standards] (PRId8): Expect macro.
1178 [C99-based-standards] (PRIi8): Likewise.
1179 [C99-based-standards] (PRIo8): Likewise.
1180 [C99-based-standards] (PRIu8): Likewise.
1181 [C99-based-standards] (PRIx8): Likewise.
1182 [C99-based-standards] (PRIX8): Likewise.
1183 [C99-based-standards] (SCNd8): Likewise.
1184 [C99-based-standards] (SCNi8): Likewise.
1185 [C99-based-standards] (SCNo8): Likewise.
1186 [C99-based-standards] (SCNu8): Likewise.
1187 [C99-based-standards] (SCNx8): Likewise.
1188 [C99-based-standards] (PRIdLEAST8): Likewise.
1189 [C99-based-standards] (PRIiLEAST8): Likewise.
1190 [C99-based-standards] (PRIoLEAST8): Likewise.
1191 [C99-based-standards] (PRIuLEAST8): Likewise.
1192 [C99-based-standards] (PRIxLEAST8): Likewise.
1193 [C99-based-standards] (PRIXLEAST8): Likewise.
1194 [C99-based-standards] (SCNdLEAST8): Likewise.
1195 [C99-based-standards] (SCNiLEAST8): Likewise.
1196 [C99-based-standards] (SCNoLEAST8): Likewise.
1197 [C99-based-standards] (SCNuLEAST8): Likewise.
1198 [C99-based-standards] (SCNxLEAST8): Likewise.
1199 [C99-based-standards] (PRIdFAST8): Likewise.
1200 [C99-based-standards] (PRIiFAST8): Likewise.
1201 [C99-based-standards] (PRIoFAST8): Likewise.
1202 [C99-based-standards] (PRIuFAST8): Likewise.
1203 [C99-based-standards] (PRIxFAST8): Likewise.
1204 [C99-based-standards] (PRIXFAST8): Likewise.
1205 [C99-based-standards] (SCNdFAST8): Likewise.
1206 [C99-based-standards] (SCNiFAST8): Likewise.
1207 [C99-based-standards] (SCNoFAST8): Likewise.
1208 [C99-based-standards] (SCNuFAST8): Likewise.
1209 [C99-based-standards] (SCNxFAST8): Likewise.
1210 [C99-based-standards] (PRId16): Likewise.
1211 [C99-based-standards] (PRIi16): Likewise.
1212 [C99-based-standards] (PRIo16): Likewise.
1213 [C99-based-standards] (PRIu16): Likewise.
1214 [C99-based-standards] (PRIx16): Likewise.
1215 [C99-based-standards] (PRIX16): Likewise.
1216 [C99-based-standards] (SCNd16): Likewise.
1217 [C99-based-standards] (SCNi16): Likewise.
1218 [C99-based-standards] (SCNo16): Likewise.
1219 [C99-based-standards] (SCNu16): Likewise.
1220 [C99-based-standards] (SCNx16): Likewise.
1221 [C99-based-standards] (PRIdLEAST16): Likewise.
1222 [C99-based-standards] (PRIiLEAST16): Likewise.
1223 [C99-based-standards] (PRIoLEAST16): Likewise.
1224 [C99-based-standards] (PRIuLEAST16): Likewise.
1225 [C99-based-standards] (PRIxLEAST16): Likewise.
1226 [C99-based-standards] (PRIXLEAST16): Likewise.
1227 [C99-based-standards] (SCNdLEAST16): Likewise.
1228 [C99-based-standards] (SCNiLEAST16): Likewise.
1229 [C99-based-standards] (SCNoLEAST16): Likewise.
1230 [C99-based-standards] (SCNuLEAST16): Likewise.
1231 [C99-based-standards] (SCNxLEAST16): Likewise.
1232 [C99-based-standards] (PRIdFAST16): Likewise.
1233 [C99-based-standards] (PRIiFAST16): Likewise.
1234 [C99-based-standards] (PRIoFAST16): Likewise.
1235 [C99-based-standards] (PRIuFAST16): Likewise.
1236 [C99-based-standards] (PRIxFAST16): Likewise.
1237 [C99-based-standards] (PRIXFAST16): Likewise.
1238 [C99-based-standards] (SCNdFAST16): Likewise.
1239 [C99-based-standards] (SCNiFAST16): Likewise.
1240 [C99-based-standards] (SCNoFAST16): Likewise.
1241 [C99-based-standards] (SCNuFAST16): Likewise.
1242 [C99-based-standards] (SCNxFAST16): Likewise.
1243 [C99-based-standards] (PRId32): Likewise.
1244 [C99-based-standards] (PRIi32): Likewise.
1245 [C99-based-standards] (PRIo32): Likewise.
1246 [C99-based-standards] (PRIu32): Likewise.
1247 [C99-based-standards] (PRIx32): Likewise.
1248 [C99-based-standards] (PRIX32): Likewise.
1249 [C99-based-standards] (SCNd32): Likewise.
1250 [C99-based-standards] (SCNi32): Likewise.
1251 [C99-based-standards] (SCNo32): Likewise.
1252 [C99-based-standards] (SCNu32): Likewise.
1253 [C99-based-standards] (SCNx32): Likewise.
1254 [C99-based-standards] (PRIdLEAST32): Likewise.
1255 [C99-based-standards] (PRIiLEAST32): Likewise.
1256 [C99-based-standards] (PRIoLEAST32): Likewise.
1257 [C99-based-standards] (PRIuLEAST32): Likewise.
1258 [C99-based-standards] (PRIxLEAST32): Likewise.
1259 [C99-based-standards] (PRIXLEAST32): Likewise.
1260 [C99-based-standards] (SCNdLEAST32): Likewise.
1261 [C99-based-standards] (SCNiLEAST32): Likewise.
1262 [C99-based-standards] (SCNoLEAST32): Likewise.
1263 [C99-based-standards] (SCNuLEAST32): Likewise.
1264 [C99-based-standards] (SCNxLEAST32): Likewise.
1265 [C99-based-standards] (PRIdFAST32): Likewise.
1266 [C99-based-standards] (PRIiFAST32): Likewise.
1267 [C99-based-standards] (PRIoFAST32): Likewise.
1268 [C99-based-standards] (PRIuFAST32): Likewise.
1269 [C99-based-standards] (PRIxFAST32): Likewise.
1270 [C99-based-standards] (PRIXFAST32): Likewise.
1271 [C99-based-standards] (SCNdFAST32): Likewise.
1272 [C99-based-standards] (SCNiFAST32): Likewise.
1273 [C99-based-standards] (SCNoFAST32): Likewise.
1274 [C99-based-standards] (SCNuFAST32): Likewise.
1275 [C99-based-standards] (SCNxFAST32): Likewise.
1276 [C99-based-standards] (PRId64): Likewise.
1277 [C99-based-standards] (PRIi64): Likewise.
1278 [C99-based-standards] (PRIo64): Likewise.
1279 [C99-based-standards] (PRIu64): Likewise.
1280 [C99-based-standards] (PRIx64): Likewise.
1281 [C99-based-standards] (PRIX64): Likewise.
1282 [C99-based-standards] (SCNd64): Likewise.
1283 [C99-based-standards] (SCNi64): Likewise.
1284 [C99-based-standards] (SCNo64): Likewise.
1285 [C99-based-standards] (SCNu64): Likewise.
1286 [C99-based-standards] (SCNx64): Likewise.
1287 [C99-based-standards] (PRIdLEAST64): Likewise.
1288 [C99-based-standards] (PRIiLEAST64): Likewise.
1289 [C99-based-standards] (PRIoLEAST64): Likewise.
1290 [C99-based-standards] (PRIuLEAST64): Likewise.
1291 [C99-based-standards] (PRIxLEAST64): Likewise.
1292 [C99-based-standards] (PRIXLEAST64): Likewise.
1293 [C99-based-standards] (SCNdLEAST64): Likewise.
1294 [C99-based-standards] (SCNiLEAST64): Likewise.
1295 [C99-based-standards] (SCNoLEAST64): Likewise.
1296 [C99-based-standards] (SCNuLEAST64): Likewise.
1297 [C99-based-standards] (SCNxLEAST64): Likewise.
1298 [C99-based-standards] (PRIdFAST64): Likewise.
1299 [C99-based-standards] (PRIiFAST64): Likewise.
1300 [C99-based-standards] (PRIoFAST64): Likewise.
1301 [C99-based-standards] (PRIuFAST64): Likewise.
1302 [C99-based-standards] (PRIxFAST64): Likewise.
1303 [C99-based-standards] (PRIXFAST64): Likewise.
1304 [C99-based-standards] (SCNdFAST64): Likewise.
1305 [C99-based-standards] (SCNiFAST64): Likewise.
1306 [C99-based-standards] (SCNoFAST64): Likewise.
1307 [C99-based-standards] (SCNuFAST64): Likewise.
1308 [C99-based-standards] (SCNxFAST64): Likewise.
1309 [C99-based-standards] (PRIdMAX): Likewise.
1310 [C99-based-standards] (PRIiMAX): Likewise.
1311 [C99-based-standards] (PRIoMAX): Likewise.
1312 [C99-based-standards] (PRIuMAX): Likewise.
1313 [C99-based-standards] (PRIxMAX): Likewise.
1314 [C99-based-standards] (PRIXMAX): Likewise.
1315 [C99-based-standards] (SCNdMAX): Likewise.
1316 [C99-based-standards] (SCNiMAX): Likewise.
1317 [C99-based-standards] (SCNoMAX): Likewise.
1318 [C99-based-standards] (SCNuMAX): Likewise.
1319 [C99-based-standards] (SCNxMAX): Likewise.
1320 [C99-based-standards] (PRIdPTR): Likewise.
1321 [C99-based-standards] (PRIiPTR): Likewise.
1322 [C99-based-standards] (PRIoPTR): Likewise.
1323 [C99-based-standards] (PRIuPTR): Likewise.
1324 [C99-based-standards] (PRIxPTR): Likewise.
1325 [C99-based-standards] (PRIXPTR): Likewise.
1326 [C99-based-standards] (SCNdPTR): Likewise.
1327 [C99-based-standards] (SCNiPTR): Likewise.
1328 [C99-based-standards] (SCNoPTR): Likewise.
1329 [C99-based-standards] (SCNuPTR): Likewise.
1330 [C99-based-standards] (SCNxPTR): Likewise.
1331 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1332 allow.
1333 * conform/data/stdint.h-data: Update comments to clarify
1334 requirements.
1335 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1336 type.
1337 [C99-based standards] (INT8_MAX): Likewise.
1338 [C99-based standards] (INT16_MIN): Likewise.
1339 [C99-based standards] (INT16_MAX): Likewise.
1340 [C99-based standards] (INT32_MIN): Likewise.
1341 [C99-based standards] (INT32_MAX): Likewise.
1342 [C99-based standards] (INT64_MIN): Likewise.
1343 [C99-based standards] (INT64_MAX): Likewise.
1344 [C99-based standards] (UINT8_MAX): Likewise.
1345 [C99-based standards] (UINT16_MAX): Likewise.
1346 [C99-based standards] (UINT32_MAX): Likewise.
1347 [C99-based standards] (UINT64_MAX): Likewise.
1348 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1349 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1350 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1351 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1352 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1353 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1354 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1355 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1356 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1357 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1358 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1359 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1360 [C99-based standards] (INT_FAST8_MIN): Likewise.
1361 [C99-based standards] (INT_FAST8_MAX): Likewise.
1362 [C99-based standards] (INT_FAST16_MIN): Likewise.
1363 [C99-based standards] (INT_FAST16_MAX): Likewise.
1364 [C99-based standards] (INT_FAST32_MIN): Likewise.
1365 [C99-based standards] (INT_FAST32_MAX): Likewise.
1366 [C99-based standards] (INT_FAST64_MIN): Likewise.
1367 [C99-based standards] (INT_FAST64_MAX): Likewise.
1368 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1369 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1370 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1371 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1372 [C99-based standards] (INTPTR_MIN): Likewise.
1373 [C99-based standards] (INTPTR_MAX): Likewise.
1374 [C99-based standards] (UINTPTR_MAX): Likewise.
1375 [C99-based standards] (INTMAX_MIN): Likewise.
1376 [C99-based standards] (INTMAX_MAX): Likewise.
1377 [C99-based standards] (UINTMAX_MAX): Likewise.
1378 [C99-based standards] (PTRDIFF_MIN): Likewise.
1379 [C99-based standards] (PTRDIFF_MAX): Likewise.
1380 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1381 [C99-based standards] (SIZE_MAX): Likewise.
1382 [C99-based standards] (WCHAR_MAX): Likewise.
1383 [C99-based standards] (WINT_MAX): Likewise.
1384 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1385 constraint on value.
1386 [C99-based standards] (WCHAR_MIN): Likewise.
1387 [C99-based standards] (WINT_MIN): Likewise.
1388 [C99-based standards] (*_t): Allow.
1389 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1390 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1391 Include math.h-data and complex.h-data. Remove all expectations
1392 of math.h and complex.h contents.
1393 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1394 at end of line.
1395 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1396 (struct tm): Expect tag.
1397 [C99-based-standards] (wcstof): Expect function.
1398 [C99-based-standards] (wcstold): Likewise.
1399 [C99-based-standards] (wcstoll): Likewise.
1400 [C99-based-standards] (wcstoull): Likewise.
1401 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1402 macro-int-constant. Specify type.
1403 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1404 constraint on value.
1405 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1406 Specify type.
1407 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1408 Specify value.
1409 [ISO C standards]: Do not allow headers.
1410 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1411 wcs[abcdefghijklmnopqrstuvwxyz]*.
1412 [ISO C standards] (*_t): Do not allow.
1413 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1414 Expect function.
1415 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1416 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1417 Specify type.
1418 [ISO C standards]: Do not allow headers.
1419 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1420 is[abcdefghijklmnopqrstuvwxyz]*.
1421 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1422 to[abcdefghijklmnopqrstuvwxyz]*.
1423 [ISO C standards] (*_t): Do not allow.
1424 * conform/data/stdalign.h-data: New file.
1425 * conform/data/stdbool.h-data: Likewise.
1426 * conform/data/stdnoreturn.h-data: Likewise.
1427
7514feb8
RM
14282012-11-07 Roland McGrath <roland@hack.frob.com>
1429
1430 [BZ #14815]
1431 * manual/filesys.texi (Directory Entries): Typo fix.
1432 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1433
19b2ecfc
MS
14342012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1435
1436 * elf/elf.h (EM_AARCH64): New macro.
1437 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1438 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1439 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1440 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1441 (R_AARCH64_TLSDESC): Likewise.
1442 (NT_ARM_TLS): Likewise.
1443 (NT_ARM_HW_BREAK): Likewise.
1444 (NT_ARM_HW_WATCH): Likewise.
1445
60e235ee
JM
14462012-11-07 Joseph Myers <joseph@codesourcery.com>
1447
1448 [BZ #14811]
1449 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1450 (__ieee754_powl): Saturate nonzero exponents with absolute value
1451 below 0x1p-79 to +/- 0x1p-79.
1452 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1453 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1454 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1455 nonzero exponents with absolute value below 0x1p-32 to +/-
1456 0x1p-32.
1457 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1458 (__ieee754_powl): Saturate nonzero exponents with absolute value
1459 below 0x1p-79 to +/- 0x1p-79.
1460 * math/libm-test.inc (pow_test): Add more tests.
1461
0ab234b7
AK
14622012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1463
1464 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1465 _dl_s390_cap_flags with kernel. Increase string length.
1466 (_dl_s390_platforms): Add z196 and zEC12.
1467
45832f74
JM
14682012-11-07 Joseph Myers <joseph@codesourcery.com>
1469
1470 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1471 Change XOPEN21K to XOPEN2K.
1472
19218757
MK
14732012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1474
1475 * string/memmove.c: Use memcpy when possible.
1476
c5f45721
AJ
14772012-11-06 Andreas Jaeger <aj@suse.de>
1478
1479 * po/eo.po: Update from translation team.
1480
82477c28
JM
14812012-11-06 Joseph Myers <joseph@codesourcery.com>
1482
1483 [BZ #14793]
1484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1485 exponent and small x and y exponents, scale x or y up. Increase
1486 by 2 the exponent used in scaling up.
1487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1489 * math/libm-test.inc (fma_test): Add more tests.
1490 (fma_test_towardzero): Likewise.
1491 (fma_test_downward): Likewise.
1492 (fma_test_upward): Likewise.
1493
99252c8c
JM
14942012-11-05 Joseph Myers <joseph@codesourcery.com>
1495
acfa885f
JM
1496 [BZ #14805]
1497 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1498 fenv_t *.
1499
99252c8c
JM
1500 [BZ #14801]
1501 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1502 namespace for names of struct fields.
1503 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1504 fenv_t fields.
1505 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1506 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1507
d6d98dea
ST
15082012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1509
1510 [BZ #3665]
1511 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1512
e10bb107
TS
15132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1514
1515 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1516 PTR_DEMANGLE.
1517
1518 [BZ #5246]
1519 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1520 PTR_DEMANGLE.
1521
a0c2940d
JM
15222012-11-04 Joseph Myers <joseph@codesourcery.com>
1523
1524 [BZ #14797]
1525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1526 definitely overflow as x * y not x * y + z.
1527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1529 * math/libm-test.inc (fma_test): Add more tests.
1530 (fma_test_towardzero): Likewise.
1531 (fma_test_downward): Likewise.
1532 (fma_test_upward): Likewise.
1533
b830319d
TS
15342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1535
1536 [BZ #157]
1537
1538 * include/stub-tag.h: Remove file.
1539 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1540 '#include' of it.
1541 * manual/maint.texi (Porting): Don't reference it.
1542 * Makerules ($(objpfx)stubs): Likewise.
1543 * dirent/closedir.c: Don't include <stub-tag.h>.
1544 * dirent/dirfd.c: Likewise.
1545 * dirent/fdopendir.c: Likewise.
1546 * dirent/getdents.c: Likewise.
1547 * dirent/getdents64.c: Likewise.
1548 * dirent/opendir.c: Likewise.
1549 * dirent/readdir.c: Likewise.
1550 * dirent/readdir64.c: Likewise.
1551 * dirent/readdir64_r.c: Likewise.
1552 * dirent/readdir_r.c: Likewise.
1553 * dirent/rewinddir.c: Likewise.
1554 * dirent/seekdir.c: Likewise.
1555 * dirent/telldir.c: Likewise.
1556 * gmon/profil.c: Likewise.
1557 * grp/setgroups.c: Likewise.
1558 * inet/if_index.c: Likewise.
1559 * io/access.c: Likewise.
1560 * io/chdir.c: Likewise.
1561 * io/chmod.c: Likewise.
1562 * io/chown.c: Likewise.
1563 * io/close.c: Likewise.
1564 * io/dup.c: Likewise.
1565 * io/dup2.c: Likewise.
1566 * io/dup3.c: Likewise.
1567 * io/euidaccess.c: Likewise.
1568 * io/faccessat.c: Likewise.
1569 * io/fchdir.c: Likewise.
1570 * io/fchmod.c: Likewise.
1571 * io/fchmodat.c: Likewise.
1572 * io/fchown.c: Likewise.
1573 * io/fchownat.c: Likewise.
1574 * io/fcntl.c: Likewise.
1575 * io/flock.c: Likewise.
1576 * io/fstatfs.c: Likewise.
1577 * io/fstatfs64.c: Likewise.
1578 * io/fstatvfs.c: Likewise.
1579 * io/fstatvfs64.c: Likewise.
1580 * io/futimens.c: Likewise.
1581 * io/fxstat.c: Likewise.
1582 * io/fxstat64.c: Likewise.
1583 * io/fxstatat.c: Likewise.
1584 * io/fxstatat64.c: Likewise.
1585 * io/getcwd.c: Likewise.
1586 * io/isatty.c: Likewise.
1587 * io/lchmod.c: Likewise.
1588 * io/lchown.c: Likewise.
1589 * io/link.c: Likewise.
1590 * io/linkat.c: Likewise.
1591 * io/lseek.c: Likewise.
1592 * io/lseek64.c: Likewise.
1593 * io/lxstat64.c: Likewise.
1594 * io/mkdir.c: Likewise.
1595 * io/mkdirat.c: Likewise.
1596 * io/mkfifo.c: Likewise.
1597 * io/mkfifoat.c: Likewise.
1598 * io/open.c: Likewise.
1599 * io/open64.c: Likewise.
1600 * io/openat.c: Likewise.
1601 * io/openat64.c: Likewise.
1602 * io/pipe.c: Likewise.
1603 * io/pipe2.c: Likewise.
1604 * io/poll.c: Likewise.
1605 * io/posix_fadvise.c: Likewise.
1606 * io/posix_fadvise64.c: Likewise.
1607 * io/posix_fallocate.c: Likewise.
1608 * io/posix_fallocate64.c: Likewise.
1609 * io/read.c: Likewise.
1610 * io/readlink.c: Likewise.
1611 * io/readlinkat.c: Likewise.
1612 * io/rmdir.c: Likewise.
1613 * io/sendfile.c: Likewise.
1614 * io/sendfile64.c: Likewise.
1615 * io/statfs.c: Likewise.
1616 * io/statfs64.c: Likewise.
1617 * io/statvfs.c: Likewise.
1618 * io/statvfs64.c: Likewise.
1619 * io/symlink.c: Likewise.
1620 * io/symlinkat.c: Likewise.
1621 * io/ttyname.c: Likewise.
1622 * io/ttyname_r.c: Likewise.
1623 * io/umask.c: Likewise.
1624 * io/unlink.c: Likewise.
1625 * io/unlinkat.c: Likewise.
1626 * io/utime.c: Likewise.
1627 * io/utimensat.c: Likewise.
1628 * io/write.c: Likewise.
1629 * io/xmknod.c: Likewise.
1630 * io/xmknodat.c: Likewise.
1631 * io/xstat.c: Likewise.
1632 * io/xstat64.c: Likewise.
1633 * login/getpt.c: Likewise.
1634 * login/grantpt.c: Likewise.
1635 * login/unlockpt.c: Likewise.
1636 * math/e_acoshl.c: Likewise.
1637 * math/e_acosl.c: Likewise.
1638 * math/e_asinl.c: Likewise.
1639 * math/e_atan2l.c: Likewise.
1640 * math/e_atanhl.c: Likewise.
1641 * math/e_coshl.c: Likewise.
1642 * math/e_expl.c: Likewise.
1643 * math/e_fmodl.c: Likewise.
1644 * math/e_gammal_r.c: Likewise.
1645 * math/e_hypotl.c: Likewise.
1646 * math/e_j0l.c: Likewise.
1647 * math/e_j1l.c: Likewise.
1648 * math/e_jnl.c: Likewise.
1649 * math/e_lgammal_r.c: Likewise.
1650 * math/e_log10l.c: Likewise.
1651 * math/e_log2l.c: Likewise.
1652 * math/e_logl.c: Likewise.
1653 * math/e_powl.c: Likewise.
1654 * math/e_rem_pio2l.c: Likewise.
1655 * math/e_sinhl.c: Likewise.
1656 * math/e_sqrtl.c: Likewise.
1657 * math/fclrexcpt.c: Likewise.
1658 * math/fedisblxcpt.c: Likewise.
1659 * math/feenablxcpt.c: Likewise.
1660 * math/fegetenv.c: Likewise.
1661 * math/fegetexcept.c: Likewise.
1662 * math/fegetround.c: Likewise.
1663 * math/feholdexcpt.c: Likewise.
1664 * math/fesetenv.c: Likewise.
1665 * math/fesetround.c: Likewise.
1666 * math/feupdateenv.c: Likewise.
1667 * math/fgetexcptflg.c: Likewise.
1668 * math/fraiseexcpt.c: Likewise.
1669 * math/fsetexcptflg.c: Likewise.
1670 * math/ftestexcept.c: Likewise.
1671 * math/k_cosl.c: Likewise.
1672 * math/k_rem_pio2l.c: Likewise.
1673 * math/k_sinl.c: Likewise.
1674 * math/k_tanl.c: Likewise.
1675 * math/s_asinhl.c: Likewise.
1676 * math/s_atanl.c: Likewise.
1677 * math/s_cbrtl.c: Likewise.
1678 * math/s_erfl.c: Likewise.
1679 * math/s_expm1l.c: Likewise.
1680 * math/s_log1pl.c: Likewise.
1681 * math/s_tanhl.c: Likewise.
1682 * misc/acct.c: Likewise.
1683 * misc/brk.c: Likewise.
1684 * misc/chflags.c: Likewise.
1685 * misc/chroot.c: Likewise.
1686 * misc/fchflags.c: Likewise.
1687 * misc/fgetxattr.c: Likewise.
1688 * misc/flistxattr.c: Likewise.
1689 * misc/fremovexattr.c: Likewise.
1690 * misc/fsetxattr.c: Likewise.
1691 * misc/fsync.c: Likewise.
1692 * misc/ftruncate.c: Likewise.
1693 * misc/futimes.c: Likewise.
1694 * misc/futimesat.c: Likewise.
1695 * misc/getdomain.c: Likewise.
1696 * misc/getdtsz.c: Likewise.
1697 * misc/gethostid.c: Likewise.
1698 * misc/gethostname.c: Likewise.
1699 * misc/getloadavg.c: Likewise.
1700 * misc/getpagesize.c: Likewise.
1701 * misc/getsysstats.c: Likewise.
1702 * misc/getxattr.c: Likewise.
1703 * misc/gtty.c: Likewise.
1704 * misc/ioctl.c: Likewise.
1705 * misc/lgetxattr.c: Likewise.
1706 * misc/listxattr.c: Likewise.
1707 * misc/llistxattr.c: Likewise.
1708 * misc/lremovexattr.c: Likewise.
1709 * misc/lsetxattr.c: Likewise.
1710 * misc/lutimes.c: Likewise.
1711 * misc/madvise.c: Likewise.
1712 * misc/mincore.c: Likewise.
1713 * misc/mlock.c: Likewise.
1714 * misc/mlockall.c: Likewise.
1715 * misc/mmap.c: Likewise.
1716 * misc/mprotect.c: Likewise.
1717 * misc/msync.c: Likewise.
1718 * misc/munlock.c: Likewise.
1719 * misc/munlockall.c: Likewise.
1720 * misc/munmap.c: Likewise.
1721 * misc/preadv.c: Likewise.
1722 * misc/preadv64.c: Likewise.
1723 * misc/ptrace.c: Likewise.
1724 * misc/pwritev.c: Likewise.
1725 * misc/pwritev64.c: Likewise.
1726 * misc/readv.c: Likewise.
1727 * misc/reboot.c: Likewise.
1728 * misc/remap_file_pages.c: Likewise.
1729 * misc/removexattr.c: Likewise.
1730 * misc/revoke.c: Likewise.
1731 * misc/select.c: Likewise.
1732 * misc/setdomain.c: Likewise.
1733 * misc/setegid.c: Likewise.
1734 * misc/seteuid.c: Likewise.
1735 * misc/sethostid.c: Likewise.
1736 * misc/sethostname.c: Likewise.
1737 * misc/setregid.c: Likewise.
1738 * misc/setreuid.c: Likewise.
1739 * misc/setxattr.c: Likewise.
1740 * misc/sstk.c: Likewise.
1741 * misc/stty.c: Likewise.
1742 * misc/swapoff.c: Likewise.
1743 * misc/swapon.c: Likewise.
1744 * misc/sync.c: Likewise.
1745 * misc/syncfs.c: Likewise.
1746 * misc/syscall.c: Likewise.
1747 * misc/truncate.c: Likewise.
1748 * misc/ualarm.c: Likewise.
1749 * misc/usleep.c: Likewise.
1750 * misc/ustat.c: Likewise.
1751 * misc/utimes.c: Likewise.
1752 * misc/vhangup.c: Likewise.
1753 * misc/writev.c: Likewise.
1754 * posix/_exit.c: Likewise.
1755 * posix/alarm.c: Likewise.
1756 * posix/execve.c: Likewise.
1757 * posix/fexecve.c: Likewise.
1758 * posix/fork.c: Likewise.
1759 * posix/fpathconf.c: Likewise.
1760 * posix/getaddrinfo.c: Likewise.
1761 * posix/getegid.c: Likewise.
1762 * posix/geteuid.c: Likewise.
1763 * posix/getgid.c: Likewise.
1764 * posix/getgroups.c: Likewise.
1765 * posix/getlogin.c: Likewise.
1766 * posix/getlogin_r.c: Likewise.
1767 * posix/getpgid.c: Likewise.
1768 * posix/getpid.c: Likewise.
1769 * posix/getppid.c: Likewise.
1770 * posix/getresgid.c: Likewise.
1771 * posix/getresuid.c: Likewise.
1772 * posix/getsid.c: Likewise.
1773 * posix/getuid.c: Likewise.
1774 * posix/glob64.c: Likewise.
1775 * posix/nanosleep.c: Likewise.
1776 * posix/pathconf.c: Likewise.
1777 * posix/pause.c: Likewise.
1778 * posix/posix_madvise.c: Likewise.
1779 * posix/pread.c: Likewise.
1780 * posix/pread64.c: Likewise.
1781 * posix/pwrite.c: Likewise.
1782 * posix/pwrite64.c: Likewise.
1783 * posix/sched_getaffinity.c: Likewise.
1784 * posix/sched_getp.c: Likewise.
1785 * posix/sched_gets.c: Likewise.
1786 * posix/sched_primax.c: Likewise.
1787 * posix/sched_primin.c: Likewise.
1788 * posix/sched_rr_gi.c: Likewise.
1789 * posix/sched_setaffinity.c: Likewise.
1790 * posix/sched_setp.c: Likewise.
1791 * posix/sched_sets.c: Likewise.
1792 * posix/sched_yield.c: Likewise.
1793 * posix/setgid.c: Likewise.
1794 * posix/setlogin.c: Likewise.
1795 * posix/setpgid.c: Likewise.
1796 * posix/setresgid.c: Likewise.
1797 * posix/setresuid.c: Likewise.
1798 * posix/setsid.c: Likewise.
1799 * posix/setuid.c: Likewise.
1800 * posix/sleep.c: Likewise.
1801 * posix/spawni.c: Likewise.
1802 * posix/sysconf.c: Likewise.
1803 * posix/times.c: Likewise.
1804 * posix/wait.c: Likewise.
1805 * posix/wait3.c: Likewise.
1806 * posix/wait4.c: Likewise.
1807 * posix/waitpid.c: Likewise.
1808 * resolv/gai_sigqueue.c: Likewise.
1809 * resource/getpriority.c: Likewise.
1810 * resource/getrlimit.c: Likewise.
1811 * resource/getrusage.c: Likewise.
1812 * resource/nice.c: Likewise.
1813 * resource/setpriority.c: Likewise.
1814 * resource/setrlimit.c: Likewise.
1815 * resource/ulimit.c: Likewise.
1816 * rt/aio_cancel.c: Likewise.
1817 * rt/aio_fsync.c: Likewise.
1818 * rt/aio_read.c: Likewise.
1819 * rt/aio_sigqueue.c: Likewise.
1820 * rt/aio_suspend.c: Likewise.
1821 * rt/aio_write.c: Likewise.
1822 * rt/clock_getres.c: Likewise.
1823 * rt/clock_gettime.c: Likewise.
1824 * rt/clock_nanosleep.c: Likewise.
1825 * rt/clock_settime.c: Likewise.
1826 * rt/lio_listio.c: Likewise.
1827 * rt/mq_close.c: Likewise.
1828 * rt/mq_getattr.c: Likewise.
1829 * rt/mq_notify.c: Likewise.
1830 * rt/mq_open.c: Likewise.
1831 * rt/mq_receive.c: Likewise.
1832 * rt/mq_send.c: Likewise.
1833 * rt/mq_setattr.c: Likewise.
1834 * rt/mq_timedreceive.c: Likewise.
1835 * rt/mq_timedsend.c: Likewise.
1836 * rt/mq_unlink.c: Likewise.
1837 * rt/shm_open.c: Likewise.
1838 * rt/shm_unlink.c: Likewise.
1839 * rt/timer_create.c: Likewise.
1840 * rt/timer_delete.c: Likewise.
1841 * rt/timer_getoverr.c: Likewise.
1842 * rt/timer_gettime.c: Likewise.
1843 * rt/timer_settime.c: Likewise.
1844 * setjmp/__longjmp.c: Likewise.
1845 * setjmp/setjmp.c: Likewise.
1846 * signal/kill.c: Likewise.
1847 * signal/killpg.c: Likewise.
1848 * signal/raise.c: Likewise.
1849 * signal/sigaction.c: Likewise.
1850 * signal/sigaltstack.c: Likewise.
1851 * signal/sigblock.c: Likewise.
1852 * signal/sigignore.c: Likewise.
1853 * signal/sigintr.c: Likewise.
1854 * signal/signal.c: Likewise.
1855 * signal/sigpause.c: Likewise.
1856 * signal/sigpending.c: Likewise.
1857 * signal/sigqueue.c: Likewise.
1858 * signal/sigreturn.c: Likewise.
1859 * signal/sigset.c: Likewise.
1860 * signal/sigsetmask.c: Likewise.
1861 * signal/sigstack.c: Likewise.
1862 * signal/sigsuspend.c: Likewise.
1863 * signal/sigtimedwait.c: Likewise.
1864 * signal/sigvec.c: Likewise.
1865 * signal/sigwait.c: Likewise.
1866 * signal/sigwaitinfo.c: Likewise.
1867 * signal/sysv_signal.c: Likewise.
1868 * socket/accept.c: Likewise.
1869 * socket/accept4.c: Likewise.
1870 * socket/bind.c: Likewise.
1871 * socket/connect.c: Likewise.
1872 * socket/getpeername.c: Likewise.
1873 * socket/getsockname.c: Likewise.
1874 * socket/getsockopt.c: Likewise.
1875 * socket/isfdtype.c: Likewise.
1876 * socket/listen.c: Likewise.
1877 * socket/recv.c: Likewise.
1878 * socket/recvfrom.c: Likewise.
1879 * socket/recvmsg.c: Likewise.
1880 * socket/send.c: Likewise.
1881 * socket/sendmsg.c: Likewise.
1882 * socket/sendto.c: Likewise.
1883 * socket/setsockopt.c: Likewise.
1884 * socket/shutdown.c: Likewise.
1885 * socket/sockatmark.c: Likewise.
1886 * socket/socket.c: Likewise.
1887 * socket/socketpair.c: Likewise.
1888 * stdio-common/ctermid.c: Likewise.
1889 * stdio-common/cuserid.c: Likewise.
1890 * stdio-common/remove.c: Likewise.
1891 * stdio-common/rename.c: Likewise.
1892 * stdio-common/renameat.c: Likewise.
1893 * stdio-common/tempname.c: Likewise.
1894 * stdlib/getcontext.c: Likewise.
1895 * stdlib/makecontext.c: Likewise.
1896 * stdlib/setcontext.c: Likewise.
1897 * stdlib/swapcontext.c: Likewise.
1898 * stdlib/system.c: Likewise.
1899 * streams/fattach.c: Likewise.
1900 * streams/fdetach.c: Likewise.
1901 * streams/getmsg.c: Likewise.
1902 * streams/getpmsg.c: Likewise.
1903 * streams/putmsg.c: Likewise.
1904 * streams/putpmsg.c: Likewise.
1905 * sysdeps/unix/bsd/getpt.c: Likewise.
1906 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1907 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1908 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1910 Likewise.
1911 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1912 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1913 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1914 * sysvipc/msgctl.c: Likewise.
1915 * sysvipc/msgget.c: Likewise.
1916 * sysvipc/msgrcv.c: Likewise.
1917 * sysvipc/msgsnd.c: Likewise.
1918 * sysvipc/semctl.c: Likewise.
1919 * sysvipc/semget.c: Likewise.
1920 * sysvipc/semop.c: Likewise.
1921 * sysvipc/semtimedop.c: Likewise.
1922 * sysvipc/shmat.c: Likewise.
1923 * sysvipc/shmctl.c: Likewise.
1924 * sysvipc/shmdt.c: Likewise.
1925 * sysvipc/shmget.c: Likewise.
1926 * termios/tcdrain.c: Likewise.
1927 * termios/tcflow.c: Likewise.
1928 * termios/tcflush.c: Likewise.
1929 * termios/tcgetattr.c: Likewise.
1930 * termios/tcgetpgrp.c: Likewise.
1931 * termios/tcsendbrk.c: Likewise.
1932 * termios/tcsetattr.c: Likewise.
1933 * termios/tcsetpgrp.c: Likewise.
1934 * time/adjtime.c: Likewise.
1935 * time/clock.c: Likewise.
1936 * time/getitimer.c: Likewise.
1937 * time/gettimeofday.c: Likewise.
1938 * time/setitimer.c: Likewise.
1939 * time/settimeofday.c: Likewise.
1940 * time/stime.c: Likewise.
1941 * time/time.c: Likewise.
1942
19432012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1944
a20492cf
PT
1945 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1946 /usr/old/bin.
1947
72e182e3
PT
1948 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1949 instead of spaces.
1950 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1951
fbeafede
JM
19522012-11-03 Joseph Myers <joseph@codesourcery.com>
1953
5b5b04d6
JM
1954 [BZ #14796]
1955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1956 FE_TONEAREST before applying Dekker multiplication and Knuth
1957 addition. Clear inexact exceptions and check for exact zero
1958 results afterwards.
1959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1960 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1962 * math/libm-test.inc (fma_test): Add more tests.
1963 (fma_test_towardzero): Likewise.
1964 (fma_test_downward): Likewise.
1965 (fma_test_upward): Likewise.
1966 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1967 function.
1968 (libc_fesetround): New macro.
1969 (libc_fesetroundf): Likewise.
1970 (libc_fesetroundl): Likewise.
1971 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1972 function.
1973 (libc_fesetround_387): Likewise.
1974 (libc_fesetroundf): New macro.
1975 (libc_fesetround): Likewise.
1976 (libc_fesetroundl): Likewise.
1977 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1978 function.
1979 (libc_fesetroundf): New macro.
1980 (libc_fesetround): Likewise.
1981 (libc_fesetroundl): Likewise.
1982 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1983 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1984 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1985 libm_hidden_ver.
1986 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1987 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1988 libm_hidden_def.
1989 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1990 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1991 libm_hidden_ver.
1992 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1993 libm_hidden_def.
1994
fbeafede
JM
1995 [BZ #3439]
1996 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1997 integer constant usable in #if and use that to give value to enum
1998 constant.
1999 (FE_DIVBYZERO): Likewise.
2000 (FE_UNDERFLOW): Likewise.
2001 (FE_OVERFLOW): Likewise.
2002 (FE_INVALID): Likewise.
2003 (FE_INVALID_SNAN): Likewise.
2004 (FE_INVALID_ISI): Likewise.
2005 (FE_INVALID_IDI): Likewise.
2006 (FE_INVALID_ZDZ): Likewise.
2007 (FE_INVALID_IMZ): Likewise.
2008 (FE_INVALID_COMPARE): Likewise.
2009 (FE_INVALID_SOFTWARE): Likewise.
2010 (FE_INVALID_SQRT): Likewise.
2011 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2012 (FE_TONEAREST): Likewise.
2013 (FE_TOWARDZERO): Likewise.
2014 (FE_UPWARD): Likewise.
2015 (FE_DOWNWARD): Likewise.
2016 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2017 (FE_DIVBYZERO): Likewise.
2018 (FE_OVERFLOW): Likewise.
2019 (FE_UNDERFLOW): Likewise.
2020 (FE_INEXACT): Likewise.
2021 (FE_TONEAREST): Likewise.
2022 (FE_DOWNWARD): Likewise.
2023 (FE_UPWARD): Likewise.
2024 (FE_TOWARDZERO): Likewise.
2025 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2026 (FE_UNDERFLOW): Likewise.
2027 (FE_OVERFLOW): Likewise.
2028 (FE_DIVBYZERO): Likewise.
2029 (FE_INVALID): Likewise.
2030 (FE_TONEAREST): Likewise.
2031 (FE_TOWARDZERO): Likewise.
2032 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2033 (FE_OVERFLOW): Likewise.
2034 (FE_UNDERFLOW): Likewise.
2035 (FE_DIVBYZERO): Likewise.
2036 (FE_INEXACT): Likewise.
2037 (FE_TONEAREST): Likewise.
2038 (FE_TOWARDZERO): Likewise.
2039 (FE_UPWARD): Likewise.
2040 (FE_DOWNWARD): Likewise.
2041 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2042 (FE_DIVBYZERO): Likewise.
2043 (FE_OVERFLOW): Likewise.
2044 (FE_UNDERFLOW): Likewise.
2045 (FE_INEXACT): Likewise.
2046 (FE_TONEAREST): Likewise.
2047 (FE_DOWNWARD): Likewise.
2048 (FE_UPWARD): Likewise.
2049 (FE_TOWARDZERO): Likewise.
2050
105ca950
CM
20512012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2052
2053 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2054
a542b389
AS
20552012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2056
2057 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2058 commands. Quote $PWD.
2059 (blacklist_exports): Don't use remove_newlines. Replace "declare
2060 -x" by "export".
2061 (remove_newlines): Remove.
2062
f62c8abc
L
20632012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2064
2065 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2066 * stdlib/stdlib.h (atof): Moved to ...
2067 * include/bits/stdlib-float.h: Here. New file.
2068 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2069 * stdlib/bits/stdlib-float.h: New file.
2070 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2071 -mno-sse -mno-mmx.
2072 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2073 <xmmintrin.h>.
2074
0155d5b2
JM
20752012-11-02 Joseph Myers <joseph@codesourcery.com>
2076
a68d0680
JM
2077 * conform/conformtest.pl (@headers): Add fenv.h.
2078 * conform/data/fenv.h-data: New file.
2079 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2080 include of <math/fenv.h>.
2081
caf7f573
JM
2082 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2083 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2084 && !UNIX98]. Enables tests for XOPEN2K8.
2085 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2086 POSIX2008]: Likewise.
2087
6c073ad6
JM
2088 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2089 (struct rusage): Do not expect type or its members.
2090
0155d5b2
JM
2091 [BZ #3439]
2092 * math/math.h (FP_NAN): Define macro to integer constant usable in
2093 #if and use that to give value to enum constant.
2094 (FP_INFINITE): Likewise.
2095 (FP_ZERO): Likewise.
2096 (FP_SUBNORMAL): Likewise.
2097 (FP_NORMAL): Likewise.
2098
b5dcacb4
AS
20992012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2100
2101 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2102 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2103 arguments.
2104
f7934be8
RM
21052012-11-02 Roland McGrath <roland@hack.frob.com>
2106
2107 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2108 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2109 autoconf-time if not.
2110 * configure.in: Remove AC_PREREQ.
2111
d7d08bde
TMQMF
21122012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2113
2114 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2115 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2116 of the internal implementation.
2117
dcdae19a
JM
21182012-11-02 Joseph Myers <joseph@codesourcery.com>
2119
2120 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2121 except include of <misc/sys/syslog.h>.
2122
d6cffd3e
AS
21232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2124
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2126 function returns with a NULL context exit with zero.
2127
b3563932
TMQMF
21282012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2129
2130 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2131
b288a93d
L
21322012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2133
2134 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2135 (run_program_cmd): This.
2136 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2137 (tst_langinfo): New variable. Use it.
2138
a2421a68
SAS
21392012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2140
2141 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2142 floating point opcodes.
2143
6f796e1b
TS
21442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2145
7402596b
TS
2146 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2147 variable.
2148
d0d4f868
TS
2149 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2150
6f796e1b
TS
2151 * sysdeps/mach/hurd/powerpc: Remove directory.
2152 * sysdeps/mach/powerpc: Likewise.
2153
4da224a2
AS
21542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2155
2156 * scripts/check-local-headers.sh: Ignore c++ headers.
2157
341dd673
TS
21582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2159
2160 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2161 __libc_cleanup_region_start argument.
2162
473611b2
JM
21632012-11-01 Joseph Myers <joseph@codesourcery.com>
2164
2165 [BZ #14784]
2166 [BZ #14785]
2167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2168 x * y using scaling, not as x * y + z.
2169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2171 * math/libm-test.inc (fma_test): Add more tests.
2172 (fma_test_towardzero): Likewise.
2173 (fma_test_downward): Likewise.
2174 (fma_test_upward): Likewise.
2175
4078da3d
TS
21762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2177
2178 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2179
903252aa
JM
21802012-10-31 Joseph Myers <joseph@codesourcery.com>
2181
2182 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2183 New variable.
2184
cbc818d0
TS
21852012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2186
2187 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2188
5a03cb1e
AS
21892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2190
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2192 Fix sort order.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2194 Likewise.
2195
90aff2ff
TMQMF
21962012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2197
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2199 Fix the order of the list for glibc 2.17.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2201 Likewise.
2202
1818fcb7
AS
22032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2204
2205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2206
ef82f4da
JM
22072012-10-31 Joseph Myers <joseph@codesourcery.com>
2208
16a0e2ec
JM
2209 [BZ #14610]
2210 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2211 for low part of x being zero before using __atanl (y).
2212 * math/libm-test.inc (atan2_test): Add another test.
2213
0eb69512
JM
2214 * manual/install.texi (Configuring and compiling): Document
2215 general use of test-wrapper and test-wrapper-env.
2216 * INSTALL: Regenerated.
2217
ef82f4da
JM
2218 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2219 (__fma): Do not extract and scale down low bits on after-rounding
2220 systems when result rounded to normal precision would have normal
2221 exponent.
2222 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2223 (__fmal): Do not extract and scale down low bits on after-rounding
2224 systems when result rounded to normal precision would have normal
2225 exponent.
2226 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2227 (__fmal): Do not extract and scale down low bits on after-rounding
2228 systems when result rounded to normal precision would have normal
2229 exponent.
2230 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2231 macro.
2232 (fma_test): Add more tests.
2233 (fma_test_towardzero): Likewise.
2234 (fma_test_downward): Likewise.
2235 (fma_test_upward): Likewise.
2236
954ef0d9
L
22372012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2238
2239 * sysdeps/i386/tininess.h: Renamed to ...
2240 * sysdeps/x86/tininess.h: This.
2241 * sysdeps/x86_64/tininess.h: Removed.
2242
df61ffb2
JM
22432012-10-30 Joseph Myers <joseph@codesourcery.com>
2244
2245 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2246 input. Use $(build-program-cmd).
2247 ($(objpfx)tst-array1-static.out): Likewise.
2248 ($(objpfx)tst-array2.out): Likewise.
2249 ($(objpfx)tst-array3.out): Likewise.
2250 ($(objpfx)tst-array4.out): Likewise.
2251 ($(objpfx)tst-array5.out): Likewise.
2252 ($(objpfx)tst-array5-static.out): Likewise.
2253
01767843
CM
22542012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2255
47cc1490
CM
2256 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2257 if defined.
2258
01767843
CM
2259 * nss/nsswitch.h (nss_interface_function): Provide new
2260 macro for use with NSS functions.
2261 * grp/initgroups.c: Use new macro.
2262 * nss/getXXbyYY.c: Likewise.
2263 * nss/getXXbyYY_r.c: Likewise.
2264 * nss/getXXent.c: Likewise.
2265 * nss/getXXent_r.c: Likewise.
2266 * sysdeps/posix/getaddrinfo.c: Likewise.
2267
8321aa97
AJ
22682012-10-30 Andreas Jaeger <aj@suse.de>
2269
2270 * po/ru.po: Update Russion translation from translation project.
2271
2a27fd6d
JM
22722012-10-30 Joseph Myers <joseph@codesourcery.com>
2273
8627a232
JM
2274 [BZ #14152]
2275 [BZ #14783]
2276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2277 result and shift together with sticky bit instead of replicating
2278 round-to-nearest rounding.
2279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2281 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2282 missing underflow exceptions.
2283 (fma_test_towardzero): Add more tests.
2284 (fma_test_downward): Likewise.
2285 (fma_test_upward): Likewise.
2286
2a27fd6d
JM
2287 [BZ #14047]
2288 * sysdeps/generic/tininess.h: New file.
2289 * sysdeps/i386/tininess.h: Likewise.
2290 * sysdeps/sh/tininess.h: Likewise.
2291 * sysdeps/x86_64/tininess.h: Likewise.
2292 * stdlib/tst-strtod-underflow.c: Likewise.
2293 * stdlib/tst-tininess.c: Likewise.
2294 * stdlib/strtod_l.c: Include <tininess.h>.
2295 (round_and_return): Do not set errno for exact underflow cases.
2296 Force an underflow exception when setting errno for underflow.
2297 Determine underflow based on rounding to normal precision if
2298 TININESS_AFTER_ROUNDING.
2299 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2300 ERANGE for exact underflow cases.
2301 * stdlib/Makefile (tests): Add tst-tininess and
2302 tst-strtod-underflow.
2303 ($(objpfx)tst-tininess): Use $(link-libm).
2304 ($(objpfx)tst-strtod-underflow): Likewise.
2305
e7170363
AJ
23062012-10-30 Andreas Jaeger <aj@suse.de>
2307
e5088dc6
AJ
2308 [BZ#14767]
2309 * elf/Makefile (tests): Remove conditional for have-initfini-array
2310 since this is now always required and the variable does not exist
2311 anymore.
2312 (tests-static): Likewise.
2313 (modules-names): Likewise.
2314
e7170363 2315 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2316
2317 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2318 merged with constructor/destructor.
2319 (init_array): Likewise.
2320 * elf/tst-array2dep.c (fini_array): Likewise.
2321 (init_array): Likewise.
2322
60457d8a
MF
23232012-10-29 Mike Frysinger <vapier@gentoo.org>
2324
2325 * manual/message.texi: Delete @cartouche tags.
2326
8bece752
PT
23272012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2328
94ce799f
PT
2329 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2330 EOPNOTSUPP.
2331 * sysdeps/mach/hurd/fsync.c: Likewise.
2332
8bece752
PT
2333 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2334 [_POSIX_REALTIME_SIGNALS]: Change condition to
2335 [_POSIX_REALTIME_SIGNALS > 0].
2336
86ebe6b1
AJ
23372012-10-27 Andreas Jaeger <aj@suse.de>
2338
2339 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2340 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2342 [__WORDSIZE != 64]: Likewise.
2343
54399c08
L
23442012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2345
2346 * iconvdata/tst-table.sh: Remove ${SHELL}.
2347 * iconvdata/tst-tables.sh: Likewise.
2348
e2211bed
DM
23492012-10-25 David S. Miller <davem@davemloft.net>
2350
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2352 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2353 of strtoull.
2354
f303f97c
DM
2355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2356 ifunc-impl-list.c
2357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2358 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2359 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2360 file.
2361
1e9d84cd
RM
23622012-10-25 Roland McGrath <roland@hack.frob.com>
2363
2364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2365 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2366 __getdirentries.
2367
df381762
JM
23682012-10-25 Joseph Myers <joseph@codesourcery.com>
2369 Jim Blandy <jimb@codesourcery.com>
2370
2371 * scripts/cross-test-ssh.sh: New file.
2372 * manual/install.texi (Configuring and compiling): Document use of
2373 cross-test-ssh.sh.
2374 * INSTALL: Regenerated.
2375
bff64913
PT
23762012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2377
2378 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2379 EOPNOTSUPP.
2380
25fe8932
JM
23812012-10-25 Joseph Myers <joseph@codesourcery.com>
2382
2383 * Makeconfig (run-program-prefix): Fix comment.
2384
cc1290d0
JM
23852012-10-24 Joseph Myers <joseph@codesourcery.com>
2386 Jim Blandy <jimb@codesourcery.com>
2387
2388 * Makeconfig (test-wrapper): New variable,
2389 (test-wrapper-env): Likewise.
2390 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2391 (run-built-tests): Define to yes.
2392 (run-program-prefix): Use $(test-wrapper).
2393 (built-program-cmd): Likewise.
2394 * Rules (make-test-out): Use $(test-wrapper-env) and
2395 $(host-built-program-cmd).
2396 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2397 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2398 tst-pathopt.sh.
2399 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2400 $(test-wrapper-env) to tst-rtld-load-self.sh.
2401 ($(objpfx)order2.out): Use $(test-wrapper).
2402 ($(objpfx)tst-initorder.out): Likewise.
2403 ($(objpfx)tst-initorder2.out): Likewise.
2404 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2405 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2406 (test_wrapper_env): New variable. Use it to run ld.so.
2407 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2408 Use it to run ld.so.
2409 (test_wrapper_env): Likewise.
2410 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2411 $(test-wrapper) to run-iconv-test.sh.
2412 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2413 (ICONV): Use $test_wrapper.
2414 * posix/Makefile ($(objpfx)globtest.out): Pass
2415 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2416 globtest.sh, not $(run-program-prefix).
2417 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2418 (test_wrapper): Likewise.
2419 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2420 set together with run_via_rtld_prefix.
2421 (run_program_prefix): Define in terms of test_wrapper and
2422 run_via_rtld_prefix.
2423
6e6249d0
RM
24242012-10-24 Roland McGrath <roland@hack.frob.com>
2425
2426 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2427 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2428 Targets removed.
2429
2430 [BZ #14743]
2431 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2432 Declare __clock_getres, __clock_gettime, __clock_settime,
2433 __clock_nanosleep, and __clock_getcpuclockid.
2434 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2435 Remove librt_hidden_def (clock_gettime).
2436 * sysdeps/unix/clock_gettime.c: Likewise.
2437 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2439 * rt/clock_getres.c: Define __clock_getres as an alias.
2440 * sysdeps/posix/clock_getres.c: Likewise.
2441 * rt/clock_settime.c: Define __clock_settime as an alias.
2442 * sysdeps/unix/clock_settime.c: Likewise.
2443 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2444 * sysdeps/unix/clock_nanosleep.c: Likewise.
2445 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2446 * rt/clock-compat.c: New file.
2447 * rt/Makefile (librt-routines): Add clock-compat and move
2448 $(clock-routines) to ...
2449 (routines): ... here, new variable.
2450 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2451 Don't add get_clockfreq here.
2452 * rt/Versions (libc: GLIBC_2.17): New version set.
2453 Add clock_* symbols here.
2454 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2456 (GLIBC_2.17): Add clock_* symbols.
2457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2459 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2461 Likewise.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2463 Likewise.
2464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2468 * NEWS: Mention the move.
2469
2470 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2471 Use __open, __read, __close rather than their public counterparts.
2472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2473 (__get_clockfreq_via_cpuinfo): Likewise.
2474 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2475 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2476
2477 * config.h.in (HAVE_IFUNC): New #undef.
2478 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2479 was successful.
2480 * configure: Regenerated.
2481
0cae3f4b
MF
24822012-10-24 Mike Frysinger <vapier@gentoo.org>
2483
2484 * configure.in: Move READELF check to start of file.
2485 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2486 libc_cv_asm_gnu_indirect_function in the process.
2487 * configure: Regenerated.
2488
8175a253
MF
24892012-10-24 Mike Frysinger <vapier@gentoo.org>
2490
2491 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2492 send the output to /dev/null.
2493 (libc_cv_cc_with_libunwind): Likewise.
2494 (libc_cv_as_noexecstack): Likewise.
2495 * configure: Regenerate.
2496
0708a7d1
JM
24972012-10-24 Joseph Myers <joseph@codesourcery.com>
2498
10b40d85
JM
2499 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2500
0708a7d1
JM
2501 * posix/globtest.sh (TMPDIR): Do not set.
2502 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2503 (testout): Likewise.
2504
9fddec1a
AJ
25052012-10-24 Andreas Jaeger <aj@suse.de>
2506
3a8db22f
AJ
2507 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2508 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2509 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2510 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2511 posix_fadvise64, posix_fallocate64.
2512
9fddec1a
AJ
2513 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2514 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2515 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2516 Likewise.
2517 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2518 Likewise.
2519 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2520
2521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2522 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2523 <bits/fcntl-linux.h>.
2524 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2525
2526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2527 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2528 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2529 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2530 [__WORDSIZE != 64]: Likewise.
2531
ebfd1bbd
JM
25322012-10-23 Joseph Myers <joseph@codesourcery.com>
2533
03ac099f
JM
2534 * Makeconfig (run-built-tests): New variable.
2535 * Rules [$(cross-compiling) = yes]: Change condition to
2536 [$(run-built-tests) = no].
2537 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2538 to [$(run-built-tests) = yes].
2539 * elf/Makefile [$(cross-compiling) = no]: Likewise
2540 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2541 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2542 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2543 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2544 * io/Makefile [$(cross-compiling) = no]: Likewise.
2545 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2546 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2547 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2548 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2549 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2550 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2551 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2552 * string/Makefile [$(cross-compiling) = no]: Likewise.
2553
ebfd1bbd
JM
2554 * posix/Makefile ($(objpfx)globtest.out): Pass
2555 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2556 $(rtld-installed-name).
2557 * posix/globtest.sh (elf_objpfx): Remove variable.
2558 (rtld_installed_name): Likewise.
2559 (library_path): Likewise.
2560 (run_program_prefix): New variable. Use for running globtest
2561 binary.
2562
166bca24
JB
25632012-10-23 Jim Blandy <jimb@codesourcery.com>
2564 Joseph Myers <joseph@codesourcery.com>
2565
2566 * Makeconfig (host-built-program-cmd): New variable.
2567 * elf/Makefile (tst-stackguard1-ARGS): Use
2568 $(host-built-program-cmd).
2569 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2570 (tst-spawn-ARGS): Likewise.
2571 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2572
88866099
JM
25732012-10-23 Joseph Myers <joseph@codesourcery.com>
2574 Jim Blandy <jimb@codesourcery.com>
2575
2576 * Makeconfig (run-via-rtld-prefix): New variable.
2577 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2578 (built-program-cmd): Likewise.
2579
b4b4c296
AJ
25802012-10-22 Andreas Jaeger <aj@suse.de>
2581
2582 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2583 __O_RSYNC if it exists, otherwise to O_SYNC.
2584
6fb54a22
JB
25852012-10-22 Jim Blandy <jimb@codesourcery.com>
2586 Joseph Myers <joseph@codesourcery.com>
2587
2588 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2589 /dev/null.
2590 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2591 from /dev/null
2592 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2593 /dev/null.
2594
481b90b9
AJ
25952012-10-22 Andreas Jaeger <aj@suse.de>
2596
2a0e2669
AJ
2597 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2598 Define always.
2599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2600
76e38f9a
AJ
2601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2602 bits/fcntl-linux.h.
2603
7cd37b43
AJ
2604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2605 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2606
481b90b9
AJ
2607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2608 to __O_LARGEFILE.
2609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2610 to __O_LARGEFILE.
2611
aba75984
JB
26122012-10-21 Jim Blandy <jimb@codesourcery.com>
2613 Joseph Myers <joseph@codesourcery.com>
2614
2615 * config.make.in (NM): New variable.
2616
88d4247f
AJ
26172012-10-21 Andreas Jaeger <aj@suse.de>
2618
2619 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2620 definitions and declarations that are provided by
2621 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2622
f2eed205
L
26232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 [BZ #14683]
2626 * elf/Makefile (tests-static): Add tst-leaks1-static.
2627 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2628 ($(objpfx)tst-leaks1-static): New rule.
2629 ($(objpfx)tst-leaks1-static-mem): Likewise.
2630 (tst-leaks1-static-ENV): New macro.
2631 * elf/dl-open.c (dl_open_worker): Check the main application
2632 only if SHARED is defined.
2633 * elf/tst-leaks1-static.c: New file.
2634
335e6931
AJ
26352012-10-20 Andreas Jaeger <aj@suse.de>
2636
2637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2638 generic values for Linux.
2639 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2640 and declarations that are provided by <bits/fcntl-linux.h> and
2641 include <bits/fcntl-linux.h>.
2642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2644
ac5c94d3
RM
26452012-10-20 Roland McGrath <roland@hack.frob.com>
2646
2647 * io/fcntl.h: Move include of <bits/types.h> to the top and
2648 include it unconditionally.
2649
de54b33a
L
26502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2651
228cfb01
L
2652 * wcsmbs/Makefile (tests-ifunc): New variable.
2653 (tests): Add $(tests-ifunc).
2654 * wcsmbs/test-wcschr-ifunc.c: New file.
2655 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2656 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2657 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2658 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2659 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2660
69f07e5f
L
2661 * string/Makefile (tests-ifunc): New variable.
2662 (tests): Add $(tests-ifunc).
2663 * string/test-memccpy.c (TEST_NAME): New macro.
2664 * string/test-memchr.c (TEST_NAME): Likewise.
2665 * string/test-memcmp.c (TEST_NAME): Likewise.
2666 * string/test-memcpy.c (TEST_NAME): Likewise.
2667 * string/test-memmem.c (TEST_NAME): Likewise.
2668 * string/test-memmove.c (TEST_NAME): Likewise.
2669 * string/test-memset.c (TEST_NAME): Likewise.
2670 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2671 * string/test-stpcpy.c (TEST_NAME): Likewise.
2672 * string/test-stpncpy.c (TEST_NAME): Likewise.
2673 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2674 * string/test-strcasestr.c (TEST_NAME): Likewise.
2675 * string/test-strcat.c (TEST_NAME): Likewise.
2676 * string/test-strchr.c (TEST_NAME): Likewise.
2677 * string/test-strcmp.c(TEST_NAME): Likewise.
2678 * string/test-strcpy.c (TEST_NAME): Likewise.
2679 * string/test-strcspn.c (TEST_NAME): Likewise.
2680 * string/test-strlen.c (TEST_NAME): Likewise.
2681 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2682 * string/test-strncmp.c (TEST_NAME): Likewise.
2683 * string/test-strncpy.c (TEST_NAME): Likewise.
2684 * string/test-strnlen.c (TEST_NAME): Likewise.
2685 * string/test-strpbrk.c (TEST_NAME): Likewise.
2686 * string/test-strrchr.c (TEST_NAME): Likewise.
2687 * string/test-strspn.c (TEST_NAME): Likewise.
2688 * string/test-strstr.c (TEST_NAME): Likewise.
2689 * string/test-bcopy-ifunc.c: New file.
2690 * string/test-bzero-ifunc.c: Likewise.
2691 * string/test-memccpy-ifunc.c: Likewise.
2692 * string/test-memchr-ifunc.c: Likewise.
2693 * string/test-memcmp-ifunc.c: Likewise.
2694 * string/test-memcpy-ifunc.c: Likewise.
2695 * string/test-memmem-ifunc.c: Likewise.
2696 * string/test-memmove-ifunc.c: Likewise.
2697 * string/test-mempcpy-ifunc.c: Likewise.
2698 * string/test-memset-ifunc.c: Likewise.
2699 * string/test-rawmemchr-ifunc.c: Likewise.
2700 * string/test-stpcpy-ifunc.c: Likewise.
2701 * string/test-stpncpy-ifunc.c: Likewise.
2702 * string/test-strcasecmp-ifunc.c: Likewise.
2703 * string/test-strcasestr-ifunc.c: Likewise.
2704 * string/test-strcat-ifunc.c: Likewise.
2705 * string/test-strchr-ifunc.c: Likewise.
2706 * string/test-strchrnul-ifunc.c: Likewise.
2707 * string/test-strcmp-ifunc.c: Likewise.
2708 * string/test-strcpy-ifunc.c: Likewise.
2709 * string/test-strcspn-ifunc.c: Likewise.
2710 * string/test-strlen-ifunc.c: Likewise.
2711 * string/test-strncasecmp-ifunc.c: Likewise.
2712 * string/test-strncat-ifunc.c: Likewise.
2713 * string/test-strncmp-ifunc.c: Likewise.
2714 * string/test-strncpy-ifunc.c: Likewise.
2715 * string/test-strnlen-ifunc.c: Likewise.
2716 * string/test-strpbrk-ifunc.c: Likewise.
2717 * string/test-strrchr-ifunc.c: Likewise.
2718 * string/test-strspn-ifunc.c: Likewise.
2719 * string/test-strstr-ifunc.c: Likewise.
2720
de54b33a
L
2721 * debug/Makefile (tests-ifunc): New variable.
2722 (tests): Add $(tests-ifunc).
2723 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2724 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2725 * debug/test-stpcpy_chk-ifunc.c: New file.
2726 * debug/test-strcpy_chk-ifunc.c: Likewise.
2727
88481c16
SP
27282012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2729
2730 [BZ #13601]
2731 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2732 header is not read in.
2733
135948bd
JM
27342012-10-19 Joseph Myers <joseph@codesourcery.com>
2735
89f1c388
JM
2736 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2737 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2738 directly. Pass built executable to script as
2739 $(built-program-cmd).
2740 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2741 $testprogram without using LD_LIBRARY_PATH and $ldso.
2742
e40a0d21
JM
2743 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2744 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2745 $(rtld-installed-name).
2746 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2747 (rtld_installed_name): Likewise.
2748 (library_path): Likewise.
2749 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2750 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2751 $(run-program-prefix) to tst-tables.sh.
2752 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2753 it to run tst-table-from and tst-table-to.
2754 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2755 Pass it to tst-table.sh.
2756 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2757 $(run-program-prefix) to tst-gettext.sh.
2758 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2759 tst-translit.sh.
2760 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2761 tst-gettext2.sh.
2762 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2763 to run tst-gettext.
2764 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2765 to run tst-gettext2.
2766 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2767 to run tst-translit.
2768 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2769 $(run-program-prefix) to tst-mtrace.sh.
2770 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2771 to run tst-mtrace.
2772 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2773 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2774 $(rtld-installed-name).
2775 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2776 (rtld_installed_name): Likewise.
2777 (run_program_prefix): New variable. Use it to run wordexp-test.
2778
728e272a
JM
2779 * Makeconfig (ARCH): Remove all definitions.
2780 (machine): Likewise.
2781 [ARCH]: Remove conditional code.
2782 [!objdir]: Give error.
2783 [!objdir] (objpfx): Remove.
2784 [!objdir] (common-objpfx): Likewise.
2785 [!objdir] (common-objdir): Likewise.
2786 * configure.in (config_makefile): Remove. Hardcode Makefile in
2787 AC_CONFIG_FILES call.
2788 * configure: Regenerated.
2789
d528cdcf
JM
2790 [BZ #13888]
2791 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2792 or TMPDIR.
2793 (testout): Likewise.
2794
135948bd
JM
2795 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2796 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2797 $(rtld-installed-name).
2798 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2799 (rtld_installed_name): Likwise.
2800 (runit): Remove function.
2801 (run_getconf): New variable, Use it for running getconf binary.
2802
38c78296
L
28032012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2804
2805 [BZ #14716]
2806 * string/test-memmem.c (check_result): New function.
2807 (do_one_test): Use it.
2808 (check1): New function.
2809 (test_main): Use it.
2810
d077f65f
MT
28112012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2812
2813 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2814
ced52c71
JM
28152012-10-18 Joseph Myers <joseph@codesourcery.com>
2816
2817 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2818 (_G_LSEEK64): Likewise.
2819 (_G_MMAP64): Likewise.
2820 (_G_FSTAT64): Likewise.
2821 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2822 (_G_LSEEK64): Likewise.
2823 (_G_MMAP64): Likewise.
2824 (_G_FSTAT64): Likewise.
2825 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2826 unconditional. Call __mmap64 directly.
2827 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2828 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2829 __lseek64 directly.
2830 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2831 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2832 __mmap64 directly.
2833 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2834 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2835 __lseek64 directly.
2836 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2837 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2838 __lseek64 directly.
2839 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2840 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2841 __lseek64 directly.
2842 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2843 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2844 __fxstat64 directly.
2845 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2846 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2847 unconditional.
2848 (freopen64) [!_G_OPEN64]: Remove conditional code.
2849 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2850 unconditional.
2851 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2852 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2853 unconditional.
2854 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2855 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2856 unconditional.
2857 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2858 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2859 unconditional.
2860 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2861 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2862 unconditional.
2863 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2864 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2865 unconditional.
2866 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2867 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2868 unconditional.
2869 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2870
b741de23
SP
28712012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2872
2873 [BZ #12140]
2874 * manual/memory.texi (Malloc Tunable Parameters): Add note
2875 about free list pointers overwriting some perturb bytes.
2876 Wording suggested by Roland McGrath.
2877
f9b9d9c9
JM
28782012-10-17 Joseph Myers <joseph@codesourcery.com>
2879
2880 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2881 (lgamma_test): Likewise.
2882 (tgamma_test): Likewise.
2883
172a631a
FW
28842012-10-16 Florian Weimer <fweimer@redhat.com>
2885
2886 [BZ #14700]
2887 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2888 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2889
e9f37252
MK
28902012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2891
2892 * NEWS: Mention BZ #14716.
2893 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2894 when removing AVAILABLE1_USES_J macro.
2895
d394eb74
L
28962012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2897
2898 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2899 (__bswap_64): __uint64_t for unsigned 64-bit int.
2900
ca38dc17
AS
29012012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2902
2903 * include/string.h (memmem): Declare libc hidden alias.
2904 * string/memmem.c (memmem): Define libc hidden alias.
2905 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2906 __read, __close instead of open, read, close.
2907
9a387d1f
L
29082012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2909
ac49ecaf
L
2910 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2911 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2912 global and hidden.
2913 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2914 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2915 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2916 Likewise.
2917 (__rawmemchr_sse2): Likewise.
2918 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2919 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2920 (__strchr_sse2): Likewise.
2921 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2922 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2923 (__strcasecmp_sse2): Likewise.
2924 (__strncasecmp_sse2): Likewise.
2925 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2926 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2927 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2928 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2929 (__strrchr_sse2): Likewise.
2930 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2931 ifunc-impl-list.c.
2932 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2933 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2934 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2935 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2936 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2937 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2938 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2939 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2940 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2941 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2942 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2943 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2944 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2945 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2946 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2947 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2948 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2949 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2950 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2951 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2952 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2953 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2954 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2955 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2956 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2957 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2958 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2959 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2960 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2961 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2962
b090e8ea
L
2963 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2964 global and hidden.
2965 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2966 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2967 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2968 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2969 Likewise.
2970 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2971 Likewise.
2972 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2973 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2974 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2975 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2976 ifunc-impl-list.c.
2977 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2978 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2979 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2980 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2981 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2982 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2983 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2984 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2985 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2986 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2987 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2988 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2989 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2990 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2992 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2993 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2994 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2995 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2996 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2997 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2998 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2999 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3000 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3001 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3002 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3003 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3004 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3005 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3006 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3007 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3008 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3009 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3010 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3011 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3012 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3013 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3014 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3015 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3016 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3017 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3018
11dd4af6
L
3019 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3020 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3021 * include/ifunc-impl-list.h: New file.
3022 * misc/ifunc-impl-list.c: Likewise.
3023 * misc/Makefile (routines): Add ifunc-impl-list.
3024 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3025 * string/test-string.h: Include <ifunc-impl-list.h>.
3026 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3027 impl_array): New variables.
3028 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3029 are defined.
3030 (test_init): Call __libc_ifunc_impl_list to initialize
3031 func_list if TEST_IFUNC and TEST_NAME are defined.
3032
9a387d1f
L
3033 * string/Makefile (strop-tests): Add bcopy and bzero.
3034 * string/test-bcopy.c: New file.
3035 * string/test-bzero.c: Likewise.
3036 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3037 defined.
3038 * string/test-memset.c: Support bzero test if TEST_BZERO is
3039 defined.
3040 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3041 __libc_memmove.
3042 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3043 __libc_memset.
3044 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3045 of memset.
3046
472371b9
JM
30472012-10-10 Joseph Myers <joseph@codesourcery.com>
3048
1e4a9536
JM
3049 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3050 * configure: Regenerated.
3051
d173d12e
JM
3052 * Makeconfig (+link-static-before-libc): Don't include
3053 $(link-static-libc).
3054
472371b9
JM
3055 * libio/libio.h (_IO_pos_t): Remove.
3056
89a3ad0b
AO
30572012-10-10 Alexandre Oliva <aoliva@redhat.com>
3058
3059 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3060 McGrath.
3061
e7451425
AO
30622012-10-10 Alexandre Oliva <aoliva@redhat.com>
3063
3064 * crypt/crypt-entry.c: Include fips-private.h.
3065 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3066 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3067 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3068 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3069
4ba74a35
AO
30702012-10-10 Alexandre Oliva <aoliva@redhat.com>
3071
3072 * crypt/crypt-private.h: Include stdbool.h.
3073 (_ufc_setup_salt_r): Return bool.
3074 * crypt/crypt-entry.c: Include errno.h.
3075 (__crypt_r): Return NULL with EINVAL for bad salt.
3076 * crypt/crypt_util.c (bad_for_salt): New.
3077 (_ufc_setup_salt_r): Check that salt is long enough and within
3078 the specified alphabet.
3079 * crypt/badsalttest.c: New file.
3080 * crypt/Makefile (tests): Add it.
3081 ($(objpfx)badsalttest): New.
3082
f96f1242
MK
30832012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3084
3085 * NEWS: Add entry for BZ #14602.
3086
0e8e0c1c
JM
30872012-10-09 Joseph Myers <joseph@codesourcery.com>
3088
3089 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3090 type-generic.
3091 * math/libm-test.inc: Update comment listing what functions and
3092 macros are tested.
3093 (isgreater_test): New function.
3094 (isgreaterequal_test): Likewise.
3095 (isless_test): Likewise.
3096 (islessequal_test): Likewise.
3097 (islessgreater_test): Likewise.
3098 (isunordered_test): Likewise.
3099 (main): Call the new functions.
3100
273edc5e
RM
31012012-10-09 Roland McGrath <roland@hack.frob.com>
3102
b8493de0
RM
3103 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3104 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3105 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3106 * sysdeps/i386/configure: Regenerated.
3107 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3108 * sysdeps/mach/configure: Regenerated.
3109 * sysdeps/mach/hurd/configure: Regenerated.
3110 * sysdeps/powerpc/configure: Regenerated.
3111 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3112 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3113 * sysdeps/s390/s390-32/configure: Regenerated.
3114 * sysdeps/s390/s390-64/configure: Regenerated.
3115 * sysdeps/sh/configure: Regenerated.
3116 * sysdeps/sparc/configure: Regenerated.
3117 * sysdeps/unix/sysv/linux/configure: Regenerated.
3118 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3119 * sysdeps/x86_64/configure: Regenerated.
3120
273edc5e
RM
3121 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3122 defined. Don't check if MAP is NULL.
3123
c8450f70
JM
31242012-10-09 Joseph Myers <joseph@codesourcery.com>
3125
3126 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3127 (_G_stat64): Likewise.
3128 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3129 (_G_stat64): Likewise.
3130 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3131 instead of struct _G_stat64.
3132 * libio/fileops.c (mmap_remap_check): Likewise.
3133 (decide_maybe_mmap): Likewise.
3134 (_IO_new_file_seekoff): Likewise.
3135 (_IO_file_stat): Likewise.
3136 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3137 _G_off64_t.
3138 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3139 instead of struct _G_stat64.
3140 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3141
57e605ba
MK
31422012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3143
3144 [BZ #14602]
3145 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3146 Replace with ...
3147 (CHECK_EOL): New macro.
3148 (two_way_short_needle): Check beginning of haystack for EOL. Use
3149 CHECK_EOL.
3150 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3151 Replace with CHECK_EOL.
3152 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3153 Replace with CHECK_EOL.
3154
ef1bb361
JM
31552012-10-08 Joseph Myers <joseph@codesourcery.com>
3156
3157 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3158 type-generic.
3159 * math/libm-test.inc: Update comment listing what functions and
3160 macros are tested.
3161 (finite_test): New function.
3162 (isinf_test): Likewise.
3163 (isnan_test): Likewise.
3164 (fpclassify_test): Test subnormal input.
3165 (isfinite_test): Likewise.
3166 (isnormal_test): Likewise.
3167 (main): Call the new functions.
3168
55f11534
JN
31692012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3170
3171 [BZ #14660]
3172 * Makerules (%.dynsym): Force C locale when running
3173 $(OBJDUMP) --dynamic-syms.
3174
1ab29350
AS
31752012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3176
3177 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3178 <stdint.h>.
3179
f1ecb7ef
DM
31802012-10-06 David S. Miller <davem@davemloft.net>
3181
3182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3183 upper 32-bits of the length value in %o2 since we use branch-on-register
3184 tests which consider the entire 64-bit register.
3185
5d41d91a
L
31862012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3187
3188 * string/test-strstr.c (check2): Add a test for page boundary.
3189
3baddb72
DM
31902012-10-05 David S. Miller <davem@davemloft.net>
3191
3192 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3193 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3194 file.
3195 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3196 sysdep_routines.
3197 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3198 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3199 and bzero when HWCAP_SPARC_CRYPTO is present.
3200
9cee5585
L
32012012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3202
d7e0dab9
L
3203 [BZ #14602]
3204 * string/test-strstr.c (check2): New function.
3205 (test_main): Call check2.
3206
03759f47
L
3207 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3208 and bug-strchr1.
3209 * string/bug-strcasestr1.c (do_test): Moved to ...
3210 * string/test-strcasestr.c (check1): Here. New function.
3211 (do_one_test): Break out result checking code into ...
3212 (check_result): This. New function.
3213 (do_one_test): Call check_result.
3214 (test_main): Call check1.
3215 * string/bug-strchr1.c (do_test): Moved to ...
3216 * string/test-strchr.c (check1): Here. New function.
3217 (do_one_test): Break out result checking code into ...
3218 (check_result): This. New function.
3219 (do_one_test): Call check_result.
3220 (test_main): Call check1.
3221 * string/bug-strstr1.c (main): Moved to ...
3222 * string/test-strchr.c (check1): Here. New function.
3223 (do_one_test): Break out result checking code into ...
3224 (check_result): This. New function.
3225 (do_one_test): Call check_result.
3226 (test_main): Call check1.
3227 * string/bug-strcasestr1.c: Removed.
3228 * string/bug-strchr1.c: Likewise.
3229 * string/bug-strstr1.c: Likewise.
3230
53cea63e
L
3231 * elf/Makefile (dl-routines): Add hwcaps.
3232 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3233 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3234 (_dl_important_hwcaps): Moved to ...
3235 * elf/dl-hwcaps.c: Here. New file.
3236 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3237
9cee5585 3238 [BZ #14557]
bb859b06
L
3239 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3240 if IS_IN_rtld isn't defined.
3241
9cee5585
L
3242 * elf/dl-support.c (_dl_sysinfo_map): New.
3243 Include "get-dynamic-info.h" and "setup-vdso.h".
3244 (_dl_non_dynamic_init): Call setup_vdso.
3245 * elf/dynamic-link.h: Don't include <assert.h>.
3246 (elf_get_dynamic_info): Moved to ...
3247 * elf/get-dynamic-info.h: Here. New file.
3248 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3249 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3250 * elf/setup-vdso.h: Here. New file.
3251 * elf/rtld.c: Include "setup-vdso.h".
3252 (dl_main): Call setup_vdso.
3253
23c31b76
JM
32542012-10-05 Joseph Myers <joseph@codesourcery.com>
3255
28234b07
JM
3256 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3257 creal in comment listing functions tested. List finite, isinf,
3258 isnan, isless, islessequal, isgreater, isgreaterequal,
3259 islessgreater, isunordered, lgamma_r and pow10 as functions and
3260 macros not tested. Mention which functions not tested are aliases
3261 for other functions. Fix typo. Note that signs of NaNs are not
3262 tested.
3263
23c31b76
JM
3264 * scripts/config.guess: Update from config.git.
3265 * scripts/config.sub: Likewise.
3266
9043e228
RM
32672012-10-04 Roland McGrath <roland@hack.frob.com>
3268
3269 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3270 * misc/madvise.c (madvise): Renamed to __madvise.
3271 Make madvise a weak alias.
3272 * include/sys/mman.h: Declare __madvise.
3273 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3274 * sysdeps/unix/syscalls.list
3275 (madvise): Make __madvise the strong name, and madvise a weak alias.
3276 * sysdeps/unix/sysv/linux/syscalls.list
3277 (madvise, mmap): Remove redundant entries.
3278 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3279 * malloc/malloc.c (mtrim): Likewise.
3280 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3281
f57f8055
RM
32822012-10-03 Roland McGrath <roland@hack.frob.com>
3283
3284 * sysdeps/mach/hurd/dl-cache.c: File removed.
3285 * config.h.in (USE_LDCONFIG): New #undef.
3286 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3287 * configure: Regenerated.
3288 * elf/Makefile (dl-routines): Add dl-cache only under
3289 [$(use-ldconfig) = yes].
3290 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3291 cache on [USE_LDCONFIG].
3292 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3293 [USE_LDCONFIG].
3294 * elf/rtld.c (dl_main): Likewise.
3295
5bb0c10a
PT
32962012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3297
3298 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3299 _SC_LEVEL4_CACHE_LINESIZE.
3300
010188c6
RM
33012012-10-03 Roland McGrath <roland@hack.frob.com>
3302
3303 * sysdeps/unix/bsd/confstr.h: File removed.
3304
b6c5ec07
AO
33052012-10-02 Alexandre Oliva <aoliva@redhat.com>
3306
3307 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3308 sys/sdt-config.h.
3309
408223d4
RM
33102012-10-02 Roland McGrath <roland@hack.frob.com>
3311
3312 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3313 Make 'mapoff' field ElfW(Off) rather than off_t.
3314
bb9510dc
DL
33152012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3316
fc997c6e
DL
3317 * nscd/Makefile: Remove nscd-cflags and all its users.
3318 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3319 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3320
bb9510dc
DL
3321 [BZ #10631]
3322 * malloc.c (malloc_printerr): Clarify error message.
3323
05699367
L
33242012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3325
3326 [BZ #14648]
3327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3328 Set bit_FMA_Usable if FMA is supported.
3329 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3330 macro.
3331 (bit_FMA4_Usable): Updated.
3332 (index_FMA_Usable): New macro.
3333 (CPUID_FMA): Likewise
3334 (HAS_FMA): Defined with bit_FMA_Usable.
3335
51367701
RM
33362012-10-01 Roland McGrath <roland@hack.frob.com>
3337
3338 * bits/types.h (__swblk_t): Type removed.
3339 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3340 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3342 (__SWBLK_T_TYPE): Likewise.
3343 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3344 (__SWBLK_T_TYPE): Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3346 (__SWBLK_T_TYPE): Likewise.
3347 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3348 (__SWBLK_T_TYPE): Likewise.
3349
4d57bf63 33502012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3351 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3352
3353 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3354 (xdr_mapname): Use YPMAXMAP as maxsize.
3355 (xdr_peername): Use YPMAXPEER as maxsize.
3356 (xdr_keydat): Use YPAXRECORD as maxsize.
3357 (xdr_valdat): Use YPMAXRECORD as maxsize.
3358
93c65d43
RM
33592012-10-01 Roland McGrath <roland@hack.frob.com>
3360
497a03d6
RM
3361 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3362
93c65d43
RM
3363 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3364 * csu/init-first.c: ... here.
3365 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3366 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3367 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3368 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3369 * sysdeps/i386/init-first.c: File removed.
3370 * sysdeps/sh/init-first.c: File removed.
3371
bec749fd
JM
33722012-10-01 Joseph Myers <joseph@codesourcery.com>
3373
3374 [BZ #14645]
3375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3376 if x * y might underflow to zero and z is zero.
3377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3379 * math/libm-test.inc (min_subnorm_value): New variable.
3380 (fma_test): Add more tests.
3381 (fma_test_towardzero): Likewise.
3382 (fma_test_downward): Likewise
3383 (fma_test_upward): Likewise.
3384 (initialize): Set min_subnorm_value.
3385
8ec5b013
JM
33862012-09-29 Joseph Myers <joseph@codesourcery.com>
3387
3388 [BZ #14638]
3389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3390 0 + 0.
3391 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3392 mode for addition resulting in exact zero.
3393 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3395 exact 0 + 0.
3396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3397 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3398 * math/libm-test.inc (fma_test): Add more tests.
3399 (fma_test_towardzero): New function.
3400 (fma_test_downward): Likewise.
3401 (fma_test_upward): Likewise.
3402 (main): Call the new functions.
3403
b1fa802e
DM
34042012-09-28 David S. Miller <davem@davemloft.net>
3405
3406 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3407
d3b9fd9e
RM
34082012-09-28 Roland McGrath <roland@hack.frob.com>
3409
ea4d37b3
RM
3410 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3411 instead of SIGALRM.
3412
ac51c949
RM
3413 * sysdeps/gnu/_G_config.h: Moved to ...
3414 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3415 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3416 * sysdeps/generic/_G_config.h: ... here.
3417
28c195f7
RM
3418 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3419
848917f9
RM
3420 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3421
6bacf05b
RM
3422 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3423 Conditionalize target on [libnss_test1.so-version].
3424
91363dbb
RM
3425 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3426
cc87f7d8
RM
3427 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3428 (elfobjdir): Move out of conditionals.
3429
b1c608fe
RM
3430 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3431 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3432 (__nss_lookup_function): Conditionalize label remove_from_tree on
3433 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3434
1d9a6d96
DM
34352012-09-28 David S. Miller <davem@davemloft.net>
3436
3437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3438 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3439 file.
3440 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3441 sysdep_routines.
3442 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3444 when HWCAP_SPARC_CRYPTO is present.
3445
72581615
PT
34462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3447
3448 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3449
715a900c
JL
34502012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3451
3452 [BZ #6530]
3453 * stdio-common/vfprintf.c (process_string_arg): Revert
3454 2000-07-22 change.
3455
34562011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3457
3458 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3459 for testcase.
3460 * stdio-common/tst-sprintf.c: Include <locale.h>
3461 (main): Test sprintf's handling of incomplete multibyte
3462 characters.
3463
9bac1d86
L
34642012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3465
3466 * elf/dl-runtime.c (VERSYMIDX): Removed.
3467 * elf/dl-version.c (VERSYMIDX): Likewise.
3468 * elf/do-rel.h (VERSYMIDX): Likewise.
3469 (VALIDX): Likewise.
3470 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3471 * elf/rtld.c (VALIDX): Likewise.
3472 (ADDRIDX): Likewise.
9bac1d86
L
3473 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3474 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3475 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3476 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3477 (VALIDX): Likewise.
3478 (ADDRIDX): Likewise.
9bac1d86 3479
b31606c0
PT
34802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3481
3482 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3483
11541177
JL
34842012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3485
3486 [BZ #11438]
3487 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3488 to global scope.
3489 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3490 addresses are in the same scope as 192.0.2/24.
3491 * posix/gai.conf: Document new scope table defaults.
3492
adb26fae
SP
34932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3494
3495 [BZ #5298]
3496 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3497 for ftell. Compute offsets from write pointers instead.
3498 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3499
4573c6b0
SP
35002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3501
3502 [BZ #14543]
3503 * libio/Makefile (tests): New test case tst-fseek.
3504 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3505 combination works in wide mode.
3506 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3507 state when the external buffer state changes.
3508
aa9bbfe6
DM
35092012-09-27 David S. Miller <davem@davemloft.net>
3510
3511 [BZ #14376]
3512 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3513 pass reloc->r_addend in as the 'high' argument to
3514 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3515
784421e7
DM
3516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3517
c39bc8b8
PT
35182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3519
3520 * rt/tst-aio2.c: Include <pthread.h>.
3521 * rt/tst-aio3.c: Likewise.
3522
1ccc2399
SE
35232012-09-27 Steve Ellcey <sellcey@mips.com>
3524
3525 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3526
31ed4153
L
35272012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3528
25f5f885
L
3529 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3530 contents on [SHARED].
31ed4153 3531
b7bfe116
MP
35322012-09-26 Marek Polacek <polacek@redhat.com>
3533
3534 [BZ #14530]
3535 [BZ #13741]
3536 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3537 for C++ and GCC <4.3 as well as for non GCC compilers.
3538
43c4edba
MT
35392012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3540
3541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3542
6a1bf82f
RM
35432012-09-25 Roland McGrath <roland@hack.frob.com>
3544
3545 * Makefile.in (all, install): Declare with .PHONY.
3546 Reported by Michael Hope <michael.hope@linaro.org>.
3547
8ad11b9a
TMQMF
35482012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3549
3550 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3551 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3552 system header.
3553 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3554 Likewise.
3555 (sydep_routines): Add the new and the internal functions.
3556 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3557 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3559 (GLIBC_2.17): Add the new function.
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3561 (GLIBC_2.17): Likewise.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3563 (GLIBC_2.17): Likewise.
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3565 (GLIBC_2.17): Likewise.
3566 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3567
7e2fca8d
AM
35682012-09-25 Alan Modra <amodra@gmail.com>
3569
3570 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3571 Add release barrier before setting once_control to say
3572 initialisation is done. Add hints on lwarx. Use macro in
3573 place of isync.
3574 (clear_once_control): Add release barrier.
3575
b87c4b24
JM
35762012-09-25 Joseph Myers <joseph@codesourcery.com>
3577
d032e0d2
JM
3578 [BZ #13629]
3579 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3580 specially.
3581 * math/s_clog10.c (__clog10): Likewise.
3582 * math/s_clog10f.c (__clog10f): Likewise.
3583 * math/s_clog10l.c (__clog10l): Likewise.
3584 * math/s_clogf.c (__clogf): Likewise.
3585 * math/s_clogl.c (__clogl): Likewise.
3586 * math/Makefile (libm-calls): Add x2y2m1.
3587 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3588 (__x2y2m1): Likewise.
3589 (__x2y2m1l): Likewise.
3590 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3591 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3592 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3593 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3594 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3595 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3596 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3597 * sysdeps/i386/fpu/libm-test-ulps: Update.
3598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3599
b87c4b24
JM
3600 [BZ #14621]
3601 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3602 int as type of variable DEPTH.
3603 (glob): Use size_t instead of int as type of variables NEWCOUNT
3604 and OLD_PATHC.
3605
6d3bf199
LD
36062012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3607
22bf5c17
LD
3608 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3609 Add s_sincosf-sse2.
3610 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3611 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3612 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3613 macros for using routine as __sincosf_ia32.
3614 Use macro for function declaration and weak_alias.
3615 * sysdeps/i386/fpu/libm-test-ulps: Update.
3616
3617 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3619
3620 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3621 subnormal argument.
3622 * math/s_cexpf.c (__cexpf): Likewise.
3623 * math/s_csinf.c (__csinf): Likewise.
3624 * math/s_csinhf.c (__csinhf): Likewise.
3625 * math/s_ctanf.c (__ctanf): Likewise.
3626 * math/s_ctanhf.c (__ctanhf): Likewise.
3627 * math/s_ccosh.c (__ccoshf): Likewise.
3628 * math/s_cexp.c (__cexpl): Likewise.
3629 * math/s_csin.c (__csin): Likewise.
3630 * math/s_csinh.c (__csinh): Likewise.
3631 * math/s_ctan.c (__ctan): Likewise.
3632 * math/s_ctanh.c (ctanh): Likewise.
3633 * math/s_ccoshl.c (__ccoshl): Likewise.
3634 * math/s_cexpl.c (__cexpl): Likewise.
3635 * math/s_csinl.c (__csinl): Likewise.
3636 * math/s_csinhl.c (__csinhl): Likewise.
3637 * math/s_ctanl.c (__ctanl): Likewise.
3638 * math/s_ctanhl.c (__ctanhl): Likewise.
3639
203e5603
JM
36402012-09-25 Joseph Myers <joseph@codesourcery.com>
3641
3642 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3643 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3644 (_IO_off_t): Define to __off_t, not _G_off_t.
3645 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3646 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3647 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3648 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3649 type of __dummy and __dummy2 fields.
3650 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3651 (_G_ssize_t): Likewise.
3652 (_G_off_t): Likewise.
3653 (_G_pid_t): Likewise.
3654 (_G_uid_t): Likewise.
3655 (_G_wchar_t): Likewise.
3656 (_G_wint_t): Likewise.
3657 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3658 (_G_ssize_t): Likewise.
3659 (_G_off_t): Likewise.
3660 (_G_pid_t): Likewise.
3661 (_G_uid_t): Likewise.
3662 (_G_wchar_t): Likewise.
3663 (_G_wint_t): Likewise.
3664 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3665 (_G_ssize_t): Likewise.
3666 (_G_off_t): Likewise.
3667 (_G_pid_t): Likewise.
3668 (_G_uid_t): Likewise.
3669 (_G_wchar_t): Likewise.
3670 (_G_wint_t): Likewise.
3671
9fab36eb
SP
36722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3673
3674 * malloc/arena.c: Include malloc-sysdep.h.
3675 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3676 is sufficient to shrink the heap or an unmap is needed.
3677 * sysdeps/generic/malloc-sysdep.h: New file. Define
3678 new function check_may_shrink_heap.
3679 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3680 new function check_may_shrink_heap.
3681
2b4f00d1
SP
36822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3683
3684 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3685 comments.
3686
9a9028b1
DL
36872012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3688
57c69bef
DL
3689 * catgets/test-gencat.sh: Add "set -e".
3690 * elf/tst-pathopt.sh: Likewise.
3691 * grp/tst_fgetgrent.sh: Likewise.
3692 * iconvdata/run-iconv-test.sh: Likewise.
3693 * intl/tst-gettext.sh: Likewise.
3694 * intl/tst-gettext2.sh: Likewise.
3695 * intl/tst-gettext4.sh: Likewise.
3696 * intl/tst-gettext6.sh: Likewise.
3697 * intl/tst-translit.sh: Likewise.
3698 * io/ftwtest-sh: Likewise.
3699 * libio/test-freopen.sh: Likewise.
3700 * malloc/tst-mtrace.sh: Likewise.
3701 * posix/globtest.sh: Likewise.
3702 * posix/tst-getconf.sh: Likewise.
3703 * posix/wordexp-tst.sh: Likewise.
3704 * stdio-common/tst-printf.sh: Likewise.
3705 * stdio-common/tst-unbputc.sh: Likewise.
3706 * stdlib/tst-fmtmsg.sh: Likewise.
3707 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3708 * catgets/Makefile: Do not specify -e option when running
3709 testsuite shell scripts.
3710 * elf/Makefile: Likewise.
3711 * grp/Makefile: Likewise.
3712 * iconvdata/Makefile: Likewise.
3713 * intl/Makefile: Likewise.
3714 * io/Makefile: Likewise.
3715 * libio/Makefile: Likewise.
3716 * malloc/Makefile: Likewise.
3717 * posix/Makefile: Likewise.
3718 * stdio-common/Makefile: Likewise.
3719 * stdlib/Makefile: Likewise.
3720 * sysdeps/x86_64/Makefile: Likewise.
3721
9a9028b1
DL
3722 * io/ftwtest-sh: Add copyright header.
3723 * posix/globtest.sh: Likewise.
3724 * posix/tst-getconf.sh: Likewise.
3725 * posix/wordexp-tst.sh: Likewise.
3726 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3727
ced6f16e
L
37282012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3729
94b32c39
L
3730 [BZ #13679]
3731 * Makeconfig (+link): Defined as $(+link-static) if
3732 $(build-shared) isn't yes.
3733 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3734 isn't yes.
3735 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3736
189e935b
L
3737 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3738
ced6f16e
L
3739 [BZ #14562]
3740 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3741 new chunk size with MALLOC_ALIGN_MASK.
3742
a9f8e53a
JM
37432012-09-24 Joseph Myers <joseph@codesourcery.com>
3744
3745 [BZ #5044]
3746 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3747 <rounding-mode.h>.
3748 (__printf_fphex): Determine rounding using get_rounding_mode and
3749 round_away.
3750 * stdio-common/tst-printf-round.c (struct hex_test): New
3751 structure.
3752 (hex_tests): New variable.
3753 (test_hex_in_one_mode): New function.
3754 (do_test): Also run tests for hex float output.
3755
43153109
JM
37562012-09-21 Joseph Myers <joseph@codesourcery.com>
3757
3758 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3759 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3760 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3761 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3762 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3763 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3764 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3765 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3766
8a26625d
JM
37672012-09-20 Joseph Myers <joseph@codesourcery.com>
3768
3769 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3770 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3771 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3772 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3773
f3fd569c
DL
37742012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3775
3776 [BZ #14579]
3777 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3778 mode only.
3779 * elf/tst-rtld-load-self.sh: New test.
3780 * elf/Makefile: Run it.
3781
63bbedd4
JM
37822012-09-18 Joseph Myers <joseph@codesourcery.com>
3783
3784 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3785 (tst-writev-ENV): Remove.
3786 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3787
626f8b6a
CM
37882012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3789
3790 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3791
b7aaa4d6
JM
37922012-09-17 Joseph Myers <joseph@codesourcery.com>
3793
3794 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3795 unconditional.
3796 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3797 Likewise.
3798 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3799 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3800 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3801 Likewise.
3802
65513990
L
38032012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3804
3805 [BZ #14587]
3806 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3807 * config.make.in (have-cpp-asm-debuginfo): Removed.
3808 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3809 * configure: Regenerated.
3810
784761be
JM
38112012-09-14 Joseph Myers <joseph@codesourcery.com>
3812
3813 [BZ #5044]
3814 * stdio-common/printf_fp.c: Include <stdbool.h> and
3815 <rounding-mode.h>.
3816 (___printf_fp): Determine rounding using get_rounding_mode and
3817 round_away.
3818 * stdio-common/tst-printf-round.c: New file.
3819 * stdio-common/Makefile (tests): Add tst-printf-round.
3820 (link-libm): New variable.
3821 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3822
9503345f
L
38232012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3824
3825 [BZ #14576]
3826 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3827 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3828 Likewise.
3829 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3830 Likewise.
3831
ad35fc00
JM
38322012-09-13 Joseph Myers <joseph@codesourcery.com>
3833
3834 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3835 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3836 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3837 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3838
6c9b0f68
JM
38392012-09-12 Joseph Myers <joseph@codesourcery.com>
3840
3841 [BZ #14518]
3842 * include/rounding-mode.h: New file.
3843 * sysdeps/generic/get-rounding-mode.h: Likewise.
3844 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3845 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3846 (MAX_VALUE): New macro.
3847 (MIN_VALUE): Likewise.
3848 (overflow_value): New function.
3849 (underflow_value): Likewise.
3850 (round_and_return): Use overflow_value and underflow_value to
3851 determine return values in overflow and underflow cases. Use
3852 round_away to determine rounding depending on rounding mode.
3853 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3854 determine return values in overflow and underflow cases.
3855 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3856 (struct test_results): New structure.
3857 (struct test): Use struct test_results to store expected results
3858 for all rounding modes.
3859 (TEST): Include expected results for all rounding modes.
3860 (test_in_one_mode): New function.
3861 (do_test): Use test_in_one_mode to compute and check results.
3862 Check results for all rounding modes.
3863 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3864 $(link-libm).
3865
19fcedd5
AM
38662012-12-09 Allan McRae <allan@archlinux.org>
3867
1e9d84cd 3868 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3869
8bbfd2f1
JM
38702012-09-11 Joseph Myers <joseph@codesourcery.com>
3871
3872 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3873 (_G_int32_t): Likewise.
3874 (_G_uint16_t): Likewise.
3875 (_G_uint32_t): Likewise.
3876 (_G_HAVE_BOOL): Likewise.
3877 (_G_HAVE_ATEXIT): Likewise.
3878 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3879 (_G_HAVE_IO_FILE_OPEN): Likewise.
3880 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3881 (_G_int32_t): Likewise.
3882 (_G_uint16_t): Likewise.
3883 (_G_uint32_t): Likewise.
3884 (_G_HAVE_BOOL): Likewise.
3885 (_G_HAVE_ATEXIT): Likewise.
3886 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3887 (_G_HAVE_IO_FILE_OPEN): Likewise.
3888 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3889 (_G_int32_t): Likewise.
3890 (_G_uint16_t): Likewise.
3891 (_G_uint32_t): Likewise.
3892 (_G_HAVE_BOOL): Likewise.
3893 (_G_HAVE_ATEXIT): Likewise.
3894 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3895 (_G_HAVE_IO_FILE_OPEN): Likewise.
3896
b1dc5912
L
38972012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 * csu/libc-tls.c: Update copyright years.
3900
0e886ef9
JM
39012012-09-10 Joseph Myers <joseph@codesourcery.com>
3902
28361c5e
JM
3903 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3904 [!_G_USING_THUNKS]: Remove conditional code.
3905 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3906 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3907
0e886ef9
JM
3908 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3909 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3910 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3911 (_G_VTABLE_LABEL_PREFIX): Likewise.
3912 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3913 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3914 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3915 (_G_VTABLE_LABEL_PREFIX): Likewise.
3916 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3917 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3918 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3919 (_G_VTABLE_LABEL_PREFIX): Likewise.
3920 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3921
bcba7aa2
L
39222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3923
3924 * libio/Makefile: Include ../Makeconfig before tests.
3925 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3926 only if $(build-shared) is yes.
3927
06585ee8
L
3928 * iconv/gconv_db.c: Update copyright years.
3929
80ccd52c
LD
39302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3931
3932 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3933 unwind info if defined PIC. Fix special cases description.
3934 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3935
3936 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3937 DP_HI_MASK entry.
3938 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3939
691bc9c1
L
39402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3941
3d9b46b3
L
3942 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3943
de2139a9
L
3944 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3945 is NULL.
3946
5ca78dd0
L
3947 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3948 (LDLIBS-tst-chk4): This.
3949 (LDFLAGS-tst-chk5): Renamed to ...
3950 (LDLIBS-tst-chk5): This.
3951 (LDFLAGS-tst-chk6): Renamed to ...
3952 (LDLIBS-tst-chk6): This.
3953 (LDFLAGS-tst-lfschk4): Renamed to ...
3954 (LDLIBS-tst-lfschk4): This.
3955 (LDFLAGS-tst-lfschk5): Renamed to ...
3956 (LDLIBS-tst-lfschk5): This.
3957 (LDFLAGS-tst-lfschk6): Renamed to ...
3958 (LDLIBS-tst-lfschk6): This.
3959
691bc9c1
L
3960 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3961 on $(common-objpfx)soversions.mk.
3962
65cafb1c
JM
39632012-09-07 Joseph Myers <joseph@codesourcery.com>
3964
3965 [BZ #10014]
3966 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3967 example host name.
3968
c78ab094
SP
39692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3970
3971 * malloc/arena.c (arena_get_retry): New function that gets
3972 another arena for the caller to try its request on.
3973 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3974 current arena cannot fulfill the request.
3975 (__libc_memalign): Likewise.
3976 (__libc_memalign): Likewise.
3977 (__libc_pvalloc): Likewise.
3978 (__libc_calloc): Likewise.
3979
01f49f59
JT
39802012-09-05 John Tobey <john.tobey@gmail.com>
3981
3982 [BZ #13542]
3983 * manual/arith.texi (Operations on Complex): Fix description
3984 of carg branch cut.
3985
4c23fed5
JM
39862012-09-06 Joseph Myers <joseph@codesourcery.com>
3987
1d3c8572
JM
3988 [BZ #10014]
3989 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3990 host name.
3991
4c23fed5
JM
3992 [BZ #10038]
3993 * manual/memory.texi (Memory): Make order of menu items match
3994 order of sections.
3995
04570aaa
L
39962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3997
3998 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3999 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4000 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4001
b80af2f4
L
40022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4003
4004 * csu/libc-tls.c (static_dtv): Renamed to ...
4005 (_dl_static_dtv): This. Make it global.
4006 (_dl_initial_dtv): Removed.
4007 (__libc_setup_tls): Updated.
4008 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4009 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4010 DL_INITIAL_DTV.
4011
2abe9f15
PM
40122012-09-06 Petr Machata <pmachata@redhat.com>
4013
4014 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4015 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4016 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4017 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4018
0948c3af
L
40192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4020
4021 [BZ #14545]
4022 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4023 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4024 freeing dtv[-1].
4025
a5055ad1
L
40262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 [BZ #14544]
4029 * Makeconfig (link-static-before-libc): Replace $(+prector)
4030 with $(+prectorT).
4031 (link-static-after-libc): Replace $(+postctor) with
4032 $(+postctorT).
4033 (link-bounded): Replace $(+prector)/$(+postctor) with
4034 $(+prectorT)/$(+postctorT).
4035 (+prectorT): New macro.
4036 (+postctorT): Likewise.
4037
ed8c2ecd
JM
40382012-09-06 Joseph Myers <joseph@codesourcery.com>
4039
4040 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4041 (round_str): Handle values above the maximum for IBM long double
4042 as inexact.
4043 * stdlib/tst-strtod-round.c (tests): Regenerated.
4044
14c996c8
AK
40452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4046
4047 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4048 assembler flag.
4049 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4050 zarch_nohighgprs around the zarch optimized routines.
4051 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4052 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4053 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4054 for zarch.
4055
430d6ce6
DM
40562012-09-05 David S. Miller <davem@davemloft.net>
4057
4058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4059
ff04dda4
DM
4060 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4061 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4062 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4063 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4064 entries.
4065
24d4e01b
AO
40662012-09-05 Alexandre Oliva <aoliva@redhat.com>
4067
4068 * malloc/arena.c: Fold copyright years.
4069 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4070
61d58174
AO
40712012-09-05 Alexandre Oliva <aoliva@redhat.com>
4072
4073 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4074
20196a5e
AO
40752012-09-05 Alexandre Oliva <aoliva@redhat.com>
4076
4077 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4078
5c447383
AO
40792012-09-05 Alexandre Oliva <aoliva@redhat.com>
4080
4081 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4082 change internal state upon failure.
4083
fad64255
AO
40842012-09-05 Alexandre Oliva <aoliva@redhat.com>
4085
4086 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4087 * malloc/memusage.c (mmap): Likewise.
4088 (mmap64, mremap): Likewise. Adjust name in comment.
4089
1ffb8c90
SP
40902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4091
4092 * libio/fileops.c: Fix typos in comments.
4093 * libio/oldfileops.c: Likewise.
4094 * libio/wfileops.c: Likewise.
4095
6ef9cc37
SP
40962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4097
4098 [BZ #1349]
4099 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4100 (tst-malloc-usable-ENV): Set environment for test case.
4101 * malloc/hooks.c (malloc_check_get_size): New function to get
4102 requested size.
4103 * malloc/malloc.c (musable): Use malloc_check_get_size.
4104 * malloc/tst-malloc-usable.c: New test case.
4105
4d038ae3
AS
41062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4107
4108 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4109
c4e85184
AM
41102012-09-05 Allan McRae <allan@archlinux.org>
4111
b9dafc56 4112 [BZ #13966]
c4e85184
AM
4113 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4114 determine header location.
4115 * configure: Regenerated.
4116
e1343020
AS
41172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4118
4119 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4120 float format.
4121 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4122 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4123 format.
e1343020
AS
4124 (test): Regenerate.
4125
0a9f1987
DM
41262012-09-04 David S. Miller <davem@davemloft.net>
4127
4128 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4129 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4130 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4131
29237804
FW
41322012-09-04 Florian Weimer <fweimer@redhat.com>
4133
4134 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4135 failures.
4136
edb3cb88
FW
4137 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4138
60160d83
JM
41392012-09-04 Joseph Myers <joseph@codesourcery.com>
4140
4141 [BZ #9914]
4142 * libio/iogetdelim.c: Include <limits.h>.
4143 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4144 + len + 1 would overflow.
4145
bcd6c8dc
AJ
41462012-09-03 Andreas Jaeger <aj@suse.de>
4147
4148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4149 * sysdeps/i386/fpu/libm-test-ulps: Update.
4150
4ffffbd2
LD
41512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4152
4153 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4154 Add s_sinf-sse2, s_conf-sse2.
4155
4156 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4157 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4158 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4159 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4160
4161 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4162 for using routine as __sinf_ia32.
4163 Use macro for function declaration and weak_alias.
4164 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4165 for using routine as __cosf_ia32.
4166 Use macro for function declaration and weak_alias.
4167
4168 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4169 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4170
4171 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4172 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4174
4175 * math/libm-test.inc (cos_test): Add more test cases.
4176 (sin_test): Likewise.
4177 (sincos_test): Likewise.
4178
511fa286
AK
41792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4180
4181 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4182 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4183 hidden.
4184 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4185
5f30cfec
L
41862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4187
4188 [BZ #14538]
4189 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4190 first element of the GOT.
4191 (elf_machine_load_address): Return the difference between
4192 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4193
0786794f
AM
41942012-09-01 Allan McRae <allan@archlinux.org>
4195
5f30cfec
L
4196 [BZ #13412]
4197 * configure.in (AWK): Require gawk version 3.0 or later.
4198 * configure: Regenerated.
0786794f 4199
26889eac
JM
42002012-09-01 Joseph Myers <joseph@codesourcery.com>
4201
4202 * sysdeps/unix/sysv/linux/kernel-features.h
4203 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4204 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4205 [__NR_clock_getres]: Make code unconditional.
4206 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4207 (clock_getcpuclockid): Remove code left unreachable by removal of
4208 conditionals.
4209 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4210 code unconditional.
4211 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4212 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4213 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4214 Make code unconditional.
4215 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4216 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4217 * sysdeps/unix/sysv/linux/clock_settime.c
4218 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4219 conditional code.
4220 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4221 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4222
d22e28b0
L
42232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 [BZ #14476]
4226 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4227 scripts/test-installation.pl.
4228
4229 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4230 and $ld_so_version if it is set.
4231
050af9c4
SP
42322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4233
4234 [BZ #14516]
4235 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4236 failure if reading from procfs failed.
4237 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4238
ad845c0b
JM
42392012-08-27 Joseph Myers <joseph@codesourcery.com>
4240
4241 * sysdeps/unix/sysv/linux/kernel-features.h
4242 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4243 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4244 Remove conditional code.
4245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4246 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4247 Remove conditional code.
4248 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4249 * sysdeps/unix/sysv/linux/i386/fxstat.c
4250 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4251 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4252 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4253 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4254 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4255 * sysdeps/unix/sysv/linux/i386/lxstat.c
4256 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4257 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4258 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4259 Remove conditional code.
4260 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4261 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4262 Remove conditional code.
4263 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4264 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4265 <kernel-features.h>.
4266 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4267 Remove.
4268 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4269 Remove conditional code.
4270 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4271 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4272 Remove conditional.
4273
5dbf56af
MF
42742012-08-27 Mike Frysinger <vapier@gentoo.org>
4275
4276 [BZ #5400]
4277 * NEWS: Add fixed bug number.
4278
d6e70f43
JM
42792012-08-27 Joseph Myers <joseph@codesourcery.com>
4280
7efb4737
JM
4281 [BZ #14519]
4282 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4283 underflowing exponent in case of negative sign.
4284 * stdlib/tst-strtod-round-data: Add more tests.
4285 * stdlib/tst-strtod-round.c (tests): Regenerated.
4286
af92131a
JM
4287 [BZ #3479]
4288 * stdlib/strtod_l.c (NDIG): Remove.
4289 (HEXNDIG): Likewise.
4290 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4291 smallest representable value.
4292 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4293 lie within an exact representation of 1/2 ulp of the result.
4294 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4295 unconditionally.
4296 (TENS_P9_IDX): Define unconditionally.
4297 (TENS_P9_SIZE): Likewise.
4298 (TENS_P10_IDX): Likewise.
4299 (TENS_P10_SIZE): Likewise.
4300 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4301 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4302 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4303 entries for 10^2^13 and 10^2^14.
4304 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4305 (TENS_P13_IDX): Define.
4306 (TENS_P13_SIZE): Likewise.
4307 (TENS_P14_IDX): Likewise.
4308 (TENS_P14_SIZE): Likewise.
4309 (_fpioconst_pow10): Change array size to
4310 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4311 unconditional.
4312 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4313 1024]: Add entries for 10^2^13 and 10^2^14.
4314 [LAST_POW10 > _LAST_POW10]: Remove #error.
4315 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4316 (_fpioconst_pow10): Change array size to
4317 FPIOCONST_POW10_ARRAY_SIZE.
4318 * stdlib/gen-fpioconst.c: New file.
4319 * stdlib/gen-tst-strtod-round.c: Likewise.
4320 * stdlib/tst-strtod-round-data: Likewise.
4321 * stdlib/tst-strtod-round.c: Likewise.
4322 * stdlib/Makefile (tests): Add tst-strtod-round.
4323
d6e70f43
JM
4324 [BZ #14459]
4325 * stdlib/strtod_l.c: Include <stdint.h>.
4326 (NDEBUG): Do not define.
4327 (round_and_return): Change EXPONENT parameter to type intmax_t.
4328 Rearrange calculations to avoid internal overflow possibilities.
4329 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4330 Rearrange calculations to avoid internal overflow possibilities.
4331 Assert that number fits inside MPNSIZE limbs.
4332 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4333 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4334 calculations and add assertions to avoid internal overflow
4335 possibilities. Add casts to avoid signed/unsigned operations.
4336 * stdlib/tst-strtod-overflow.c: New file.
4337 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4338
1f529f7d
MP
43392012-08-25 Marek Polacek <polacek@redhat.com>
4340
4341 * time/time.h: Fix some typos in comments.
4342
59a629f1
RM
43432012-08-23 Roland McGrath <roland@hack.frob.com>
4344
4345 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4346 * posix/tst-rfc3484-2.c: Likewise.
4347 * posix/tst-rfc3484-3.c: Likewise.
4348
d3bafbc9
SM
43492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4350
4351 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4352 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4353
4efcc022
JM
43542012-08-23 Joseph Myers <joseph@codesourcery.com>
4355
4356 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4357 #include of fxstatat64.c.
4358
3cc3ef96
RM
43592012-08-22 Roland McGrath <roland@hack.frob.com>
4360
f04e2132
RM
4361 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4362 * shadow/getspent_r.c: Likewise.
4363 * shadow/getspnam.c: Likewise.
4364 * shadow/getspnam_r.c: Likewise.
4365 * gshadow/getsgent.c: Likewise.
4366 * gshadow/getsgent_r.c: Likewise.
4367 * gshadow/getsgnam.c: Likewise.
4368 * gshadow/getsgnam_r.c: Likewise.
4369 * inet/getnetbyad.c: Likewise.
4370 * inet/getnetbyad_r.c: Likewise.
4371 * inet/getnetbynm.c: Likewise.
4372 * inet/getnetbynm_r.c: Likewise.
4373 * inet/getnetent.c: Likewise.
4374 * inet/getnetent_r.c: Likewise.
4375 * inet/getproto.c: Likewise.
4376 * inet/getproto_r.c: Likewise.
4377 * inet/getprtent.c: Likewise.
4378 * inet/getprtent_r.c: Likewise.
4379 * inet/getprtname.c: Likewise.
4380 * inet/getprtname_r.c: Likewise.
4381 * inet/getrpcbyname.c: Likewise.
4382 * inet/getrpcbyname_r.c: Likewise.
4383 * inet/getrpcbynumber.c: Likewise.
4384 * inet/getrpcbynumber_r.c: Likewise.
4385 * inet/getrpcent.c: Likewise.
4386 * inet/getrpcent_r.c: Likewise.
4387 * inet/getaliasent.c: Likewise.
4388 * inet/getaliasent_r.c: Likewise.
4389 * inet/getaliasname.c: Likewise.
4390 * inet/getaliasname_r.c: Likewise.
4391 * nscd/getgrgid_r.c: Likewise.
4392 * nscd/getgrnam_r.c: Likewise.
4393 * nscd/gethstbyad_r.c: Likewise.
4394 * nscd/gethstbynm3_r.c: Likewise.
4395 * nscd/getpwnam_r.c: Likewise.
4396 * nscd/getpwuid_r.c: Likewise.
4397 * nscd/getsrvbynm_r.c: Likewise.
4398 * nscd/getsrvbypt_r.c: Likewise.
4399 * nscd/gai.c: Likewise.
4400
c53d909c
RM
4401 * configure.in (build_nscd): New substituted variable, set
4402 by --disable-build-nscd and defaults to $use_nscd.
4403 * configure: Regenerated.
4404 * config.make.in (build-nscd): New substituted variable.
4405 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4406 Change conditional to require [$(build-nscd) = yes] as well.
4407 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4408
3cc3ef96
RM
4409 [BZ# 13696]
4410 * configure.in (use_nscd): New substituted variable, set by
4411 --disable-nscd. If enabled, define USE_NSCD.
4412 * configure: Regenerated.
4413 * config.h.in: Add USE_NSCD.
4414 * config.make.in (use-nscd): New substituted variable.
4415 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4416 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4417 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4418 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4419 (CFLAGS-getgrnam_r.c): Likewise.
4420 (CFLAGS-initgroups.c): Likewise.
4421 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4422 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4423 Variables removed.
4424 * inet/getnetgrent_r.c
4425 (nscd_setnetgrent): New function, broken out of ...
4426 (setnetgrent): ... here. Call it.
4427 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4428 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4429 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4430 * nscd/Makefile (routines, aux): Move definitions after include of
4431 Makeconfig. Conditionalize on [$(use-nscd) != no].
4432 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4433 Conditionalize on [USE_NSCD].
4434 (is_nscd, nscd_init_cb): Likewise.
4435 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4436 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4437 * nss/nss_db/db-init.c: Likewise.
4438 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4439 [USE_NSCD].
4440 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4441 (make_request): Use it.
4442 (cache_valid_p): New function.
4443 (__check_pf): Use it.
4444 * NEWS: Add item for --disable-nscd.
4445
07e51550
DL
44462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4447
4448 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4449 to support sed >= 4.2.1-20-ga9bf076.
4450 * configure: Regenerated.
4451
35a5b08b
RM
44522012-08-22 Roland McGrath <roland@hack.frob.com>
4453
4454 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4455 Conditionalize whole body on [IREL].
4456
8479f23a
JL
44572012-08-22 Jeff Law <law@redhat.com>
4458
4459 [BZ #14505]
4460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4461 if the family is PF_UNSPEC.
4462
48da0b21
MF
44632012-08-22 Mike Frysinger <vapier@gentoo.org>
4464
4465 * Makerules (lib-version): Rename from V.
4466 (install-lib-nosubdir): Change V to lib-version.
4467
15d0da8c
WS
44682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4469
4470 [BZ #14252]
4471 * powerpc32/power6/wcschr.c: New file.
4472 * powerpc32/power6/wcscpy.c: New file.
4473 * powerpc32/power6/wcsrchr.c: New file.
4474 * powerpc64/power6/wcschr.c: New file.
4475 * powerpc64/power6/wcscpy.c: New file.
4476 * powerpc64/power6/wcsrchr.c: New file.
4477
bcca0895
MK
44782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4479
4480 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4481 (two_way_short_needle): Use it.
5a4aaa33
RM
4482 * string/strstr.c (AVAILABLE1_USES_J): Define.
4483 * string/strcasestr.c: Likewise.
99677e57
MK
4484
4485 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4486 array references.
4487 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4488
400726de
MK
4489 [BZ #11607]
4490 * NEWS: Add an entry.
4491 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4492 define their defaults.
4493 (two_way_short_needle): Detect end-of-string on-the-fly.
4494 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4495 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4496 * string/bug-strcasestr1.c: New test.
4497 * string/Makefile: Run it.
4498
20a71f2c
MK
44992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4500
4501 [BZ #11607]
4502 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4503 the first character.
4504
21ad0558
RM
45052012-08-21 Roland McGrath <roland@hack.frob.com>
4506
4507 * csu/elf-init.c (__libc_csu_irel): Function removed.
4508 * csu/libc-start.c (apply_irel): New function.
4509 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4510
0e1d9911
JM
45112012-08-21 Joseph Myers <joseph@codesourcery.com>
4512
4513 * sysdeps/unix/sysv/linux/kernel-features.h
4514 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4515 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4516 <kernel-features.h>.
4517 [__NR_fadvise64_64]: Make code unconditional.
4518 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4519 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4520 !__NR_fadvise64_64)]: Likewise.
4521 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4522 !__NR_fadvise64_64))]: Likewise.
4523 [__NR_fadvise64]: Make code unconditional.
4524 [!__NR_fadvise64]: Remove conditional code.
4525 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4526 <kernel-features.h>.
4527 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4528 unconditional.
4529 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4530 conditional code.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4532 not include <kernel-features.h>.
4533 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4534 unconditional.
4535 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4536 conditional code.
4537 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4538 include <kernel-features.h>.
4539 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4540 unconditional.
4541 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4542 conditional code.
4543
14a50c9d
WS
45442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4545
4546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4547 slight instruction rearrangements per scrollpipe analysis.
4548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4549
c0f4faf0
RM
45502012-08-20 Roland McGrath <roland@hack.frob.com>
4551
696da859
RM
4552 * manual/syslog.texi (syslog; vsyslog, closelog):
4553 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4554 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4555
c0f4faf0
RM
4556 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4557 DSOCAPS to match condition on defining it.
4558
348363b2
JM
45592012-08-20 Joseph Myers <joseph@codesourcery.com>
4560
a35cbf28
JM
4561 * sysdeps/unix/sysv/linux/kernel-features.h
4562 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4564 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4565 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4567 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4568 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4570 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4571 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4572
445f7ecd
JM
4573 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4574 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4575
348363b2
JM
4576 * sysdeps/unix/sysv/linux/kernel-features.h
4577 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4578 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4579 unconditional.
4580 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4581 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4582 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4583 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4584 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4585 Make code unconditional.
4586 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4587 (__mmap64) [!__NR_mmap2]: Likewise.
4588 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4589 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4590 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4591 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4592 [__NR_mmap2]: Make code unconditional.
4593 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4594 (__mmap64) [!__NR_mmap2]: Likewise.
4595
bc5bc0e5
AK
45962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4597
4598 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4599
88d506de
AJ
46002012-08-18 Andreas Jaeger <aj@suse.de>
4601
4602 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4603
493387d2
MF
46042012-08-18 Mike Frysinger <vapier@gentoo.org>
4605
4606 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4607 * include/unistd.h (__have_sock_cloexec): Likewise.
4608 (__have_pipe2): Likewise.
4609 (__have_dup3): Likewise.
4610
a277af22
MF
46112012-08-18 Mike Frysinger <vapier@gentoo.org>
4612
4613 [BZ #9685]
4614 * include/unistd.h (__have_pipe2): Change define into an extern int.
4615 (__have_dup3): Likewise.
4616 * socket/have_sock_cloexec.c: Include fcntl.h.
4617 (__have_pipe2): New variable.
4618 (__have_dup3): Likewise.
4619
fdab8fd3
MF
46202012-08-17 Mike Frysinger <vapier@gentoo.org>
4621
4622 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4623
31035e80
MP
46242012-08-17 Marek Polacek <polacek@redhat.com>
4625
4626 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4627 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4628
3bd9e993
RM
46292012-08-17 Roland McGrath <roland@hack.frob.com>
4630
c91c505f
RM
4631 * configure.in: Add AC_SUBST for sysheaders.
4632 * configure: Regenerated.
4633 * config.make.in (sysheaders): New substituted variable.
4634
7c6f9d53
RM
4635 * sysdeps/unix/mkfifo.c: Moved ...
4636 * sysdeps/posix/mkfifo.c: ... here.
4637 * sysdeps/unix/mkfifoat.c: Moved ...
4638 * sysdeps/posix/mkfifoat.c: ... here.
4639
4640 * sysdeps/unix/utime.c: Moved ...
4641 * sysdeps/posix/utime.c: ... here.
4642
4643 * sysdeps/unix/time.c: Moved ...
4644 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4645 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4646 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4647
4648 * sysdeps/unix/nice.c: Moved ...
4649 * sysdeps/posix/nice.c: ... here.
4650
4651 * sysdeps/unix/alarm.c: Moved ...
4652 * sysdeps/posix/alarm.c: ... here.
4653
3bd9e993
RM
4654 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4655
d1f09384
JL
46562012-08-17 Jeff Law <law@redhat.com>
4657
4658 * intl/Makefile (codeset_mo): New variable.
4659 ($(codeset_mo)): New target.
4660 (tst-codeset.out): Depend on that. Remove explicit rule.
4661 (tst-gettext3.out, tst-gettext5.out): Likewise.
4662 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4663 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4664 * intl/tst-codeset.sh: Remove.
4665 * intl/tst-gettext3.sh: Likewise.
4666 * intl/tst-gettext5.sh: Likewise.
4667
2ae1ae5c
RM
46682012-08-17 Roland McGrath <roland@hack.frob.com>
4669
c31fdb83
RM
4670 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4671 * sysdeps/unix/syscalls.list: ... here.
4672
a0844057
RM
4673 * sysdeps/posix/getaddrinfo.c
4674 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4675 (gaiconf_init, gaiconf_reload): Use them.
4676 [!_STATBUF_ST_NSEC]
4677 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4678 Define using time_t rather than struct timespec.
4679
750c1f2a
RM
4680 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4681 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4682 Macros removed.
4683 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4684 [!NO_THREADS].
4685 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4686 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4687 Likewise.
4688
2ae1ae5c
RM
4689 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4690 __libc_cleanup_push argument.
4691
e66a42f5
RM
4692 * bits/param.h: New file.
4693 * misc/sys/param.h: New file.
4694 * include/sys/param.h: New file.
4695 * misc/Makefile (headers): Add bits/param.h.
4696 * sysdeps/generic/sys/param.h: File removed.
4697 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4698 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4699 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4700 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4701
b7c08a66
RM
4702 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4703 last change.
4704
b2e1c562
RM
4705 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4706 [_IO_MTSAFE_IO].
4707 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4708 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4709 New macros.
4710
c75ccd4c
RM
4711 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4712 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4713 rather than -D_IO_MTSAFE_IO conditionally.
4714 * stdio-common/Makefile (CPPFLAGS): Likewise.
4715 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4716 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4717 Use $(libio-mtsafe).
4718 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4719 of -D_IO_MTSAFE_IO.
4720 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4721 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4722 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4723 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4724 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4725 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4726 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4727 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4728 (CFLAGS-fread_u_chk.c): Likewise.
4729 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4730 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4731 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4732 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4733 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4734 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4735 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4736 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4737 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4738
4739 * libio/Makefile: Test [$(libc-reentrant) = yes]
4740 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4741
4742 * Makeconfig
4743 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4744 * sysdeps/pthread/configure: File removed.
4745 * sysdeps/pthread/Makeconfig: New file.
4746 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4747 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4748
d9195db8
GB
47492012-08-16 Gary Benson <gbenson@redhat.com>
4750
4751 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4752 unmapping the first object in a namespace.
4753
86466cd9
RM
47542012-08-16 Roland McGrath <roland@hack.frob.com>
4755
4756 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4757 (__internal_setnetgrent): ... this. Add internal_function to
4758 definition. Add libc_hidden_def.
4759 (setnetgrent): Update caller.
4760 (internal_endnetgrent): Renamed to ...
4761 (__internal_endnetgrent): ... this. Add internal_function to
4762 definition. Add libc_hidden_def.
4763 (endnetgrent): Update caller.
4764 (internal_getnetgrent_r): Renamed to ...
4765 (__internal_getnetgrent_r): ... this. Add internal_function to
4766 definition. Add libc_hidden_def.
4767 (__getnetgrent_r): Update caller.
4768 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4769
c3c8283c
JM
47702012-08-16 Joseph Myers <joseph@codesourcery.com>
4771
4772 * stdlib/longlong.h: Update from GCC.
4773
db1ee0a8
RM
47742012-08-16 Roland McGrath <roland@hack.frob.com>
4775
4776 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4777 on _QL, which is set by umul_ppmm but never used.
4778 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4779 variables, which are set by GMP macros but never used.
4780 * stdio-common/_itowa.c (_itowa): Likewise.
4781 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4782 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4783
30f69637
CD
47842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4785
4786 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4787 struct La_sh_regs is not constant.
4788 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4789 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4790 and struct La_sparc64_regs are not constant.
4791
93a78ac4
JM
47922012-08-16 Joseph Myers <joseph@codesourcery.com>
4793
4794 * sysdeps/unix/sysv/linux/kernel-features.h
4795 (__ASSUME_POSIX_TIMERS): Remove.
4796 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4797 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4798 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4799 Make code unconditional.
4800 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4801 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4802 Make code unconditional.
4803 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4804 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4805 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4806 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4807 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4808 Make code unconditional.
4809 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4810 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4811 (__libc_missing_posix_timers): Remove.
4812
dd924cd7
RM
48132012-08-15 Roland McGrath <roland@hack.frob.com>
4814
4b4f2771
RM
4815 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4816 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4817
601c888b
RM
4818 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4819
176790a7
RM
4820 * elf/dl-sym.c: Include <stdlib.h>.
4821
329bc018
RM
4822 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4823 constants, which avoids warnings in 32-bit builds.
4824
e04e272d
RM
4825 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4826 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4827
952bf94a
RM
4828 * misc/lseek.c: File moved to ...
4829 * io/lseek.c: ... here.
4830
7c99b50a
RM
4831 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4832
dd924cd7
RM
4833 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4834 shifting LEN more than 31 bits at once.
4835
b3f479a8
LD
48362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4837
4838 [BZ #14195]
8c4ae0d4
RM
4839 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4840 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4841 * string/test-strncasecmp.c (check1): Renamed to...
4842 (bz12205): ...this.
4843 (bz14195): Add new testcase for two empty input strings and N > 0.
4844 (test_main): Call new testcase, adapt for renamed function.
4845
9c55864e
AJ
48462012-08-15 Andreas Jaeger <aj@suse.de>
4847
4848 [BZ #14090]
4849 * crypt/md5test2.c: New test, based on test supplied by Serge
4850 Belyshev <belyshev@depni.sinp.msu.ru>.
4851 * crypt/Makefile (xtests): Add md5test-giant..
4852 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4853
02dcb6c5
PE
48542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4855
4856 [BZ #14090]
4857 * crypt/md5.c (md5_process_block): Don't assume the buffer
4858 length is less than 2**32.
4859 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4860 length is less than 2**64.
4861
a3f95dcc
RM
48622012-08-15 Roland McGrath <roland@hack.frob.com>
4863
be75d758
RM
4864 * string/str-two-way.h: Include <sys/param.h>.
4865 (MAX): Macro removed.
4866
7312ca90
RM
4867 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4868 Move #define and #undef of memmove to just before and after
4869 including <string.h>.
4870
9a0a5486
RM
4871 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4872 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4873 and after including <string.h>. Move declarations of
4874 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4875 to before #include "string/memmove.c".
4876
67cc348d
RM
4877 * include/dirent.h: Declare __getdirentries.
4878
a3f95dcc
RM
4879 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4880 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4881
ca98e171
MF
48822012-08-14 Mike Frysinger <vapier@gentoo.org>
4883
4884 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4885 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4886 * sysdeps/i386/configure: Regenerated.
4887 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4888 STABS_CURRENT_FILE, and STABS_FUN.
4889 (END): Remove call to STABS_FUN_END.
4890 (STABS_CURRENT_FILE1): Delete.
4891 (STABS_CURRENT_FILE): Likewise.
4892 (STABS_FUN): Likewise.
4893 (STABS_FUN_END): Likewise.
4894 (STABS_FUN2): Likewise.
4895 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4896 * sysdeps/x86_64/configure: Regenerated.
4897
5908bf46
RM
48982012-08-14 Roland McGrath <roland@hack.frob.com>
4899
4900 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4901 * elf/dl-lookup.c: Likewise.
5908bf46 4902
f2c05b9e
JM
49032012-08-14 Joseph Myers <joseph@codesourcery.com>
4904
4905 * sysdeps/unix/sysv/linux/kernel-features.h
4906 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4907 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4908 unconditionally.
4909 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4910 unconditionally.
4911 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4912 condition on __ASSUME_CLONE_THREAD_FLAGS.
4913
e11f5155
AJ
49142012-08-14 Andreas Jaeger <aj@suse.de>
4915
4916 * sysdeps/i386/fpu/libm-test-ulps: Update.
4917
51a9ba86
MK
49182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4919
2fdd4f78
AJ
4920 * include/atomic.h (atomic_exchange_and_add): Split into ...
4921 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4922 New atomic macros.
51a9ba86 4923
ba6cba9e
MT
49242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4925
4926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4927
42443a47
JL
49282012-08-13 Jeff Law <law@redhat.com>
4929
4930 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4931 null byte in the output string.
4932
121dce05
JM
49332012-08-10 Joseph Myers <joseph@codesourcery.com>
4934
4935 * sysdeps/unix/sysv/linux/kernel-features.h
4936 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4937 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4938 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4939 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4940 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4941 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4942 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4943
bf51f568
JL
49442012-08-09 Jeff Law <law@redhat.com>
4945
4946 [BZ #13939]
4947 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4948 When avoid_arena is set, don't retry in the that arena. Pick the
4949 next one, whatever it might be.
4950 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4951 (arena_lock): Pass in new parameter to arena_get2.
4952 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4953 arena_get2.
4954 (__libc_malloc): Unify retrying after main arena failure with
4955 __libc_memalign version.
4956 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4957
f85fa270
L
49582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4959
4960 [BZ #14166]
4961 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4962 to __redirect_strstr.
4963 (__strstr_sse42): Use typeof __redirect_strstr.
4964 (__strstr_ia32): Likewise.
4965 (__libc_strstr): New prototype.
4966 (strstr): Renamed to ...
4967 (__libc_strstr): This.
4968 (strstr): New strong alias of __libc_strstr.
4969 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4970 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4971 __redirect_time.
4972 Include <time.h>.
4973 (__libc_time): New prototype.
4974 (time_ifunc): Replace time with __libc_time.
4975 (time): New strong alias and hidden definition of __libc_time.
4976 (__GI_time): Remove strong alias.
4977 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4978 Include <stddef.h>.
4979 (memmove): Redefined to __redirect_memmove.
4980 (__memmove_sse2): Use typeof __redirect_memmove.
4981 (__memmove_ssse3): Likewise.
4982 (__memmove_ssse3_back): Likewise.
4983 (__libc_memmove): New prototype.
4984 (memmove): Renamed to ...
4985 (__libc_memmove): This.
4986 (memmove): New strong alias of __libc_memmove.
4987
33b4a91e
MS
49882012-08-08 Mark Salter <msalter@redhat.com>
4989
4990 * elf/elf.h
4991 (R_MN10300_TLS_GD): Define.
4992 (R_MN10300_TLS_LD): Likewise.
4993 (R_MN10300_TLS_LDO): Likewise.
4994 (R_MN10300_TLS_GOTIE): Likewise.
4995 (R_MN10300_TLS_IE): Likewise.
4996 (R_MN10300_TLS_LE): Likewise.
4997 (R_MN10300_TLS_DTPMOD): Likewise.
4998 (R_MN10300_TLS_DTPOFF): Likewise.
4999 (R_MN10300_TLS_TPOFF): Likewise.
5000 (R_MN10300_SYM_DIFF): Likewise.
5001 (R_MN10300_ALIGN): Likewise.
5002 (R_MN10300_NUM): Update.
5003
b36137f1
JM
50042012-08-08 Joseph Myers <joseph@codesourcery.com>
5005
5006 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5007 Remove.
5008
cdd915fd
RM
50092012-08-08 Roland McGrath <roland@hack.frob.com>
5010
a2433aac
RM
5011 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5012
cdd915fd
RM
5013 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5014 sysdeps/unix -> sysdeps/posix move.
5015 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5016
bf9b740a
AM
50172012-08-07 Allan McRae <allan@archlinux.org>
5018
5019 [BZ #14303]
5020 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5021 (SUNOS_CPP): Likewise.
5022 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5023 not found.
5024 (open_input): Call CPP using execvp.
5025
93df14ee
JM
50262012-08-07 Joseph Myers <joseph@codesourcery.com>
5027
5028 * sysdeps/unix/sysv/linux/kernel-features.h
5029 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5030 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5031 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5032 (__ASSUME_WAITID_SYSCALL): Likewise.
5033 * sysdeps/unix/sysv/linux/dl-execstack.c
5034 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5035 code unconditional.
5036 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5037 conditional code.
5038 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5039 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5040 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5041 code.
5042 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5043 unconditional.
5044 [__ASSUME_WAITID_SYSCALL]: Likewise.
5045 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5046
d34689de
RM
50472012-08-07 Roland McGrath <roland@hack.frob.com>
5048
a281decc
RM
5049 * sysdeps/unix/closedir.c: Renamed to ...
5050 * sysdeps/posix/closedir.c: ... here.
5051 * sysdeps/unix/dirfd.c: Renamed to ...
5052 * sysdeps/posix/dirfd.c: ... here.
5053 * sysdeps/unix/dirstream.h: Renamed to ...
5054 * sysdeps/posix/dirstream.h: ... here.
5055 * sysdeps/unix/fdopendir.c: Renamed to ...
5056 * sysdeps/posix/fdopendir.c: ... here.
5057 * sysdeps/unix/opendir.c: Renamed to ...
5058 * sysdeps/posix/opendir.c: ... here.
5059 * sysdeps/unix/readdir.c: Renamed to ...
5060 * sysdeps/posix/readdir.c: ... here.
5061 * sysdeps/unix/readdir_r.c: Renamed to ...
5062 * sysdeps/posix/readdir_r.c: ... here.
5063 * sysdeps/unix/rewinddir.c: Renamed to ...
5064 * sysdeps/posix/rewinddir.c: ... here.
5065 * sysdeps/unix/seekdir.c: Renamed to ...
5066 * sysdeps/posix/seekdir.c: ... here.
5067 * sysdeps/unix/telldir.c: Renamed to ...
5068 * sysdeps/posix/telldir.c: ... here.
5069 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5070 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5071 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5072 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5073
22895b47
RM
5074 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5075 * bits/fcntl.h: ... here.
5076
707a53b6
RM
5077 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5078 not 0.
5079 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5080 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5081 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5082 (struct flock): Move l_start, l_len to the beginning.
5083 Use __pid_t for l_pid.
5084 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5085 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5086 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5087 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5088 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5089 [__USE_LARGEFILE64] (struct flock64): New type.
5090 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5091
f0bd3e25
RM
5092 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5093 * bits/dirent.h: ... here.
5094
d34689de
RM
5095 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5096 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5097
6dad2c06
JM
50982012-08-07 Joseph Myers <joseph@codesourcery.com>
5099
5100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5101 Change from 2.6.0 to 2.6.16.
5102 * sysdeps/unix/sysv/linux/configure: Regenerated.
5103 * sysdeps/unix/sysv/linux/kernel-features.h
5104 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5105 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5106 version.
5107 (__ASSUME_UTIMES): Likewise.
5108 (__ASSUME_CLONE_STOPPED): Remove.
5109 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5110 architectures, not kernel version.
5111 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5112 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5113 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5114 (__ASSUME_WAITID_SYSCALL): Likewise.
5115 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5116 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5117 * README: State 2.6.16 as minimum Linux kernel version. Do not
5118 refer to older versions.
5119
03af9520
RM
51202012-08-06 Roland McGrath <roland@hack.frob.com>
5121
8e49df1d
RM
5122 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5123 Define alphasort64 as an alias.
5124 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5125 Define versionsort64 as an alias.
5126 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5127 Define scandir64 as an alias.
5128 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5129 Define scandirat64 as an alias.
5130 * dirent/alphasort64.c (alphasort64):
5131 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5132 * dirent/versionsort64.c: Likewise.
5133 * dirent/scandir64.c: Likewise.
5134 * dirent/scandirat64.c: Likewise.
5135 * sysdeps/wordsize-64/alphasort.c: File removed.
5136 * sysdeps/wordsize-64/alphasort64.c: File removed.
5137 * sysdeps/wordsize-64/scandir.c: File removed.
5138 * sysdeps/wordsize-64/scandir64.c: File removed.
5139 * sysdeps/wordsize-64/scandirat.c: File removed.
5140 * sysdeps/wordsize-64/scandirat64.c: File removed.
5141 * sysdeps/wordsize-64/versionsort.c: File removed.
5142 * sysdeps/wordsize-64/versionsort64.c: File removed.
5143 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5144 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5145 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5146 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5147 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5148 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5149 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5150 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5151
5152 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5154 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5156 [defined __arch64__ || defined __sparcv9]
5157 (__INO_T_MATCHES_INO64_T): New macro.
5158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5159 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5160 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5161 * sysdeps/unix/sysv/linux/bits/dirent.h
5162 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5163 (_DIRENT_MATCHES_DIRENT64): New macro.
5164
03af9520
RM
5165 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5166 Define lockf64 as an alias.
5167 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5168 Define fseeko64 as an alias.
5169 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5170 Define ftello64 as an alias.
5171 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5172 Define _IO_fgetpos64 and fgetpos64 as aliases.
5173 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5174 Define _IO_fsetpos64 and fsetpos64 as aliases.
5175 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5176 Conditionalize body on this.
5177 * libio/fseeko64.c: Likewise.
5178 * libio/ftello64.c: Likewise.
5179 * libio/iofgetpos64.c: Likewise.
5180 * libio/iofsetpos64.c: Likewise.
5181 * sysdeps/wordsize-64/lockf.c: File removed.
5182 * sysdeps/wordsize-64/lockf64.c: File removed.
5183 * sysdeps/wordsize-64/fseeko.c: File removed.
5184 * sysdeps/wordsize-64/fseeko64.c: File removed.
5185 * sysdeps/wordsize-64/ftello.c: File removed.
5186 * sysdeps/wordsize-64/ftello64.c: File removed.
5187 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5188 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5189 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5190 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5192 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5193 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5194 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5195 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5196 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5197 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5198 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5200 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5201
5202 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5204 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5206 [defined __arch64__ || defined __sparcv9]
5207 (__OFF_T_MATCHES_OFF64_T): New macro.
5208 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5209 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5211 (__OFF_T_MATCHES_OFF64_T): New macro.
5212
c5757acd
L
52132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5214
5215 * stdlib/secure-getenv.c (__secure_getenv): Replace
5216 GLIBC_2_16 with GLIBC_2_17.
5217
3a31811e
L
52182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5219
5220 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5221 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5222
faa2bccb
DM
52232012-08-03 David S. Miller <davem@davemloft.net>
5224
5225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5226
85fe1997
JM
52272012-08-03 Joseph Myers <joseph@codesourcery.com>
5228
5229 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5230 Remove.
5231 (__ASSUME_CORRECT_SI_PID): Likewise.
5232 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5233 (__ASSUME_TMPFS_NAME): Likewise.
5234 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5235 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5236 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5237 (HAVE_AUX_SECURE): Make definition unconditional.
5238 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5239 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5240
4f75b7a0
RM
52412012-08-03 Roland McGrath <roland@hack.frob.com>
5242
5243 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5244 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5245 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5246 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5247 __eloop_threshold instead of SYMLOOP_MAX.
5248
5249 * sysdeps/generic/eloop-threshold.h: New file.
5250 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5251 of MAXSYMLINKS.
5252 * elf/chroot_canon.c (chroot_canon): Likewise.
5253
7aab07e4
JM
52542012-08-03 Joseph Myers <joseph@codesourcery.com>
5255
5256 [BZ #13717]
5257 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5258 Change to 2.6.0 everywhere.
5259 * sysdeps/unix/sysv/linux/configure: Regenerated.
5260 * sysdeps/unix/sysv/linux/kernel-features.h
5261 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5262 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5263 kernel versions.
5264 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5265 (__ASSUME_FUTEX_REQUEUE): Remove.
5266 (__ASSUME_STATFS64): Define unconditionally.
5267 (__ASSUME_AT_SECURE): Likewise.
5268 (__ASSUME_CORRECT_SI_PID): Likewise.
5269 (__ASSUME_TGKILL): Define without depending on kernel version for
5270 i386.
5271 (__ASSUME_UTIMES): Likewise.
5272 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5273 kernel version.
5274 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5275 (__ASSUME_TMPFS_NAME): Likewise.
5276 * README: Update reference to Linux kernel versions.
5277
b67e9372
MP
52782012-08-02 Marek Polacek <polacek@redhat.com>
5279
1f529f7d 5280 [BZ# 14150]
b67e9372
MP
5281 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5282 libc_cv_asm_type_prefix with %.
5283 * configure: Regenerated.
d2441631
RM
5284 * include/libc-symbols.h: Remove comment about
5285 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5286 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5287 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5288 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5289 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5290 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5291 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5292 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5293 * elf/tst-unique2mod1.c: Likewise.
5294 * elf/tst-unique1mod2.c: Likewise.
5295 * elf/tst-unique1mod1.c: Likewise.
5296 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5297 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5298 Replace ASM_TYPE_DIRECTIVE with .type.
5299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5300 * sysdeps/i386/sysdep.h: Likewise.
5301 * sysdeps/x86_64/sysdep.h: Likewise.
5302 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5304 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5305 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5306 * sysdeps/powerpc/powerpc32/sysdep.h:
5307 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5308 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5309 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5310 * sysdeps/i386/fpu/e_powf.S: Likewise.
5311 * sysdeps/i386/fpu/e_expl.S: Likewise.
5312 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5313 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5314 * sysdeps/i386/fpu/e_pow.S: Likewise.
5315 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5316 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5317 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5318 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5319 * sysdeps/i386/fpu/e_log2.S: Likewise.
5320 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5321 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5322 * sysdeps/i386/fpu/e_powl.S: Likewise.
5323 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5324 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5325 * sysdeps/i386/fpu/e_logl.S: Likewise.
5326 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5327 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5328 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5329 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5330 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5331 * sysdeps/i386/fpu/e_log.S: Likewise.
5332 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5333 * sysdeps/i386/fpu/e_logf.S: Likewise.
5334 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5335 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5336 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5337 * sysdeps/i386/fpu/e_log10.S: Likewise.
5338 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5339 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5340 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5341 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5342 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5343 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5344 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5345 * sysdeps/i386/i686/strtok.S: Likewise.
5346 * sysdeps/i386/i386-mcount.S: Likewise.
5347 * sysdeps/i386/strtok.S: Likewise.
5348 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5349 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5350 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5351 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5352 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5353 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5354 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5355 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5356 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5357 * sysdeps/x86_64/_mcount.S: Likewise.
5358 * sysdeps/x86_64/strtok.S: Likewise.
5359 * sysdeps/sh/_mcount.S: Likewise.
5360
2747bf9a
RM
53612012-08-01 Roland McGrath <roland@hack.frob.com>
5362
5363 * libio/iofopen.c: Include <fcntl.h>.
5364 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5365 (_IO_fopen64, fopen64): Define as aliases.
5366 * libio/iofopen64.c: Include <fcntl.h>.
5367 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5368 Conditionalize body on this.
5369 * sysdeps/wordsize-64/iofopen.c: File removed.
5370 * sysdeps/wordsize-64/iofopen64.c: File removed.
5371
3fb791b8
MP
53722012-08-01 Marek Polacek <polacek@redhat.com>
5373
5374 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5375 Use dlfcn directly instead of a variable.
5376 (binfmt-subdir): Do not define.
5377 (dlfcn): Likewise.
5378
a9f1039f
JM
53792012-08-01 Joseph Myers <joseph@codesourcery.com>
5380
23bddc06
JM
5381 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5382 Remove all definitions.
5383 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5384 <kernel-features.h>.
5385 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5386 (miss_F_GETOWN_EX): Remove all definitions.
5387 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5388 macro definition.
5389 [!__ASSUME_FCNTL64]: Remove conditional code.
5390 [__ASSUME_FCNTL64]: Make code unconditional.
5391 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5392 <kernel-features.h>.
5393 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5394 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5395 (lockf64) [__NR_fcntl64]: Make code unconditional.
5396 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5397
a9f1039f
JM
5398 * sysdeps/unix/sysv/linux/kernel-features.h
5399 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5400 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5401 Make code unconditional.
5402 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5403 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5405 [__NR_vfork]: Make code unconditional.
5406 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5407 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5409 [__NR_vfork]: Make code unconditional.
5410 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5411 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5412
09c0ee5f
RM
54132012-08-01 Roland McGrath <roland@hack.frob.com>
5414
48aec5b9
RM
5415 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5416 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5417
cd97c966
RM
5418 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5419 Define mkstemp64 as an alias.
3f55550c
RM
5420 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5421 Define mkstemps64 as an alias.
cd97c966
RM
5422 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5423 Define mkostemp64 as an alias.
b8625cfc
RM
5424 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5425 Define mkostemps64 as an alias.
cd97c966
RM
5426 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5427 Conditionalize body on this.
5428 * misc/mkostemp64.c: Likewise.
b8625cfc 5429 * misc/mkostemps64.c: Likewise.
3f55550c 5430 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5431 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5432 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5433 * sysdeps/wordsize-64/mkostemp.c: File removed.
5434 * sysdeps/wordsize-64/mkstemp.c: File removed.
5435 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5436 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5437 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5438 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5439
09c0ee5f
RM
5440 [BZ #14138]
5441 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5442 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5443 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5444 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5445
5446 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5447 compat_symbol macros from <shlib-compat.h> rather than the underlying
5448 default_symbol_version and symbol_version macros, so that DEFAULT
5449 lines in shlib-versions are respected.
5450 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5451
7e66ee51
FW
54522012-08-01 Florian Weimer <fweimer@redhat.com>
5453
5454 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5455 Declare with warn_unused_result.
5456 (setgid, setregid, setegid, setresgid): Likewise.
5457 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5458 Likewise.
5459 * WUR-REPORT: Remove set*id functions.
5460
d2a54255
PT
54612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5462
5463 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5464
7ecdb005
RM
54652012-07-31 Roland McGrath <roland@hack.frob.com>
5466
789bd351
RM
5467 * include/sys/socket.h (__libc_accept, __libc_accept4):
5468 Add attribute_hidden.
5469 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5470
40ce302d
RM
5471 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5472 use of PTR_MANGLE.
5473 * inet/getnetgrent_r.c (setup): Likewise.
5474
7ecdb005
RM
5475 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5476
e2eabb2c
DM
54772012-07-31 David S. Miller <davem@davemloft.net>
5478
5479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5480
d0419dbf
JM
54812012-07-31 Joseph Myers <joseph@codesourcery.com>
5482
5483 [BZ #13629]
5484 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5485 value between 1.0 and 2.0 and smaller part has absolute value less
5486 than 1.0.
5487 * math/s_clog10.c (__clog10): Likewise.
5488 * math/s_clog10f.c (__clog10f): Likewise.
5489 * math/s_clog10l.c (__clog10l): Likewise.
5490 * math/s_clogf.c (__clogf): Likewise.
5491 * math/s_clogl.c (__clogl): Likewise.
5492 * math/libm-test.inc (clog_test): Add more tests.
5493 (clog10_test): Likewise.
5494 * sysdeps/i386/fpu/libm-test-ulps: Update.
5495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5496
2bc13872
FW
54972012-07-31 Florian Weimer <fweimer@redhat.com>
5498
5499 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5500 Exit with zero in case no suitable GID is found, and write a
5501 message to standard error.
5502
bea9b193
RM
55032012-07-30 Roland McGrath <roland@hack.frob.com>
5504
5505 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5506 rather than to 1.
5507 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5508 (MAXPATHLEN): Removed.
5509 (NOGROUP, NODEV): New macros.
5510 (setbit, clrbit, isset, isclr): New macros.
5511 (howmany, roundup, powerof2): New macros.
5512 (DEV_BSIZE): New macro.
5513
5514 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5515 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5516
5517 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5518 definition on [!__NO_LONG_DOUBLE_MATH].
5519
5520 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5521 PTR_MANGLE and PTR_DEMANGLE.
5522
5523 * socket/accept4.c (accept4): Rename to __libc_accept4.
5524 Define accept4 as a weak alias.
5525
5526 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5527 on [_DIRENT_HAVE_D_TYPE].
5528 * io/ftw.c (ftw_dir): Likewise.
5529
5530 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5531
5532 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5533
5534 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5535 Use the BSD numbers rather than the arbitrary ones we had.
5536 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5537 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5538 (SIGXCPU, SIGXFSZ): New macros.
5539 (_NSIG): Now 32.
5540
5541 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5542 initializer on [_LIBC_REENTRANT].
5543
5544 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5545 definitions inside [_POSIX_MAPPED_FILES].
5546
5547 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5548
5549 * dirent/opendir.c: Include <fcntl.h>.
5550
5551 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5552 (__libc_getspecific): Likewise.
5553 (__libc_key_create): Likewise.
5554
5555 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5556 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5557 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5558 (tmpfile64): Define as alias.
5559 * sysdeps/wordsize-64/tmpfile.c: File removed.
5560 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5561 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5562 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5563
5564 * stdio-common/vfscanf.c: Include <stdbool.h>.
5565 * nss/makedb.c: Likewise.
5566 * stdio-common/_i18n_number.h: Likewise.
5567 * argp/argp-help.c: Likewise.
5568 * posix/wordexp.c: Likewise.
5569 * sysdeps/posix/spawni.c: Likewise.
5570 * nss/nss_files/files-initgroups.c: Likewise.
5571 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5572 * nss/nss_files/files-initgroups.c: Likewise.
5573 * nss/nss_db/db-netgrp.c: Likewise.
5574 * nss/nss_db/db-initgroups.c: Likewise.
5575 * io/fchmodat.c: Include <sys/stat.h>.
5576
5577 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5578 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5579
5580 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5581 [HAVE_MMAP].
5582
5583 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5584 Add multiple inclusion protection.
5585
e5abc686
DM
55862012-07-27 David S. Miller <davem@davemloft.net>
5587
5588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5589
815e6fa3
GB
55902012-07-27 Gary Benson <gbenson@redhat.com>
5591
5592 [BZ #14298]
5593 * elf/rtld.c: Include <stap-probe.h>.
5594 (dl_main): Added static probes "init_start" and "init_complete".
5595 * elf/dl-load.c: Include <stap-probe.h>.
5596 (lose): Take new parameter "nsid".
5597 Added static probe "map_failed".
5598 (_dl_map_object_from_fd): Pass namespace id to lose.
5599 Added static probe "map_start".
5600 (open_verify): Pass namespace id to lose.
5601 * elf/dl-open.c: Include <stap-probe.h>.
5602 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5603 and "reloc_complete".
5604 * elf/dl-close.c: Include <stap-probe.h>.
5605 (_dl_close_worker): Added static probes "unmap_start" and
5606 "unmap_complete".
5607 * elf/rtld-debugger-interface.txt: New file documenting the above.
5608
9f98c16c
RM
56092012-07-26 Roland McGrath <roland@hack.frob.com>
5610
5611 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5612 rather than a string variable.
5613 * sunrpc/rpc_main.c (h_output): Likewise.
5614 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5615
f3c22df3
PT
56162012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5617
5618 * inet/check_native.c: New file.
5619
3129cfc6
JM
56202012-07-26 Joseph Myers <joseph@codesourcery.com>
5621
da865e95
JM
5622 [BZ #13629]
5623 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5624 if larger part has absolute value 1.0.
5625 * math/s_clog10.c (__clog10): Likewise.
5626 * math/s_clog10f.c (__clog10f): Likewise.
5627 * math/s_clog10l.c (__clog10l): Likewise.
5628 * math/s_clogf.c (__clogf): Likewise.
5629 * math/s_clogl.c (__clogl): Likewise.
5630 * math/libm-test.inc (clog_test): Add more tests.
5631 (clog10_test): Likewise.
5632 * sysdeps/i386/fpu/libm-test-ulps: Update.
5633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5634
3129cfc6
JM
5635 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5636 (pltexit): Likewise.
5637 (La_regs): Likewise.
5638 (La_retval): Likewise.
5639 (int_retval): Likewise.
5640 Update #error for removed macros to refer only to definitions in
5641 tst-audit.h.
5642 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5643 macro.
5644 (pltexit): Likewise.
5645 (La_regs): Likewise.
5646 (La_retval): Likewise.
5647 (int_retval): Likewise.
5648 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5649 macro.
5650 (pltexit): Likewise.
5651 (La_regs): Likewise.
5652 (La_retval): Likewise.
5653 (int_retval): Likewise.
5654 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5655 macro.
5656 (pltexit): Likewise.
5657 (La_regs): Likewise.
5658 (La_retval): Likewise.
5659 (int_retval): Likewise.
5660 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5661 macro.
5662 (pltexit): Likewise.
5663 (La_regs): Likewise.
5664 (La_retval): Likewise.
5665 (int_retval): Likewise.
5666 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5667 macro.
5668 (pltexit): Likewise.
5669 (La_regs): Likewise.
5670 (La_retval): Likewise.
5671 (int_retval): Likewise.
5672 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5673 macro.
5674 (pltexit): Likewise.
5675 (La_regs): Likewise.
5676 (La_retval): Likewise.
5677 (int_retval): Likewise.
5678 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5679 macro definitions in tst-audit.h.
5680 * sysdeps/i386/tst-audit.h: New file.
5681 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5682 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5683 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5684 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5685 * sysdeps/sh/tst-audit.h: Likewise.
5686 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5687 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5688 * sysdeps/x86_64/tst-audit.h: Likewise.
5689
bfc07087
AJ
56902012-07-26 Andreas Jaeger <aj@suse.de>
5691
b1b2aaf8
AJ
5692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5693 ptrace.
5694
5695 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5696 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5697 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5698 PTRACE_O_MASK.
5699 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5700 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5701 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5702
bfc07087
AJ
5703 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5704 value.
5705
5706 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5707 _sigsys.
5708 (si_call_addr, si_syscall, si_arch): Define new macro.
5709 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5710 _sigsys.
5711 (si_call_addr, si_syscall, si_arch): Define new marcro.
5712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5713 _sigsys.
5714 (si_call_addr, si_syscall, si_arch): Define new macro.
5715 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5716 _sigsys.
5717 (si_call_addr, si_syscall, si_arch): Define new macro.
5718
89b4b02f
JM
57192012-07-25 Joseph Myers <joseph@codesourcery.com>
5720
5721 [BZ #13717]
5722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5723 Change to 2.4.21 where previously 2.4.1.
5724 * sysdeps/unix/sysv/linux/configure: Regenerated.
5725 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5726 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5727 Linux kernel version.
5728 (__ASSUME_STD_AUXV): Remove.
5729 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5730 kernel version.
5731 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5732 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5733 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5734 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5735 (__ASSUME_NETLINK_SUPPORT): Likewise.
5736 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5737 (__no_netlink_support): Remove conditional definition.
5738 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5739 Remove.
5740 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5741 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5742 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5743 (if_nameindex_ioctl): Remove.
5744 (if_nameindex_netlink): Do not handle __no_netlink_support.
5745 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5746 code.
5747 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5748 Remove conditional code.
5749 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5750 code.
5751 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5752 unconditional.
5753 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5754 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5755 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5756 Remove.
5757 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5758 [!__ASSUME_STD_AUXV]: Remove conditional code.
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5760 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5761 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5763 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5764 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5765 code.
5766 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5768 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5769 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5770 conditional code.
5771 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5773 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5774 code.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5776 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5777 conditional code.
5778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5779 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5780 code unconditional.
5781 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5782 conditional code.
5783 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5784 unconditional.
5785 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5786 conditional code.
5787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5788 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5789 unconditional.
5790 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5791 conditional code.
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5793 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5794 code unconditional.
5795 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5796 conditional code.
5797 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5798 unconditional.
5799 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5800 conditional code.
5801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5802 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5803 code unconditional.
5804 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5805 conditional code.
5806 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5807 unconditional.
5808 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5809 conditional code.
5810
842a39cd
AS
58112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5812
5813 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5814 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5815 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5816 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5817 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5818 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5819 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5820 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5821 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5822 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5823 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5824 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5825 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5826 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5827 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5828 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5829 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5830 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5831 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5833 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5834 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5835 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5836
84b3fd84
FW
58372012-07-25 Florian Weimer <fweimer@redhat.com>
5838
5839 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5840 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5841 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5842 Introduce __libc_secure_getenv.
0c7936d5
FW
5843 * stdlib/Versions (2.17): Add secure_getenv
5844 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5845 * stdlib/secure-getenv.c: Rename __secure_getenv to
5846 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5847 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5848 * stdlib/tst-secure-getenv.c: New.
5849 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5850 * manual/startup.texi (Environment Access): Document
5851 secure_getenv.
84b3fd84
FW
5852 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5853 __libc_secure_getenv.
5854 * inet/ruserpass.c (ruserpass): Likewise.
5855 * malloc/mtrace.c (mtrace): Likewise.
5856 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5857 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5858 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5859 * sysdeps/posix/tempname.c: Likewise. Evaluate
5860 HAVE_SECURE_GETENV.
5861 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5862 __secure_getenv to __libc_secure_getenv.
84b3fd84 5863 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5865 Likewise.
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5867 Likewise.
5868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5870 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5875
56e49b71
JM
58762012-07-25 Joseph Myers <joseph@codesourcery.com>
5877
5878 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5879 (struct La_i86_retval): Likewise.
5880 (struct La_x86_64_regs): Likewise.
5881 (struct La_x86_64_retval): Likewise.
5882 (struct La_x32_regs): Likewise.
5883 (struct La_x32_retval): Likewise.
5884 (struct La_ppc32_regs): Likewise.
5885 (struct La_ppc32_retval): Likewise.
5886 (struct La_ppc64_regs): Likewise.
5887 (struct La_ppc64_retval): Likewise.
5888 (struct La_sh_regs): Likewise.
5889 (struct La_sh_retval): Likewise.
5890 (struct La_s390_32_regs): Likewise.
5891 (struct La_s390_32_retval): Likewise.
5892 (struct La_s390_64_regs): Likewise.
5893 (struct La_s390_64_retval): Likewise.
5894 (struct La_sparc32_regs): Likewise.
5895 (struct La_sparc32_retval): Likewise.
5896 (struct La_sparc64_regs): Likewise.
5897 (struct La_sparc64_retval): Likewise.
5898 (struct audit_ifaces): Remove architecture-specific pltenter and
5899 pltexit members.
5900 * sysdeps/i386/ldsodefs.h: New file.
5901 * sysdeps/powerpc/ldsodefs.h: Likewise.
5902 * sysdeps/s390/ldsodefs.h: Likewise.
5903 * sysdeps/sh/ldsodefs.h: Likewise.
5904 * sysdeps/sparc/ldsodefs.h: Likewise.
5905 * sysdeps/x86_64/ldsodefs.h: Likewise.
5906
354691b7
MP
59072012-07-25 Marek Polacek <polacek@redhat.com>
5908
5909 [BZ #6808]
5910 * math/libm-test.inc (yn_test): Add another test.
5911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5912 to ERANGE when the result is +-Inf.
5913 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5914 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5915 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5916 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5917
bf9e2071
JM
59182012-07-24 Joseph Myers <joseph@codesourcery.com>
5919
5920 * conform/data/time.h-data (NULL): Use macro-constant. Require
5921 equal to 0.
5922 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5923 clock_t.
5924 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5925
57633811
TS
59262012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5927
5928 * configure.in <sysdeps resolving>: Correct printing
5929 Implies_before.
5930 * configure: Regenerate.
5931
c23c33b0
TS
59322012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5933
5934 * math/w_ilogb.c: Include <limits.h>.
5935 * math/w_ilogbl.c: Likewise.
5936
b5982523
JM
59372012-07-20 Joseph Myers <joseph@codesourcery.com>
5938
5939 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5940 va_copy. Document allowing for unavailable va_copy only as
5941 pre-C99 compatibility.
5942 * manual/string.texi (Copying and Concatenation): Use va_copy
5943 instead of __va_copy in concat example.
5944
ac4ea442
PT
59452012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5946
5947 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5948 (__sendto): Use create_address_port. Initialize APORT and deallocate
5949 it if not null.
5950
f98eafbd
PT
5951 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5952 with O_NOLINK passed to __file_name_lookup.
5953
898c7aab
PT
5954 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5955 with O_NOLINK passed to __file_name_lookup.
5956
0ced335a
PT
5957 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5958 negative N or less than NGIDS.
5959
b3404dbd
PT
5960 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5961 type to string_t. Set ERANGE as errno and return it if NAME is not big
5962 enough. Use memcpy instead of strncpy.
5963
0f48659e
JM
59642012-07-20 Joseph Myers <joseph@codesourcery.com>
5965
5966 * elf/Makefile (check-data): Remove.
5967 (localplt.data): New vpath directive.
5968 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5969 instead of $(check-data).
5970 * scripts/data/localplt-generic.data: Move to ...
5971 * sysdeps/generic/localplt.data: ... here.
5972 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5973 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5974 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5976 ... here.
5977 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5979 ... here.
5980 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5982 ... here.
5983 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5985 ... here.
5986 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5988 ... here.
5989 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5991 ... here.
5992
d37cbdaa
AZ
59932012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5994
5995 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5996 PPC32 and PPC64 files.
5997 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5998 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5999
46f85fc2
AK
60002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6001
6002 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6003 __makecontext_ret to ...
6004 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6005 ... here and call exit if uc_link is NULL. New file.
6006 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6007 __makecontext_ret.S.
6008 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6009 __makecontext_ret to ...
6010 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6011 ... here and call exit if uc_link is NULL. New file.
6012 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6013 __makecontext_ret.S.
6014
08f43f9b
AK
60152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6016
6017 * elf/elf.h (R_390_IRELATIVE): New definition.
6018 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6019 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6020 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6021 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6022 (elf_machine_lazy_rel): Likewise.
6023 * sysdeps/s390/dl-irel.h: New file.
6024 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6025 * sysdeps/s390/s390-64/memset.S: New asm code.
6026 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6027 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6028 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6029 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6030 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6031 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6032 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6033 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6034 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6035 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6036 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6037 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6038 * sysdeps/s390/s390-32/memset.S: New asm code.
6039 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6040
3b05db33
MP
60412012-07-17 Marek Polacek <polacek@redhat.com>
6042
6043 [BZ #14349]
6044 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6045 * sysdeps/s390/s390-64/configure.in: Likewise.
6046 * sysdeps/sparc/configure.in: Likewise.
6047 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6048 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6049 * sysdeps/i386/configure.in: Likewise.
6050 * sysdeps/x86_64/configure.in: Likewise.
6051 * sysdeps/sh/configure.in: Likewise.
6052 * sysdeps/s390/s390-32/configure: Regenerated.
6053 * sysdeps/s390/s390-64/configure: Likewise.
6054 * sysdeps/x86_64/configure: Likewise.
6055 * sysdeps/sh/configure: Likewise.
6056 * sysdeps/powerpc/powerpc64/configure: Likewise.
6057 * sysdeps/powerpc/powerpc32/configure: Likewise.
6058 * sysdeps/sparc/configure: Likwise.
6059 * sysdeps/i386/configure: Likewise.
6060
a66877c6
MP
6061 * elf/dl-open.c: Comment fixes.
6062
cfc82fd8
JM
60632012-07-17 Joseph Myers <joseph@codesourcery.com>
6064
bd29910a
JM
6065 * Makefile [CXX] (check-data): Remove.
6066 [CXX] (c++-types.data): New vpath directive.
6067 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6068 vpath. Do not allow for C++ type data being missing.
6069 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6070 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6071 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6072 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6073 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6074 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6075 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6077 ... here.
6078 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6080 ... here.
6081 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6083 ... here.
6084 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6086 ... here.
6087 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6089 ... here.
6090 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6092 ... here.
6093 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6095 ... here.
6096 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6098
cfc82fd8
JM
6099 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6100 definitions to architecture-specific files.
6101 (TLS_IE): Likewise.
6102 (TLS_LD): Likewise.
6103 (TLS_GD): Likewise.
6104 * sysdeps/i386/tls-macros.h: New file.
6105 * sysdeps/powerpc/tls-macros.h: Likewise.
6106 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6107 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6108 * sysdeps/sh/tls-macros.h: Likewise.
6109 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6110 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6111 * sysdeps/x86_64/tls-macros.h: Likewise.
6112
f7db3170
TS
61132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6114
07cbfc23
TS
6115 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6116 zero value for regular exit case.
6117
f7db3170
TS
6118 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6119 (__start_context): Preserve zero value for regular exit case.
6120
dc97c227
TS
61212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6122 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6123
6124 * manual/setjmp.texi (setcontext): Clarify normal process
6125 termination when uc_link is the null pointer.
6126 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6127 exit call.
6128
d0cd7d02
AS
61292012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6130
6131 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6132 preprocessor. Test for each exception mask separately.
6133
dd318934
AJ
61342012-07-16 Andreas Jaeger <aj@suse.de>
6135
6136 * po/ru.po: Update from translation team.
6137
8048311a
JM
61382012-07-15 Joseph Myers <joseph@codesourcery.com>
6139
6140 * conform/data/string.h-data (NULL): Use macro-constant. Require
6141 equal to 0.
6142 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6143 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6144 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6145 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6147
b637d46e
AJ
61482012-07-13 Andreas Jaeger <aj@suse.de>
6149
6150 * po/fr.po: Update from translation team.
6151
541428fe
MP
61522012-07-12 Marek Polacek <polacek@redhat.com>
6153
6154 [BZ #14173]
6155 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6156 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6157 loop condition.
6158
ec332e94
JM
61592012-07-12 Joseph Myers <joseph@codesourcery.com>
6160
6161 [BZ #13717]
6162 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6163 Change to 2.4.1 where previously 2.4.0.
6164 * sysdeps/unix/sysv/linux/configure: Regenerated.
6165 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6166 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6167 version.
6168 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6169 (__ASSUME_AT_CLKTCK): Remove.
6170 (__ASSUME_AT_PAGESIZE): Likewise.
6171 (__ASSUME_AT_XID): Likewise.
6172 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6173 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6174 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6175 unconditionally.
6176 (HAVE_AUX_PAGESIZE): Likewise.
6177 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6178 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6179 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6180
7b6e99be
JB
61812012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6182
6183 [BZ #14307]
6184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6185 the temporary buffer used to invoke __gethostbyname2_r,
6186 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6187 host_data / struct gaih_addrtuple.
6188 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6189 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6190 header file nss/nsswitch.h.
6191 * nss/nsswitch.h (global scope): Add definition of implementation
6192 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6193 resolv/nss_dns/dns-host.c).
6194
608404eb
AJ
61952012-07-11 Andreas Jaeger <aj@suse.de>
6196
6197 * po/fr.po: Update from translation team.
6198
71220aca
AJ
6199 * po/sv.po: Update from translation team
6200 * po/fr.po: Another update from translation team.
6201
28cfe843
AZ
62022012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6203
6204 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6205 for subnormals or multiply small sinh result by itself.
6206 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6208
6b90f981
DM
62092012-07-11 David S. Miller <davem@davemloft.net>
6210
6211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6212
c6825772
AS
62132012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6214
6215 [BZ #14347]
6216 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6217 (INTERNAL_MARK): Shift it here.
6218
7b8e0d49
MP
62192012-07-10 Marek Polacek <polacek@redhat.com>
6220
6221 [BZ #14151]
6222 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6223 libc_cv_asm_global_directive with .globl.
6224 * configure: Regenerated.
6225 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6226 with .globl.
6227 * sysdeps/i386/configure: Regenerated.
6228 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6229 with .globl.
6230 * sysdeps/x86_64/configure: Regenerated.
6231 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6232 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6233 * elf/tst-unique2mod2.c: Likewise.
6234 * elf/tst-unique2mod1.c: Likewise.
6235 * elf/tst-unique1mod2.c: Likewise.
6236 * elf/tst-unique1mod1.c: Likewise.
6237 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6238 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6239 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6240 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6241 * sysdeps/mach/sysdep.h: Likewise.
6242 * sysdeps/i386/sysdep.h: Likewise.
6243 * sysdeps/i386/i386-mcount.S: Likewise.
6244 * sysdeps/x86_64/_mcount.S: Likewise.
6245 * sysdeps/x86_64/sysdep.h: Likewise.
6246 * sysdeps/sh/_mcount.S: Likewise.
6247 * sysdeps/sh/sysdep.h: Likewise.
6248 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6249 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6250 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6251 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6252 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6253 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6254 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6255 * locale/localeinfo.h: Likewise.
6256 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6257 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6258
6c55cda3
RM
62592012-07-09 Roland McGrath <roland@hack.frob.com>
6260
6261 [BZ #14336]
6262 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6263 system".
6264 * manual/message.texi (The Uniforum approach): Likewise.
6265 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6266 (glibc iconv Implementation): Likewise.
6267
638a572e
JM
62682012-07-09 Joseph Myers <joseph@codesourcery.com>
6269
6270 [BZ #14337]
6271 * math/s_clog.c (__clog): Avoid scaling a value down where that
6272 could result in underflow.
6273 * math/s_clog10.c (__clog10): Likewise.
6274 * math/s_clog10f.c (__clog10f): Likewise.
6275 * math/s_clog10l.c (__clog10l): Likewise.
6276 * math/s_clogf.c (__clogf): Likewise.
6277 * math/s_clogl.c (__clogl): Likewise.
6278 * math/libm-test.inc (clog_test): Add more tests.
6279 (clog10_test): Likewise.
6280 * sysdeps/i386/fpu/libm-test-ulps: Update.
6281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6282
261f4859
AS
62832012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6284
0abaf3e4
AS
6285 [BZ #14283]
6286 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6287 by 7 not 8 to examine high bit of fractional part.
6288
261f4859
AS
6289 [BZ #14042]
6290 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6291 for call to __mcount_internal.
6292 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6293 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6294 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6295
f17ac40d
JM
62962012-07-06 Joseph Myers <joseph@codesourcery.com>
6297
9ad63c23
JM
6298 [BZ #14154]
6299 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6300 approximation for values within 0x1p-13f of an odd multiple of
6301 pi/4.
6302 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6303 exception. Add more tests.
6304 * sysdeps/i386/fpu/libm-test-ulps: Update.
6305
f17ac40d
JM
6306 [BZ #6778]
6307 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6308 inputs and return -1 for them. Do not check for +Inf in case not
6309 reachable for +Inf.
6310 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6311 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6312 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6313 and return -1 for them. Do not check for +Inf in case not
6314 reachable for +Inf.
6315 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6316 define.
6317 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6318 and return -1 for them. Do not check for +Inf in case not
6319 reachable for +Inf.
6320 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6321 spurious underflow.
6322 * sysdeps/i386/fpu/libm-test-ulps: Update.
6323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6324
fb21f89b
MF
63252012-07-06 Mike Frysinger <vapier@gentoo.org>
6326
6327 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6328
cdfe2c5e
JM
63292012-07-05 Joseph Myers <joseph@codesourcery.com>
6330
6331 [BZ #14157]
6332 [BZ #14331]
6333 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6334 could result in spurious underflow. Scale down values above
6335 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6336 * math/s_csqrtf.c (__csqrtf): Likewise.
6337 * math/s_csqrtl.c (__csqrtl): Likewise.
6338 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6339 spurious underflow.
6340 * sysdeps/i386/fpu/libm-test-ulps: Update.
6341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6342
70d35b67
AS
63432012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6344
704bc459
AS
6345 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6346 xopen-msg.sed.
6347 * catgets/xopen-msg.awk: New file.
6348 * catgets/xopen-msg.sed: Removed.
6349
70d35b67
AS
6350 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6351 po2text.sed.
6352 * intl/po2test.awk: New file.
6353 * intl/po2test.sed: Removed.
6354
ca61cf32
JM
63552012-07-04 Joseph Myers <joseph@codesourcery.com>
6356
6357 [BZ #14328]
6358 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6359 or multiply small sinh result by itself.
6360 * math/s_ctanf.c (__ctanf): Likewise.
6361 * math/s_ctanh.c (__ctanh): Likewise.
6362 * math/s_ctanhf.c (__ctanhf): Likewise.
6363 * math/s_ctanhl.c (__ctanhl): Likewise.
6364 * math/s_ctanl.c (__ctanl): Likewise.
6365 * math/libm-test.inc (ctan_test_tonearest): New function.
6366 (ctan_test_towardzero): Likewise.
6367 (ctan_test_downward): Likewise.
6368 (ctan_test_upward): Likewise.
6369 (ctanh_test_tonearest): Likewise.
6370 (ctanh_test_towardzero): Likewise.
6371 (ctanh_test_downward): Likewise.
6372 (ctanh_test_upward): Likewise.
6373 (main): Call these new functions.
6374 * sysdeps/i386/fpu/libm-test-ulps: Update.
6375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6376
ca48a46a
MF
63772012-07-03 Mike Frysinger <vapier@gentoo.org>
6378
6379 * .gitignore: Delete /ports entry.
6380
9d63d37d
AJ
63812012-07-03 Andreas Jaeger <aj@suse.de>
6382
6383 * po/bg.po: Update from translation team.
6384 * po/cs.po: Likewise.
6385 * po/de.po: Likewise.
6386 * po/hr.po: Likewise.
6387 * po/nl.pl: Likewise.
6388 * po/pl.po: Likewise.
6389 * po/vi.po: Likewise.
6390
370ca3d2
JM
63912012-07-03 Joseph Myers <joseph@codesourcery.com>
6392
95f5a9a8
JM
6393 * Makeconfig [!+link] (+link-before-libc): New variable.
6394 [!+link] (+link-after-libc): Likewise.
6395 [!+link] (+link-tests): Likewise.
6396 [!+link] (+link): Define in terms of $(+link-before-libc) and
6397 $(+link-after-libc).
6398 [!+link-static] (+link-static-before-libc): New variable.
6399 [!+link-static] (+link-static-after-libc): Likewise.
6400 [!+link-static] (+link-static-tests): Likewise.
6401 [!+link-static] (+link-static): Define in terms of
6402 $(+link-static-before-libc) and $(+link-static-after-libc).
6403 [build-shared] (link-libc-before-gnulib): New variable.
6404 [build-shared] (link-libc-tests): Likewise.
6405 [build-shared] (link-libc): Define in terms of
6406 $(link-libc-before-gnulib).
6407 [!build-shared] (link-libc-tests): New variable.
6408 (link-libc-static-tests): New variable.
6409 [!gnulib] (gnulib-arch): New variable.
6410 [!gnulib] (gnulib-tests): Likewise.
6411 [!gnulib] (static-gnulib-arch): Likewise.
6412 [!gnulib] (static-gnulib-tests): Likewise.
6413 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6414 Define with "=" instead of ":=".
6415 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6416 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6417 * Rules (binaries-all-notests): New variable.
6418 (binaries-all-tests): Likewise.
6419 (binaries-static-notests): Likewise.
6420 (binaries-static-tests): Likewise.
6421 (binaries-all): Define using $(binaries-all-notests) and
6422 $(binaries-all-tests).
6423 (binaries-static): Define using $(binaries-static-notests) and
6424 $(binaries-static-tests).
6425 (binaries-shared-tests): New variable.
6426 (binaries-shared-notests): Likewise.
6427 (binaries-shared): Remove variable.
6428 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6429 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6430 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6431 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6432 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6433 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6434 * elf/Makefile (sln-modules): New variable.
6435 (extra-objs): Add $(sln-modules:=.o).
6436 (ldconfig-modules): Add static-stubs.
6437 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6438 * elf/static-stubs.c: New file.
6439
7a845b2c
JM
6440 [BZ #14283]
6441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6442 by 7 not 8 to examine high bit of fractional part. Use volatile
6443 variables when splitting into final array of floats if
6444 __FLT_EVAL_METHOD__ != 0.
6445 * math/libm-test.inc (cos_test): Add another test.
6446 (sin_test): Likewise.
6447 * sysdeps/i386/fpu/libm-test-ulps: Update.
6448
e2283f38
JM
6449 [BZ #14273]
6450 * math/libm-test.inc (cosh_test): Add more tests.
6451
370ca3d2
JM
6452 * version.h (RELEASE): Set to "development".
6453 (VERSION): Set to "2.16.90".
6454
ee9247c3
CD
64552012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6456
6457 * NEWS: Update copyright. Remove last-updated date.
6458 Mention math library bug fixes and timezone data changes.
6459 * README: Mention GNU/Hurd, x32, and HPPA support status.
6460
4648c381
TS
64612012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6462
6463 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6464
aac78a43
AJ
64652012-06-27 Andreas Jaeger <aj@suse.de>
6466
6467 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6468
ed3dbfad
AJ
64692012-06-25 Andreas Jaeger <aj@suse.de>
6470
6471 * sysdeps/s390/fpu/libm-test-ulps: Update.
6472
4d0ee855
AS
64732012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6474 Thomas Schwinge <thomas@codesourcery.com>
6475
6476 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6477 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6478 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6479 fanotify_mark.
6480
af1bce34
TS
64812012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6482
a9fa33ba
TS
6483 * sysdeps/mach/start.c: Remove file.
6484 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6485 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6486 * sysdeps/sh/init-first.c: Likewise.
6487
58f902b8
TS
6488 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6489 registers for frame unwinding purposes, add CFI directives.
6490 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6491 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6492 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6493 Likewise.
6494
1518f58b
TS
6495 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6496 __fortify_fail returning.
6497 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6498
db9b5059
TS
6499 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6500 sysdeps/sh/____longjmp_chk.S.
6501 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6502 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6503 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6504 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6505
967705fe
TS
6506 * sysdeps/sh/abort-instr.h: New file.
6507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6508 process in case exit returns.
6509
a9def8c4
TS
6510 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6511 initialize the GOT register before use.
6512
2a649725
TS
6513 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6514 calculation of ARGC > 4.
6515
af1bce34
TS
6516 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6517 meaningful names to some local labels.
6518
d230f50a
KK
65192012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6520 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6521
6522 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6523 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6524 (__arch_compare_and_exchange_val_16_acq): Likewise.
6525 (__arch_compare_and_exchange_val_32_acq): Likewise.
6526 (atomic_exchange_and_add): Fix gUSA sequence.
6527 (atomic_add): Likewise.
6528 (atomic_add_negative): Likewise.
6529 (atomic_add_zero): Likewise.
6530 (atomic_bit_test_set): Likewise.
6531
0479b305
AS
65322012-06-22 Andreas Schwab <schwab@redhat.com>
6533
6534 [BZ #13579]
6535 * include/link.h (struct link_map): Add l_free_initfini.
6536 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6537 l_initfini.
6538 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6539 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6540 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6541 set.
6542
0e3933b9
CD
65432012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6544
6545 * configure.in: Use AC_LANG_SOURCE.
6546 * configure: Regenerate.
6547
4248b1b1
RM
65482012-06-22 Roland McGrath <roland@hack.frob.com>
6549
6550 * configure.in (libc_cv_localstatedir): New substituted variable.
6551 * configure: Regenerated.
6552 * config.make.in (localstatedir): New variable, substituted from
6553 libc_cv_localstatedir.
6554 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6555 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6556 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6557 * sysdeps/gnu/configure: Regenerated.
6558
006dd861
JL
65592012-06-21 Jeff Law <law@redhat.com>
6560
6561 [BZ #14277]
6562 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6563 free. Simplify list management for _LIBC case.
6564
79662d42
JM
65652012-06-21 Joseph Myers <joseph@codesourcery.com>
6566
b7abb4bf
JM
6567 [BZ #14273]
6568 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6569 Clear sign bit of 64-bit integer value before comparing against
6570 overflow value.
6571
79662d42
JM
6572 * sysdeps/mach/configure: Regenerated.
6573
1f150908
L
65742012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6575
6576 [BZ #14278]
6577 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6578
28363bbf
JL
65792012-06-21 Jeff Law <law@redhat.com>
6580
6581 [BZ #13882]
6582 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6583 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6585 * elf/dl-open.c (dl_open_worker): Likewise.
6586
09615db4
CD
65872012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6588
6589 * scripts/list-sources.sh: Scan PORTS for translations.
6590 * po/libc.pot: Regenerated.
6591
2174c6dd
AJ
65922012-06-21 Andreas Jaeger <aj@suse.de>
6593
6594 [BZ #12194]
6595 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6596 warning.
6597 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6598 * bits/byteswap-16.h (__bswap_16): Likewise.
6599 * bits/byteswap.h (__bswap_constant_16): Likewise.
6600
3ee947b1
L
66012012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6602
6603 [BZ #14117]
a2f34833
L
6604 * sysdeps/i386/fpu_control.h: Removed.
6605 * sysdeps/x86_64/fpu_control.h: Moved to ...
6606 * sysdeps/x86/fpu_control.h: Here.
6607
3ee947b1
L
6608 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6609 (_FPU_SETCW): Likewise.
6610
ed1825f8
L
66112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6612
25f1282a
L
6613 [BZ #14117]
6614 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6615 * sysdeps/x86/fpu/bits/mathinline.h: This.
6616 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6617
ed1825f8
L
6618 [BZ #14050]
6619 [BZ #14117]
6620 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6621 functions if __x86_64__ is defined.
6622
36d54b74
CLT
66232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6624
6625 * string/endian.h: Add !__ASSEMBLER__ condition for including
6626 conversion interfaces.
6627
10285c21
JM
66282012-06-15 Joseph Myers <joseph@codesourcery.com>
6629
6630 [BZ #14241]
6631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6632 of ABS(x) in calculating zero to negative powers other than odd
6633 integers.
6634 * math/libm-test.inc (pow_test): Add more tests.
6635
06c5abbd
AJ
66362012-06-15 Andreas Jaeger <aj@suse.de>
6637
6638 * manual/contrib.texi (Contributors): Update entry of Liubov
6639 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6640 Machado Filho.
6641
a3aeac40
CH
66422012-06-15 Cyril Hrubis <metan@ucw.cz>
6643
6644 * string/string.h: Add __wur to GNU version of strerror_r.
6645
49bdf4c1
L
66462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6647
6648 [BZ #14229]
6649 * string/Makefile (tests): Add tst-strtok_r.
6650 * string/tst-strtok_r.c: New file.
6651 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6652 RAX_LP/RDX_LP on SAVE_PTR.
6653
834f9b8d
RM
66542012-06-14 Roland McGrath <roland@hack.frob.com>
6655
6656 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6657
75fa1921
JM
66582012-06-14 Joseph Myers <joseph@codesourcery.com>
6659
6660 * libm_test.inc (csqrt_test): Allow more spurious underflow
6661 exceptions.
6662 (j0_test): Likewise.
6663 (j1_test): Likewise.
6664 (y0_test): Likewise.
6665 (y1_test): Likewise.
6666
771766df
CD
66672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6668
6669 * po/Makefile (libc.pot): Use UTF-8 charset.
6670
ceb9e56b
PP
66712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6672
6673 [BZ #14210]
6674 Suppress sign-conversion warning from FD_SET.
6675 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6676 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6677 not unsigned long int.
6678 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6679
ddb28975
L
66802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6681
6682 [BZ #14050]
6683 [BZ #14117]
6684 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6685 __extern_always_inline instead of __extern_inline.
6686 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6687 (__signbit): Likewise.
6688 (__signbitl): Support C++ namespace.
6689 (lrintf): New inline function.
6690 (lrint): Likewise.
6691 (llrintf): Likewise.
6692 (llrint): Likewise.
6693 (fmaxf): Likewise.
6694 (fmax): Likewise.
6695 (fminf): Likewise.
6696 (fmin): Likewise.
6697 (rint): Likewise.
6698 (rintf): Likewise.
6699 (ceil): Likewise.
6700 (ceilf): Likewise.
6701 (floor): Likewise.
6702 (floorf): Likewise.
6703 (nearbyint): Likewise.
6704 (nearbyintf): Likewise.
6705
d7b4fb26
TS
67062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6707
6708 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6709 non-default versions.
6710
eb55f5c2
RM
67112012-06-11 Roland McGrath <roland@hack.frob.com>
6712
6713 [BZ #14218]
6714 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6715
366af02c
TS
67162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6717
99ff6e5c
TS
6718 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6719 (FE_UPWARD, FE_DOWNWARD): Don't define.
6720 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6721 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6722
366af02c
TS
6723 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6724 reading it.
6725 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6726 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6727
793ea851
KK
67282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6729
6730 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6731 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6732 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6733 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6734
a728a38f
L
67352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6736
6737 [BZ #14117]
c08010c7
L
6738 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6739 * sysdeps/i386/fpu/Implies: New file.
6740 * sysdeps/x86_64/fpu/Implies: Likewise.
6741 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6742 * sysdeps/x86/fpu/bits/fenv.h: This.
6743
a728a38f
L
6744 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6745 __SSE_MATH__.
6746
6e230d11
SP
67472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6748
6749 [BZ #14134]
6750 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6751 character 0xffff that matches the last element of the
6752 conversion table.
6753
1b671feb
AZ
67542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6757 fmodl commit.
6758
6043738b
AZ
67592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6760
6761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6762 values higher than 25.6283.
6763
34ae0b32
AZ
67642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6765
6766 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6767 subnormal exponent extraction and add some __builtin_expect.
6768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6769 Fix for subnormal mantissa calculation.
6770
1214ec8f
MF
67712012-06-04 Mike Frysinger <vapier@gentoo.org>
6772
6773 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6774 cpu2 is -1 and errno is not ENOSYS.
6775
f3d1f93c
L
67762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6777
6778 [BZ #14117]
0e4a3cd7
L
6779 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6780 * sysdeps/x86/bits/string.h: This.
6781 * sysdeps/x86_64/bits/string.h: Removed.
6782
6704c645
L
6783 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6784 if not compiling for x86-64, but compiling for >= i486.
6785
48495318
L
6786 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6787 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6788
14adcbfc
L
6789 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6790 New macro from Linux kernel 3.4.0.
6791 (FP_XSTATE_MAGIC2): Likewise.
6792 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6793 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6794 (struct _fpx_sw_bytes): New struct.
6795 (struct _xsave_hdr): Likewise.
6796 (struct _ymmh_state): Likewise.
6797 (struct _xstate): Likewise.
6798
68e408ab
L
6799 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6800 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6801 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6802 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6803 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6804 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6805
f3d1f93c
L
6806 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6807 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6808 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6809 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6810 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6811 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6812
d9dc34cd
TMQMF
68132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6814
6815 [BZ #13743]
6816 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6817 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6818 (sysdep_headers): Include sys/platform/ppc.h.
6819 * sysdeps/powerpc/test-gettimebase.c: Test for
6820 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6821 * manual/Makefile (appendices): Include platform.texi.
6822 * manual/contrib.texi (Contributors): Update @node pointers.
6823 * manual/maint.texi (Maintenance): Likewise.
6824 (Platform): New node.
6825 * manual/platform.texi: New file. Document the new features.
6826
4af3879c
SP
68272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6828 Jakub Jelinek <jakub@redhat.com>
6829
6830 [BZ #14188]
6831 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6832 where __builtin_expect is unavailable.
6833
2fd6ff13
DM
68342012-06-03 David S. Miller <davem@davemloft.net>
6835
6836 * stdlib/longlong.h: Updated from GCC.
6837
173f7220
AS
68382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6839
6840 [BZ #14042]
6841 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6842 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6843 __mcount_internal.
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6845 (GLIBC_2.16): Likewise.
6846
f34a1c6f
L
68472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6848
6849 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6850
88a4576f
JM
68512012-06-01 Joseph Myers <joseph@codesourcery.com>
6852
ea32bcdd
JM
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6854 (default-abi): New variable.
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6856 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6857 variable.
6858 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6859 Likewise.
6860 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6861 Likewise.
6862 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6863 Likewise.
6864
88a4576f
JM
6865 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6866 definition. Document in comment.
6867
402fe938
DM
68682012-06-01 David S. Miller <davem@davemloft.net>
6869
6870 * stdlib/longlong.h: Updated from GCC.
6871
3553723f
L
68722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6873
6874 [BZ #14117]
3bd872c4
L
6875 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6876 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6877 sys/debugreg.h sys/io.h here.
6878 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6879 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6880 sys/io.h.
6881 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6882 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6883 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6884 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6885 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6886 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6887
3553723f
L
6888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6889 Define only if __x86_64__ is defined.
6890
4842e4fe
JM
68912012-06-01 Joseph Myers <joseph@codesourcery.com>
6892
c5bfe3d5
JM
6893 [BZ #14048]
6894 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6895 Use int64_t for variable i.
6896 * math/libm-test.inc (fmod_test): Add more tests.
6897
4842e4fe
JM
6898 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6899 z computation is not scheduled after fetestexcept.
6900 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6901 Use math_force_eval instead of asm to ensure calculation scheduled
6902 before exception test.
6903 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6904 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6905
efb73488
AJ
69062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6907
6908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6909 computation is not scheduled after fetestexcept.
6910
29bcce7c
L
69112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6912
6913 [BZ #14117]
6914 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6915 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6916
73a68f94
AZ
69172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6918
6919 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6920 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6921
67b6df78
L
69222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6923
edf2933a 6924 [BZ #14117]
ebc64a18
L
6925 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6926 <bits/wordsize.h>.
6927 (__WCHAR_MIN): Support __WORDSIZE == 64.
6928 (__WCHAR_MAX): Likewise.
6929
edf2933a
L
6930 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6931 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6932
57c6cf40
L
6933 [BZ #14183]
6934 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6935 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6936
67b6df78 6937 [BZ #14117]
8eb6281e
L
6938 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6939 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6940
aac639f4
L
6941 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6942 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6943
67b6df78
L
6944 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6945 Defined to 1 if __x86_64__ isn't defined.
6946 (_STAT_VER_LINUX_OLD): New.
6947 (st_atime): Remove duplicate.
6948 (st_mtime): Likewise.
6949 (st_ctime): Likewise.
6950
1c2cfe81
DM
69512012-05-31 David S. Miller <davem@davemloft.net>
6952
6953 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6954 entries.
6955
5be8418c
AS
69562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6957
e7725326
AS
6958 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6959 gen-libm-test.pl.
6960
5be8418c
AS
6961 [BZ #14132]
6962 * elf/dl-reloc.c: Include <_itoa.h>.
6963 (_dl_reloc_bad_type): Remove use of INTUSE.
6964 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6965 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6966 * stdio-common/psiginfo.c (psiginfo): Likewise.
6967 * stdio-common/psignal.c (psignal): Likewise.
6968 * string/strsignal.c (strsignal): Likewise.
6969 * include/signal.h (_sys_siglist): Declare hidden proto.
6970 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6971 INTVARDEF with libc_hidden_data_def.
6972 * stdio-common/itoa-udigits.c: Likewise.
6973 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6974 (_itoa_lower_digits_internal): Remove declaration.
6975 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6976 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6977 (_sys_sigabbrev_internal): Remove aliases.
6978 (_sys_siglist): Define hidden alias.
6979
507352f1
MT
69802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6981
6982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6983 bits/sysctl.h.
6984
42bbb1c3
L
69852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6986
6987 [BZ #14117]
6bd784b6
L
6988 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6989 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6990
8bca20f0
L
6991 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6992 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6993 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6994 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6995 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6996 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6997
f9e890a9
L
6998 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6999 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7000 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7001
471101a1
L
7002 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7003 with __addr.
7004 (insw): Likewise.
7005 (insl): Likewise.
7006 (outsb): Likewise.
7007 (outsw): Likewise.
7008 (outsl): Likewise.
7009
6451c862
L
7010 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7011 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7012 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7013
a254b8c9
L
7014 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7015 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7017 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7018 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7019 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7020
b8dfdd92
L
7021 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7022 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7023
578cd270
L
7024 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7025 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7026
de662f5f
L
7027 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7029 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7030
25653439
L
7031 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7032 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7033 to ...
7034 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7035
6bad24a0
L
7036 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7037 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7038 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7039
42bbb1c3
L
7040 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7041 for x86-64.
7042 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7043
2d10d547
JM
70442012-05-31 Joseph Myers <joseph@codesourcery.com>
7045
7046 * math/math.h (M_El): Use two more decimal places.
7047 (M_LOG2El): Likewise.
7048 (M_LOG10El): Likewise.
7049 (M_LN2l): Likewise.
7050 (M_LN10l): Likewise.
7051 (M_PIl): Likewise.
7052 (M_PI_2l): Likewise.
7053 (M_PI_4l): Likewise.
7054 (M_1_PIl): Likewise.
7055 (M_2_PIl): Likewise.
7056 (M_2_SQRTPIl): Likewise.
7057 (M_SQRT2l): Likewise.
7058 (M_SQRT1_2l): Likewise.
7059
f230c29b
DM
70602012-05-31 David S. Miller <davem@davemloft.net>
7061
7062 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7063 values between float registers.
7064 * sysdeps/sparc/sparc64/memset.S: Likewise.
7065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7066
fed806c3
MF
70672012-05-31 Mike Frysinger <vapier@gentoo.org>
7068
7069 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7070 -D_FORTIFY_SOURCE=1.
7071 (CPPFLAGS-tst-longjmp_chk.c): Define.
7072 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7073 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7074 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7075 CFLAGS-tst-wchar-h.c.
7076
30917259
MP
70772012-05-31 Marek Polacek <polacek@redhat.com>
7078
7079 [BZ #14132]
7080 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7081 __endmntent_internal): Remove declaration.
7082 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7083 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7084 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7085
1c58d5dc
DM
70862012-05-30 David S. Miller <davem@davemloft.net>
7087
7088 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7089 (___Q_simulate_exceptions): Use real FP ops rather than writing
7090 into the %fsr.
7091 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7092 Likewise.
7093
7dc00e0d
L
70942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7095
7096 [BZ #14117]
0bd53985
L
7097 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7098 * sysdeps/x86/bits/xtitypes.h: This.
7099
3a257e66
L
7100 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7101 * sysdeps/x86/bits/wordsize.h: This.
7102
62f62904
L
7103 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7104 * sysdeps/x86/bits/huge_vall.h: This.
7105
404fe9d9
L
7106 * sysdeps/i386/bits/select.h: Removed.
7107 * sysdeps/x86_64/bits/select.h: Renamed to ...
7108 * sysdeps/x86/bits/select.h: This.
7109
d48d0446
L
7110 * sysdeps/i386/bits/setjmp.h: Removed.
7111 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7112 * sysdeps/x86/bits/setjmp.h: This.
7113
7dc00e0d
L
7114 * sysdeps/i386/bits/mathdef.h: Removed.
7115 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7116 * sysdeps/x86/bits/mathdef.h: This.
7117
03277f8f
AS
71182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7119
7120 [BZ #14132]
7121 * include/sys/socket.h (__connect_internal)
7122 (__libc_sa_len_internal): Remove declaration.
7123 (__connect, __libc_sa_len): Declare hidden_proto.
7124 (SA_LEN): Remove use of INTUSE.
7125 * socket/connect.c: Add libc_hidden_def.
7126 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7127 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7128 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7129 alias.
7130 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7131 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7132 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7133 of adding _internal alias.
7134
13764867
L
71352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7136
7137 [BZ #14117]
6bd97696
L
7138 * sysdeps/i386/bits/link.h: Removed.
7139 * sysdeps/i386/bits/linkmap.h: Likewise.
7140 * sysdeps/x86_64/bits/link.h: Renamed to ...
7141 * sysdeps/x86/bits/link.h: This.
7142 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7143 * sysdeps/x86/bits/linkmap.h: This.
7144
f726f0bb
L
7145 * sysdeps/i386/bits/endian.h: Removed.
7146 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7147 * sysdeps/x86/bits/endian.h: This.
7148
13764867
L
7149 * sysdeps/i386/bits/byteswap.h: Removed.
7150 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7151 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7152 * sysdeps/x86/bits/byteswap.h: This.
7153 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7154 * sysdeps/x86/bits/byteswap-16.h: This.
7155 * sysdeps/i386/Implies: Add x86.
7156 * sysdeps/x86_64/Implies: Likewise.
7157
ae251b0b
DM
71582012-05-30 David S. Miller <davem@davemloft.net>
7159
7160 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7161 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7162 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7163 (FP_TRAPPING_EXCEPTIONS): Define.
7164 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7165 (FP_TRAPPING_EXCEPTIONS): Define.
7166 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7167 subnormals only when inexact has been signalled or underflow
7168 exceptions are enabled.
7169 (_FP_PACK_CANONICAL): Likewise.
7170
d5c90867
L
71712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7172
7173 [BZ #14183]
7174 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7175 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7176
63f1549e
RH
71772012-05-30 Richard Henderson <rth@twiddle.net>
7178
8d8f2279
RH
7179 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7180 with #ifndef NOT_IN_libc.
7181
63f1549e
RH
7182 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7183 marked to avoid plt entry.
7184
0ab0291b
L
71852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7186
7187 [BZ #14112]
7188 * Makeconfig (default-abi): New macro.
7189 (abi-includes): Likewise.
7190 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7191 $(abi-$(default-abi)-lib-soname) for soname if defined.
7192 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7193 abi-variants.
7194 * Makefile (installed-stubs): Likewise.
7195 * include/stubs-biarch.h: Removed.
7196 * scripts/lib-names.awk: Only handle one library at a time.
7197 * scripts/soversions.awk: Remove WORDSIZE support.
7198 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7199 entries.
7200 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7201 Removed.
7202 (syscall-list-default-condition): Likewise.
7203 (syscall-list-default-condition): Likewise.
7204 (syscall-list-includes): Likewise.
7205 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7206 syscall-list-* with abi-*. Handle undefined abi-variants.
7207 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7208 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7209 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7210 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7211 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7212 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7213 Removed.
7214 (syscall-list-32-options): Likewise.
7215 (syscall-list-32-condition): Likewise.
7216 (syscall-list-64-options): Likewise.
7217 (syscall-list-64-condition): Likewise.
7218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7219 macro.
7220 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7221 Renamed to ...
7222 (abi-*): This.
7223 (abi-64-ld-soname): New macro.
7224 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7225 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7226 Renamed to ...
7227 (abi-*): This.
7228 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7229 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7230
4da0431d
JM
72312012-05-30 Joseph Myers <joseph@codesourcery.com>
7232
3a85279c
JM
7233 * sysdeps/unix/sysv/linux/kernel-features.h
7234 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7235 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7236 include <kernel-features.h>.
7237 [!__NR_ftruncate64]: Remove conditional code.
7238 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7239 [__NR_ftruncate64]: Make code unconditional.
7240 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7241 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7242 include <kernel-features.h>.
7243 [!__NR_ftruncate64]: Remove conditional code.
7244 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7245 [__NR_ftruncate64]: Make code unconditional.
7246 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7248 include <kernel-features.h>.
7249 [!__NR_ftruncate64]: Remove conditional code.
7250 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7251 [__NR_ftruncate64]: Make code unconditional.
7252 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7254 include <kernel-features.h>.
7255 [!__NR_ftruncate64]: Remove conditional code.
7256 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7257 [__NR_ftruncate64]: Make code unconditional.
7258 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7259
4da0431d
JM
7260 * configure.in (libc_cv_fpie): Weaken to a compile test using
7261 LIBC_TRY_CC_OPTION.
7262 * configure: Regenerated.
7263
11ef492c
AK
72642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7265
7266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7270 Refreshed.
7271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7277 Refreshed.
7278
d66ef399
DM
72792012-05-27 David S. Miller <davem@davemloft.net>
7280
7281 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7282 (___Q_zero): New.
7283 (__Q_simulate_exceptions): Return void. Change to simulate
7284 exceptions by writing into the %fsr.
7285 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7286 (__Qp_handle_exceptions): Likewise.
7287 (numbers): Delete.
7288 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7289 __Qp_handle_exceptions.
7290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7291 __Qp_handle_exceptions.
7292 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7293 as unused and give dummy FP_RND_NEAREST initializer.
7294 (FP_INHIBIT_RESULTS): Define.
7295 (___Q_simulate_exceptions): Update declaration.
7296 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7297 formatting.
7298 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7299 as unused and give dummy FP_RND_NEAREST initializer.
7300 (__Qp_handle_exceptions): Update declaration.
7301 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7302 formatting.
7303
04fb54b5
TS
73042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7305
7306 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7307 the temporary FPU control word.
7308 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7309 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7310 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7311 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7312 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7313 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7314 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7315 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7316 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7317 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7318 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7319
3f99608f
KK
73202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7321
7322 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7323 fields.
7324
65a4de4e
CLT
73252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7326
7327 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7328 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7329 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7330 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7331 Likewise.
7332 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7333 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7334 Likewise.
7335
15749d40
UD
73362012-05-27 Ulrich Drepper <drepper@gmail.com>
7337
7338 * po/h.po: Update from translation team.
7339
25dbcb27
AS
73402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7341
3d3f8e55
AS
7342 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7343
25dbcb27
AS
7344 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7345 handling of denormals.
7346 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7347 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7348 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7349 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7353 Likewise.
7354
7ad47a80 73552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7356
7357 [BZ #14152]
7358 * math/libm-test.inc (fma_test): Don't always expect underflow
7359 exception.
7360
9c6ea9fa
SP
73612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7362
7363 [BZ #12416]
7364 * elf/tst-execstack.c: Include stackinfo.h.
7365 (do_test): Adjust test case to ensure that pthread_getattr_np
7366 behaviour remains the same after marking stack executable.
7367
a8239222
JM
73682012-05-25 Joseph Myers <joseph@codesourcery.com>
7369
7370 * sysdeps/unix/sysv/linux/kernel-features.h
7371 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7372 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7373 kernel-features.h.
7374 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7375 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7376 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7377 kernel-features.h.
7378 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7379 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7380
918b5606
L
73812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7382
7383 * configure.in: Define the default includes to being none.
7384 * configure: Regenerated.
7385
3a097cc7
RM
73862012-05-25 Roland McGrath <roland@hack.frob.com>
7387
8422c9a5
RM
7388 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7389 * sysdeps/x86_64/setjmp.S: Likewise.
7390 * sysdeps/i386/bsd-setjmp.S: Likewise.
7391 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7392 * sysdeps/i386/setjmp.S: Likewise.
7393 * sysdeps/i386/__longjmp.S: Likewise.
7394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7395 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7396
3a097cc7
RM
7397 * include/stap-probe.h: New file.
7398 * configure.in: Handle --enable-systemtap.
7399 * configure: Regenerated.
7400 * config.h.in (USE_STAP_PROBE): New #undef.
7401 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7402 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7403 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7404
21708942
JM
74052012-05-25 Joseph Myers <joseph@codesourcery.com>
7406
7407 [BZ #13717]
7408 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7409 to 2.4.0 where earlier.
7410 * sysdeps/unix/sysv/linux/configure: Regenerated.
7411 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7412 <kernel-features.h>.
7413 [__ASSUME_32BITUIDS]: Make code unconditional.
7414 [!__ASSUME_32BITUIDS]: Remove conditional code.
7415 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7416 <kernel-features.h>.
7417 [__ASSUME_32BITUIDS]: Make code unconditional.
7418 [!__ASSUME_32BITUIDS]: Remove conditional code.
7419 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7420 [__ASSUME_32BITUIDS]: Make code unconditional.
7421 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7422 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7423 <kernel-features.h>.
7424 [__ASSUME_32BITUIDS]: Make code unconditional.
7425 [!__ASSUME_32BITUIDS]: Remove conditional code.
7426 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7427 <kernel-features.h>.
7428 [__ASSUME_32BITUIDS]: Make code unconditional.
7429 [!__ASSUME_32BITUIDS]: Remove conditional code.
7430 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7431 <kernel-features.h>.
7432 [__ASSUME_32BITUIDS]: Make code unconditional.
7433 [!__ASSUME_32BITUIDS]: Remove conditional code.
7434 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7435 <kernel-features.h>.
7436 [__ASSUME_32BITUIDS]: Make code unconditional.
7437 [!__ASSUME_32BITUIDS]: Remove conditional code.
7438 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7439 <kernel-features.h>.
7440 [__ASSUME_32BITUIDS]: Make code unconditional.
7441 [!__ASSUME_32BITUIDS]: Remove conditional code.
7442 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7443 <kernel-features.h>.
7444 [__ASSUME_32BITUIDS]: Make code unconditional.
7445 [!__ASSUME_32BITUIDS]: Remove conditional code.
7446 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7447 <kernel-features.h>.
7448 [__ASSUME_32BITUIDS]: Make code unconditional.
7449 [!__ASSUME_32BITUIDS]: Remove conditional code.
7450 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7451 <kernel-features.h>.
7452 [__ASSUME_32BITUIDS]: Make code unconditional.
7453 [!__ASSUME_32BITUIDS]: Remove conditional code.
7454 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
7463 <kernel-features.h>.
7464 [__NR_setresgid] (__setresgid): Do not declare.
7465 [__ASSUME_32BITUIDS]: Make code unconditional.
7466 [!__ASSUME_32BITUIDS]: Remove conditional code.
7467 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7468 <kernel-features.h>.
7469 [__NR_setresuid] (__setresuid): Do not declare.
7470 [__ASSUME_32BITUIDS]: Make code unconditional.
7471 [!__ASSUME_32BITUIDS]: Remove conditional code.
7472 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7473 <kernel-features.h>.
7474 [__ASSUME_32BITUIDS]: Make code unconditional.
7475 [!__ASSUME_32BITUIDS]: Remove conditional code.
7476 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7477 <kernel-features.h>.
7478 [__ASSUME_32BITUIDS]: Make code unconditional.
7479 [!__ASSUME_32BITUIDS]: Remove conditional code.
7480 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7481 <kernel-features.h>.
7482 [__ASSUME_32BITUIDS]: Make code unconditional.
7483 [!__ASSUME_32BITUIDS]: Remove conditional code.
7484 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7485 <kernel-features.h>.
7486 [__ASSUME_32BITUIDS]: Make code unconditional.
7487 [!__ASSUME_32BITUIDS]: Remove conditional code.
7488 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7489 <kernel-features.h>.
7490 [__ASSUME_32BITUIDS]: Make code unconditional.
7491 [!__ASSUME_32BITUIDS]: Remove conditional code.
7492 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7493 <kernel-features.h>.
7494 [__ASSUME_32BITUIDS]: Make code unconditional.
7495 [!__ASSUME_32BITUIDS]: Remove conditional code.
7496 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7497 <kernel-features.h>.
7498 [__ASSUME_32BITUIDS]: Make code unconditional.
7499 [!__ASSUME_32BITUIDS]: Remove conditional code.
7500 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7501 <kernel-features.h>.
7502 [__ASSUME_32BITUIDS]: Make code unconditional.
7503 [!__ASSUME_32BITUIDS]: Remove conditional code.
7504 * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
7513 (__ASSUME_SETRESUID_SYSCALL): Remove.
7514 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7515 (__ASSUME_32BITUIDS): Likewise.
7516 (__ASSUME_LDT_WORKS): Likewise.
7517 (__ASSUME_O_DIRECTORY): Likewise.
7518 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7519 architecture but not kernel version.
7520 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7521 (__ASSUME_MMAP2_SYSCALL): Likewise.
7522 (__ASSUME_STAT64_SYSCALL): Likewise.
7523 (__ASSUME_IPC64): Likewise.
7524 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7525 <kernel-features.h>.
7526 [__ASSUME_32BITUIDS]: Make code unconditional.
7527 [!__ASSUME_32BITUIDS]: Remove conditional code.
7528 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7529 <kernel-features.h>.
7530 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7531 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7532 132096]: Remove conditional code.
7533 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7534 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7535 <kernel-features.h>.
7536 [__ASSUME_32BITUIDS]: Make code unconditional.
7537 [!__ASSUME_32BITUIDS]: Remove conditional code.
7538 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7539 <kernel-features.h>.
7540 [__ASSUME_32BITUIDS]: Make code unconditional.
7541 [!__ASSUME_32BITUIDS]: Remove conditional code.
7542 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7543 <kernel-features.h>.
7544 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7545 unconditional.
7546 (__setresgid): Do not declare.
7547 [__ASSUME_32BITUIDS]: Make code unconditional.
7548 [!__ASSUME_32BITUIDS]: Remove conditional code.
7549 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7550 <kernel-features.h>.
7551 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7552 unconditional.
7553 (__setresuid): Do not declare.
7554 [__ASSUME_32BITUIDS]: Make code unconditional.
7555 [!__ASSUME_32BITUIDS]: Remove conditional code.
7556 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7557 <kernel-features.h>.
7558 [__ASSUME_32BITUIDS]: Make code unconditional.
7559 [!__ASSUME_32BITUIDS]: Remove conditional code.
7560 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7561 <kernel-features.h>.
7562 [__ASSUME_32BITUIDS]: Make code unconditional.
7563 [!__ASSUME_32BITUIDS]: Remove conditional code.
7564
a386f1cc
RH
75652012-05-25 Richard Henderson <rth@twiddle.net>
7566
7567 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7568 dl_hwcap to ifunc resolver.
7569 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7570 elf_ifunc_invoke.
7571 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7572 dl_hwcap to ifunc resolver.
7573 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7574
b6550497
JM
75752012-05-24 Joseph Myers <joseph@codesourcery.com>
7576
7577 [BZ #14153]
7578 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7579 for |x| <= 2**-26, not 2**-57.
7580 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7581 exception.
7582
b0bc23a1
JL
75832012-05-24 Jeff Law <law@redhat.com>
7584
7585 * stdio-common/Makefile (tests): Add bug25.
7586 * stdio-common/bug25.c: New test.
7587
347c92e9
L
75882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7589
7590 [BZ #13576]
7591 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7592 multiple of MALLOC_ALIGNMENT in size.
7593 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7594
6bcc8b3f
JM
75952012-05-24 Joseph Myers <joseph@codesourcery.com>
7596
7597 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7598 Require >= 256.
7599 (FILENAME_MAX): Use macro-int-constant.
7600 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7601 (_IOFBF): Use macro-int-constant.
7602 (_IOLBF): Likewise.
7603 (_IONBF): Likewise.
7604 (SEEK_CUR): Likewise.
7605 (SEEK_END): Likewise.
7606 (SEEK_SET): Likewise.
7607 (TMP_MAX): Likewise.
7608 (EOF): Use macro-int-constant. Require < 0.
7609 (NULL): Use macro-constant. Require == 0.
7610 (stdin): Require type to be FILE *.
7611 (stdout): Likewise.
7612 (stderr): Likewise.
7613 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7614 macro-int-constant.
7615 (EXIT_SUCCESS): Likewise.
7616 (NULL): Use macro-constant. Require == 0.
7617 (RAND_MAX): Use macro-int-constant.
7618 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7619 [C99-based standards] (strtof): Require function.
7620 [C99-based standards] (strtold): Likewise.
7621 [C99-based standards] (strtoll): Likewise.
7622 [C99-based standards] (strtoull): Likewise.
7623 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7624 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7625 [ISO || ISO99 || ISO11] (math.h): Likewise.
7626 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7627 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7629
d18ea0c5
AS
76302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7631
7632 [BZ #14132]
56d25bb8
AS
7633 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7634 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7635 * intl/dgettext.c (DCGETTEXT): Likewise.
7636 * intl/gettext.c (DCGETTEXT): Likewise.
7637 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7638 * posix/regex_internal.h (gettext): Likewise.
7639 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7640 Remove declaration.
7641 * include/argz.h (__argz_count_internal)
7642 (__argz_stringify_internal): Remove declaration.
7643 (__argz_count, __argz_stringify): Declare hidden proto.
7644 * intl/dcgettext.c: Remove use of INTDEF.
7645 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7646 * string/argz-stringify.c: Likewise.
7647 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7648 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7649 Declare hidden proto.
d18ea0c5
AS
7650 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7651 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7652 Declare hidden proto.
7653 * include/stdio.h (__asprintf_internal): Don't declare.
7654 (__asprintf): Don't define as macro. Declare hidden proto.
7655 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7656 (__fsetlocking): Declare hidden proto.
7657 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7658 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7659 hidden proto.
7660 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7661 (_IO_setlinebuf): Remove use of INTUSE.
7662 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7663 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7664 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7665 Remove declaration.
7666 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7667 (_IO_do_flush): Remove use of INTUSE.
7668 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7669 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7670 (_IO_adjust_column, _IO_least_wmarker)
7671 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7672 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7673 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7674 (_IO_default_doallocate, _IO_wdefault_doallocate)
7675 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7676 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7677 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7678 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7679 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7680 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7681 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7682 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7683 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7684 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7685 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7686 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7687 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7688 proto.
7689 (_IO_flush_all_internal, _IO_adjust_column_internal)
7690 (_IO_default_uflow_internal, _IO_default_finish_internal)
7691 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7692 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7693 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7694 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7695 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7696 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7697 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7698 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7699 (_IO_file_close_internal, _IO_file_close_it_internal)
7700 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7701 (_IO_file_init_internal, _IO_file_attach_internal)
7702 (_IO_file_fopen_internal, _IO_file_read_internal)
7703 (_IO_file_sync_internal, _IO_file_seek_internal)
7704 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7705 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7706 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7707 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7708 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7709 (_IO_list_all_internal, _IO_link_in_internal)
7710 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7711 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7712 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7713 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7714 (_IO_do_write_internal, _IO_padn_internal)
7715 (_IO_getline_info_internal, _IO_getline_internal)
7716 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7717 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7718 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7719 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7720 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7721 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7722 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7723 with libc_hidden_ver, remove use of INTUSE.
7724 * libio/genops.c: Likewise.
7725 * libio/freopen.c: Likewise.
7726 * libio/freopen64.c: Likewise.
7727 * libio/iofclose.c: Likewise.
7728 * libio/iofdopen.c: Likewise.
7729 * libio/iofflush.c: Likewise.
7730 * libio/iofflush_u.c: Likewise.
7731 * libio/iofgets.c: Likewise.
7732 * libio/iofgets_u.c: Likewise.
7733 * libio/iofopen.c: Likewise.
7734 * libio/iofopncook.c: Likewise.
7735 * libio/iofread.c: Likewise.
7736 * libio/iofread_u.c: Likewise.
7737 * libio/ioftell.c: Likewise.
7738 * libio/iofwrite.c: Likewise.
7739 * libio/iogetline.c: Likewise.
7740 * libio/iogets.c: Likewise.
7741 * libio/iogetwline.c: Likewise.
7742 * libio/iopadn.c: Likewise.
7743 * libio/iopopen.c: Likewise.
7744 * libio/ioseekoff.c: Likewise.
7745 * libio/ioseekpos.c: Likewise.
7746 * libio/iosetbuffer.c: Likewise.
7747 * libio/iosetvbuf.c: Likewise.
7748 * libio/ioungetc.c: Likewise.
7749 * libio/ioungetwc.c: Likewise.
7750 * libio/iovdprintf.c: Likewise.
7751 * libio/iovsprintf.c: Likewise.
7752 * libio/iovsscanf.c: Likewise.
7753 * libio/memstream.c: Likewise.
7754 * libio/obprintf.c: Likewise.
7755 * libio/oldfileops.c: Likewise.
7756 * libio/oldiofclose.c: Likewise.
7757 * libio/oldiofdopen.c: Likewise.
7758 * libio/oldiofopen.c: Likewise.
7759 * libio/oldiopopen.c: Likewise.
7760 * libio/oldstdfiles.c: Likewise.
7761 * libio/putc.c: Likewise.
7762 * libio/setbuf.c: Likewise.
7763 * libio/setlinebuf.c: Likewise.
7764 * libio/stdfiles.c: Likewise.
7765 * libio/strops.c: Likewise.
7766 * libio/vasprintf.c: Likewise.
7767 * libio/vscanf.c: Likewise.
7768 * libio/vsnprintf.c: Likewise.
7769 * libio/vswprintf.c: Likewise.
7770 * libio/wfiledoalloc.c: Likewise.
7771 * libio/wfileops.c: Likewise.
7772 * libio/wgenops.c: Likewise.
7773 * libio/wmemstream.c: Likewise.
7774 * libio/wstrops.c: Likewise.
7775 * libio/__fpurge.c: Likewise.
7776 * libio/__fsetlocking.c: Likewise.
7777 * assert/assert.c: Likewise.
7778 * debug/fgets_chk.c: Likewise.
7779 * debug/fgets_u_chk.c: Likewise.
7780 * debug/fread_chk.c: Likewise.
7781 * debug/fread_u_chk.c: Likewise.
7782 * debug/gets_chk.c: Likewise.
7783 * debug/obprintf_chk.c: Likewise.
7784 * debug/vasprintf_chk.c: Likewise.
7785 * debug/vdprintf_chk.c: Likewise.
7786 * debug/vsnprintf_chk.c: Likewise.
7787 * debug/vsprintf_chk.c: Likewise.
7788 * malloc/mtrace.c: Likewise.
7789 * misc/error.c: Likewise.
7790 * misc/syslog.c: Likewise.
7791 * stdio-common/asprintf.c: Likewise.
7792 * stdio-common/fxprintf.c: Likewise.
7793 * stdio-common/getw.c: Likewise.
7794 * stdio-common/isoc99_fscanf.c: Likewise.
7795 * stdio-common/isoc99_scanf.c: Likewise.
7796 * stdio-common/isoc99_vfscanf.c: Likewise.
7797 * stdio-common/isoc99_vscanf.c: Likewise.
7798 * stdio-common/isoc99_vsscanf.c: Likewise.
7799 * stdio-common/printf-prs.c: Likewise.
7800 * stdio-common/printf_fp.c: Likewise.
7801 * stdio-common/printf_fphex.c: Likewise.
7802 * stdio-common/printf_size.c: Likewise.
7803 * stdio-common/putw.c: Likewise.
7804 * stdio-common/scanf.c: Likewise.
7805 * stdio-common/sprintf.c: Likewise.
7806 * stdio-common/tmpfile.c: Likewise.
7807 * stdio-common/vfprintf.c: Likewise.
7808 * stdio-common/vfscanf.c: Likewise.
7809 * stdlib/strfmon_l.c: Likewise.
7810 * sunrpc/openchild.c: Likewise.
7811 * sunrpc/xdr_stdio.c: Likewise.
7812 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7813 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7814
d6c33fda
RM
78152012-05-24 Roland McGrath <roland@hack.frob.com>
7816
c1487492
RM
7817 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7818
7819 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7820 in the third column, to generate for the shared library an IFUNC
7821 that uses _dl_vdso_vsym.
7822 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7823 * Makeconfig (object-suffixes-noshared): New variable.
7824
7825 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7826 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7827 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7828 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7829
d6c33fda
RM
7830 [BZ #14132]
7831 * include/sys/time.h (__gettimeofday): Remove macro.
7832 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7833 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7834 Remove INTDEF.
7835 (__gettimeofday): Add libc_hidden_def.
7836 (gettimeofday): Add libc_hidden_weak.
7837 * sysdeps/mach/gettimeofday.c: Likewise.
7838 * sysdeps/posix/gettimeofday.c: Likewise.
7839 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7840 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7841 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7842 (__gettimeofday_internal): Remove strong_alias.
7843 (__gettimeofday): Add libc_hidden_def.
7844 (gettimeofday): Add libc_hidden_weak.
7845 * sysdeps/unix/syscalls.list (gettimeofday):
7846 Remove __gettimeofday_internal alias.
7847
b5a2bbe6
L
78482012-05-24 Daniel Jacobowitz <drow@false.org>
7849 H.J. Lu <hongjiu.lu@intel.com>
7850
7851 [BZ #12495]
7852 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7853 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7854 (largebin_index_32_big): New.
7855 (largebin_index): Use it for 16-byte alignment.
7856 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7857 correction with front_misalign.
7858
cfba4fda
L
78592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7860
7f907421
L
7861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7863 Likewise.
7864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7865 Likewise.
7866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7867 Likewise.
7868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7869 Likewise.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7871 Likewise.
7872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7873 Likewise.
7874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7875 Likewise.
7876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7877 Likewise.
7878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7879 Likewise.
7880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7881 Likewise.
7882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7883 Likewise.
7884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7885 Likewise.
7886
cfba4fda
L
7887 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7888 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7889
80bad0cc
JM
78902012-05-24 Joseph Myers <joseph@codesourcery.com>
7891
7a25eb06
JM
7892 [BZ #10846]
7893 [BZ #14036]
7894 * math/libm-test.inc (exp_test): Add test from bug 14036.
7895 (pow_test): Add test from bug 10846.
7896
795405f9
JM
7897 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7898 and other flags.
7899 (special_function): Do not include flags in test name.
7900 (parse_args): Likewise.
7901 * sysdeps/i386/fpu/libm-test-ulps: Update.
7902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7903 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7904 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7906
80bad0cc
JM
7907 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7908 exceptions.
7909 * math/libm-test.inc ("Philosophy"): Update comment about
7910 exception testing.
7911 (UNDERFLOW_EXCEPTION): New macro.
7912 (UNDERFLOW_EXCEPTION_OK): Likewise.
7913 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7914 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7915 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7916 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7917 (INVALID_EXCEPTION_OK): Update value.
7918 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7919 (OVERFLOW_EXCEPTION_OK): Likewise.
7920 (IGNORE_ZERO_INF_SIGN): Likewise.
7921 (test_exceptions): Handle underflow exceptions.
7922 (acos_test): Update for underflow exception expectations.
7923 (cexp_test): Likewise.
7924 (clog_test): Likewise.
7925 (clog10_test): Likewise.
7926 (csqrt_test): Likewise.
7927 (ctan_test): Likewise.
7928 (ctanh_test): Likewise.
7929 (exp_test): Likewise.
7930 (exp10_test): Likewise.
7931 (exp2_test): Likewise.
7932 (expm1_test): Likewise.
7933 (fma_test): Likewise.
7934 (j0_test): Likewise.
7935 (jn_test): Likewise.
7936 (nexttoward_test): Likewise.
7937 (pow_test): Likewise.
7938 (scalbn_test): Likewise.
7939 (scalbln_test): Likewise.
7940 (tan_test): Likewise.
7941 (y1_test): Likewise.
7942 * sysdeps/i386/fpu/libm-test-ulps: Update.
7943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7944
9e0e3d0b
DM
79452012-05-23 David S. Miller <davem@davemloft.net>
7946
7947 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7948 (__libc_sigaction): Remove unused local variables.
7949
ccd0a08f
L
79502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7951
7952 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7953
62bdf9a6
PE
79542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7955
f8591f80
PE
7956 mktime: avoid signed integer overflow
7957 * time/mktime.c (__mktime_internal): Do not mishandle the case
7958 where diff == INT_MIN.
7959
94c7d826
PE
7960 mktime: simplify computation of average
7961 * time/mktime.c (ranged_convert): Use new time_t_avg function
7962 instead of rolling our own (probably-slower) code.
7963
ce73d683
PE
7964 mktime: do not assume signed right shift propagates sign bit
7965 * time/mktime.c (isdst_differ): New static function.
7966 (__mktime_internal): No need to normalize tm_isdst now.
7967 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7968 tm_isdst values.
7969
72a22e59
PE
7970 mktime: merge another wrapv change from gnulib
7971 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7972 from some compilers.
7973
68605433
PE
7974 mktime: remove incorrect attempt at unusual arithmetics
7975 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7976 The code didn't really work on such machines anyway.
7977 (TYPE_MINIMUM): Assume two's complement.
7978 (twos_complement_arithmetic): Verify that long_int and time_t
7979 are two's complement (or unsigned, in the latter case).
7980
03cf7fe3
PE
7981 mktime: check signed shifts on long_int and time_t, too
7982 * time/mktime.c (SHR): Check that shifts work as desired
7983 on the types long_int and time_t too, as SHR is used on
7984 such types.
7985
f04dfbc2
PE
7986 mktime: do not assume 'long' is wide enough
7987 * time/mktime.c (verify): Move decl up.
7988 (long_int): New type.
7989 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7990 to remove assumption in the code that 'long' is wide enough to
7991 store year values. This assumption is not true on x32 and on
7992 some non-glibc platforms.
7993
62bdf9a6
PE
7994 mktime: merge wrapv change from gnulib
7995 * time/mktime.c (WRAPV): New macro.
7996 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7997 (guess_time_tm, __mktime_internal): Do not assume that signed
7998 integer overflow wraps around; modern compilers generate code
7999 where this assumption is no longer valid.
8000
5e292e4f
L
80012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8002
8003 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8004 Replace "jmp L(pseudo_end)" with "ret".
8005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8006 Likewise.
8007
8caf8c87
AJ
80082012-05-23 Andreas Jaeger <aj@suse.de>
8009
8010 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8011 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8012
1a09dc56
AJ
80132012-05-23 Andreas Jaeger <aj@suse.de>
8014 Maximilian Attems <max@stro.at>
8015
8016 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8017 New macros.
8018
1c87aba0
L
80192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8022 code so that pseudo_end is just ret and the stack pointer is
8023 correct also for static library in error case.
8024
40e45bd5
JM
80252012-05-23 Joseph Myers <joseph@codesourcery.com>
8026
c2670533
JM
8027 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8028 move to syscalls.list.
8029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8033
40e45bd5
JM
8034 * manual/install.texi (Running make install): Do not mention Linux
8035 kernel version for which pt_chown is not needed.
8036 (Linux): Do not mention problems with nscd with 2.0 kernels.
8037 * INSTALL: Regenerated.
8038
be08eda5
AJ
80392012-05-23 Andreas Jaeger <aj@suse.de>
8040
8041 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8042 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8043 macro.
8044 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8045 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8046 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8048 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8049 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8050 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8051 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8053 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8054 * sysdeps/unix/sysv/linux/bits/in.h
8055 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8056
a6a056bb
RM
80572012-05-22 Roland McGrath <roland@hack.frob.com>
8058
8059 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8060 (PREPARE_VERSION): Just use assert instead, it will be elided
8061 under [NDEBUG] anyway.
8062
c9009328
L
80632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8064
8065 * sysdeps/unix/sysv/linux/Makefile: Include
8066 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8067 (sysdep_routines): Remove sysctl.
c9009328
L
8068 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8069 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8070 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8071 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8072 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8073
73338355
AJ
80742012-05-22 Andreas Jaeger <aj@suse.de>
8075
8076 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8077 that pseudo_end is just ret and the stack pointer is correct also
8078 for static library in error case.
8079
d44638b0
PP
80802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8081
8082 [BZ #14122]
8083 * nss/nsswitch.c (defconfig_entries): New variable.
8084 (__nss_database_lookup): Don't leak defconfig entries.
8085 (nss_parse_service_list): Don't leak on error paths.
8086 (free_database_entries): New function.
8087 (free_defconfig): New function.
8088 (free_mem): Move common code to free_database_entries.
8089
31a39bd8
L
80902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8091
da0331a8
L
8092 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8093 Add arch_prctl.
8094 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8095
31a39bd8
L
8096 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8097 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8099 New macro.
8100 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8101 (INTERNAL_SYSCALL_TYPES): Likewise.
8102 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8103 (LOAD_REGS_TYPES_[1-6]): Likewise.
8104 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8105 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8106
45470df3
AZ
81072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8108
8109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8110 copysignl for GLIBC_2_0.
8111 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8112 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8114 logbl for GLIBC_2_0.
8115 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8116 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8117
98a61bcb
L
81182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8119
a4f6e481
L
8120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8121 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8122
f63d5db6
L
8123 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8124 Use "neg %eax".
8125
98a61bcb
L
8126 * time/mktime.c: Update copyright years.
8127
95770f14
PE
81282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8129
6226efbd
PE
8130 mktime: merge comment-quoting-style change from gnulib
8131 * time/mktime.c: Quote 'like this' in comments.
8132 The GNU coding standards suggest that we no longer quote `like this',
8133 as "`" and "'" are typically rendered asymmetrically nowadays.
8134 The typical gnulib style is to quote 'like this' when quoting
8135 code, and "like this" when quoting English.
8136
b99e4f78
PE
8137 * time/mktime.c (compile-command): Add "-I.".
8138
643e01e6
PE
8139 mktime: merge mktime-internal.h change from gnulib
8140 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8141
2554247d
PE
8142 mktime: merge time_r change from gnulib
8143 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8144
826dd0ab
PE
8145 mktime: merge DEBUG change from gnulib
8146 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8147 case system <time.h> has a #define.
8148
bd83aabe
PE
8149 mktime: merge <sys/types.h> change from gnulib
8150 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8151 since <time.t> is now guaranteed to define time_t.
8152
95770f14
PE
8153 mktime: merge HAVE_CONFIG_H change from gnulib
8154 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8155
5e1a27a9
L
81562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8157
0e44a77e
L
8158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8159 Use "neg %eax".
8160
5e1a27a9
L
8161 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8162 __rlim_t cast.
8163 (struct rusage): Use anonymous union to pad each field to
8164 __syscall_slong_t.
8165
46259bec
DM
81662012-05-21 David S. Miller <davem@davemloft.net>
8167
8168 * Makefules (o-iterator): Remove .s cases.
8169 (compile-command.s): Delete.
8170 (COMPILE.s): Delete.
8171 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8172
59f0c22e
JM
81732012-05-21 Joseph Myers <joseph@codesourcery.com>
8174
8175 * configure.in (libc_cv_predef_stack_protector): Only consider
8176 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8177 * configure: Regenerated.
8178
20c07380
L
81792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8180
bbb3154b
L
8181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8182 New macro. Use R*LP on int and pointer.
8183 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8184 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8185 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8186 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8187
20c07380
L
8188 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8189 [__WORDSIZE_TIME64_COMPAT32] instead of
8190 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8191 (struct utmp): Likewise.
8192 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8193 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8194 Renamed to ...
8195 (__WORDSIZE_TIME64_COMPAT32): This.
8196 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8197 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8198 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8199 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8200 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8201 (__WORDSIZE_TIME64_COMPAT32): New macro.
8202
d8d1017e
AJ
82032012-05-21 Andreas Jaeger <aj@suse.de>
8204
8205 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8206 only if [SHARED]. Add prototype for __wcschr_ia32.
8207
6c7fb145
RM
82082012-05-21 Roland McGrath <roland@hack.frob.com>
8209
8210 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8211 of %rbp unmolested in the jmp_buf while mangling the low bits.
8212 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8213 unmolested high bits of %rbp while demangling the low bits.
8214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8215
66274218
AJ
82162012-05-21 Andreas Jaeger <aj@suse.de>
8217
07c58f8f
AJ
8218 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8219 * sunrpc/svc_simple.c: Use it for registerrpc.
8220 * sunrpc/xcrypt.c: Use it for passwd2des.
8221
66274218
AJ
8222 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8223
61f65140
L
82242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8225
8226 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8227 Don't define if [__SYSCALL_WORDSIZE != 32].
8228 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8229 New macro.
8230
5fefb436
AJ
82312012-05-21 Bruno Haible <bruno@clisp.org>
8232 Andreas Jaeger <aj@suse.de>
8233
8234 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8235 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8236 inptr and inend for must_buffer_ch.
8237 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8238 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8239 * stdio-common/Makefile (tests): Remove bug15.
8240 (bug15-ENV): Remove macro.
8241 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8242 anymore.
8243
d8e272ab
AJ
82442012-05-19 Andreas Jaeger <aj@suse.de>
8245 Roland McGrath <roland@hack.frob.com>
8246
8247 * manual/contrib.texi: Completely rewritten. It contains now an
8248 alphabetical list of contributors and their contributions.
8249
4a56a162
RH
82502012-05-21 Richard Henderson <rth@twiddle.net>
8251
8252 * misc/getauxval.c (__getauxval): Use unsigned long int.
8253 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8254 (getauxval): Use unsigned long int.
8255
d024d23c
L
82562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8257
8258 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8259
cbc00a03
RM
82602012-05-21 Roland McGrath <roland@hack.frob.com>
8261
8262 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8263 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8264 __alignof__ (long double).
8265
478143fa
AZ
82662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8267
8268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8269
c7683a6d
RH
82702012-05-20 Richard Henderson <rth@twiddle.net>
8271
8272 * misc/getauxval.c: New file.
8273 * misc/sys/auxv.h: New file.
8274 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8275 (routines): Add getauxval.
8276 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8277 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8278 * elf/dl-sysdep.c (_dl_auxv): Remove.
8279 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8280 * elf/dl-support.c (_dl_auxv): New variable.
8281 (_dl_aux_init): Initialize it.
8282 * manual/startup.texi (Auxiliary Vector): New node.
8283 * sysdeps/generic/bits/hwcap.h: New file.
8284 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8285 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8286 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8287 * sysdeps/sparc/sysdep.h: ... here. Include it.
8288 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8289 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8291 Update.
c7683a6d
RH
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8300
a6f1845d
AZ
83012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8302
8303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8304
cbcbe830
DM
83052012-05-19 David S. Miller <davem@davemloft.net>
8306
8307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8308
e0b16cc2
JM
83092012-05-19 Joseph Myers <joseph@codesourcery.com>
8310
8311 [BZ #14123]
8312 * math/s_ccosh.c: Include <float.h>
8313 (__ccosh): Avoid internal overflow calculating sinh and cosh
8314 values before multiplying by sin and cos values.
8315 * math/s_ccoshf.c: Likewise.
8316 * math/s_ccoshl.c: Likewise.
8317 * math/s_csin.c: Likewise.
8318 * math/s_csinf.c: Likewise.
8319 * math/s_csinl.c: Likewise.
8320 * math/s_csinh.c: Likewise.
8321 * math/s_csinhf.c: Likewise.
8322 * math/s_csinhl.c: Likewise.
8323 * math/libm-test.inc (ccos_test): Add more tests.
8324 (ccosh_test): Likewise.
8325 (csin_test): Likewise.
8326 (csinh_test): Likewise.
8327 * sysdeps/i386/fpu/libm-test-ulps: Update.
8328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8329
6ad13e08
L
83302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8331
f66f0ce8
L
8332 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8333 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8334
6ad13e08
L
8335 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8336
b1d072a7
JM
83372012-05-19 Joseph Myers <joseph@codesourcery.com>
8338
8339 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8340 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8341 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8342 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8343 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8344 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8345 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8346 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8347 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8348 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8349 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8350 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8351 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8352 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8353 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8354 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8355 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8356 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8357 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8358 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8359 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8360 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8361 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8362 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8363 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8364 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8365 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8366 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8367 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8368 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8369 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8370
9eae47cb
AJ
83712012-05-18 Andreas Jaeger <aj@suse.de>
8372
8373 * csu/.gitignore: Delete.
8374
bb07f69f
L
83752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8378 (timex): Use __syscall_slong_t.
8379
e6bdb741
AJ
83802012-05-18 Andreas Jaeger <aj@suse.de>
8381 Carlos O'Donell <carlos_odonell@mentor.com>
8382
8383 * manual/install.texi (Configuring and compiling): Update
8384 description about files modified in the source directory.
d6c33fda 8385 * INSTALL: Regenerated.
e6bdb741 8386
1b74487e
L
83872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8388
8389 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8390 value. Use "or" to set return value to -1.
8391 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8392 negate return value.
8393
a88b64b9
TMQMF
83942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8395
8396 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8397 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8398 failure if the compiler has Graphite support disabled.
8399 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8400 Likewise.
8401 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8402 CFLAGS-memmove.c): Likewise.
8403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8404 Likewise.
8405
3707636e
L
84062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8407
610b8622
L
8408 * sysdeps/x86_64/x32/_itoa.h: New file.
8409
7cd195df
L
8410 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8411 getdents system call only if kernel and user dirents have the
8412 same d_ino and d_off.
8413
94b07d20
L
8414 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8415 LLONG_MAX != LONG_MAX.
8416 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8417 (_fitoa_word): Likewise.
8418
18298070
L
8419 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8420 years.
8421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8422 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8423 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8424
553c7ea4
L
8425 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8426 include <bits/wordsize.h>. Check __x86_64__ instead of
8427 __WORDSIZE.
8428 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8429 if __x86_64__ is defined. Use anonymous union on fpstate.
8430
3707636e
L
8431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8432 anonymous union.
8433
b53ef01a
AS
84342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8435
37fb1dc0
AS
8436 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8437 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8438 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8439 Refer to _rtld_local_ro instead of _rtld_global_ro.
8440 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8441 Likewise.
8442 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8443 Likewise.
8444 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8445 Likewise.
8446 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8447 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8448 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8449
b53ef01a
AS
8450 * sysdeps/powerpc/powerpc32/dl-machine.c
8451 (__elf_machine_runtime_setup) [PROF]: Don't reference
8452 _dl_prof_resolve.
8453
7a185db2
AJ
84542012-05-18 Andreas Jaeger <aj@suse.de>
8455
8456 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8457 function only available for GCCs before 3.4 since GCC 3.4
8458 introduced a builtin.
8459 (lrint): Likewise.
8460 (llrintf): Likewise.
8461 (llrint): Likewise.
8462 (fmaxf): Likewise.
8463 (fmax): Likewise.
8464 (fminf): Likewise.
8465 (fmin): Likewise.
8466 (rint): Likewise.
8467 (rintf): Likewise.
8468 (nearbyint): Likewise.
8469 (nearbyintf): Likewise.
8470 (ceil): Likewise.
8471 (ceilf): Likewise.
8472 (floor): Likewise.
8473 (floorf): Likewise.
8474
3e5aef87
L
84752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8476
428bd707
L
8477 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8478 on both fields and cast pointer to __syscall_ulong_t.
8479
3e5aef87
L
8480 * bits/types.h (__fsword_t): New type.
8481 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8482 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8484 (__FSWORD_T_TYPE): Likewise.
8485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8486 (__FSWORD_T_TYPE): Likewise.
8487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8488 (__FSWORD_T_TYPE): Likewise.
8489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8490 (__FSWORD_T_TYPE): Likewise.
8491 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8492 __SWORD_TYPE with __fsword_t.
8493 (statfs64): Likewise.
8494
1ba7c3dc
DM
84952012-05-17 David S. Miller <davem@davemloft.net>
8496
8497 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8498
59910343
AJ
84992012-05-17 Andreas Jaeger <aj@suse.de>
8500
8501 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8502 warning.
8503
2e4c1e9e
L
85042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8505
8506 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8507
de7f5ce7
AJ
85082012-05-17 Andreas Jaeger <aj@suse.de>
8509
8510 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8511 when it is used.
8512
286abc3d
CM
85132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8514
8515 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8516
477cc68e
L
85172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8518
8519 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8520 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8521
1a0994f5
CD
85222012-05-17 Andreas Jaeger <aj@suse.de>
8523 Carlos O'Donell <carlos_odonell@mentor.com>
8524
8525 [BZ #14059]
8526 * sysdeps/x86_64/multiarch/init-arch.h
8527 (bit_YMM_Usable): Rename to...
8528 (bit_AVX_Usable): ... this.
8529 (bit_FMA4_Usable): New macro.
8530 (bit_XMM_state): New macro.
8531 (bit_YMM_state): New macro.
8532 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8533 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8534 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8535 (CPUID_OSXSAVE): New macro.
8536 (CPUID_AVX): New macro.
8537 (CPUID_FMA4): New macro.
8538 (index_YMM_Usable): Rename to...
8539 (index_AVX_Usable): ... this.
8540 (HAS_AVX): Use HAS_ARCH_FEATURE.
8541 (HAS_FMA4): Likewise.
8542 (HAS_YMM_USABLE): Remove.
8543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8544 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8545 are present.
8546 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8547 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8548 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8549 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8550 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8551
0af797de
CM
85522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8553
8554 * math/libm-test.c: Support platforms without multiple rounding modes.
8555 * math/bug-nextafter.c: Support platforms without FP exceptions.
8556 * math/bug-nexttoward.c: Likewise.
8557 * math/test-fenv.c: Likewise.
8558 * math/test-misc.c: Likewise.
8559 * stdlib/bug-getcontext.c: Likewise.
8560
e39745ff
AJ
85612012-05-17 Andreas Jaeger <aj@suse.de>
8562
8563 * manual/examples/search.c (critter_cmp): Change signature to
8564 avoid warnings.
8565 * manual/string.texi (Collation Functions): Likewise.
8566
48970aba
L
85672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8568
8569 * bits/types.h: Fold copyright years.
8570 * bits/typesizes.h: Likewise.
8571 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8575 * time/time.h: Likewise.
8576
bedee953
PP
85772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8578
8579 [BZ #208]
8580 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8581 in instead of returning them. Return void.
8582 (__libc_mallinfo): Accumulate over all arenas.
8583 (__malloc_stats): Adjust for change in int_mallinfo interface.
8584
61653dfb
RM
85852012-05-16 Roland McGrath <roland@hack.frob.com>
8586
30b99d79
RM
8587 [BZ #10375]
8588 * configure.in (NM): Add AC_CHECK_TOOL for it.
8589 (libc_extra_cflags): New substituted variable.
8590 Check for -fstack-protector being used implicitly.
8591 * configure: Regenerated.
8592 * config.make.in (config-extra-cflags): New variable,
8593 gets @libc_extra_cflags@.
8594 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8595
61653dfb
RM
8596 [BZ #10375]
8597 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8598 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8599 * configure: Regenerated.
8600 * config.make.in (CPPUNDEFS): New substituted variable.
8601 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8602 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8603 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8604
661768bb
L
86052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8606
8607 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8608 (mq_attr): Use __syscall_slong_t.
8609
d4261567
L
86102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8611
8612 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8613 Check __x86_64__ instead of __WORDSIZE.
8614 (_STAT_VER_LINUX): Likewise.
8615 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8616 __syscall_ulong_t and __syscall_slong_t.
8617 (stat64): Likewise.
8618
cf3ff365
L
86192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8620
8621 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8622
76cf3e4d
L
86232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8624
8625 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8626
a637753a
L
86272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8628
8629 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8630 __syscall_ulong_t.
8631
d5e05119
L
8632 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8633 include <bits/wordsize.h>. Check __x86_64__ instead of
8634 __WORDSIZE.
8635 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8636 defined.
8637 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8638
f62ee380
L
8639 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8640 include <bits/wordsize.h>. Check __x86_64__ instead of
8641 __WORDSIZE.
8642 (user_regs_struct): Use "__extension__ unsigned long long"
8643 instead of "unsigned long" if __x86_64__ is defined.
8644 (user): Likewise. Pad after pointer field if __ILP32__ is
8645 defined.
8646
4e124ced
JM
86472012-05-16 Joseph Myers <joseph@codesourcery.com>
8648
6a3951a0
JM
8649 * configure.in (makeinfo): Require version 4.5 or later. Allow
8650 versions 5 to 9.
8651 * configure: Regenerated.
8652 * manual/install.texi (texinfo): Increase version requirement to
8653 4.5 or later.
8654 * INSTALL: Regenerated.
8655
4e124ced
JM
8656 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8657
953ca31a
L
86582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8659
8660 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8661
617aca05
L
8662 * sysdeps/x86_64/x32/ffs.c: New file.
8663
5762f7ae
L
8664 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8665 __syscall_ulong_t.
8666 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8667 defined. Use __syscall_ulong_t.
8668 (shminfo): Use __syscall_ulong_t.
8669 (shm_info): Likewise.
8670
a26b6856
L
8671 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8672 __syscall_ulong_t.
8673
cb2b9ef7
L
8674 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8675 <bits/wordsize.h>.
8676 (msgqnum_t): Use __syscall_ulong_t.
8677 (msglen_t): Likewise.
8678 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8679 __syscall_ulong_t.
8680
34683bb0
L
8681 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8682 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8683
84a68786
L
8684 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8685
48baa5f1
L
8686 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8687 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8688
180be88b
L
8689 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8690 __syscall_slong_t.
8691
5e90c8ad
L
8692 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8693 include <bits/wordsize.h>. Check __x86_64__ instead of
8694 __WORDSIZE.
8695
23dfb58b
L
8696 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8697 "unsigned long long int" if __x86_64__ is defined.
8698 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8699
ce5d54b0
L
8700 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8701 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8702 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8703
13dc9eac
L
8704 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8705 <stdint.h>.
8706 (GET_PC): Cast to uintptr_t first.
8707 (GET_FRAME): Likewise.
8708 (GET_STACK): Likewise.
8709
a7895d15
L
8710 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8711 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8716 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8717 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8718 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8719 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8720 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8723 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8724 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8725 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8726 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8727 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8728 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8729 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8730 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8731 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8732 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8733 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8734 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8735 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8736 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8737 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8738 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8739
656416c9
AS
87402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8741
5bd66283
AS
8742 * Makerules (+depfiles): Also collect depfiles from .oS in
8743 $(extra-objs).
8744 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8745 .oS, $(libnldbl-routines)).
8746
656416c9
AS
8747 * Makerules (native-compile-mkdep-flags): Define.
8748 * sunrpc/Makefile (extra-objs): Add $(addprefix
8749 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8750 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8751 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8752 calling $(make-target-directory).
8753
a46f2169
L
87542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8755
8756 * bits/types.h (__snseconds_t): Removed.
8757 * time/time.h (struct timespec): Replace __snseconds_t with
8758 __syscall_slong_t.
8759 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8760 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8761 Likewise.
8762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8763 (__SNSECONDS_T_TYPE): Likewise.
8764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8765 (__SNSECONDS_T_TYPE): Likewise.
8766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8767 (__SNSECONDS_T_TYPE): Likewise.
8768
6af6528b
L
87692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8770
8771 * sysdeps/mach/hurd/bits/typesizes.h
8772 (__SYSCALL_SLONG_TYPE): New macro.
8773 (__SYSCALL_ULONG_TYPE): Likewise.
8774
de986b56
L
87752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8776
8777 * bits/types.h (__syscall_slong_t): New type.
8778 (__syscall_ulong_t): Likewise.
8779
8780 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8781 (__SYSCALL_ULONG_TYPE): Likewise.
8782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8783 (__SYSCALL_SLONG_TYPE): Likewise.
8784 (__SYSCALL_ULONG_TYPE): Likewise.
8785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8786 (__SYSCALL_SLONG_TYPE): Likewise.
8787 (__SYSCALL_ULONG_TYPE): Likewise.
8788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8789 (__SYSCALL_SLONG_TYPE): Likewise.
8790 (__SYSCALL_ULONG_TYPE): Likewise.
8791
85736dc7
L
87922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8793
8794 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8795 Add sigaltstack-offsets.sym.
8796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8797 <sigaltstack-offsets.h>.
8798 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8799 longjmp_msg pointer.
8800 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8801 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8802 signal stack.
8803 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8804
cc03b296
JM
88052012-05-15 Joseph Myers <joseph@codesourcery.com>
8806
a9538892
JM
8807 * elf/stackguard-macros.h: Remove file.
8808 * sysdeps/generic/stackguard-macros.h: New file.
8809 * sysdeps/i386/stackguard-macros.h: Likewise.
8810 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8811 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8812 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8813 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8814 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8815 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8816 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8817 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8818 <elf/stackguard-macros.h>.
8819
cc03b296
JM
8820 [BZ #14109]
8821 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8822 __aligned__ in attribute.
8823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8824 (gregset_t): Likewise.
8825
93171016
L
88262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8827
8828 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8829 * sysdeps/x86_64/64/Implies-after: Here. New file.
8830 * sysdeps/x86_64/x32/Implies-after: New file.
8831
d86813a0
L
88322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8833
8834 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8835 and access return value for _dl_profile_fixup. Use R10_LP to
8836 load frame size.
8837
2953ec75
L
88382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8839
8840 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8841
3b550e9e
L
88422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8843
8844 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8845 * sysdeps/x86_64/x32/sysdep.h: New file.
8846
eda41706
L
88472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8848
8849 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8850 * sysdeps/x86_64/setjmp.S: Likewise.
8851
9ea01d93
AZ
88522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8853
8854 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8855 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8856 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8857 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8858 remove unused global constant.
8859
02a91938
CM
88602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8861
8862 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8863 include of <not-cancel.h>.
8864
6540185f
RM
88652012-05-15 Roland McGrath <roland@hack.frob.com>
8866
8867 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8868
509072a0
AJ
88692012-05-15 Jeff Law <law@redhat.com>
8870 Andreas Jaeger <aj@suse.de>
8871
8872 [BZ #13594]
8873 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8874 out from...
8875 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8876 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8877 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8878 code changing __hst_map_handle.map.
8879
ba75122d
RM
88802012-05-15 Roland McGrath <roland@hack.frob.com>
8881
8882 * configure.in (sysnames): Look for Implies-before and Implies-after
8883 files.
8884 * configure: Regenerated.
8885
890d8bd8
L
88862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8887
8888 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8889 8-byte data alignment with LP_SIZE alignment.
8890
f6ee6623
L
88912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8892
8893 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8894 into R10_LP.
8895
ea2626f6
L
88962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8897
8898 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8899
085f715e
L
89002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8901
8902 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8903 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8904 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8905 Likewise.
8906 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8907
be8498fc
L
89082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8909
8910 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8911 (stackinfo_sub_sp): Likewise.
8912
70bc83b9
L
89132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8914
8915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8916 RAX_LP.
8917
9bc0b730
L
89182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8919
8920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8921 into R*_LP.
8922
6d2850e7
L
89232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8924
8925 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8926 sizes into R*_LP.
8927
3cb84561
L
89282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8929
8930 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8931
54e2ed81
L
89322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8933
8934 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8935 into R11_LP and load __x86_64_shared_cache_size_half into
8936 R8_LP.
8937
8a17f349
L
89382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8939
8940 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8941 R8_LP.
8942
777b1eea
AZ
89432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8944
8945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8946 logb for POWER7.
8947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8948 logbf for POWER7.
8949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8950 logbl for POWER7.
8951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8952 powerpc32/power7/fpu/s_logb.c via #include.
8953 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8954 powerpc32/power7/fpu/s_logbf.c via #include.
8955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8956 powerpc32/power7/fpu/s_logbl.c via #include.
8957
d20d4ac2
JM
89582012-05-15 Joseph Myers <joseph@codesourcery.com>
8959
8960 * README.libm: Remove file.
8961
6cdef1ab
L
89622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8963
8964 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8965 count for x32. Use R*_LP and omit operand-size suffix.
8966
0b254d8f
L
89672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8968
8969 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8970 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8971 * sysdeps/x86_64/x32/shlib-versions: New file.
8972
ceb809dc
RM
89732012-05-14 Roland McGrath <roland@hack.frob.com>
8974
8975 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8976 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8977 Use _dl_fatal_printf instead.
8978
37f1abd4
JM
89792012-05-14 Joseph Myers <joseph@codesourcery.com>
8980
8981 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8982 set if not set by the user. Do not allow for being unset.
8983 * sysdeps/unix/sysv/linux/configure: Regenerated.
8984
11de3a33
L
89852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8986
8987 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8988 the `q' suffix from lea and replace .quad with ASM_ADDR.
8989
e02f153a
L
89902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8991
8992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8993 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8994 instead of $17.
8995 (PTR_DEMANGLE): Likewise.
8996
520ae0fd
L
89972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8998
8999 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9000 (LP_OP): Likewise.
9001 (ASM_ADDR): Likewise.
9002 (RAX_LP): Likewise.
9003 (RBP_LP): Likewise.
9004 (RBX_LP): Likewise.
9005 (RCX_LP): Likewise.
9006 (RDI_LP): Likewise.
9007 (RSI_LP): Likewise.
9008 (RSP_LP): Likewise.
9009 (R8_LP): Likewise.
9010 (R9_LP): Likewise.
9011 (R10_LP): Likewise.
9012 (R10_LP): Likewise.
9013 (R11_LP): Likewise.
9014 (R12_LP): Likewise.
9015 (R13_LP): Likewise.
9016 (R14_LP): Likewise.
9017 (R15_LP): Likewise.
9018
b985be81
L
90192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9020
9021 * sysdeps/x86_64/x32/dl-machine.h: New file.
9022
6a4888ff
AJ
90232012-05-14 Andreas Jaeger <aj@suse.de>
9024
9025 * manual/Makefile (subdir): Remove export of subdir.
9026 (all): Remove target.
9027 (.PHONY): Remove all from list.
9028 (mkinstalldirs): Remove.
9029 (.PHONY): Remove installdirs from list.
9030 ($(inst_infodir)/libc.info): Use make-target-directory.
9031 (installdirs): Remove.
9032 (subdir_%): Remove.
9033 (glibc-targets): Remove.
9034 (lib): Remove.
9035 (stubs): Remove.
9036 ($(objpfx)stubs ../po/manual.pot): Remove.
9037 ($(objpfx)stamp%): Remove.
9038 (make-target-directory): Remove.
9039 (subdir_install): Remove.
9040 (routines): Remove.
9041 (aux): Remove.
9042 (sources): Remove.
9043 (objects): Remove.
9044 (headers): Remove.
9045
9046 [BZ #13750]
9047 * manual/.gitignore: Remove, it's not needed anymore.
9048 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9049 all files in it.
9050 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9051 directory.
9052 (texis): Renamed to $(objpfx)texis.
9053 (texis-path): New, contains path to generated files.
9054 (chapters.%): Use texis-path for complete path, add extra argument
9055 libc-texinfo.sh.
9056 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9057 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9058 (summary,texi, stamp-summary): Use complete path of
9059 files. Generate files in build dir.
9060 (dir-add.texi): Build in build dir.
9061 (libm-err.texi,stamp-libm-err): Likewise.
9062 (version.texi, stamp-version): Likewise.
9063 (.%c.texi): Likewise.
9064 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9065 (mostlyclean): Remove target.
9066 (realclean): Remove target.
9067 (generated): Add new variable with contents from mostlyclean and
9068 realclean, remove entries duplicated in common-mostlyclean, add
9069 stamp-libm-err and stamp-version.
9070 (generated-dirs): Add libc directory.
9071 ($(inst_infodir)/libc.info): Install files from build dir.
9072
9073 * manual/install.texi (Configuring and compiling): Adjust since
9074 the info files are not part of the tar ball anymore.
9075
7ac77294
AJ
90762012-05-14 Andreas Jaeger <aj@suse.de>
9077
9078 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9079 variable.
9080
ffb7875d
JM
90812012-05-14 Joseph Myers <joseph@codesourcery.com>
9082
9083 [BZ #13717]
9084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9085 to 2.2.0 where earlier.
9086 * sysdeps/unix/sysv/linux/configure: Regenerated.
9087 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9088 Remove conditional code.
9089 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9090 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9091 Remove conditional code.
9092 [!__NR_lchown]: Likewise.
9093 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9094 [__NR_lchown]: Likewise.
9095 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9096 comment referencing __ASSUME_LCHOWN_SYSCALL.
9097 * sysdeps/unix/sysv/linux/i386/sigaction.c
9098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9100 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9101 Remove conditional code.
9102 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9103 (__protocol_available): Remove #if 0 code.
9104 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9105 conditional code.
9106 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9107 * sysdeps/unix/sysv/linux/kernel-features.h
9108 (__ASSUME_GETCWD_SYSCALL): Don't define.
9109 (__ASSUME_REALTIME_SIGNALS): Likewise.
9110 (__ASSUME_PREAD_SYSCALL): Likewise.
9111 (__ASSUME_PWRITE_SYSCALL): Likewise.
9112 (__ASSUME_POLL_SYSCALL): Likewise.
9113 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9114 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9115 non-SPARC.
9116 (__ASSUME_SIOCGIFNAME): Don't define.
9117 (__ASSUME_MSG_NOSIGNAL): Likewise.
9118 (__ASSUME_SENDFILE): Define unconditionally.
9119 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9120 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9121 conditional code.
9122 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9123 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9124 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9125 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9126 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9127 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9128 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9130 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9133 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9136 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9145 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9153 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9154 Remove conditional code.
9155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9156 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9157 Remove conditional code.
9158 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9159 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9160 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9161 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9162 Remove conditional code.
9163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9164 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9165 Remove conditional code.
9166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9167 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9168 Remove conditional code.
9169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9170 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9171 Remove conditional code.
9172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9173 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9174 Remove conditional code.
9175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9176 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9179 * sysdeps/unix/sysv/linux/sigaction.c
9180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9182 * sysdeps/unix/sysv/linux/sigpending.c
9183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9185 * sysdeps/unix/sysv/linux/sigprocmask.c
9186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9188 * sysdeps/unix/sysv/linux/sigsuspend.c
9189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9191 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9192 (__libc_missing_rt_sigs): Remove.
9193 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9194 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9195 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9196 Remove conditional code.
9197 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9198 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9199 return 1.
9200 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9201 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9202 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9203 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9204
1bfb7291
AJ
92052012-05-14 Andreas Jaeger <aj@suse.de>
9206
caae5a81
AJ
9207 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9208 it's not used in glibc.
9209 (__coshm1): Likewise.
9210 (__acosh1p): Likewise.
9211 (__sgn): Likewise.
9212
1bfb7291
AJ
9213 * manual/string.texi (Copying and Concatenation): Add missing
9214 variable in concat example.
9215 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9216
c044d724
L
92172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9218
144c5467 9219 [BZ #14103]
c044d724
L
9220 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9221 __builtin_clzl with __builtin_clzll.
9222
2523c62b
L
92232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9224
9225 [BZ #14104]
9226 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9227 libc_freeres_ptr.
9228
d7bb4c42
LD
92292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9230
9231 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9232 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9233 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9234 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9235
9dc4e1fb
MF
92362012-05-14 Mike Frysinger <vapier@gentoo.org>
9237
9238 * NEWS: Update ia64 info.
9239
c7df0112
AS
92402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9241
9242 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9243 used as bcopy.
9244
dc70356c
TS
92452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9246
9247 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9248 * sysdeps/unix/syscalls.list (dup3): Likewise.
9249 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9250 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9251
9fb1a21f
L
92522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9253
9254 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9255 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9256
4822a2a5
L
92572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9258
9259 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9260 thread pointer.
9261 (TLS_IE): Use mov/add instead of movq/addq to load thread
9262 pointer.
9263 (TLS_GD_PREFIX): New.
9264 (TLS_GD): Use it.
9265
842b81d6
DM
92662012-05-11 David S. Miller <davem@davemloft.net>
9267
9268 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9269 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9270 (_FPU_SETCW): Likewise.
9271
1cf463cd
L
92722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9273
9274 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9275 is 32-byte aligned.
9276
60cc4a18
AS
92772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9278
9279 [BZ #11837]
9280 * iconvdata/gb18030.c: Update tables.
9281 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9282 characters specially.
9283 (BODY for TO_LOOP): Add encoding of missing ranges.
9284
febb44a4
TS
92852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9286
9287 [BZ #13673]
9288 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9289 * sysdeps/mach/hurd/dup3.c: Likewise.
9290 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9291 * sysdeps/powerpc/memmove.c:: Likewise.
9292
0a10fb9e
L
92932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9294
9295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9296 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9297
df8a552f
L
92982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9299
9300 * elf/elf.h (R_X86_64_RELATIVE64): New.
9301 (R_X86_64_NUM): Updated.
9302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9303 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9304 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9305 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9306 tst-quad1pie tst-quad2pie
9307 (modules-names): Add tst-quadmod1 tst-quadmod2.
9308 ($(objpfx)tst-quad1): New dependency.
9309 ($(objpfx)tst-quad2): Likewise.
9310 ($(objpfx)tst-quad1pie): Likewise.
9311 ($(objpfx)tst-quad2pie): Likewise.
9312 * sysdeps/x86_64/tst-quad1.c: New file.
9313 * sysdeps/x86_64/tst-quad1pie.c: New file.
9314 * sysdeps/x86_64/tst-quad2.c: Likewise.
9315 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9316 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9317 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9318 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9319 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9320
f34d6f84
ST
93212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9322
f42d41d1
ST
9323 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9324 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9325 * streams/stropts.h (t_scalar_t): Define type.
9326
3c3571fc
ST
9327 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9328 (_PATH_PRESERVE): Set to "/var/lib".
9329 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9330
61f06bd3
ST
9331 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9332 instead of int.
9333
918d4d71
ST
9334 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9335 if __dir_mkfile succeeded.
9336
f34d6f84
ST
9337 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9338 checking for _hurd_dtablesize. Unlock it right after having
9339 finished _hurd_dtable allocation.
9340
10589b4a
TS
93412012-05-10 Thomas Schwinge <thomas@schwinge.name>
9342
674cdbc7
TS
9343 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9344 * sysdeps/mach/hurd/configure: Regenerated.
9345 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9346 special-casing to...
9347 * sysdeps/gnu/configure.in: ... this new file.
9348 * sysdeps/unix/sysv/linux/configure: Regenerated.
9349 * sysdeps/gnu/configure: New generated file.
9350
8e41b99f
TS
9351 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9352 for Linux: use nsec instead of usec, as well as:
9353 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9354 members of type struct timespec.
9355 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9356 New macros.
9357 (struct stat64): Likewise.
9358 (_STATBUF_ST_NSEC): New macro.
9359 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9360
10589b4a
TS
9361 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9362 __strtoul_internal rather than strtoul.
9363
63643c85
PT
93642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9365
9366 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9367 and reject them.
9368
3faebe6a
ST
93692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9370
9371 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9372 which preserves existing values.
9373 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9374
c6474b07
PT
93752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9376
9377 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9378 TIMEOUT values. Return EINVAL for NFDS values either negative or
9379 greater than FD_SETSIZE.
9380
1043890b
ST
93812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9382
9383 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9384 allocated, call __vm_protect to finish enabling the existing space, and
9385 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9386 allocate the remainder.
9387
37ed8b9b
PT
93882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9389
9390 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9391 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9392
db653660
ST
93932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9394
37ed8b9b
PT
9395 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9396 sysdeps/mach/hurd/readlink.c.
b29d4053 9397
db653660
ST
9398 * posix/tst-sysconf.c (posix_options): Only use
9399 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9400 _POSIX_SYNCHRONIZED_IO when they are defined
9401 * sysdeps/mach/hurd/bits/posix_opt.h:
9402 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9403 (_XOPEN_REALTIME): Undefine macro.
9404 (_XOPEN_REALTIME_THREADS): Undefine macro.
9405 (_XOPEN_SHM): Undefine macro.
9406 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9407 macro to -1.
9408 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9409 macro to -1.
9410 (_POSIX_ASYNC_IO): Undefine macro.
9411 (_POSIX_PRIORITIZED_IO): Undefine macro.
9412 (_POSIX_SPIN_LOCKS): Define macro to -1.
9413
ee16e894
ST
9414 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9415 SA_NODEFER, SA_RESETHAND.
9416 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9417 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9418 F_DUPFD_CLOEXEC.
9419
6103ae3b
TS
94202012-05-10 Thomas Schwinge <thomas@schwinge.name>
9421
9422 * elf/Makefile (pldd-modules): Define unconditionally.
9423
80b4e5f3
TS
94242012-05-10 Thomas Schwinge <thomas@schwinge.name>
9425
9426 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9427
edadcbd6
ST
94282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9429
9430 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9431 Return ENOENT when name is empty.
9432 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9433
80694780
TS
94342012-05-10 Thomas Schwinge <thomas@schwinge.name>
9435
1792c087
TS
9436 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9437
80694780
TS
9438 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9439
6b645f0d
ST
94402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9441
80694780
TS
9442 Fix mlock in all cases except non-readable pages.
9443 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9444 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9445
6b645f0d
ST
9446 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9447 (__mkdir): When path is `/', just fail with EEXIST.
9448 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9449
e468f8a3
TS
94502012-05-10 Thomas Schwinge <thomas@schwinge.name>
9451
9452 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9453 <sys/uio.h> (for writev).
9454 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9455 and <sys/param.h> (for MIN).
9456
a4186cff
PT
94572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9458
9459 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9460 REQUESTED_TIME. Properly set the remaining time and return EINTR
9461 if interrupted.
9462
510bbf14
TS
94632012-05-10 Thomas Schwinge <thomas@schwinge.name>
9464
9465 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9466 Depend on against $(link-rpcuserlibs).
9467
5d5722e8
ST
94682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9469
a4186cff
PT
9470 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9471 (__libc_stack_end): Do not use attribute_relro.
9472 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9473 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9474 to libthread-provided value.
a4186cff
PT
9475 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9476 attribute_relro.
5d5722e8 9477
37233df9
TS
94782012-05-10 Thomas Schwinge <thomas@schwinge.name>
9479
be971a2b
TS
9480 [BZ #3748]
9481 * bits/libc-lock.h (__libc_once_get): New macro.
9482 * sysdeps/mach/bits/libc-lock.h: Likewise.
9483 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9485 instead of using implementation details.
9486
37233df9
TS
9487 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9488 * libio/freopen.c: Likewise.
9489 * libio/freopen64.c: Likewise.
9490 * misc/syslog.c: Likewise.
9491 * nscd/connections.c: Likewise.
9492 * nscd/netgroupcache.c: Likewise.
9493 * sysdeps/posix/getcwd.c: Likewise.
9494
38de94a5
RM
94952012-05-10 Roland McGrath <roland@hack.frob.com>
9496
9497 * math/w_ilogbf.c: Add #include <limits.h>.
9498
67530489
ST
94992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9500
a4186cff 9501 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9502 path instead of returning without unlocking.
9503
67530489
ST
9504 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9505 immediate-write ioctls.
9506 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9507
5aa3a74a
TS
95082012-05-10 Thomas Schwinge <thomas@schwinge.name>
9509
18bad2ae
TS
9510 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9511 __builtin_frame_address instead of making assumptions about the
9512 location of the return address relative to DATA. Force early load of
9513 the return address.
9514 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9515 __builtin_frame_address.
9516
5aa3a74a
TS
9517 dup3 for GNU Hurd.
9518 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9519 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9520 implement dup3 and do some further code clean-ups.
9521 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9522 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9523
ecd0de9a
ST
95242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9525
cd9fa985
ST
9526 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9527
a4186cff
PT
9528 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9529 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9530 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9531 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9532 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9533 d->port.lock.
802ca5a5 9534
a4186cff
PT
9535 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9536 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9537 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9538
bcf55240
TS
95392012-05-10 Thomas Schwinge <thomas@schwinge.name>
9540
6960eb42
TS
9541 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9542 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9543 definitions.
9544
eb43375f
TS
9545 accept4 for GNU Hurd.
9546 * include/sys/socket.h (__libc_accept4): New prototype.
9547 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9548 to implement __libc_accept4.
9549 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9550 __libc_accept4.
9551 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9552
bcf55240
TS
9553 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9554 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9555 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9556 signal-defines.sym.
9557
6178c55b
ST
95582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9559
a4186cff 9560 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9561
6f080c2f
TS
95622012-05-10 Thomas Schwinge <thomas@schwinge.name>
9563
9564 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9565 assertion on O_CLOEXEC flag.
9566 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9567 * hurd/intern-fd.c: Likewise.
9568 * hurd/port2fd.c: Likewise.
9569
bcfe3a54
ST
95702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9571
9572 [BZ #3906]
9573 * bits/in.h (IPV6_PKTINFO): Define new macro.
9574 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9575
89c9aa49
AZ
95762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9577
9578 [BZ #13954]
9579 [BZ #13955]
9580 [BZ #13956]
9581 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9583 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9584 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9586 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9587 * math/libm-test.inc (logb_test) : Additional logb tests.
9588
021db4be
AJ
95892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9590 Andreas Jaeger <aj@suse.de>
9591
9592 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9593 * configure: Regenerated.
9594 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9595 * config.make.in (link-obsolete-rpc): New substituted variable.
9596 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9597 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9598 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9599 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9600 so that libc.a contains the symbols.
9601 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9602 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9603 * sunrpc/auth_none.c: Likewise.
9604 * sunrpc/auth_unix.c: Likewise.
9605 * sunrpc/authdes_prot.c: Likewise.
9606 * sunrpc/authuxprot.c: Likewise.
9607 * sunrpc/clnt_gen.c: Likewise.
9608 * sunrpc/clnt_perr.c: Likewise.
9609 * sunrpc/clnt_raw.c: Likewise.
9610 * sunrpc/clnt_simp.c: Likewise.
9611 * sunrpc/clnt_tcp.c: Likewise.
9612 * sunrpc/clnt_udp.c: Likewise.
9613 * sunrpc/clnt_unix.c: Likewise.
9614 * sunrpc/des_crypt.c: Likewise.
9615 * sunrpc/des_soft.c: Likewise.
9616 * sunrpc/get_myaddr.c: Likewise.
9617 * sunrpc/key_call.c: Likewise.
9618 * sunrpc/key_prot.c: Likewise.
9619 * sunrpc/netname.c: Likewise.
9620 * sunrpc/pm_getmaps.c: Likewise.
9621 * sunrpc/pm_getport.c: Likewise.
9622 * sunrpc/pmap_clnt.c: Likewise.
9623 * sunrpc/pmap_prot.c: Likewise.
9624 * sunrpc/pmap_prot2.c: Likewise.
9625 * sunrpc/pmap_rmt.c: Likewise.
9626 * sunrpc/publickey.c: Likewise.
9627 * sunrpc/rpc_cmsg.c: Likewise.
9628 * sunrpc/rpc_common.c: Likewise.
9629 * sunrpc/rpc_dtable.c: Likewise.
9630 * sunrpc/rpc_prot.c: Likewise.
9631 * sunrpc/rpc_thread.c: Likewise.
9632 * sunrpc/rtime.c: Likewise.
9633 * sunrpc/svc.c: Likewise.
9634 * sunrpc/svc_auth.c: Likewise.
9635 * sunrpc/svc_raw.c: Likewise.
9636 * sunrpc/svc_run.c: Likewise.
9637 * sunrpc/svc_tcp.c: Likewise.
9638 * sunrpc/svc_udp.c: Likewise.
9639 * sunrpc/svc_unix.c: Likewise.
9640 * sunrpc/svcauth_des.c: Likewise.
9641 * sunrpc/xcrypt.c: Likewise.
9642 * sunrpc/xdr.c: Likewise.
9643 * sunrpc/xdr_array.c: Likewise.
9644 * sunrpc/xdr_float.c: Likewise.
9645 * sunrpc/xdr_intXX_t.c: Likewise.
9646 * sunrpc/xdr_mem.c: Likewise.
9647 * sunrpc/xdr_rec.c: Likewise.
9648 * sunrpc/xdr_ref.c: Likewise.
9649 * sunrpc/xdr_sizeof.c: Likewise.
9650 * sunrpc/xdr_stdio.c: Likewise.
9651
b5c086a2
RM
96522012-05-10 Roland McGrath <roland@hack.frob.com>
9653
9654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9655 change. Update copyright years.
9656
6d74dd09
JM
96572012-05-10 Joseph Myers <joseph@codesourcery.com>
9658
9659 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9660
28e72501
MK
96612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9662 Joseph Myers <joseph@codesourcery.com>
9663 Paul Pluzhnikov <ppluzhnikov@google.com>
9664
9665 [BZ #14012]
9666 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9667 requiring rpcgen.
9668 [cross-compiling] (extra-libs): Likewise.
9669 [cross-compiling] (extra-libs-others): Likewise.
9670 [cross-compiling] (librpcsvc-routines): Likewise.
9671 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9672 [cross-compiling] (omit-deps): Likewise.
9673 (sunrpc-CPPFLAGS): New variable.
9674 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9675 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9676 (cross-rpcgen-objs): New variable.
9677 (extra-objs): Append $(cross-rpcgen-objs).
9678 ($(cross-rpcgen-objs)): New rule.
9679 ($(objpfx)cross-rpcgen): Likewise.
9680 (rpcgen-cmd): Define to use $(built-program-file). Expand
9681 comment.
9682 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9683 ($(objpfx)x%.stmp): Likewise.
9684 * sunrpc/proto.h [IS_IN_build] (_): Define.
9685 [IS_IN_build] (_libc_intl_domainname): Likewise.
9686
c8c59454
L
96872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9688
9689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9690 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9691 and R_X86_64_TPOFF64.
9692
6f27cd16
JM
96932012-05-10 Joseph Myers <joseph@codesourcery.com>
9694
9695 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9696 sysdeps/unix/sysv/syscalls.list.
9697 (stime): Likewise.
9698 (utime): Likewise.
9699 * sysdeps/unix/sysv/syscalls.list: Remove file.
9700
02467e1c
PE
97012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9702
9703 [BZ #3440]
9704 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9705 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9706 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9707 (__LC_IDENTIFICATION): Make these macros useful in #if
9708 expressions, as required by C99.
9709
da392631
AS
97102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9711
9712 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9713 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9714 after this.
9715
8115f29b
L
97162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9717
9718 * stdlib/longlong.h: Updated from GCC.
9719
bdd74070
AJ
97202012-05-09 Andreas Jaeger <aj@suse.de>
9721
edfe0dbe
AJ
9722 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9723 default is first entry.
9724 (run_mode): Set type.
9725 (main): Remove informal message about syslog.
9726 (options): Fix typo.
9727
bcfe3a54
ST
9728 [BZ #14053]
9729 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9730 to asm.
bcfe3a54
ST
9731 (lrint): Likewise.
9732 (llrintf): Likewise.
9733 (llrint): Likewise.
9734 (rint): Likewise.
9735 (rintf): Likewise.
9736 (nearbyint): Likewise.
9737 (nearbyintf): Likewise.
bdd74070 9738
91d8d69e
AJ
97392012-05-09 Andreas Jaeger <aj@suse.de>
9740 Pedro Alves <palves@redhat.com>
9741
9742 * nscd/nscd.c (run_mode): Use enum.
9743 (main): Cleanup coding style issue.
9744
bb90b80b
AJ
97452012-05-09 Alexandre Oliva <aoliva@redhat.com>
9746 Andreas Jaeger <aj@suse.de>
9747
bcfe3a54
ST
9748 * nscd/nscd.c (go_background): Replaced with...
9749 (run_mode): ... this.
bb90b80b 9750 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9751 (options): Add -F --foreground.
9752 (main): Implement it.
9753 (parse_opt): Parse it.
bb90b80b 9754
1a4b75a1
AJ
97552012-05-09 Andreas Jaeger <aj@suse.de>
9756
9757 [BZ #14083]
9758 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9759 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9760 -Wconversion warning.
9761 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9762 Likewise.
9763
b1cc2472
JM
97642012-05-09 Joseph Myers <joseph@codesourcery.com>
9765
9766 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9767 == 0.
9768 (LC_ALL): Use macro-int-constant.
9769 (LC_COLLATE): Likewise.
9770 (LC_CTYPE): Likewise.
9771 (LC_MESSAGES): Likewise.
9772 (LC_MONETARY): Likewise.
9773 (LC_NUMERIC): Likewise.
9774 (LC_TIME): Likewise.
9775 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9776 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9777 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9778 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9779 Specify type.
9780 [C99-based standards] (float_t): Expect type.
9781 [C99-based standards] (double_t): Expect type.
9782 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9783 type.
9784 [C99-based standards] (HUGE_VALL): Likewise.
9785 [C99-based standards] (INFINITY): Likewise.
9786 [C99-based standards] (NAN): Likewise.
9787 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9788 [C99-based standards] (FP_NAN): Likewise.
9789 [C99-based standards] (FP_NORMAL): Likewise.
9790 [C99-based standards] (FP_SUBNORMAL): Likewise.
9791 [C99-based standards] (FP_ZERO): Likewise.
9792 [C99-based standards] (FP_FAST_FMA): Use
9793 optional-macro-int-constant. Specify type. Require == 1.
9794 [C99-based standards] (FP_FAST_FMAF): Likewise.
9795 [C99-based standards] (FP_FAST_FMAL): Likewise.
9796 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9797 [C99-based standards] (FP_ILOGBNAN): Likewise.
9798 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9799 Specify type.
9800 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9801 [C99-based standards] (math_errhandling): Specify type.
9802 [ISO99 || ISO11] (signgam): Do not allow.
9803 [non-C99-based standards] (copysignf): Do not allow.
9804 [non-C99-based standards] (exp2f): Likewise.
9805 [non-C99-based standards] (log2f): Likewise.
9806 [non-C99-based standards] (modff): Allow.
9807 [non-C99-based standards] (erff): Do not allow.
9808 [non-C99-based standards] (erfcf): Likewise.
9809 [non-C99-based standards] (gammaf): Likewise.
9810 [non-C99-based standards] (hypotf): Likewise.
9811 [non-C99-based standards] (j0f): Likewise.
9812 [non-C99-based standards] (j1f): Likewise.
9813 [non-C99-based standards] (jnf): Likewise.
9814 [non-C99-based standards] (lgammaf): Likewise.
9815 [non-C99-based standards] (tgammaf): Likewise.
9816 [non-C99-based standards] (y0f): Likewise.
9817 [non-C99-based standards] (y1f): Likewise.
9818 [non-C99-based standards] (ynf): Likewise.
9819 [non-C99-based standards] (isnanf): Likewise.
9820 [non-C99-based standards] (acoshf): Likewise.
9821 [non-C99-based standards] (asinhf): Likewise.
9822 [non-C99-based standards] (atanhf): Likewise.
9823 [non-C99-based standards] (cbrtf): Likewise.
9824 [non-C99-based standards] (expm1f): Likewise.
9825 [non-C99-based standards] (ilogbf): Likewise.
9826 [non-C99-based standards] (log1pf): Likewise.
9827 [non-C99-based standards] (logbf): Likewise.
9828 [non-C99-based standards] (nextafterf): Likewise.
9829 [non-C99-based standards] (remainderf): Likewise.
9830 [non-C99-based standards] (rintf): Likewise.
9831 [non-C99-based standards] (scalbf): Likewise.
9832 [non-C99-based standards] (copysignl): Likewise.
9833 [non-C99-based standards] (exp2l): Likewise.
9834 [non-C99-based standards] (log2l): Likewise.
9835 [non-C99-based standards] (modfl): Allow.
9836 [non-C99-based standards] (erfl): Do not allow.
9837 [non-C99-based standards] (erfcl): Likewise.
9838 [non-C99-based standards] (gammal): Likewise.
9839 [non-C99-based standards] (hypotl): Likewise.
9840 [non-C99-based standards] (j0l): Likewise.
9841 [non-C99-based standards] (j1l): Likewise.
9842 [non-C99-based standards] (jnl): Likewise.
9843 [non-C99-based standards] (lgammal): Likewise.
9844 [non-C99-based standards] (tgammal): Likewise.
9845 [non-C99-based standards] (y0l): Likewise.
9846 [non-C99-based standards] (y1l): Likewise.
9847 [non-C99-based standards] (ynl): Likewise.
9848 [non-C99-based standards] (isnanl): Likewise.
9849 [non-C99-based standards] (acoshl): Likewise.
9850 [non-C99-based standards] (asinhl): Likewise.
9851 [non-C99-based standards] (atanhl): Likewise.
9852 [non-C99-based standards] (cbrtl): Likewise.
9853 [non-C99-based standards] (expm1l): Likewise.
9854 [non-C99-based standards] (ilogbl): Likewise.
9855 [non-C99-based standards] (log1pl): Likewise.
9856 [non-C99-based standards] (logbl): Likewise.
9857 [non-C99-based standards] (nextafterl): Likewise.
9858 [non-C99-based standards] (remainderl): Likewise.
9859 [non-C99-based standards] (rintl): Likewise.
9860 [non-C99-based standards] (scalbl): Likewise.
9861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9862 [non-C99-based standards] (FP_*): Do not allow.
9863 [C99-based standards] (FP_*): Change to
9864 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9865 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9866 allow.
9867 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9868 (SIG_ERR): Likewise.
9869 [X/Open-based standards] (SIG_HOLD): Likewise.
9870 (SIG_IGN): Likewise.
9871 (SIGABRT): Use macro-int-constant. Specify type. Require
9872 positive value.
9873 (SIGFPE): Likewise.
9874 (SIGILL): Likewise.
9875 (SIGINT): Likewise.
9876 (SIGSEGV): Likewise.
9877 (SIGTER): Likewise.
9878 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9879 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9880 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9881 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9882 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9883 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9884 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9885 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9886 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9887 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9888 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9889 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9890 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9891 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9892 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9893 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9894 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9895 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9896 [X/Open-based standards] (SIGTRAP): Likewise.
9897 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9898 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9899 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9900 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9901 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9902 allow.
9903
b9f1922d
IW
99042012-05-08 Ian Wienand <ianw@vmware.com>
9905
9906 [BZ #14080]
9907 * time/tzset.c (__tzset_parse_tz): Update default rules for
9908 daylight time changes in the Energy Policy Act of 2005.
9909
1db86e88
AJ
99102012-05-09 Andreas Jaeger <aj@suse.de>
9911
9912 [BZ #13983]
9913 * elf/ldconfig.c (parse_conf): Change string to make clear that
9914 ldconfig only issued a warning if ld.so.conf does not exist.
9915
dee4a4e3
DM
99162012-05-08 David S. Miller <davem@davemloft.net>
9917
ee0db190
DM
9918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9919 movxtod instead of popping the value on the stack.
9920
dee4a4e3
DM
9921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9922
6a43ec98
CD
99232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9924
9925 * config.h.in: Add HAVE_ARM_PCS_VFP.
9926
05c2c961
RMG
99272012-05-08 Roland Mc Grath <roland@hack.frob.com>
9928
bcfe3a54
ST
9929 [BZ #13979]
9930 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9931 checking but the checks are disabled for any reason.
05c2c961 9932
4b30f61a
L
99332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9934
9935 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9936 and ELF64_R_TYPE with ELFW(R_TYPE).
9937
eee2bc67
JM
99382012-05-08 Joseph Myers <joseph@codesourcery.com>
9939
7ea5391a
JM
9940 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9941 (ulimit): Likewise.
9942
eee2bc67
JM
9943 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9944 (settimeofday): Likewise.
9945
abb66a67
MF
99462012-05-08 Mike Frysinger <vapier@gentoo.org>
9947
9948 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9949 a struct th_u2 inside the union, and move tu_block/tu_code into
9950 a new th_u3 union of tu_block/tu_code inside of that. Move
9951 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9952 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9953 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9954 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9955 (th_stuff): Change to th_u1.tu_stuff.
9956 (th_data): Define.
9957 (th_msg): Change to th_u1.th_u2.tu_data.
9958
7f18b530
DM
99592012-05-07 David S. Miller <davem@davemloft.net>
9960
05760585
DM
9961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9962
7f18b530
DM
9963 [BZ #14074]
9964 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9965 (SETUP_PIC_REG): Use it.
9966 (SETUP_PIC_REG_LEAF): Use it.
9967
495fd99f
JM
99682012-05-07 Joseph Myers <joseph@codesourcery.com>
9969
9970 [BZ #13885]
9971 [BZ #13923]
9972 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9973 USE_AS_EXPM1L.
9974 (EXPL_FINITE): Likewise.
9975 (FLDLOG): Likewise.
9976 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9977 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9978 e_expl.S.
9979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9980 USE_AS_EXPM1L.
9981 (EXPL_FINITE): Likewise.
9982 (FLDLOG): Likewise.
9983 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9984 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9985 e_expl.S.
9986 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9987 test of -max_value argument for long double.
9988 * sysdeps/i386/fpu/libm-test-ulps: Update.
9989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9990
6693d694
DM
99912012-05-06 David S. Miller <davem@davemloft.net>
9992
9993 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9994 quad soft-float symbols whose references which are compiler
9995 generated.
9996 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9997
6c23e11c
JM
99982012-05-06 Joseph Myers <joseph@codesourcery.com>
9999
d8b82cad
JM
10000 [BZ #13884]
10001 [BZ #13914]
10002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10003 USE_AS_EXP10L.
10004 (EXPL_FINITE): Likewise.
10005 (FLDLOG): Likewise.
10006 (c0): Likewise.
10007 (c1): Likewise.
10008 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10009 Adjust comments for base varying.
10010 (__expl_finite): Change alias to EXPL_FINITE.
10011 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10012 e_expl.S.
10013 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10014 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10015 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10016 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10017 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10018 USE_AS_EXP10L.
10019 (EXPL_FINITE): Likewise.
10020 (FLDLOG): Likewise.
10021 (c0): Likewise.
10022 (c1): Likewise.
10023 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10024 Adjust comments for base varying.
10025 (__expl_finite): Change alias to EXPL_FINITE.
10026 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10027 tests for bugs.
10028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10029
6c23e11c
JM
10030 [BZ #14064]
10031 * math/libm-test.inc (check_float_internal): Correct ulp
10032 calculation for subnormal expected results.
10033
29ba805c
AJ
100342012-05-06 Andreas Jaeger <aj@suse.de>
10035
10036 * Makeconfig (+math-flags): New, set to -frounding-math.
10037 (+cflags): Add +math-flags so that all of glibc gets compiled with
10038 it.
10039
10040 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10041
7b17aeda
JM
100422012-05-05 Joseph Myers <joseph@codesourcery.com>
10043
5779f134
JM
10044 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10045 Disable one test.
10046
41498f4d
JM
10047 [BZ #13787]
10048 [BZ #13922]
10049 [BZ #14036]
10050 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10051 (__ieee754_expl): Allow for and saturate large arguments.
10052 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10053 (u_threshold): Likewise.
10054 (__exp): Call __ieee754_exp before checking for overflow and
10055 underflow.
10056 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10057 (u_threshold): Likewise.
10058 (__expf): Call __ieee754_expf before checking for overflow and
10059 underflow.
10060 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10061 (u_threshold): Likewise.
10062 (__expl): Call __ieee754_expl before checking for overflow and
10063 underflow.
10064 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10065 (__ieee754_expl): Allow for and saturate large arguments.
10066 * math/libm-test.inc (exp_test): Add another test. Do not allow
10067 missing overflow exception on overflow.
10068 (expm1_test): Do not allow missing overflow exception on overflow.
10069
6698b8bf
JM
10070 * sysdeps/i386/fpu/e_expl.c: Move to ...
10071 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10072 rather than using inline asm.
10073 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10074 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10075 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10076
7b17aeda
JM
10077 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10078 (nice): Likewise.
10079 (poll): Likewise.
10080 (signal): Likewise.
10081 (time): Likewise.
10082 (times): Likewise.
10083
f7c85819
JM
100842012-05-04 Joseph Myers <joseph@codesourcery.com>
10085
10086 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10087 sysdeps/unix/common/syscalls.list.
10088 (fchmod): Likewise.
10089 (fchown): Likewise.
10090 (ftruncate): Likewise.
10091 (getrusage): Likewise.
10092 (gettimeofday): Likewise.
10093 (setpgid): Likewise.
10094 (setregid): Likewise.
10095 (setreuid): Likewise.
10096 (sigaction): Likewise.
10097 (truncate): Likewise.
10098 (vhangup): Likewise.
10099 * sysdeps/unix/common/syscalls.list: Remove file.
10100 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10101 * sysdeps/unix/sysv/linux/Implies: Likewise.
10102
336270d0
L
101032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10104
10105 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10107 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10108 Moved to ...
10109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10110 Here.
10111 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10112 to ...
10113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10114 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10115 to ...
10116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10117 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10118 to ...
10119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10120 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10121 to ...
10122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10123 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10124 to ...
10125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10126 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10127 to ...
10128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10129 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10130 to ...
10131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10132 Here.
10133 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10134 to ...
10135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10136 Here.
10137 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10138 to ...
10139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10140 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10141 Moved to ...
10142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10143 Here.
10144 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10145 to ...
10146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10147
d128e450
JM
101482012-05-04 Joseph Myers <joseph@codesourcery.com>
10149
fa8ee516
JM
10150 * sysdeps/unix/common/bits/dirent.h: Remove file.
10151 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10152
d128e450
JM
10153 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10154 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10155 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10156 * sysdeps/unix/bsd/isatty.c: Likewise.
10157 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10158 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10159 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10160
ff8faaf0 101612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10162
62881be4 10163 [BZ #13563]
31dc8730
AZ
10164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10165 long double comparison inaccuracies.
10166 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10168
6fef930c
AS
101692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10170
10171 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10173
8f203e6c
JM
101742012-05-04 Joseph Myers <joseph@codesourcery.com>
10175
10176 [BZ #14049]
10177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10178 nonzero digits before rounding a hex value.
10179 * stdlib/tst-strtod.c (tests): Add another test.
10180
5197d9c2
AK
101812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10182
10183 * sysdeps/s390/fpu/libm-test-ulps: Update.
10184
f0c1dedf
AJ
101852012-05-03 Andreas Jaeger <aj@suse.de>
10186
10187 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10188 does not get optimized out.
10189 (malloc_opt_barrier): New.
10190
a65ef2ae 101912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10192 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10193
2b942cb7 10194 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10195 intermediate file deletion.
2b942cb7 10196 (generated): Add .symlist files.
a65ef2ae 10197
54b71e02
JM
101982012-05-03 Joseph Myers <joseph@codesourcery.com>
10199
10200 [BZ #13775]
10201 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10202 Redirect under this condition.
10203 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10204 [__USE_GNU] (__dprintf_chk): Not under this condition.
10205 [__USE_GNU] (__vdprintf_chk): Likewise.
10206 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10207 under this condition.
10208 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10209 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10210 [__USE_XOPEN2K8] (vdprintf): Likewise.
10211 [__USE_GNU] (__dprintf_chk): Not under this condition.
10212 [__USE_GNU] (__vdprintf_chk): Likewise.
10213 [__USE_GNU] (dprintf): Likewise.
10214 [__USE_GNU] (vdprintf): Likewise.
10215
d3dfcc41
RM
102162012-05-03 Roland McGrath <roland@hack.frob.com>
10217
10218 * elf/Makefile (common-generated): Set this instead of generated for
10219 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10220 $(all-built-dso)-derived lists.
10221
7ac30cc5
AJ
102222012-05-03 Andreas Jaeger <aj@suse.de>
10223
0c51e550
AJ
10224 * sysdeps/i386/fpu/libm-test-ulps: Update.
10225
7ac30cc5
AJ
10226 * FAQ: Removed.
10227 * FAQ.in: Likewise.
10228 * scripts/gen-FAQ.pl: Likewise.
10229 * manual/install.texi (Installation): Point to online location of
10230 FAQ.
10231 * Makefile (files-for-dist): Remove FAQ.
10232 (FAQ): Remove.
10233
d4c2917f
AM
102342012-05-02 Allan McRae <allan@archlinux.org>
10235
10236 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10237 (LDFLAGS-reldepmod5.so): Likewise.
10238 (LDFLAGS-reldep6mod1.so): Likewise.
10239 (LDFLAGS-reldep6mod4.so): Likewise.
10240 (LDFLAGS-reldep8mod3.so): Likewise.
10241 (LDFLAGS-unload4mod1.so): Likewise.
10242 (LDFLAGS-unload4mod2.so): Likewise.
10243 (LDFLAGS-tst-initorder): Likewise.
10244 (LDFLAGS-tst-initordera2.so): Likewise.
10245 (LDFLAGS-tst-initordera3.so): Likewise.
10246 (LDFLAGS-tst-initordera4.so): Likewise.
10247 (LDFLAGS-tst-initorderb2.so): Likewise.
10248 (LDFLAGS-noload): Likewise.
10249 (LDFLAGS-next): Likewise.
10250 (LDFLAGS-order2mod1.so): Likewise.
10251 (LDFLAGS-order2mod2.so): Likewise.
10252 (LDFLAGS-tst-initorder2): Likewise.
10253 (LDFLAGS-tst-initorder2a.so): Likewise.
10254 (LDFLAGS-tst-initorder2b.so): Likewise.
10255 (LDFLAGS-tst-initorder2c.so): Likewise.
10256 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10257
d77f993f
DM
102582012-05-02 David S. Miller <davem@davemloft.net>
10259
10260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10261
171a70b4
PP
102622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10263
10264 [BZ #14055]
10265 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10266
0be196ad
AJ
102672012-05-02 Andreas Jaeger <aj@suse.de>
10268
10269 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10270 since we manipulate rounding mode.
10271 (CPPFLAGS-test-idouble.c): Likewise.
10272 (CPPFLAGS-test-ifloat.c): Likewise.
10273 (CFLAGS-test-ldouble.c): Likewise.
10274 (CFLAGS-test-double.c): Likewise.
10275 (CFLAGS-test-float.c): Likewise.
10276 (CFLAGS-test-misc.c): Likewise.
10277 (CFLAGS-test-test-fenv.c): Likewise.
10278
4f9d04aa
AZ
102792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10280
2b942cb7
RM
10281 [BZ #2550]
10282 [BZ #2570]
10283 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10284 comparisons to determine direction to adjust input.
4f9d04aa 10285
82a79e7d
RM
102862012-05-01 Roland McGrath <roland@hack.frob.com>
10287
f5a01ca9
RM
10288 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10289 output to the target.
10290
90fe4186
RM
10291 * scripts/localplt.awk: New file.
10292 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10293 (check-localplt-CFLAGS): Variable removed.
10294 ($(all-built-dso:=.jmprel)): New static pattern rule.
10295 (generated): Add those targets.
10296 (localplt-built-dso): New variable.
10297 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10298
10299 * elf/check-localplt.c: File removed.
10300
82397ed6
RM
10301 * scripts/check-execstack.awk: New file.
10302 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10303 (check-execstack-CFLAGS): Variable removed.
10304 ($(objpfx)check-execstack.h): Target removed.
10305 ($(objpfx)execstack-default): New target.
10306 (generated): Add that instead of check-execstack.h.
10307 ($(all-built-dso:=.phdr)): New static pattern rule.
10308 (generated): Add those targets.
10309 * elf/check-execstack.c: File removed.
10310
82a79e7d
RM
10311 * scripts/check-textrel.awk: New file.
10312 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10313 (check-textrel-CFLAGS): Variable removed.
10314 (all-built-dso): Use := to define.o
10315 ($(all-built-dso:=.dyn)): New static pattern rule.
10316 (generated): Add those targets.
10317 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10318 * config.make.in (READELF): New substituted variable.
10319 * elf/check-textrel.c: File removed.
10320
62fde54f 103212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10322
615605c9
JM
10323 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10324 allow.
10325 * conform/data/ctype.h-data [C99-based standards] (isblank):
10326 Expect function.
10327 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10328 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10330 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10331 Specify type. Require positive value.
10332 (EILSEQ): Likewise.
10333 (ERANGE): Likewise.
10334 [ISO || POSIX] (EILSEQ): Do not expect.
10335 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10336 Specify type. Require positive value.
10337 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10338 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10339 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10340 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10341 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10342 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10343 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10344 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10345 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10346 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10347 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10348 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10349 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10350 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10351 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10352 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10353 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10354 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10355 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10356 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10357 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10358 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10359 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10360 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10361 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10362 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10363 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10364 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10365 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10366 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10367 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10368 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10369 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10370 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10371 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10372 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10373 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10374 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10375 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10376 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10377 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10378 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10379 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10381 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10382 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10383 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10384 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10385 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10386 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10389 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10390 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10391 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10392 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10393 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10394 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10396 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10397 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10398 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10399 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10400 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10401 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10403 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10405 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10406 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10408 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10410 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10411 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10412 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10413 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10414 Require >= 2.
10415 (FLT_ROUNDS): Expect as macro, not constant.
10416 (FLT_MANT_DIG): Use macro-int-constant.
10417 (DBL_MANT_DIG): Likewise.
10418 (LDBL_MANT_DIG): Likewise.
10419 (FLT_DIG): Likewise.
10420 (DBL_DIG): Likewise.
10421 (LDBL_DIG): Likewise.
10422 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10423 (DBL_MIN_EXP): Likewise.
10424 (LDBL_MIN_EXP): Likewise.
10425 (FLT_MAX_EXP): Use macro-int-constant.
10426 (DBL_MAX_EXP): Likewise.
10427 (LDBL_MAX_EXP): Likewise.
10428 (FLT_MAX_10_EXP): Likewise.
10429 (DBL_MAX_10_EXP): Likewise.
10430 (LDBL_MAX_10_EXP): Likewise.
10431 (FLT_MAX): Use macro-constant.
10432 (DBL_MAX): Likewise.
10433 (LDBL_MAX): Likewise.
10434 (FLT_EPSILON): Use macro-constant. Give upper bound.
10435 (DBL_EPSILON): Likewise.
10436 (LDBL_EPSILON): Likewise.
10437 (FLT_MIN): Likewise.
10438 (DBL_MIN): Likewise.
10439 (LDBL_MIN): Likewise.
10440 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10441 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10442 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10443 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10444 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10445 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10446 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10447 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10448 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10449 [ISO11] (FLT_TRUE_MIN): Likewise.
10450 [ISO11] (LDBL_TRUE_MIN): Likewise.
10451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10452 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10453 (SCHAR_MIN): Use macro-int-constant. Specify type.
10454 (SCHAR_MAX): Likewise.
10455 (UCHAR_MAX): Likewise.
10456 (CHAR_MIN): Likewise.
10457 (CHAR_MAX): Likewise.
10458 (MB_LEN_MAX): Use macro-int-constant.
10459 (SHRT_MIN): Use macro-int-constant. Specify type.
10460 (SHRT_MAX): Likewise.
10461 (USHRT_MAX): Likewise.
10462 (INT_MAX): Likewise.
10463 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10464 bound negative.
10465 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10466 bound with "U".
10467 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10468 bound with "L".
10469 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10470 bound negative. Suffix upper bound with "L".
10471 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10472 bound with "UL".
10473 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10474 Specify type.
10475 [C99-based standards] (LLONG_MAX): Likewise.
10476 [C99-based standards] (ULLONG_MAX): Likewise.
10477 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10478 == 0.
10479 [ISO11] (max_align_t): Require type.
10480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10481
c9140a62
JM
10482 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10483 from $CFLAGS, without defining away __attribute__ calls.
10484 (checknamespace): Use $CFLAGS_namespace.
10485
9af0bf29
JM
10486 * conform/conformtest.pl (@keywords): Only include C99 keywords
10487 for standards based on C99 or C11.
10488
343222a2
JM
10489 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10490 Disable tests.
10491 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10492 UNIX98]: Likewise.
10493
661f8cf0
JM
10494 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10495 usability of symbols in #if.
10496
ee74b9cb
JM
10497 * conform/conformtest.pl: If macro or constant types start
10498 "promoted:", expect the symbol to be of the following type
10499 promoted by the integer promotions.
62fde54f 10500
aafc49b3
JM
10501 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10502 in one place. Also handle "macro-constant".
10503
fefdf574
JM
10504 * conform/conformtest.pl: Only accept expected macro values with
10505 "==". Parse all "macro" lines in one place.
10506 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10507
f2d922fe
JM
10508 * conform/conformtest.pl: Handle braced types on "constant" lines
10509 instead of handling "typed-constant".
10510 * conform/data/signal.h-data: Use "constant" instead of
10511 "typed-constant".
10512
d22956c9
JM
10513 * conform/conformtest.pl: Handle "optional-" at start of lines in
10514 one place rather than duplicating several cases. Handle each
10515 format of "macro" line with initial "optional-".
10516
028e2e38
JM
10517 * conform/conformtest.pl: Only accept expected constant or
10518 optional-constant values with "==". Parse all "constant" lines in
10519 one place. Parse all "optional-constant" lines in one place.
10520 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10521 * conform/data/fmtmsg.h-data: Likewise.
10522 * conform/data/netinet/in.h-data: Likewise.
10523 * conform/data/tar.h-data: Likewise.
10524 * conform/data/limits.h-data: Use "==" form on "constant" and
10525 "optional-constant" lines.
10526
1b8f2850
JM
10527 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10528 Use -std=c99 for XOPEN2K.
10529 (@knownproblems): Remove.
10530 (newtoken): Don't check %isknown.
10531
a05a144b
JM
10532 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10533 Do not expect macro.
10534 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10535 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10536 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10537 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10538 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10539 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10540 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10541 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10542 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10543 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10544 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10545 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10546 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10547 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10548 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10549 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10550 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10551 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10552 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10553 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10554 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10555 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10556 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10557 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10558 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10559 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10560 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10561 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10562 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10563 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10564 [XPG3] (acosh): Likewise.
10565 [XPG3] (asinh): Likewise.
10566 [XPG3] (atanh): Likewise.
10567 [XPG3] (cbrt): Likewise.
10568 [XPG3] (expm1): Likewise.
10569 [XPG3] (ilogb): Likewise.
10570 [XPG3] (log1p): Likewise.
10571 [XPG3] (logb): Likewise.
10572 [XPG3] (nextafter): Likewise.
10573 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10574 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10575 [XPG3] (remainder): Likewise.
10576 [XPG3] (rint): Likewise.
10577 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10578 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10579 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10580 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10581 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10582 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10583 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10584 [UNIX98 || XOPEN2K] (scalb): Expect.
10585 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10586 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10587 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10588 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10589 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10590 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10591 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10592 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10593 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10594 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10595 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10596 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10597 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10598 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10599 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10600 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10601 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10602 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10603 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10604 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10605 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10606 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10607 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10608 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10609 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10610 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10611 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10612 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10613 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10614 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10615 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10616 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10617 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10618 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10619 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10620 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10621 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10622 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10623 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10624 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10625 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10626 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10627 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10628 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10629 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10630 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10631 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10632 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10633 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10634 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10635 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10636 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10637 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10638 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10639 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10640 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10641 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10642 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10643 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10644 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10645 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10646 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10647 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10648 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10649 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10650 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10651 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10652 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10653 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10654 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10655 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10656 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10657 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10658 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10659 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10660 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10663 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10664 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10665 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10671 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10672 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10673 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10674 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10675 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10722
73c5ebe3
JM
10723 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10724 _XOPEN_SOURCE_EXTENDED for XPG4.
10725
39c33b6c
JM
10726 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10727
62fde54f
JM
10728 * Makeconfig (localtime): Remove variable.
10729 (inst_localtime-file): Likewise.
10730
0741d64c
AS
107312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10732
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10734 Update.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10736 Update.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10738 Update.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10740 Update.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10742 Update.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10744 Update.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10746 Update.
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10748 Update.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10750 Update.
10751
7cb029ee
JM
107522012-05-01 Joseph Myers <joseph@codesourcery.com>
10753
10754 [BZ #2550]
10755 [BZ #2570]
10756 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10757 comparisons to determine direction to adjust input.
10758 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10759 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10761 Likewise.
10762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10763 Likewise.
10764 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10765 Likewise.
10766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10768 Likewise.
10769 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10770 Likewise.
10771 * math/libm-test.inc (nexttoward_test): Add more tests.
10772
412bd966
AS
107732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10774
10775 [BZ #14040]
10776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10777 in version GLIBC_2.1, not GLIBC_2.0.
10778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10779 Likewise.
10780
9568c0c2
JM
107812012-04-30 Joseph Myers <joseph@codesourcery.com>
10782
adfbc8ac
JM
10783 [BZ #13942]
10784 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10785 (1 - x) * (1 + x).
10786 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10787 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10788 * math/libm-test.inc (acos_test): Add more tests.
10789 (asin_test): Likewise.
10790 * sysdeps/i386/fpu/libm-test-ulps: Update.
10791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10792
5ba3cc69
JM
10793 [BZ #14034]
10794 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10795 of square root.
10796 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10797 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10798 * math/libm-test.inc (acos_test_tonearest): New function.
10799 (acos_test_towardzero): Likewise.
10800 (acos_test_downward): Likewise.
10801 (acos_test_upward): Likewise.
10802 (asin_test_tonearest): Likewise.
10803 (asin_test_towardzero): Likewise.
10804 (asin_test_downward): Likewise.
10805 (asin_test_upward): Likewise.
10806 (main): Call the new functions.
10807 * sysdeps/i386/fpu/libm-test-ulps: Update.
10808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10809
9568c0c2
JM
10810 [BZ #13884]
10811 [BZ #13924]
10812 * math/e_exp10.c: Include <float.h>.
10813 (__ieee754_exp10): Handle underflow here rather than multiplying
10814 large negative argument by M_LN10.
10815 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10816 of __ieee754_expf.
10817 * math/e_exp10l.c: Include <float.h>.
10818 (__ieee754_exp10l): Handle underflow here rather than multiplying
10819 large negative argument by M_LN10l.
10820 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10821 spurious overflow exception on underflow.
10822
5ac3ea17
MP
108232012-04-29 Marek Polacek <polacek@redhat.com>
10824
10825 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10826 (__fortify_function): New macro.
10827 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10828 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10829 __extern_always_inline.
10830 * libio/bits/stdio2.h: Likewise.
10831 * libio/bits/stdio.h: Likewise.
10832 * string/string.h: Likewise.
10833 * string/bits/string3.h: Likewise.
10834 * include/stdio.h: Likewise.
10835 * stdlib/bits/stdlib.h: Likewise.
10836 * stdlib/stdlib.h: Likewise.
10837 * rt/bits/mqueue2.h: Likewise.
10838 * rt/mqueue.h: Likewise.
10839 * posix/bits/unistd.h: Likewise.
10840 * posix/unistd.h: Likewise.
10841 * io/bits/poll2.h: Likewise.
10842 * io/bits/fcntl2.h: Likewise.
10843 * io/fcntl.h: Likewise.
10844 * io/sys/poll.h: Likewise.
10845 * misc/bits/syslog.h: Likewise.
10846 * misc/bits/syslog-ldbl.h: Likewise.
10847 * misc/sys/syslog.h: Likewise.
10848 * socket/bits/socket2.h: Likewise.
10849 * socket/sys/socket.h: Likewise.
10850 * debug/tst-chk1.c: Likewise.
10851 * wcsmbs/bits/wchar2.h: Likewise.
10852 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10853 * wcsmbs/wchar.h: Likewise.
10854
ecf0ebfb
AJ
108552012-04-29 Andreas Jaeger <aj@suse.de>
10856
10857 * Makerules (tests): Remove enable-check-abi protection.
10858 (check-abi-warn): Remove.
10859 (check-abi-%): Remove check-abi-warn usage.
10860
10861 * configure.in: Remove check-abi configure option.
10862 * configure: Regenerated.
10863 * config.make.in (enable-check-abi): Remove.
10864
6d5c57fa
AS
108652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10866
24c5d07e 10867 [BZ #14033]
ded5180a
AS
10868 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10869 double functions to double *_finite functions.
10870
7e0d315d
AS
10871 [BZ #13941]
10872 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10873 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10874 LDBL_MIN_EXP.
10875 * stdio-common/Makefile (tests): Add tst-sprintf3.
10876 * stdio-common/tst-sprintf3.c: New file.
10877
6d5c57fa
AS
10878 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10879 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10880
0749ff8b
JM
108812012-04-28 Joseph Myers <joseph@codesourcery.com>
10882
10883 * conform/conformtest.pl: Remove duplicate typed-constant
10884 handling.
10885
8dbd5d7b
DM
108862012-04-28 David S. Miller <davem@davemloft.net>
10887
10888 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10889 (check-abi-%): Remove AWK script prerequisite and explicit
10890 abilist directory.
10891 (check-abi): Rewrite to just diff the symlist with the abilist.
10892 (config-tls, config-abi-config): Delete, no longer used.
10893 (update-abi-%): Remove AWK script and explicit abilist directory.
10894 (update-abi): Rewrite to simply compare and conditionally copy the
10895 symlist and the sysdep abilist file. Remove update-abi-config
10896 checks.
10897 * abilist/ld.abilist: Remove.
10898 * abilist/libBrokenLocale.abilist: Remove.
10899 * abilist/libanl.abilist: Remove.
10900 * abilist/libcrypt.abilist: Remove.
10901 * abilist/libdl.abilist: Remove.
10902 * abilist/librt.abilist: Remove.
10903 * abilist/libthread_db.abilist: Remove.
10904 * abilist/libutil.abilist: Remove.
10905 * scripts/extract-abilist.awk: Remove.
10906 * scripts/merge-abilist.awk: Remove.
10907 * sysdeps/generic/libcidn.abilist: New file.
10908 * sysdeps/generic/libnss_compat.abilist: New file.
10909 * sysdeps/generic/libnss_db.abilist: New file.
10910 * sysdeps/generic/libnss_dns.abilist: New file.
10911 * sysdeps/generic/libnss_files.abilist: New file.
10912 * sysdeps/generic/libnss_hesiod.abilist: New file.
10913 * sysdeps/generic/libnss_nis.abilist: New file.
10914 * sysdeps/generic/libnss_nisplus.abilist: New file.
10915 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10916 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10917 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10918 file.
10919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10920 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10921 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10922 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10923 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10924 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10925 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10926 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10927 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10928 file.
10929 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10930 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10931 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10932 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10933 file.
10934 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10935 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10936 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10937 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10938 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10939 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10940 file.
10941 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10942 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10943 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10944 file.
10945 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10947 New file.
10948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10949 New file.
10950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10951 New file.
10952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10953 New file.
10954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10955 New file.
10956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10957 New file.
10958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10959 New file.
10960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10961 New file.
10962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10963 New file.
10964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10965 New file.
10966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10967 New file.
10968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10969 New file.
10970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10971 New file.
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10973 file.
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10975 New file.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10977 New file.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10979 file.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10981 New file.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10983 New file.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10985 file.
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10987 New file.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10989 New file.
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10991 New file.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10993 New file.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10995 New file.
10996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10997 New file.
10998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11000 file.
11001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11002 New file.
11003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11004 file.
11005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11006 file.
11007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11008 file.
11009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11010 file.
11011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11012 file.
11013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11014 New file.
11015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11016 file.
11017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11018 file.
11019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11020 New file.
11021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11022 file.
11023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11025 file.
11026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11027 New file.
11028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11029 file.
11030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11031 file.
11032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11033 file.
11034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11035 file.
11036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11037 file.
11038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11039 New file.
11040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11041 file.
11042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11043 file.
11044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11045 New file.
11046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11047 file.
11048 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11049 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11050 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11051 file.
11052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11053 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11054 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11055 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11056 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11057 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11058 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11059 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11060 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11061 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11064 file.
11065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11066 New file.
11067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11068 file.
11069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11070 file.
11071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11072 file.
11073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11074 file.
11075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11076 file.
11077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11078 New file.
11079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11080 New file.
11081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11082 file.
11083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11084 New file.
11085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11086 file.
11087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11089 file.
11090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11091 New file.
11092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11093 file.
11094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11095 file.
11096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11097 file.
11098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11099 file.
11100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11101 file.
11102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11103 New file.
11104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11105 New file.
11106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11107 file.
11108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11109 New file.
11110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11111 file.
11112
41d73a1b
JM
111132012-04-28 Joseph Myers <joseph@codesourcery.com>
11114
11115 * conform/conformtest.pl: Fix typo in handling typed-constant from
11116 allow-header.
11117
28aeeda4
JM
111182012-04-27 Joseph Myers <joseph@codesourcery.com>
11119
adae8f5e
JM
11120 * README: Cut down references to pre-2.6 Linux kernels and
11121 Linuxthreads. Update lists of configurations in libc and ports
11122 and sort alphabetically. Say "or newer" with Linux kernel version
11123 requirements.
11124
28aeeda4
JM
11125 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11126
a462cb63
RA
111272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11128
11129 [BZ #887]
11130 * math/libm-test.inc (logb_test_downward): New test to expose
11131 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11132 rounding mode.
11133
6ad3493e
JM
111342012-04-27 Joseph Myers <joseph@codesourcery.com>
11135
11136 [BZ #14027]
11137 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11138 to be done.
11139 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11140 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11141
2ce4f015
JM
111422012-04-26 Joseph Myers <joseph@codesourcery.com>
11143
5aeb141a
JM
11144 * sysdeps/unix/i386/brk.S: Remove file.
11145 * sysdeps/unix/i386/dl-brk.S: Likewise.
11146 * sysdeps/unix/i386/pipe.S: Likewise.
11147 * sysdeps/unix/i386/sigreturn.S: Likewise.
11148 * sysdeps/unix/i386/syscall.S: Likewise.
11149 * sysdeps/unix/i386/vfork.S: Likewise.
11150 * sysdeps/unix/i386/wait.S: Likewise.
11151
7143acae
JM
11152 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11153 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11154
2ce4f015
JM
11155 * configure.in (arm*-none*): Do not allow without
11156 --enable-hacker-mode.
11157 (netbsd*): Remove case setting base_os.
11158 (386bsd*): Likewise.
11159 (freebsd*): Likewise.
11160 (bsdi*): Likewise.
11161 (osf*): Likewise.
11162 (sunos*): Likewise.
11163 (ultrix*): Likewise.
11164 (newsos*): Likewise.
11165 (dynix*): Likewise.
11166 (*bsd*): Likewise.
11167 (sysv*): Likewise.
11168 (isc*): Likewise.
11169 (esix*): Likewise.
11170 (sco*): Likewise.
11171 (minix*): Likewise.
11172 (irix4*): Likewise.
11173 (irix6*): Likewise.
11174 (solaris[2-9]*): Likewise.
11175 (none): Likewise.
11176 * configure: Regenerated.
11177
0ac229c8
AZ
111782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11179
11180 [BZ #11521]
11181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11182 overflow or cancellation in calculating denominator.
11183 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11185 down expression to avoid unexpected rounding in newer GCCs.
11186 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11187
33f244f4
DM
111882012-04-26 David S. Miller <davem@davemloft.net>
11189
11190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11191 long-double compat symbols.
11192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11205
cfa1f3e8
DM
112062012-04-25 David S. Miller <davem@davemloft.net>
11207
11208 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11209 HWCAP_* values only after the memory barriers have been defined.
11210 (atomic_full_barrier): Define.
11211 (atomic_read_barrier): Define.
11212 (atomic_write_barrier): Define.
11213
6e236b92
SP
112142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11215
11216 * shlib-versions: Add libgcc_s version information.
11217 * sysdeps/generic/libgcc_s.h: Remove.
11218 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11219 libgcc_s.h.
11220 * sysdeps/gnu/unwind-resume.c: Likewise.
11221 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11222
aab39a09
DM
112232012-04-25 David S. Miller <davem@davemloft.net>
11224
11225 * sysdeps/unix/sparc/brk.S: Delete.
11226 * sysdeps/unix/sparc/dl-brk.S: Delete.
11227 * sysdeps/unix/sparc/pipe.S: Delete.
11228 * sysdeps/unix/sparc/sysdep.S: Delete.
11229 * sysdeps/unix/sparc/sysdep.h: Delete.
11230 * sysdeps/unix/sparc/vfork.S: Delete.
11231 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11232 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11233 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11234 ret_ERRVAL, r0, r1, MOVE): Define.
11235 (JUMPTARGET): Remove.
11236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11237 sysdeps/unix/sparc/sysdep.h
11238 (ENTRY, END): Remove.
11239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11240
a3cc4f48
JM
112412012-04-25 Joseph Myers <joseph@codesourcery.com>
11242
2ed8cda2
JM
11243 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11244 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11245 -DIS_IN_build.
11246
35d76d59
JM
11247 * timezone/README: Update upstream location and email address for
11248 tzcode and tzdata.
11249 * timezone/zdump.c: Update from tzcode 2012b.
11250 * timezone/zic.c: Likewise.
11251
a3cc4f48
JM
11252 * configure.in (libc_cv_as_needed): Remove test.
11253 * configure: Regenerated.
11254 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11255 conditional definition.
11256 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11257 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11258 * config.make.in (have-as-needed): Remove variable.
11259
ceab42c3
SP
112602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11261 Paul Pluzhnikov <ppluzhnikov@google.com>
11262
11263 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11264 strings correctly.
11265
3ce2865f
CLT
112662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11267
11268 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11269 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11270 * sysdeps/sh/strlen.S: Likewise.
11271
f37e0d68
JM
112722012-04-24 Joseph Myers <joseph@codesourcery.com>
11273
ae186e9a
JM
11274 * sysdeps/unix/fork.S: Remove file.
11275 * sysdeps/unix/i386/fork.S: Likewise.
11276 * sysdeps/unix/sparc/fork.S: Likewise.
11277
b96914af
JM
11278 * sysdeps/unix/system.c: Remove file.
11279 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11280
f37e0d68
JM
11281 * sysdeps/unix/getegid.S: Remove file.
11282 * sysdeps/unix/geteuid.S: Likewise.
11283
87ef29ca
RM
112842012-04-24 Roland McGrath <roland@hack.frob.com>
11285
83bcd236
RM
11286 * scripts/check-localplt.awk: New file.
11287 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11288 of diff.
11289 * scripts/data/localplt-generic.data: Add a comment.
11290
87ef29ca
RM
11291 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11292 NODE when __dir_mkfile failed.
11293 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11294 Reported by Ludovic Courtès <ludo@gnu.org>.
11295
e5a6e567
AJ
112962012-04-24 Andreas Jaeger <aj@suse.de>
11297
11298 * Makerules (common-clean): Also remove gen-as-const-headers
11299 files.
11300
c1820385
JM
113012012-04-24 Joseph Myers <joseph@codesourcery.com>
11302
11303 * Makerules (native-compile): Do not change working directory for
11304 build. Use $(OUTPUT_OPTION) in command.
11305 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11306
94e02fc4
AZ
113072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11308
11309 [BZ #13886]
11310 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11311 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11312 * math/libm-test.inc (floor_test): Add more tests.
11313 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11314
3a533ca3
JM
113152012-04-24 Joseph Myers <joseph@codesourcery.com>
11316
940ab4b3
JM
11317 * sysdeps/unix/getdents.c: Remove file.
11318 * sysdeps/unix/sysv/getdents.c: Likewise.
11319 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11320
90e037bd
JM
11321 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11322 sysdeps/unix/mman/syscalls.list.
11323 (mmap): Likewise.
11324 (mprotect): Likewise.
11325 (msync): Likewise.
11326 (munmap): Likewise.
11327 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11328 * sysdeps/unix/mman/syscalls.list: Remove.
11329 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11330
3a533ca3
JM
11331 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11332 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11333 * configure: Regenerated.
11334 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11335 $(libgcc_s_suffix).
11336 * config.make.in (libgcc_s_suffix): Remove variable.
11337
1ad743de
JM
113382012-04-23 Joseph Myers <joseph@codesourcery.com>
11339
4ad451e2
JM
11340 * sysdeps/unix/sysv/gethostname.c: Move to ...
11341 * sysdeps/posix/gethostname.c: ... here.
11342
5e37ce39
JM
11343 * sysdeps/unix/execve.S: Remove file.
11344
1ad743de
JM
11345 * sysdeps/unix/_exit.S: Remove file.
11346
4e681b5b
AJ
113472012-04-23 Andreas Jaeger <aj@suse.de>
11348
11349 [BZ #13739]
11350 * manual/Makefile: Remove make dist support, there's no
11351 need for a stand-alone documentation tar ball.
11352 (TEXI2DVI): Define always, it's not in Makeconfig.
11353 (dist): Removed.
11354 (tar-it): Removed.
11355 (edition): Removed.
11356 (glibc-doc-$(edition).tar): Removed
11357 (%.Z): Removed.
11358 (%.gz): Removed.
11359 (%.uu): Removed.
11360 (ETAGS): Remove, it's in Makeconfig.
11361 (move-if-change): Remove, it's in Makeconfig.
11362
c0baea34
PE
113632013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11364
11365 [BZ #13970]
11366 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11367 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11368 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11369 (strtod_l, strtof_l, strtold_l): Remove __wur.
11370 It is not necessarily an error to ignore strtol's return value.
11371 One can reliably look at the stored endptr to decide whether
11372 the number had valid syntax.
11373
7c0616fa
AJ
113742012-04-21 Andreas Jaeger <aj@suse.de>
11375
803cb6b7 11376 [BZ #13739]
7c0616fa
AJ
11377 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11378
b0fe253f
JM
113792012-04-21 Joseph Myers <joseph@codesourcery.com>
11380
11381 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11382 * sysdeps/unix/sysv/Versions: Remove file.
11383
8280f22d
MT
113842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11385
11386 [BZ #13927]
11387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11388
75ce411f 113892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11390
11391 [BZ #7064]
11392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11393 version from __vm86.
11394
097d59fa
JM
113952012-04-20 Joseph Myers <joseph@codesourcery.com>
11396
a90f3bcb
JM
11397 * sysdeps/unix/common/lxstat.c: Remove file.
11398 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11399
edc7ea78
JM
11400 * sysdeps/unix/sysv/Makefile: Remove file.
11401
cb78c221
JM
11402 * sysdeps/unix/sysv/direct.h: Remove file.
11403
efa6a45f
JM
11404 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11405 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11406 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11407 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11408 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11409 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11410 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11411
9c9f2d0c
JM
11412 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11413
4541c83b
JM
11414 * sysdeps/unix/xmknod.c: Remove file.
11415 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11416
f5d153a0
JM
11417 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11418
aa746595
JM
11419 * sysdeps/unix/sysv/i386/time.S: Remove file.
11420
cce5905e
JM
11421 * sysdeps/unix/fxstat.c: Remove file.
11422 * sysdeps/unix/xstat.c: Likewise.
11423 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11424
37fa3841
JM
11425 * sysdeps/unix/sysv/sigaction.c: Remove file.
11426
ff1962a3
JM
11427 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11428 (sysdep_headers): Remove variable.
11429 [termio.h not in sysdep_headers] (generated): Likewise.
11430 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11431 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11432 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11433 * sysdeps/unix/sysv/tcflow.c: Likewise.
11434 * sysdeps/unix/sysv/tcflush.c: Likewise.
11435 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11436 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11437 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11438 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11439 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11440
e7740d31
JM
11441 * sysdeps/unix/siglist.c: Remove file.
11442
ee06f18b
JM
11443 * sysdeps/unix/getppid.S: Remove file.
11444
097d59fa
JM
11445 * sysdeps/unix/mkdir.c: Remove file.
11446 * sysdeps/unix/rmdir.c: Likewise.
11447
ff3d51ec
AS
114482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11449
11450 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11451 ERR_MAX value.
11452 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11453 errlist-compat value.
11454
50f81fd7
DM
114552012-04-18 David S. Miller <davem@davemloft.net>
11456
11457 * sysdeps/generic/memcopy.h (reg_char): Delete.
11458 * debug/strcat_chk.c: Use char, not reg_char.
11459 * debug/strcpy_chk.c: Likewise.
11460 * debug/strncat_chk.c: Likewise.
11461 * debug/strncpy_chk.c: Likewise.
11462 * string/memchr.c: Likewise.
11463 * string/memrchr.c: Likewise.
11464 * string/rawmemchr.c: Likewise.
11465 * string/strcat.c: Likewise.
11466 * string/strchr.c: Likewise.
11467 * string/strchrnul.c: Likewise.
11468 * string/strcmp.c: Likewise.
11469 * string/strcpy.c: Likewise.
11470 * string/strncat.c: Likewise.
11471 * string/strncmp.c: Likewise.
11472 * string/strncpy.c: Likewise.
11473
8ff41c46
WS
114742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11475
11476 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11477 __builtin_memcopy is called when src and dest ranges are known to not
11478 overlap.
11479
6b652f46
WS
114802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11481
11482 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11483 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11484 fwd_align_merge macro call.
11485 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11486 bwd_align_merge macro call.
11487 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11488
b282631e
WS
114892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11490
11491 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11492 bwd_align_merge macros.
11493 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11494 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11495 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11496
95aa737c
DM
114972012-04-18 David S. Miller <davem@davemloft.net>
11498
11499 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11500
7a99a614
AJ
115012012-04-18 Andreas Jaeger <aj@suse.de>
11502
11503 [BZ# 6794]
11504 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11505 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11506 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11507
11508 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11509 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11510 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11511
11512 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11513 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11514 Adjust for changed ldbl-128 files.
11515
11516 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11517 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11518 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11519
e5270c23
DM
115202012-04-17 David S. Miller <davem@davemloft.net>
11521
11522 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11523
fb5e92c9
AS
115242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11525
11526 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11527 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11528 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11529 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11530 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11531 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11532
76da7265
AZ
115332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11534
11535 [BZ #6794]
11536 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11537 * math/libm-test.inc: Add ilogb errno and exception tests.
11538 * math/w_ilogb.c: New file: ilogb wrapper.
11539 * math/w_ilogbf.c: New file: ilogbf wrapper.
11540 * math/w_ilogbl.c: New file: ilogbl wrapper.
11541 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11542 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11543 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11544 exception being thrown with 0.0 as argument.
11545 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11546 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11547 exception being thrown with 0.0 as argument.
11548 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11549 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11550 exception being thrown with 0.0 as argument.
11551 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11552 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11553 exception being thrown with 0.0 as argument.
11554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11555 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11556 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11557 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11558 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11559 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11560 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11561 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11562 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11563
0396e69d
PB
115642012-04-17 Petr Baudis <pasky@ucw.cz>
11565
11566 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11567 with altivec.
11568
750b5926
MP
115692012-04-16 Marek Polacek <polacek@redhat.com>
11570
11571 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11572
751728a1
MP
115732012-04-16 Marek Polacek <polacek@redhat.com>
11574
11575 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11576 operands of fdivp instruction.
11577
34a27407
L
115782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11579
11580 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11581 * elf/tst-auditmod3b.c: Likewise.
11582 * elf/tst-auditmod4b.c: Likewise.
11583 * elf/tst-auditmod5b.c: Likewise.
11584 * elf/tst-auditmod6b.c: Likewise.
11585 * elf/tst-auditmod6c.c: Likewise.
11586 * elf/tst-auditmod7b.c: Likewise.
11587 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11588 * sysdeps/x86_64/preconfigure.in: Likewise.
11589 * sysdeps/x86_64/preconfigure: Regenerated.
11590
7e73e17d
L
115912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11592
11593 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11594 __ILP32__.
11595
c7a6ab72
AB
115962012-04-13 Antoine Balestrat <merkil33@gmail.com>
11597
11598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11599 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11600
a9e8e0e0
CL
116012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11602
11603 [BZ #13973]
11604 * locale/iso-639.def: Fix gl language name. Spotted by
11605 Yaron Shahrabani.
11606
ec98af7d
RM
116072012-04-12 Roland McGrath <roland@hack.frob.com>
11608
11609 [BZ #2074]
11610 * libio/libio.h (__io_write_fn): Update comment.
11611
247c3ede
PB
116122012-04-12 Petr Baudis <pasky@ucw.cz>
11613
11614 [BZ #2074]
11615 * stdio.texi (Hook Functions): The user provided writer function
11616 is not allowed to return -1.
11617
55939d6d
DM
116182012-04-11 David S. Miller <davem@davemloft.net>
11619
11620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11621
90020f5a
MF
116222012-04-11 Mike Frysinger <vapier@gentoo.org>
11623
11624 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11625 Add a leading slash to rtkaio.
11626
288f9098
JM
116272012-04-11 Jim Meyering <meyering@redhat.com>
11628
90020f5a
MF
11629 [BZ #11959]
11630 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11631 It is not necessarily an error to ignore fwrite's return
11632 value. One can reliably use ferror to test for errors after
11633 the fact.
288f9098 11634
4be2b570
L
116352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11636
11637 * bits/types.h (__snseconds_t): New type.
11638 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11639
11640 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11642 (__SNSECONDS_T_TYPE): Likewise.
11643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11644 (__SNSECONDS_T_TYPE): Likewise.
11645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11646 (__SNSECONDS_T_TYPE): Likewise.
11647
288f9098 116482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11649
11650 [BZ #2636]
11651 * manual/time.texi (Processor Time): Return type of times is
11652 elapsed real time since an arbitrary point in the past.
11653 (CPU Time): Move CLK_TCK from here...
11654 (Processor Time): ...to here. Correct description.
11655 * manual/conf.texi (Constants for Sysconf): Correct description of
11656 _SC_CLK_TCK.
11657
d7dd4413
DM
116582012-04-10 David S. Miller <davem@davemloft.net>
11659
11660 [BZ #13967]
11661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11662 where the is a gap between DT_REL(A) and DT_JMPREL.
11663
b46068fc
L
116642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11665
11666 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11667 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11668 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11669
73d65cc3
SP
116702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11671
11672 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11673 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11674 (dl_main): Handle --inhibit-cache.
11675 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11676 _dl_inhibit_cache.
11677 * elf/dl-load.c (_dl_map_object): Use it.
11678 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11679
bcc8d661
JM
116802012-04-09 Joseph Myers <joseph@codesourcery.com>
11681
8f9a2fae
JM
11682 [BZ #13872]
11683 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11684 (__ieee754_powl): Saturate large exponents rather than testing for
11685 overflow of y*log2(x).
11686 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11687 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11688 exceptions.
11689
bcc8d661
JM
11690 [BZ #11521]
11691 * math/s_ctan.c: Include <float.h>.
11692 (__ctan): Avoid internal overflow or cancellation in calculating
11693 denominator.
11694 * math/s_ctanf.c: Likewise.
11695 * math/s_ctanl.c: Likewise.
11696 * math/s_ctanh.c: Likewise.
11697 * math/s_ctanhf.c: Likewise.
11698 * math/s_ctanhl.c: Likewise.
11699 * math/libm-test.inc (ctan_test): Add more tests.
11700 (ctanh_test): Likewise.
11701 * sysdeps/i386/fpu/libm-test-ulps: Update.
11702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11703
823fbbb4
AJ
117042012-04-09 Andreas Jaeger <aj@suse.de>
11705
03879793
AJ
11706 [BZ #6894]
11707 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11708 is an optional BSD extension.
11709
823fbbb4
AJ
11710 [BZ #10254]
11711 * manual/stdio.texi (Opening Streams): Document additional fopen
11712 parameters.
11713
8de131cb
RM
117142012-04-09 Roland McGrath <roland@hack.frob.com>
11715
11716 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11717 %eax without telling the compiler.
11718
c0ed9d7d
CD
117192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11720
11721 [BZ # 13963]
11722 * manual/install.texi: Use sourceware.org.
11723
c483f6b4
JM
117242012-04-09 Joseph Myers <joseph@codesourcery.com>
11725
d7dd9453
JM
11726 [BZ #13873]
11727 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11728 (__ieee754_pow): Generate overflow and underflow using huge*huge
11729 and tiny*tiny rather than just returning constant infinity or zero
11730 for large exponents.
11731 * math/libm-test.inc (pow_test): Require overflow exceptions for
11732 applicable cases of large exponents.
11733
c483f6b4
JM
11734 [BZ #706]
11735 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11736 (__ieee754_pow): Use iterative multiplication algorithm only for
11737 integer exponents with absolute value below 1024. Check for odd
11738 integer exponents when using algorithm for real exponents.
11739 * math/libm-test.inc (pow_test): Add more tests.
11740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11741
d2de7579
JM
117422012-04-08 Joseph Myers <joseph@codesourcery.com>
11743
11744 [BZ #13705]
11745 * math/libm-test.inc (exp_test): Do not allow overflow exception
11746 on underflow test.
11747
f77f1232
AJ
117482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11749
11750 [BZ #13705]
11751 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11752 instead of __kernel_standard_f.
11753
3884932b
MF
117542012-04-08 Mike Frysinger <vapier@gentoo.org>
11755
11756 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11757 * sysdeps/x86_64/memset_chk.S: Likewise.
11758
54472e9c
AJ
117592012-04-08 Andreas Jaeger <aj@suse.de>
11760
6ab0fbfc
AJ
11761 [BZ #10153]
11762 * manual/startup.texi (Environment Access): Describe return value
11763 for putenv and setenv.
11764
61efba8c
AJ
11765 [BZ #6895]
11766 * manual/filesys.texi (Directory Entries): Add description for
11767 DT_LNK.
11768
95c3f29a
AJ
11769 [BZ #6890]
11770 * manual/filesys.texi (Directory Entries): Clarify that it's file
11771 system not operating system in the description of DT_UNKNOWN.
11772
54472e9c
AJ
11773 [BZ #6578]
11774 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11775
624254b1
SC
117762012-04-08 Stephen Compall <s11@member.fsf.org>
11777
11778 [BZ #6649]
11779 * manual/llio.texi (Opening and Closing Files): Add cross
11780 reference to explain mode argument.
11781
1e4920e0
MF
117822012-04-07 Mike Frysinger <vapier@gentoo.org>
11783
11784 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11785 * sysdeps/x86_64/memset_chk.S: Likewise.
11786
5ed848f3
DM
117872012-04-07 David S. Miller <davem@davemloft.net>
11788
11789 * elf/elf.h (R_SPARC_WDISP10): Define.
11790 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11791 R_SPARC_SIZE32.
11792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11793 R_SPARC_SIZE64 and R_SPARC_H34.
11794
96154cd8
CD
117952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11796
11797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11798 conditions and remove no longer applicable assertion.
11799
9904dc47
L
118002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11801
11802 * bits/byteswap.h: Include <features.h>.
11803 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11804 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11805
f8887d0a
L
118062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11807
11808 * bits/byteswap.h (__bswap_16): Removed.
11809 Include <bits/byteswap-16.h> to get __bswap_16.
11810 * sysdeps/i386/bits/byteswap.h: Likewise.
11811 * sysdeps/s390/bits/byteswap.h: Likewise.
11812 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11813 * bits/byteswap-16.h: New file.
11814 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11815 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11816 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11817 * string/Makefile (headers): Add bits/byteswap-16.h.
11818
62470f60
PP
118192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11820
11821 [BZ #13895]
11822 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11823 extra indirection.
11824 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11825 * nss/tst-nss-static.c: New.
11826
4dad7bab
RM
118272012-04-06 Robert Millan <rmh@gnu.org>
11828
11829 [BZ #6486]
11830 * manual/llio.texi (File Position Primitive): lseek
11831 refers to WHENCE when it really means OFFSET.
11832
e9142a17
AJ
118332012-04-06 Andreas Jaeger <aj@suse.de>
11834
2c040eff
AJ
11835 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11836 strncmp declarations.
11837
e9142a17
AJ
11838 * abilist/libc.abilist: Add __poll and __ppoll.
11839
ff9f1c5f
DM
118402012-04-05 David S. Miller <davem@davemloft.net>
11841
dcd2ae90
DM
11842 * scripts/check-local-headers.sh: Accept a host triplet in the
11843 path matched by the exclude regexp.
11844
993eb054
DM
11845 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11846 definition.
11847 * sysdeps/powerpc/powerpc32/dl-machine.h
11848 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11849 * sysdeps/s390/s390-32/dl-machine.h
11850 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11851 * sysdeps/sparc/sparc32/dl-machine.h
11852 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11853 * sysdeps/sparc/sparc64/dl-machine.h
11854 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11855
ff9f1c5f
DM
11856 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11857 lazy binding.
48e2e132 11858 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11859 undefined symbol errors.
11860
48e2e132 11861 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11862 DT_NEEDED entries.
11863
e80d6f94
MM
118642012-04-05 Michael Matz <matz@suse.de>
11865
11866 [BZ #13592]
11867 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11868
349fa79f
AJ
118692012-04-05 Andreas Jaeger <aj@suse.de>
11870
11871 [BZ #13908]
11872 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11873 comment.
11874
f402708f
KK
118752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11876
11877 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11878 which ROUND is no valid rounding mode.
11879
2ecccfc9
KK
118802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11881
11882 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11883 read again.
11884 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11885
8a53f50f
KK
118862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11887
11888 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11889 an exception using FPU order intentionally.
11890
118912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11892
11893 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11894 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11895 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11896 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11897
d653abb7
SJ
118982012-04-05 Simon Josefsson <simon@josefsson.org>
11899
11900 [BZ #12340]
11901 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11902 EINVAL when BUFLEN is too smal.
11903
c3b1bf7d
TS
119042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11905
11906 [BZ #13553]
11907 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11908 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11909
b1aa60f3
AJ
119102012-04-03 Andreas Jaeger <aj@suse.de>
11911
c3b1bf7d 11912 [BZ #13938]
67f60a26
AJ
11913 * manual/setjmp.texi (System V contexts): Fix sentence.
11914
b1aa60f3
AJ
11915 [BZ #13926]
11916 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11917 New macro for this case.
11918 [!__GNUC__] (__bswap_64): New inline function for this case.
11919 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11920 * bits/byteswap.h: Likewise.
11921 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11922 ull, guard with __GLIBC_HAVE_LONG_LONG.
11923
11924 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11925 __GLIBC_HAVE_LONG_LONG.
11926
11927 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11928 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11929
39c59c35
TMQMF
119302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11931
11932 [BZ #13691]
11933 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11934 inptr and inend, rather than using last_ch.
11935
135ffda8
DM
119362012-04-02 David S. Miller <davem@davemloft.net>
11937
11938 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11939 * stdio-common/printf-parse.h (read_int): Change return type to
11940 'int', return -1 on INT_MAX overflow.
11941 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11942 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11943 overflows INT_MAX. Check for overflow of in-format-string precision
11944 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11945 SIZE_MAX not INT_MAX for integer overflow test.
11946 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11947 skip the construct in the format string but do not record anything.
11948 * stdio-common/bug22.c: Adjust to test both width/prevision
11949 INT_MAX overflow as well as total length INT_MAX overflow. Check
11950 explicitly for proper errno values.
11951
228c019e
TS
119522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11953
302cadd3
TS
11954 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11955 CHAR_MAX.
11956 * string/test-strcmp.c [! WIDE]: Likewise.
11957 * time/tst-mktime2.c: Likewise for INT_MAX.
11958 * string/test-string.h: #include <sys/param.h> for MIN.
11959
228c019e
TS
11960 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11961 * sysdeps/i386/init-first.c (init): Likewise.
11962 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11963 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11964 * sysdeps/sh/init-first.c (init): Likewise.
11965
cfa633f5
UD
119662012-04-01 Ulrich Drepper <drepper@gmail.com>
11967
11968 * po/ru.po: Update from translation team.
d1635ef8 11969 * po/vi.po: Likewise.
cfa633f5 11970
6cd0a5ea
SP
119712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11972
11973 * resolv/nss_dns/dns-host.c: Merge copyright years.
11974
4b43400f
LD
119752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11976
11977 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11978 Optimize memcpy with prefetch if
11979 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11980 src, dst pointers have unequal 16 byte alignments.
11981
48c41d04
SP
119822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11983
11984 [BZ #13928]
11985 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11986 from a CNAME entry and return the minimum ttl for the query.
11987 (gaih_getanswer_slice): Likewise.
11988
b8dc394d
JL
119892012-03-30 Jeff Law <law@redhat.com>
11990
11991 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11992 due to long keys.
11993 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11994 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11995
2f5a5ed0
JL
11996 * resolv/nss_dns/dns-host.c: Update copyright year.
11997
1d39e359
UD
119982012-03-30 Ulrich Drepper <drepper@gmail.com>
11999
c030f70c 12000 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12001 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12002
1d39e359
UD
12003 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12004 comments for sendmmsg.
12005
120062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12007
12008 [BZ #13691]
12009 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12010 with only 1 character between 0x0041 and 0x01b0.
12011 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12012 * wcsmbs/tst-mbsnrtowcs.c: New file.
12013
20fde227
DM
120142012-03-29 David S. Miller <davem@davemloft.net>
12015
12016 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12017 small copies by hand.
12018
984a4237
JL
120192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12020
12021 [BZ #13761]
12022 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12023 _nss_compat_initgroups_dyn): Fall back to malloc/free
12024 for large group memberships.
12025
18c9d62b
DM
120262012-03-28 David S. Miller <davem@davemloft.net>
12027
88d85d4f
DM
12028 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12029 that branches into memcpy.
12030 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12033 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12034 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12035 bits.
12036 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12037 implementation too.
12038 * sysdeps/sparc/mempcpy.S: New file.
12039
e5aa83e1
DM
12040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12041 the IFUNC routine in the libc case.
12042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12043
88570753
DM
12044 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12045 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12046 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12047 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12048 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12049 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12050 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12051 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12052
249d7567
DM
12053 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12054 loop to 256 bytes instead of 64 bytes and fix test signedness.
12055
18c9d62b
DM
12056 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12057 * sysdeps/sparc/sparc32/Makefile: rather than here...
12058 * sysdeps/sparc/sparc64/Makefile: and here.
12059
05f3d1f6
UD
120602012-03-28 Ulrich Drepper <drepper@gmail.com>
12061
12062 * malloc/mallocbug.c: Avoid warnings about unused variables.
12063
86ae07a8
JL
120642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12065
12066 [BZ #13760]
12067 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12068 in the right place. Discard and retry query if response is
12069 larger than input buffer size.
12070
41bf21a1
JM
120712012-03-28 Joseph Myers <joseph@codesourcery.com>
12072
d6270972
JM
12073 [BZ #369]
12074 [BZ #2678]
12075 [BZ #3866]
12076 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12077 x for large integer exponent.
12078 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12079 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12080 sign of result as needed afterwards.
12081 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12082 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12083 result for underflowing pow the same as for overflow.
12084 (__kernel_standard_l): Handle powl overflow and underflow here
12085 rather than calling __kernel_standard.
12086 * math/libm-test.inc (pow_test): Add more tests.
12087
414fca03 12088 [BZ #3868]
41bf21a1
JM
12089 [BZ #13879]
12090 [BZ #13910]
12091 [BZ #13911]
12092 [BZ #13912]
12093 [BZ #13913]
12094 [BZ #13915]
12095 [BZ #13916]
12096 [BZ #13917]
12097 [BZ #13918]
12098 [BZ #13919]
12099 [BZ #13920]
12100 [BZ #13921]
12101 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12102 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12103 (__kernel_standard_l): New function.
12104 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12105 __kernel_standard.
12106 * math/w_acosl.c (__acosl): Likewise.
12107 * math/w_asinl.c (__asinl): Likewise.
12108 * math/w_atan2l.c (__atan2l): Likewise.
12109 * math/w_atanhl.c (__atanhl): Likewise.
12110 * math/w_coshl.c (__coshl): Likewise.
12111 * math/w_exp10l.c (__exp10l): Likewise.
12112 * math/w_exp2l.c (__exp2l): Likewise.
12113 * math/w_fmodl.c (__fmodl): Likewise.
12114 * math/w_hypotl.c (__hypotl): Likewise.
12115 * math/w_j0l.c (__j0l, __y0l): Likewise.
12116 * math/w_j1l.c (__j1l, __y1l): Likewise.
12117 * math/w_jnl.c (__jnl, __ynl): Likewise.
12118 * math/w_lgammal.c (__lgammal): Likewise.
12119 * math/w_log10l.c (__log10l): Likewise.
12120 * math/w_log2l.c (__log2l): Likewise.
12121 * math/w_logl.c (__logl): Likewise.
12122 * math/w_powl.c (__powl): Likewise.
12123 * math/w_remainderl.c (__remainderl): Likewise.
12124 * math/w_scalbl.c (sysv_scalbl): Likewise.
12125 * math/w_sinhl.c (__sinhl): Likewise.
12126 * math/w_sqrtl.c (__sqrtl): Likewise.
12127 * math/w_tgammal.c (__tgammal): Likewise.
12128 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12129 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12130 * math/libm-test.inc (acos_test): Add more tests.
12131 (acosh_test): Likewise.
12132 (asin_test): Likewise.
12133 (atanh_test): Likewise.
12134 (exp_test): Likewise.
12135 (exp10_test): Likewise.
12136 (exp2_test): Likewise.
12137 (expm1_test): Likewise.
12138 (lgamma_test): Likewise.
12139 (log_test): Likewise.
12140 (log10_test): Likewise.
12141 (log1p_test): Likewise.
12142 (log2_test): Likewise.
12143 (pow_test): Do not allow some spurious overflow exceptions.
12144 (sqrt_test): Add more tests.
12145 (tgamma_test): Likewise.
12146 (y0_test): Likewise.
12147 (y1_test): Likewise.
12148 (yn_test): Likewise.
12149
dd62fda6
AB
121502012-03-27 Anton Blanchard <anton@samba.org>
12151
12152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12153 MAP_HUGETLB.
12154 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12157
1e3cdfda
AJ
121582012-03-27 David S. Miller <davem@davemloft.net>
12159
b855ab85
DM
12160 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12161
1e3cdfda
AJ
12162 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12163 have-as-vis3 check.
12164
121652012-03-27 Andreas Jaeger <aj@suse.de>
12166
12167 * sysdeps/x86_64/elf/configure.in: Moved to ...
12168 * sysdeps/x86_64/configure.in: ... here.
12169 * sysdeps/x86_64/elf/start.S: Moved to ...
12170 * sysdeps/x86_64/start.S: ... here.
12171 * sysdeps/x86_64/elf/configure: Delete.
12172
12173 * sysdeps/x86_64/configure.in: Merge contents from
12174 sysdeps/i386/configure.in (without i686 check).
12175
12176 * sysdeps/i386/elf/Versions: Merge into ...
12177 * sysdeps/i386/Versions: ... this.
12178 * sysdeps/i386/elf/Versions: Delete file.
12179 * sysdeps/i386/elf/start.S: Moved to ...
12180 * sysdeps/i386/start.S: ...here.
12181 * sysdeps/i386/elf/configure.in: Merge into...
12182 * sysdeps/i386/configure.in: ...here.
12183 * sysdeps/i386/elf/configure.in: Delete file.
12184 * sysdeps/i386/elf/configure: Delete file.
12185
12186 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12187 * debug/backtracesyms.c: ... here.
12188 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12189 * debug/backtracesymsfd.c: ... here.
12190 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12191 * sysdeps/generic/ifunc-sel.h: ... here.
12192
12193 * sysdeps/unix/i386/start.c: Delete file.
12194 * sysdeps/unix/sparc/start.c: Delete file.
12195 * sysdeps/unix/start.c: Delete file.
12196
12197 * sysdeps/sh/elf/configure.in: Moved to ...
12198 * sysdeps/sh/configure.in: ... here.
12199 * sysdeps/sh/elf/start.S: Moved to ...
12200 * sysdeps/sh/start.S: ... here.
12201 * sysdeps/sh/elf/configure: Delete file.
12202
12203 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12204 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12205 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12206 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12207 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12208 * sysdeps/powerpc/powerpc64/start.S: here.
12209 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12210 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12211 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12212 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12213 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12214
12215 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12216 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12217 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12218 * sysdeps/powerpc/powerpc32/start.S: ... here.
12219 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12220 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12221 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12222
12223 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12224 * sysdeps/powerpc/ifunc-sel.h: ... here.
12225 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12226 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12227
12228 * sysdeps/sparc/elf/configure.in: Moved to ...
12229 * sysdeps/sparc/configure.in: ... here.
12230 * sysdeps/sparc/elf/configure: Delete file.
12231 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12232 * sysdeps/sparc/sparc32/start.S: ... here.
12233 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12234 * sysdeps/sparc/sparc64/start.S: ... here.
12235 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12236 * sysdeps/sparc/sparc32/Makefile: ... this.
12237 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12238 * sysdeps/sparc/sparc64/Makefile: ... this.
12239
12240 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12241 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12242 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12243 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12244 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12245 * sysdeps/s390/s390-32/setjmp.S: ... here.
12246 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12247 * sysdeps/s390/s390-32/configure.in: ... here.
12248 * sysdeps/s390/s390-32/elf/configure: Delete file.
12249 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12250 * sysdeps/s390/s390-32/start.S: ... here.
12251
12252 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12253 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12254 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12255 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12256 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12257 * sysdeps/s390/s390-64/setjmp.S: ... here.
12258 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12259 * sysdeps/s390/s390-64/configure.in: ... here
12260 * sysdeps/s390/s390-64/elf/configure: Delete file.
12261 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12262 * sysdeps/s390/s390-64/start.S: ... here.
12263 * sysdeps/s390/s390-64/elf/configure: Delete.
12264
12265 * configure.in: Remove support for elf directories in sysdeps.
12266
12267 * configure: Regenerated.
12268 * sysdeps/i386/configure: Regenerated.
12269 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12270 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12271 * sysdeps/s390/s390-32/configure: Regenerated.
12272 * sysdeps/s390/s390-64/configure: Regenerated.
12273 * sysdeps/sh/configure: Regenerated.
12274 * sysdeps/sparc/configure: Regenerated.
12275 * sysdeps/x86_64/configure: Regenerated.
12276
a3f61311
AS
122772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12278
c876e002
AS
12279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12280
a3f61311
AS
12281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12282 denormal result into account.
12283
ac4c54f0
RM
122842012-03-25 Roland McGrath <roland@hack.frob.com>
12285
12286 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12287 Reported by Allan McRae <allan@archlinux.org>.
12288
6a9b9c02
JL
122892012-03-23 Jeff Law <law@redhat.com>
12290
12291 * nss/getnssent.c (__nss_getent): Fix typo.
12292
4c42a0c1
DM
122932012-03-23 David S. Miller <davem@davemloft.net>
12294
12295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12296
1532c7ac
L
122972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12298
12299 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12300 to pad to uint64_t for each field.
12301 (dl_tls_index): Replace unsigned long with uint64_t.
12302
3ff42526
PP
123032012-03-23 Daniel Jacobowitz <dmj@google.com>
12304 Paul Pluzhnikov <ppluzhnikov@google.com>
12305
12306 [BZ #6528]
12307 * grp/Makefile (otherlibs): Don't set it.
12308 * inet/Makefile (otherlibs): Likewise.
12309 * login/Makefile (otherlibs): Likewise.
12310 * nscd/Makefile (otherlibs): Likewise.
12311 * posix/Makefile (otherlibs): Likewise.
12312 * pwd/Makefile (otherlibs): Likewise.
12313 * rt/Makefile (otherlibs): Likewise.
12314 * sunrpc/Makefile (otherlibs): Likewise.
12315 * nss/Makefile (otherlibs): Likewise.
12316 Add libnss_files to routines and static-only-routines.
12317 ($(objpfx)getent): Remove rule.
12318 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12319 static-only-routines.
12320
7c69cd14
JM
123212012-03-22 Joseph Myers <joseph@codesourcery.com>
12322
12323 [BZ #13892]
12324 * math/s_cexp.c: Include <float.h>.
12325 (__cexp): Handle exp result overflowing not necessarily
12326 overflowing both real and imaginary parts of result.
12327 * math/s_cexpf.c: Likewise.
12328 * math/s_cexpl.c: Likewise.
12329 * math/libm-test.inc (cexp_test): Add more tests.
12330 * sysdeps/i386/fpu/libm-test-ulps: Update.
12331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12332
81b035fe
L
123332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12334
12335 * include/link.h (ELFW): New macro.
12336 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12337 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12338
1da7940c
L
123392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12340
12341 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12342 with uint64_t.
12343
b749dbb9
L
123442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12345
12346 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12347 declaration.
12348 (struct La_x32_retval): Likewise.
12349
2ff87f3f
L
123502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12351
12352 * sysdeps/x86_64/preconfigure.in: New file.
12353 * sysdeps/x86_64/preconfigure: New generated file.
12354
c0df8e69
JM
123552012-03-22 Joseph Myers <joseph@codesourcery.com>
12356
48e44791
JM
12357 [BZ #13824]
12358 * math/e_exp2l.c: Include <float.h>.
12359 (__ieee754_exp2l): Handle overflow and underflow cases
12360 separately. Only pass fractional part of argument to
12361 __ieee754_expl.
12362 * math/libm-test.inc (exp2_test): Add more tests.
12363
c0df8e69
JM
12364 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12365 negating x to take absolute value.
12366 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12367 Likewise.
12368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12370 Likewise.
12371 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12372 computing low part if x was negated.
12373 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12374
c8e43ba7
L
123752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12378 la_x32_gnu_pltexit.
12379 (pltexit): Cast int_retval to ptrdiff_t.
12380 * elf/tst-auditmod3b.c: Likewise.
12381 * elf/tst-auditmod4b.c: Likewise.
12382 * elf/tst-auditmod5b.c: Likewise.
12383 * elf/tst-auditmod6b.c: Likewise.
12384 * elf/tst-auditmod6c.c: Likewise.
12385 * elf/tst-auditmod7b.c: Likewise.
12386
12387 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12388 and x32_gnu_pltexit.
12389
12390 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12391 __ELF_NATIVE_CLASS.
12392 (La_x32_regs): New macro.
12393 (La_x32_retval): Likewise.
12394 (la_x32_gnu_pltenter): New function prototype.
12395 (la_x32_gnu_pltexit): Likewise.
12396
7998fa78
AS
123972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12398
dcb33988
AS
12399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12400 exponent.
12401
233fc563
AS
12402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12403
7998fa78
AS
12404 * configure.in (libc_cv_cc_nofma): Check for option to disable
12405 generation of FMA instructions.
12406 * configure: Regenerate.
12407 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12408 * sysdeps/ieee754/dbl-64/Makefile: New file.
12409 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12410 Remove brandred-fma4.
12411 (CFLAGS-brandred-fma4.c): Remove.
12412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12413 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12414 define.
12415 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12416 define.
12417
8e95c99a
L
124182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12419
12420 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12421 LLONG_MAX != LONG_MAX.
12422 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12423 (_fitoa_word): Likewise.
12424 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12425 LLONG_MAX != LONG_MAX.
12426 * stdio-common/_itowa.h: Include <_itoa.h>.
12427 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12428 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12429 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12430 only if not defined.
12431 (_ITOA_WORD_TYPE): Likewise.
12432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12433 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12434
6f4db457
DM
124352012-03-21 David S. Miller <davem@davemloft.net>
12436
12437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12438
7785fe5a
L
124392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12440
12441 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12442 of x86_64 when setting libc_cv_slibdir, libdir and
12443 libc_cv_localedir.
12444 * sysdeps/unix/sysv/linux/configure: Regenerated.
12445
4535cd55
JM
124462012-03-21 Joseph Myers <joseph@codesourcery.com>
12447
12448 * manual/lang.texi (Old Varargs): Remove section.
12449 (How Variadic): Update menu.
12450 (va_start): Do not mention varargs.h.
12451
17228132
TS
124522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12453 Joseph Myers <joseph@codesourcery.com>
12454
12455 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12456 link test.
12457 * configure: Regenerated.
12458
8149f976
TS
124592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12460
05f3d1f6
UD
12461 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12462 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12463 conformtest.pl
8149f976 12464
1a4ac776
JM
124652012-03-21 Joseph Myers <joseph@codesourcery.com>
12466
be22ce65
JM
12467 * NOTES: Remove.
12468 * Makefile (files-for-dist): Remove NOTES.
12469 (NOTES): Remove rule.
12470 * README: Don't refer to NOTES.
12471 * manual/creature.texi: Don't include macros.texi.
12472 * manual/intro.texi (creature.texi): Remove comment referring to
12473 NOTES.
12474
40b601fb
JM
12475 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12476 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12477 * configure: Regenerated.
12478 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12479 LIBC_TRY_CC_OPTION.
12480 (libc_cv_as_i686): Likewise.
12481 (libc_cv_cc_avx): Likewise.
12482 (libc_cv_cc_sse2avx): Likewise.
12483 (libc_cv_cc_fma4): Likewise.
12484 (libc_cv_cc_novzeroupper): Likewise.
12485 * sysdeps/i386/configure: Regenerated.
12486
1a4ac776
JM
12487 [BZ #13883]
12488 * sysdeps/i386/fpu/s_cexp.S: Remove.
12489 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12490 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12491 * math/libm-test.inc (cexp_test): Add more tests.
12492 * sysdeps/i386/fpu/libm-test-ulps: Update.
12493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494
a458e7fe
AM
124952012-03-21 Allan McRae <allan@archlinux.org>
12496
12497 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12498
0cb7efc5
JM
124992012-03-21 Joseph Myers <joseph@codesourcery.com>
12500
12501 [BZ #13871]
12502 * math/w_exp2.c: Do not include <float.h>.
12503 (o_threshold, u_threshold): Remove.
12504 (__exp2): Calculate result before checking finiteness and calling
12505 __kernel_standard.
12506 * math/w_exp2f.c: Likewise.
12507 * math/w_exp2l.c: Likewise.
12508 * math/libm-test.inc (exp2_test): Require overflow exception for
12509 1e6 input.
2460d3aa
JM
12510
12511 [BZ #3866]
12512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12513 range of signed 64-bit integers before using fistpll. Remove
12514 checks for whether integers fit in mantissa bits.
12515 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12516 the range of signed 32-bit integers before using fistpl. Remove
12517 checks for whether integers fit in mantissa bits.
12518 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12519 (__ieee754_powl): Test for y outside the range of signed 64-bit
12520 integers before using fistpll. Reduce 64-bit values to 63-bit
12521 ones as needed.
12522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12523 divide-by-zero is raised for zero to large negative powers.
12524 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12525 (__ieee754_powl): Test for y outside the range of signed 64-bit
12526 integers before using fistpll. Reduce 64-bit values to 63-bit
12527 ones as needed.
12528 * math/libm-test.inc (pow_test): Add more tests.
12529
eb96ffb0
L
125302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12533 <stdio-common/_itoa.h>.
12534 * debug/segfault.c: Likewise.
12535 * elf/dl-cache.c: Likewise.
12536 * elf/dl-minimal.c: Likewise.
12537 * elf/dl-misc.c: Likewise.
12538 * elf/dl-sysdep.c: Likewise.
12539 * elf/dl-version.c: Likewise.
12540 * elf/rtld.c: Likewise.
12541 * hurd/hurdsock.c: Likewise.
12542 * hurd/lookup-retry.c: Likewise.
12543 * malloc/malloc.c: Likewise.
12544 * malloc/mtrace.c: Likewise.
12545 * nscd/nscd_getgr_r.c: Likewise.
12546 * nscd/nscd_getpw_r.c: Likewise.
12547 * nscd/nscd_getserv_r.c: Likewise.
12548 * posix/getopt_init.c: Likewise.
12549 * posix/wordexp.c: Likewise.
12550 * stdio-common/_itoa.c: Likewise.
12551 * stdio-common/printf_fphex.c: Likewise.
12552 * stdio-common/vfprintf.c: Likewise.
12553 * string/_strerror.c: Likewise.
12554 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12555 * sysdeps/i386/i686/hp-timing.h: Likewise.
12556 * sysdeps/mach/_strerror.c: Likewise.
12557 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12558 * sysdeps/mach/hurd/sethostid.c: Likewise.
12559 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12560 * sysdeps/mach/xpg-strerror.c: Likewise.
12561 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12563 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12564 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12565 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12566 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12568 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12569 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12570 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12571 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12572 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12573 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12574 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12575 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12576 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12577 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12578 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12579 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12580 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12581 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12582
12583 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12584
12585 * stdio-common/_itoa.h: Moved to ...
12586 * sysdeps/generic/_itoa.h: Here.
12587
12588 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12589
12590 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12591 instead of "_itoa.h" and "_itowa.h".
12592 * stdio-common/vfprintf.: Likewise.
12593
d1af992d
L
125942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12595
12596 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12597 <bits/wordsize.h>.
12598 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12599 (__signbit): Likwise.
12600 (llrintf): Likwise.
12601 (llrint): Likwise.
12602
114883e0
L
126032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12604
12605 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12606 __WORDSIZE != 64.
12607
c135cc1b
JM
126082012-03-20 Joseph Myers <joseph@codesourcery.com>
12609
12610 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12611 OVERFLOW_EXCEPTION_OK.
12612 * math/libm-test.inc ("Philosophy"): Update comment about
12613 exception testing.
12614 (OVERFLOW_EXCEPTION): Define.
12615 (OVERFLOW_EXCEPTION_OK): Likewise.
12616 (INVALID_EXCEPTION_OK): Renumber.
12617 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12618 (IGNORE_ZERO_INF_SIGN): Likewise.
12619 (test_exceptions): Handle FE_OVERFLOW.
12620 (exp10_test): Expect overflow exceptions.
12621 (exp2_test): Likewise.
12622 (expm1_test): Likewise.
12623 (nextafter_test): Likewise.
12624 (pow_test): Likewise.
12625 (scalbn_test): Likewise.
12626 (scalbln_test): Likewise.
12627
95443d88
L
126282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12629
12630 * sysdeps/x86_64/bits/atomic.h
12631 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12632 64bit integer.
12633 (atomic_exchange_acq): Likewise.
12634 (__arch_exchange_and_add_body): Likewise.
12635 (__arch_add_body): Likewise.
12636 (atomic_add_negative): Likewise.
12637 (atomic_add_zero): Likewise.
12638
490df6c4
L
126392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12640
c2722551 12641 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12642 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12643
5e52b189
L
126442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12645
12646 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12647 Check __x86_64__ instead of __WORDSIZE.
12648
a9879d4c
L
126492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12650
12651 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12652
5df98260
DM
126532012-03-19 David S. Miller <davem@davemloft.net>
12654
e1497744
DM
12655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12656
5df98260
DM
12657 * sysdeps/sparc/fpu/fenv_private.h: New file.
12658 * sysdeps/sparc/fpu/math_private.h: Use it.
12659 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12660 Remove.
12661 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12662 (libc_feholdexcept_setroundl): Remove.
12663 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12664 Remove.
12665 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12666 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12667
b4c35121
L
126682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12669
12670 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12671 int64_t instead of long int.
12672 (INSERT_WORDS64): Likwise.
12673
56965fd7
L
126742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12675
12676 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12677 _Unwind_GetCFA return to _Unwind_Ptr first.
12678
83d1aec8
JM
126792012-03-19 Joseph Myers <joseph@codesourcery.com>
12680
1897ad44
JM
12681 [BZ #13629]
12682 * math/s_clog.c: Include <float.h>.
12683 (__clog): Scale large or subnormal inputs.
12684 * math/s_clogf.c: Likewise.
12685 * math/s_clogl.c: Likewise.
12686 * math/s_clog10.c: Include <float.h>.
12687 (M_LOG10_2): Define.
12688 (__clog10): Scale large or subnormal inputs.
12689 * math/s_clog10f.c: Likewise.
12690 * math/s_clog10l.c: Likewise.
12691 * math/libm-test.inc (clog_test): Add more tests.
12692 (clog10_test): Likewise.
12693 * sysdeps/i386/fpu/libm-test-ulps: Update.
12694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12695
7726d6a9
JM
12696 [BZ #11451]
12697 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12698 x and y.
12699 * math/libm-test.inc (atan2_test): Add another test.
12700
83d1aec8
JM
12701 * Makerules (common-objdir-compile): Remove.
12702 * sysdeps/unix/Makefile (config-generated): Do not add
12703 $(unix-generated) to variable.
12704 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12705 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12706 Remove rule.
12707 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12708 Likewise.
12709 [generic bits/local_lim.h] (before-compile): Do not append to
12710 variable.
12711 [generic bits/local_lim.h] (common-generated): Likewise.
12712 [generic sys/param.h] (before-compile): Do not append to variable.
12713 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12714 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12715 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12716 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12717 include.
12718 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12719 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12720 [generic sys/param.h] ($(addprefix
12721 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12722 [generic sys/param.h] (common-generated): Do not append to
12723 variable.
12724 [generic sys/param.h] (sysdep_headers): Likewise.
12725 [generic bits/errno.h] (before-compile): Do not append to
12726 variable.
12727 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12728 rule.
12729 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12730 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12731 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12732 [generic bits/errno.h] (common-generated): Do not append to
12733 variable.
12734 [generic bits/ioctls.h] (before-compile): Do not append to
12735 variable.
12736 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12737 rule.
12738 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12739 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12740 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12741 rule.
12742 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12743 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12744 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12745 [generic bits/ioctls.h] (common-generated): Do not append to
12746 variable.
12747 [generic sys/syscall.h] (syscall.h): Remove variable.
12748 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12749 rule.
12750 [generic sys/syscall.h] (before-compile): Do not append to
12751 variable.
12752 [generic sys/syscall.h] (common-generated): Likewise.
12753 * sysdeps/unix/errnos-tmpl.c: Remove file.
12754 * sysdeps/unix/errnos.awk: Likewise.
12755 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12756 * sysdeps/unix/ioctls.awk: Likewise.
12757 * sysdeps/unix/mk-local_lim.c: Likewise.
12758 * sysdeps/unix/snarf-ioctls: Likewise.
12759
4851a949
RH
127602012-03-19 Richard Henderson <rth@twiddle.net>
12761
bd37f2ee
RH
12762 * sysdeps/i386/fpu/fenv_private.h: New file.
12763 * sysdeps/i386/fpu/math_private.h: Use it.
12764 (math_opt_barrier, math_force_eval): Remove.
12765 (libc_feholdexcept_setround_53bit): Remove.
12766 (libc_feupdateenv_53bit): Remove.
12767 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12768 (math_opt_barrier, math_force_eval): Remove.
12769 (libc_feholdexcept): Remove.
12770 (libc_feholdexcept_setround): Remove.
12771 (libc_fetestexcept, libc_fesetenv): Remove.
12772 (libc_feupdateenv_test): Remove.
12773 (libc_feupdateenv, libc_feholdsetround): Remove.
12774 (libc_feresetround): Remove.
12775
d0adc922
RH
12776 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12777 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12778
0fe0f1f8
RH
12779 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12780 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12781 (libc_feupdateenv_testl): New.
12782 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12783 (libc_feupdateenv_testf): New.
12784 (libc_feupdateenv): Use libc_feupdateenv_test.
12785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12787
eb92c487
RH
12788 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12789 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12790 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12791 (libc_feresetround_noex): New.
12792 (libc_feresetround_noexf): New.
12793 (libc_feresetround_noexl): New.
12794 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12795 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12796 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12797 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12798 SET_RESTORE_ROUND.
12799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12800 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12801 (__cos): Likewise.
12802 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12804 SET_RESTORE_ROUND_NOEX.
12805 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12806 SET_RESTORE_ROUND_NOEXF.
12807 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12808 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12809 (libc_feholdsetroundf): New.
12810 (libc_feresetround, libc_feresetroundf): New.
12811
7d2e8012
RH
12812 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12813 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12814 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12815
b4dabbb4
RH
12816 * sysdeps/generic/math_private.h: Include <fenv.h>.
12817 (default_libc_feholdexcept): New.
12818 (default_libc_feholdexcept_setround): New.
12819 (default_libc_fesetenv, default_libc_feupdateenv): New.
12820 (libc_feholdexcept): Only define if undefined.
12821 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12822 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12823 (libc_feholdexcept_setroundl): Likewise.
12824 (libc_feholdexcept_setround_53bit): Likewise.
12825 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12826 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12827 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12828 (libc_feupdateenv_53bit): Likewise.
12829 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12830 (libc_feholdexcept): Convert from macro to inline function.
12831 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12832 (libc_fesetenv, libc_feupdateenv): Likewise.
12833
4851a949
RH
12834 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12835 not previously defined.
12836 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12837 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12838 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12839 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12840 * sysdeps/ieee754/flt-32/math_private.h: New file.
12841 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12842 math_private.h below SET_FLOAT_WORD.
12843 (__isnan, __isinf_ns, __finite): Remove.
12844 (__isnanf, __isinf_nsf, __finitef): Remove.
12845
e79d442e
AS
128462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12847
12848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12849
90b80344
DM
128502012-03-17 David S. Miller <davem@davemloft.net>
12851
12852 [BZ #6471]
12853 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12854 for 2.16.
12855
edc21804
DM
128562012-03-16 David S. Miller <davem@davemloft.net>
12857
77e927af
DM
12858 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12859 warnings.
12860
374976dd
DM
12861 [BZ #6471]
12862 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12863 properly.
12864 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12865 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12866 sysdep_routines when subdir is sysvipc.
12867 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12868 __getshmlba helper.
12869
edc21804
DM
12870 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12871
473c3ef3
L
128722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12873
12874 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12875 [__LP64__].
12876
eb0f39b6
L
128772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12878
12879 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12880 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12881 (__lround): Renamed to ...
12882 (__llround): This. Replace long int with long long int.
12883 Define lround functions as aliases of llround functions.
12884 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12885
6b6cd74b
L
128862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12887
12888 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12889 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12890 adresses to uintptr_t. Replace "long int" and "unsigned long
12891 int" with "greg_t" on va_arg.
12892
f1a77b01
L
128932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12894
12895 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12896 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12897
12898 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12899 Move e_machine check before EI_CLASS check. Handle x32
12900 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12901 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12902 SKIP_EM_IA_64 and include
12903 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12904
12905 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12906 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12907 (add_system_dir): New macro.
12908
12909 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12910 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12911
11b90b9f
JM
129122012-03-16 Joseph Myers <joseph@codesourcery.com>
12913
c36e1d23
JM
12914 [BZ #2551]
12915 [BZ #2552]
12916 [BZ #2553]
12917 [BZ #2554]
12918 [BZ #2562]
12919 [BZ #2563]
12920 [BZ #2565]
12921 [BZ #2566]
12922 [BZ #2576]
12923 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12924 (y0): Likewise.
12925 * math/w_j0f.c (j0f): Likewise.
12926 (y0f): Likewise.
12927 * math/w_j0l.c (__j0l): Likewise.
12928 (__y0l): Likewise.
12929 * math/w_j1.c (j1): Likewise.
12930 (y1): Likewise.
12931 * math/w_j1f.c (j1f): Likewise.
12932 (y1f): Likewise.
12933 * math/w_j1l.c (__j1l): Likewise.
12934 (__y1l): Likewise.
12935 * math/w_jn.c (jn): Likewise.
12936 (yn): Likewise.
12937 * math/w_jnf.c (jnf): Likewise.
12938 (ynf): Likewise.
12939 * math/w_jnl.c (__jnl): Likewise.
12940 (__ynl): Likewise.
12941 * math/libm-test.inc (j0_test): Add more tests.
12942 (j1_test): Likewise.
12943 (jn_test): Likewise. Add trailing semicolon to existing test.
12944 (y0_test): Likewise.
12945 (y1_test): Likewise.
12946 * sysdeps/i386/fpu/libm-test-ulps: Update.
12947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12948
11b90b9f
JM
12949 [BZ #13851]
12950 [BZ #13854]
12951 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12952 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12953 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12954 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12955 (__tanl): Set errno for infinite argument.
12956 * sysdeps/i386/fpu/mptan.c: Remove.
12957 * sysdeps/i386/fpu/s_tan.S: Likewise.
12958 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12959 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12960 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12961 * math/libm-test.inc (tan_test): Add more tests and enable more
12962 tests for double and long double.
12963 * sysdeps/i386/fpu/libm-test-ulps: Update.
12964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12965
6a1bd2a1
JK
129662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12967
12968 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12969 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12970
10a803e0
RM
129712012-03-16 Roland McGrath <roland@hack.frob.com>
12972
12973 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12974 * configure.in: Use it for both main tree and add-ons.
12975 * configure: Regenerated.
12976
f196c7f7
L
129772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12978
12979 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12980
8848d99d
JM
129812012-03-16 Joseph Myers <joseph@codesourcery.com>
12982
96cbe7f4
JM
12983 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12984 in comment.
12985
8848d99d
JM
12986 [BZ #13851]
12987 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12988 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12989 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12990 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12992 infinite argument.
12993 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12995 != 0 for prec == 2.
12996 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12997 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12998 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12999 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13000 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13001 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13002 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13003 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13004 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13005 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13006 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13007 * math/libm-test.inc (cos_test): Add more tests and enable more
13008 tests for long double.
13009 (sin_test): Likewise.
13010 (sincos_test): Likewise.
13011 * sysdeps/i386/fpu/libm-test-ulps: Update.
13012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13013
dd7f4703
DM
130142012-03-16 David S. Miller <davem@davemloft.net>
13015
13016 * sysdeps/sparc/fpu/math_private.h: New file.
13017
006f1daa
DM
130182012-03-15 David S. Miller <davem@davemloft.net>
13019
c0c83bc8
DM
13020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13021 file.
e6a62e18 13022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13024 file.
e6a62e18
DM
13025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13031 sysdep routines.
13032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13033
88cb87d9
DM
13034 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13035 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13036
006f1daa 13037 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13039 sparc-ifunc.h
006f1daa 13040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13042 Likewise.
13043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13044 Likewise.
006f1daa
DM
13045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13049 Likewise.
006f1daa
DM
13050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13055 Likewise.
13056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13057 Likewise.
006f1daa
DM
13058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13082
11e0098e
AS
130832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13084
13085 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13086 scaling.
13087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13088
e85b09d0
AJ
130892012-03-15 Andreas Jaeger <aj@suse.de>
13090
13091 [BZ #13852]
13092 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13093 ieee754/flt-32 implementation for sin, cos and sincos.
13094 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13095 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13096 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13097 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13098 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13099 ieee754/flt-32 implementation for tan.
13100
13101 * math/libm-test.inc (cos_test): Enable some large input tests for
13102 float as well
13103 (sin_test): Likewise.
13104 (sincos_test): Likewise.
13105 (tan_test): Add tests for large input.
13106
13107 * sysdeps/i386/fpu/libm-test-ulps: Update.
13108
81c64153
AJ
131092012-03-15 Andreas Jaeger <aj@suse.de>
13110
13111 [BZ #13658]
13112 * math/libm-test.inc (cos_test): Add more test cases.
13113 (sin_test): Likewise.
13114 (sincos_test): Likewise.
13115
7bbfa5c6
AJ
131162012-03-15 Andreas Jaeger <aj@suse.de>
13117
13118 [BZ #13837]
13119 * math/libm-test.inc (cos_test): Add a test case for large input
13120 value.
13121 (sin_test): Likewise.
13122 (sincos_test): Likewise.
13123
131242012-03-15 Andreas Jaeger <aj@suse.de>,
13125 Joseph Myers <joseph@codesourcery.com>
13126
13127 [BZ #13658]
0671f479 13128 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13129 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13130 * sysdeps/i386/fpu/branred.c: Likewise.
13131 * sysdeps/i386/fpu/dosincos.c: Likewise.
13132 * sysdeps/i386/fpu/mpa.c: Likewise.
13133 * sysdeps/i386/fpu/s_cos.S: Likewise.
13134 * sysdeps/i386/fpu/s_sin.S: Likewise.
13135 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13136 * sysdeps/i386/fpu/sincos32.c: Likewise.
13137
13138 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13139 Define.
13140 (libc_feupdateenv_53bit): Define.
13141 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13142 Define.
13143 (libc_feupdateenv_53bit): Define.
13144
13145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13146 53 bit (without extend i386 double precision).
13147
13148 * math/libm-test.inc (sincos_test): Add tests for large input.
13149 (sin): Likewise.
13150 (cos): Likewise.
13151
13152 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13153
9cad04ea
AS
131542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13155
13156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13157
f7062b9a
DM
131582012-03-15 David S. Miller <davem@davemloft.net>
13159
13160 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13161 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13162 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13163 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13176 file.
f7062b9a 13177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13179 file.
f7062b9a 13180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13182 file.
f7062b9a 13183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13185 file.
f7062b9a
DM
13186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13188 fmin/fmax sysdep routines.
13189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13190
7bd951ff
DM
131912012-03-14 David S. Miller <davem@davemloft.net>
13192
559398ab
DM
13193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13222 routines.
13223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13224 file.
559398ab 13225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13227 file.
559398ab 13228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13230 file.
559398ab 13231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13233 file.
559398ab 13234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13236 file.
559398ab 13237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13239 file.
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13241 file.
13242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13243 file.
13244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13245 file.
13246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13247 New file.
13248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13249 file.
13250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13251 file.
559398ab 13252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13254 file.
559398ab 13255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13257 file.
559398ab 13258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13260 file.
559398ab 13261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13263 VIS3 routines.
559398ab
DM
13264
13265 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13266 New file.
13267
5a1c1e32
DM
13268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13269
eae47a36
DM
13270 * sysdeps/sparc/configure.in: New file.
13271 * sysdeps/sparc/configure: Generate.
13272 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13273 * configure: Regenerate.
13274 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13275 * config.make.in (have-as-vis3): New.
13276 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13277 available use -Av9d instead of -Av9a.
13278 * sysdeps/sparc/sparc64/Makefile: Likewise.
13279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13281 New file.
13282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13283 file.
13284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13285 New file.
13286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13287 file.
eae47a36
DM
13288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13293
c0c83bc8
DM
13294 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13295 fzeros/fnegs to load 0x80000000 into a float register instead of
13296 using the stack.
7bd951ff
DM
13297 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13298
bd951ccb
JM
132992012-03-14 Joseph Myers <joseph@codesourcery.com>
13300
13301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13302 bits/syscall.h.
13303 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13304 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13305 ($(inst_includedir)/bits/syscall.h): Remove rule.
13306 ($(objpfx)bits/syscall.d): Include instead of
13307 $(objpfx)syscall-list.d.
13308 (generated): Change syscall-list.h and syscall-list.d to
13309 bits/syscall.h and bits/syscall.d.
13310
bb4e6db2
RM
133112012-03-14 Roland McGrath <roland@hack.frob.com>
13312
13313 [BZ #13846]
13314 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13315
aa4a2ae1
JM
133162012-03-14 Joseph Myers <joseph@codesourcery.com>
13317
e456826d
JM
13318 [BZ #13841]
13319 * math/s_csqrt.c: Include <float.h>.
13320 (__csqrt): Scale large or subnormal inputs.
13321 * math/s_csqrtf.c: Likewise.
13322 * math/s_csqrtl.c: Likewise.
13323 * math/libm-test.inc (csqrt_test): Add more tests.
13324 * sysdeps/i386/fpu/libm-test-ulps: Update.
13325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13326
aa4a2ae1
JM
13327 [BZ #13840]
13328 * math/libm-test.inc (hypot_test): Add more tests.
13329
7c10fd35
DM
133302012-03-13 David S. Miller <davem@davemloft.net>
13331
13332 [BZ #13840]
13333 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13334 double-precision for the calculation instead of scaling.
13335
f453b98b
JM
133362012-03-13 Joseph Myers <joseph@codesourcery.com>
13337
13338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13339 manipulate bits before adding and subtracting TWO52[sx].
13340 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13341 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13342 Likewise.
13343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13344
09a3453f
DM
133452012-03-13 David S. Miller <davem@davemloft.net>
13346
8e59da90
DM
13347 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13348 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13350 rtld-global-offsets.h
13351 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13352
2a8ab7f2
DM
13353 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13354 large parameters.
13355
10f62770
DM
13356 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13357
5f0bdb18
DM
13358 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13359 'err' in the ifdef scope in which it is actually used.
13360
09a3453f
DM
13361 * nss/nss_db/db-init.c: Include string.h
13362
b4b2eb5e
DM
133632012-03-12 David S. Miller <davem@davemloft.net>
13364
98bb2f1c
DM
13365 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13366 masking out of the most significant byte of random value used.
13367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13368 Fix coding style in previous change.
13369
b4b2eb5e
DM
13370 * sysdeps/unix/sysv/linux/kernel-features.h
13371 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13372 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13373 expression.
13374 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13375 later.
13376
6e226b09
DM
133772012-03-11 David S. Miller <davem@davemloft.net>
13378
a1bcbd40
DM
13379 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13380 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13382 for 'resultvar' otherwise things get truncated on 64-bit.
13383
cb9d6174
DM
13384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13385 Fix masking out of the most significant byte of random value used.
13386
6e226b09
DM
13387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13388
058c132d
AS
133892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13390
13391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13392
2d2cd515
DM
133932012-03-09 David S. Miller <davem@davemloft.net>
13394
13395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13396 variables with appropriate CPP guards.
13397 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13398 frame pointer, not the stack pointer. Correct layout comments. Fix test
13399 on resulting framesize and the management of the outregs buffer for pltexit.
13400 Preserve floating point return values across _dl_call_pltexit call.
13401 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13402 framesize and the management of the outregs buffer for pltexit.
13403 Preserve floating point return values across _dl_call_pltexit
13404 call.
13405 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13406 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13407 (print_exit): Fix format string for return register value.
13408
9a07f9d0
JM
134092012-03-10 Joseph Myers <joseph@codesourcery.com>
13410
13411 * sunrpc/Makefile (others): Add rpcgen.
13412 ($(objpfx)rpcgen): Remove special build rule and dependency on
13413 libc.
13414 * sunrpc/rpcgen.c: New file.
13415
547b5e30
PE
134162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13417
c524201a
PE
13418 [BZ #13673]
13419 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13420 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13421 * sysdeps/i386/crti.S: Likewise.
13422 * sysdeps/i386/crtn.S: Likewise.
13423 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13424 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13425 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13426 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13427 * sysdeps/sh/crti.S: Likewise.
13428 * sysdeps/sh/crtn.S: Likewise.
13429 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13430
7b6235f2
PE
13431 [BZ #13673]
13432 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13433 with URL.
13434 * locale/programs/locfile-kw.gperf: Likewise.
13435 * locale/programs/charmap-kw.h: Regenerated.
13436 * locale/programs/locfile-kw.h: Likewise.
13437
547b5e30
PE
13438 [BZ #13673]
13439 * intl/plural.y: Replace FSF snail mail address with URL.
13440 * intl/plural.c: Regenerated.
13441
5f0a5dae
RH
134422012-03-09 Richard Henderson <rth@twiddle.net>
13443
13444 * include/math_private.h: Remove file.
13445 * math/math_private.h: Move file ...
13446 * sysdeps/generic/math_private.h: ... here.
13447
b8c03620
RH
13448 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13449 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13450 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13451
4e234f5d 13452 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13453 and <math_private.h>.
13454 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13455 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13456 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13457 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13458 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13459 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13466 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13468 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13469 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13472 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13492 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13494 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13495 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13542 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13543 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13544 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13545 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13547 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13548 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13549 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13550 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13551 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13552 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13554 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13555 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13556 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13557 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13558 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13559 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13560 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13561 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13562 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13564 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13565 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13566 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13567 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13568 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13569 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13570 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13571 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13572 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13573 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13574 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13575 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13576 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13577 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13578 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13579 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13581 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13582 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13583 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13584 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13585 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13587 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13588 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13589 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13590 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13591 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13592 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13593 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13594 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13595 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13596 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13597 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13598 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13599 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13600 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13601 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13602 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13603 * sysdeps/ieee754/k_standard.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13613 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13614 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13616 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13661 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13662 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13664 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13665 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13666 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13671 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13677 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13678 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13723 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13724 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13731 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13736 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13752 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13753 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13754 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13764 * sysdeps/ieee754/s_lib_version.c: Likewise.
13765 * sysdeps/ieee754/s_matherr.c: Likewise.
13766 * sysdeps/ieee754/s_signgam.c: Likewise.
13767 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13768 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13769 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13770 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13771 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13772 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13773 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13774 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13775 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13776 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13777 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13778 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13779 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13780 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13781 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13782 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13783 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13784 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13785 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13788
1991fa03
JM
137892012-03-09 Joseph Myers <joseph@codesourcery.com>
13790
13791 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13792 * sunrpc/rpc_main.c: Likewise.
13793 * sunrpc/rpc_svcout.c: Likewise.
13794
60d6f5a6
DM
137952012-03-09 David S. Miller <davem@davemloft.net>
13796
13797 * include/math_private.h: New file.
13798
4962050e
JM
137992012-03-09 Joseph Myers <joseph@codesourcery.com>
13800
02a6f887
JM
13801 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13802 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13803 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13804 from <bits/socket_type.h>.
13805 (enum __socket_type): Don't define here.
13806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13808 bits/socket_type.h.
13809
c6e013c1
JM
13810 [BZ #13566]
13811 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13812 checking __USE_GNU.
13813
4962050e
JM
13814 * Makerules ($(inst_includedir)/%.h): New rule.
13815 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13816 (install-others): Remove variable setting.
13817 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13818
38842f45
RH
138192012-03-08 Richard Henderson <rth@twiddle.net>
13820
67bb6da6
RH
13821 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13822 from macro to inline function; merge with the
13823 !__LIBC_INTERNAL_MATH_INLINES version.
13824 (__ieee754_sqrtf): Likewise.
13825
15194b4b
RH
13826 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13827 to inline function.
13828 (__rintf, __floor, __floorf): Likewise.
13829
64e21ede
RH
13830 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13831 macro to inline function.
13832 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13833
38842f45
RH
13834 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13835 not <math/math_private.h>.
13836
c64bf5fe
DM
138372012-03-08 David S. Miller <davem@davemloft.net>
13838
13839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13840 copyright year.
13841 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13842
82d86f28
TS
138432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13844
13845 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13846 normalization.
13847 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13848 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13849
aea5d727
UD
138502012-03-08 Ulrich Drepper <drepper@gmail.com>
13851
13852 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13853 be defined individually, they must be defined as a block. Define
13854 S for printing a string instead of hidint the different by using a
13855 macro for adding the 'l'.
13856 * stdio-common/tst-fphex-wide.c: Adjust.
13857
70bca0a3
MP
138582012-03-07 Marek Polacek <polacek@redhat.com>
13859
13860 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13861
65b81130
MP
138622012-03-08 Marek Polacek <polacek@redhat.com>
13863
13864 [BZ #13806]
13865 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13866 * stdio-common/tst-fphex.c: Define a few macros to make the
13867 test reusable. Use them.
13868 * stdio-common/tst-fphex-wide.c: New file.
13869
07037eeb
JM
138702012-03-08 Joseph Myers <joseph@codesourcery.com>
13871
a7a93d50
JM
13872 [BZ #6911]
13873 * manual/macros.texi (gnusystems): New macro.
13874 (nongnusystems): Likewise.
13875 (gnulinuxhurdsystems): Likewise.
13876 (gnuhurdsystems): Likewise..
13877 (gnulinuxsystems): Likewise.
13878 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13879 variants of the GNU system, not "GNU system".
13880 * manual/conf.texi: Likewise.
13881 * manual/errno.texi: Likewise. Update example of errno macro
13882 expansion.
13883 * manual/filesys.texi: Likewise.
13884 (getumask): Document as specific to GNU/Hurd.
13885 * manual/install.texi: Likewise. Reword some references to
13886 GNU/Linux.
13887 * manual/intro.texi: Likewise.
13888 * manual/io.texi: Likewise.
13889 (File Name Portability): Detail which constraints are inapplicable
13890 to all GNU systems and which are only inapplicable to GNU/Hurd.
13891 * manual/job.texi: Likewise.
13892 * manual/llio.texi: Likewise.
13893 (O_NOCTTY): Document as present on GNU/Linux.
13894 * manual/maint.texi: Likewise.
13895 * manual/memory.texi: Likewise.
13896 * manual/pattern.texi: Likewise.
13897 * manual/pipe.texi: Likewise.
13898 * manual/process.texi: Likewise.
13899 * manual/resource.texi: Likewise.
13900 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13901 child on GNU/Hurd.
13902 * manual/setjmp.texi: Likewise.
13903 * manual/signal.texi: Likewise.
13904 * manual/startup.texi: Likewise.
13905 * manual/stdio.texi: Likewise.
13906 * manual/terminal.texi: Likewise.
13907 (ONLCR): Document as POSIX.
13908 (OXTABS): Document availability on GNU/Linux as XTABS.
13909 (ONOEOT): Document availability separately from other bits.
13910 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13911 * manual/time.texi: Likewise.
13912 * manual/users.texi: Likewise.
13913 * INSTALL: Regenerated.
13914 * sysdeps/gnu/errlist.c: Regenerated.
13915
07037eeb
JM
13916 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13917 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13918 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13919 puts.
13920 * configure: Regenerated.
13921
d1d3431a
JM
139222012-03-07 Joseph Myers <joseph@codesourcery.com>
13923
af6a1e37
JM
13924 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13925 default includes instead of AC_HEADER_CHECK.
13926 * sysdeps/i386/configure: Regenerated.
13927
d1d3431a
JM
13928 [BZ #10716]
13929 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13930 * math/s_cacoshf.c (__cacoshf): Likewise.
13931 * math/s_cacoshl.c (__cacoshl): Likewise.
13932 * math/s_casinh.c (__casinh): Set signs of result from argument.
13933 * math/s_casinhf.c (__casinhf): Likewise.
13934 * math/s_casinhl.c (__casinhl): Likewise.
13935 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13936 (casinh_test): Add more tests.
13937 * sysdeps/i386/fpu/libm-test-ulps: Update.
13938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13939
482ff4da
UD
139402012-03-07 Ulrich Drepper <drepper@gmail.com>
13941
872fda05
UD
13942 * po/zh_TW.po: Update from translation team.
13943
a4300c7a
UD
13944 * login/Makefile (distribute): Remove variable.
13945 * catgets/Makefile: Likewise.
13946 * mach/Makefile: Likewise.
13947 * malloc/Makefile: Likewise.
13948 * misc/Makefile: Likewise.
13949 * iconv/Makefile: Likewise.
13950 * nscd/Makefile: Likewise.
13951 * hurd/Makefile: Likewise.
13952 * manual/Makefile: Likewise.
13953 * locale/Makefile: Likewise.
13954 * intl/Makefile: Likewise.
13955 * conform/Makefile: Likewise.
13956 * nss/Makefile: Likewise.
13957 * time/Makefile: Likewise.
13958 * soft-fp/Makefile: Likewise.
13959 * dirent/Makefile: Likewise.
13960 * gmon/Makefile: Likewise.
13961 * po/Makefile: Likewise.
13962 * rt/Makefile: Likewise.
13963 * socket/Makefile: Likewise.
13964 * math/Makefile: Likewise.
13965 * signal/Makefile: Likewise.
13966 * debug/Makefile: Likewise.
13967 * elf/Makefile: Likewise.
13968 * timezone/Makefile: Likewise.
13969 * stdlib/Makefile: Likewise.
13970 * iconvdata/Makefile: Likewise.
13971 * sunrpc/Makefile: Likewise.
13972 * io/Makefile: Likewise.
13973 * argp/Makefile: Likewise.
13974 * inet/Makefile: Likewise.
13975 * hesiod/Makefile: Likewise.
13976 * grp/Makefile: Likewise.
13977 * csu/Makefile: Likewise.
13978 * wctype/Makefile: Likewise.
13979 * crypt/Makefile: Likewise.
13980 * libio/Makefile: Likewise.
13981 * string/Makefile: Likewise.
13982 * nis/Makefile: Likewise.
13983 * resolv/Makefile: Likewise.
13984 * stdio-common/Makefile: Likewise.
13985 * wcsmbs/Makefile: Likewise.
13986 * dlfcn/Makefile: Likewise.
13987 * posix/Makefile: Likewise.
13988
3b7c4e74 13989 [BZ #6959]
482ff4da
UD
13990 * timezone/Makefile: Don't install timezone files, just the programs
13991 and scripts.
13992
f72ed77d
UD
139932012-03-06 Ulrich Drepper <drepper@gmail.com>
13994
a000466f
UD
13995 * nss/databases.def: Add missing gshadow entry.
13996
f72ed77d
UD
13997 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13998
a53b7a4e
MP
139992012-03-06 Marek Polacek <polacek@redhat.com>
14000
14001 [BZ #13726]
14002 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14003 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14004 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14005 * stdio-common/tst-long-dbl-fphex.c: New file.
14006
e9258400
DM
140072012-03-06 David S. Miller <davem@davemloft.net>
14008
14009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14010 (set_obp_int): New function.
14011 (get_obp_int): New function.
14012 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14013 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14014 Avoid unused variable warnings on 'val' and use builtin_expect.
14015 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14016 __builtin_expect.
e9258400
DM
14017 (INLINE_CLONE_SYSCALL): Likewise.
14018
3bd2c723
DM
140192012-03-05 David S. Miller <davem@davemloft.net>
14020
14021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14022
bbb78d03
AS
140232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14024
884c5db4
AS
14025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14026
bbb78d03
AS
14027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14028 only for |x| >= 40.
14029 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14030
1c9f702a 140312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14032
14033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14034 Replace gettimeofday with __vdso_gettimeofday.
14035
7be16f82
RM
14036 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14037 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14038 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14039
14040 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14041 time with __vdso_time.
14042
ed58a00f
JM
140432012-03-05 Joseph Myers <joseph@codesourcery.com>
14044
14045 * manual/lang.texi (size_t): Note types to which size_t may be
14046 equivalent with the GNU C Library, but do not describe when
14047 differences between them are significant.
14048
30ee4ced
AJ
140492012-03-05 Andreas Jaeger <aj@suse.de>
14050
14051 * sysdeps/i386/fpu/libm-test-ulps: Update.
14052
b7cd39e8
JM
140532012-03-05 Joseph Myers <joseph@codesourcery.com>
14054
14055 [BZ #3976]
14056 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14057 (__ieee754_pow): Save and restore rounding mode and use
14058 round-to-nearest for main computations.
14059 * math/libm-test.inc (pow_test_tonearest): New function.
14060 (pow_test_towardzero): Likewise.
14061 (pow_test_downward): Likewise.
14062 (pow_test_upward): Likewise.
14063 (main): Call the new functions.
14064 * sysdeps/i386/fpu/libm-test-ulps: Update.
14065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14066
14067 [BZ #3976]
14068 * math/libm-test.inc (cosh_test_tonearest): New function.
14069 (cosh_test_towardzero): Likewise.
14070 (cosh_test_downward): Likewise.
14071 (cosh_test_upward): Likewise.
14072 (sinh_test_tonearest): Likewise.
14073 (sinh_test_towardzero): Likewise.
14074 (sinh_test_downward): Likewise.
14075 (sinh_test_upward): Likewise.
14076 (main): Call the new functions.
14077 * sysdeps/i386/fpu/libm-test-ulps: Update.
14078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14079
6c6a98c9
TV
140802012-03-05 Tom de Vries <tom@codesourcery.com>
14081
14082 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14083 default stack guard is set in last bytes.
14084 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14085
21bb2d2e 140862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14087
21bb2d2e 14088 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14089
21bb2d2e
AJ
14090 [BZ #13656]
14091 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14092 possibly allocate from heap instead of stack.
14093 * stdio-common/bug-vfprintf-nargs.c: New file.
14094 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14095
c6922934
AS
140962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14097
14098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14099
bc957d53
MP
141002012-03-03 Marek Polacek <polacek@redhat.com>
14101
14102 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14103 * math/math_private.h: Likewise.
14104 * stdlib/tst-strtod.c: Likewise.
14105 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14106 * sysdeps/x86_64/bits/atomic.h: Likewise.
14107
6358490d
DM
141082012-03-02 David S. Miller <davem@davemloft.net>
14109
14110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14114 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14115 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14116 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14117 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14118
01ae168d
RM
141192012-03-02 Roland McGrath <roland@hack.frob.com>
14120
d9a17c07
RM
14121 [BZ #13792]
14122 * manual/examples/README: New file, says the example source files
14123 can be used under GPL>=2.
14124 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14125 line containing just "*/".
14126 * manual/examples/add.c: Add copyright header (GPL>=2).
14127 * manual/examples/argp-ex1.c: Likewise.
14128 * manual/examples/argp-ex2.c: Likewise.
14129 * manual/examples/argp-ex3.c: Likewise.
14130 * manual/examples/argp-ex4.c: Likewise.
14131 * manual/examples/atexit.c: Likewise.
14132 * manual/examples/db.c: Likewise.
14133 * manual/examples/dir.c: Likewise.
14134 * manual/examples/dir2.c: Likewise.
14135 * manual/examples/execinfo.c: Likewise.
14136 * manual/examples/filecli.c: Likewise.
14137 * manual/examples/filesrv.c: Likewise.
14138 * manual/examples/fmtmsgexpl.c: Likewise.
14139 * manual/examples/genpass.c: Likewise.
14140 * manual/examples/inetcli.c: Likewise.
14141 * manual/examples/inetsrv.c: Likewise.
14142 * manual/examples/isockad.c: Likewise.
14143 * manual/examples/longopt.c: Likewise.
14144 * manual/examples/memopen.c: Likewise.
14145 * manual/examples/memstrm.c: Likewise.
14146 * manual/examples/mkfsock.c: Likewise.
14147 * manual/examples/mkisock.c: Likewise.
14148 * manual/examples/mygetpass.c: Likewise.
14149 * manual/examples/pipe.c: Likewise.
14150 * manual/examples/popen.c: Likewise.
14151 * manual/examples/rprintf.c: Likewise.
14152 * manual/examples/search.c: Likewise.
14153 * manual/examples/select.c: Likewise.
14154 * manual/examples/setjmp.c: Likewise.
14155 * manual/examples/sigh1.c: Likewise.
14156 * manual/examples/sigusr.c: Likewise.
14157 * manual/examples/stpcpy.c: Likewise.
14158 * manual/examples/strdupa.c: Likewise.
14159 * manual/examples/strftim.c: Likewise.
14160 * manual/examples/strncat.c: Likewise.
14161 * manual/examples/subopt.c: Likewise.
14162 * manual/examples/swapcontext.c: Likewise.
14163 * manual/examples/termios.c: Likewise.
14164 * manual/examples/testopt.c: Likewise.
14165 * manual/examples/testpass.c: Likewise.
14166 * manual/examples/timeval_subtract.c: Likewise.
14167
01ae168d
RM
14168 [BZ #13792]
14169 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14170 function to ...
14171 * manual/timeval_subtract.c.texi: ... here, new file.
14172
49efa33d
DM
141732012-03-02 David S. Miller <davem@davemloft.net>
14174
14175 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14176
28afd92d
JM
141772012-03-02 Joseph Myers <joseph@codesourcery.com>
14178
804360ed
JM
14179 [BZ #3976]
14180 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14181 (__sin): Save and restore rounding mode and use round-to-nearest
14182 for all computations.
14183 (__cos): Save and restore rounding mode and use round-to-nearest
14184 for all computations.
14185 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14186 <fenv.h>.
14187 (tan): Save and restore rounding mode and use round-to-nearest for
14188 all computations.
14189 * math/libm-test.inc (cos_test_tonearest): New function.
14190 (cos_test_towardzero): Likewise.
14191 (cos_test_downward): Likewise.
14192 (cos_test_upward): Likewise.
14193 (sin_test_tonearest): Likewise.
14194 (sin_test_towardzero): Likewise.
14195 (sin_test_downward): Likewise.
14196 (sin_test_upward): Likewise.
14197 (tan_test_tonearest): Likewise.
14198 (tan_test_towardzero): Likewise.
14199 (tan_test_downward): Likewise.
14200 (tan_test_upward): Likewise.
14201 (main): Call the new functions.
14202 * sysdeps/i386/fpu/libm-test-ulps: Update.
14203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14204
a6d06d7b
JM
14205 [BZ #10135]
14206 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14207 small n, then large n, before computing and testing k+n.
14208 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14210 Likewise.
14211 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14212 Likewise.
14213 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14214 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14216 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14217 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14218 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14220 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14221 * math/libm-test.inc (scalbn_test): Add more tests.
14222 (scalbln_test): Likewise.
14223
07e12bb3
JM
14224 * manual/filesys.texi (mode_t): Describe constraints on size and
14225 signedness, not exact equivalence to a particular type.
14226 (ino_t): Likewise.
14227 (ino64_t): Likewise.
14228 (dev_t): Likewise.
14229 (nlink_t): Likewise.
14230 (blkcnt_t): Likewise.
14231 (blkcnt64_t): Likewise.
14232 * manual/llio.texi (off_t): Likewise.
14233
28afd92d
JM
14234 [BZ #3976]
14235 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14236 (__ieee754_exp): Save and restore rounding mode and use
14237 round-to-nearest for all computations.
14238 * math/libm-test.inc (exp_test_tonearest): New function.
14239 (exp_test_towardzero): Likewise.
14240 (exp_test_downward): Likewise.
14241 (exp_test_upward): Likewise.
14242 (main): Call the new functions.
14243 * sysdeps/i386/fpu/libm-test-ulps: Update.
14244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14245
b1eeb65d
CD
142462012-03-01 Chris Demetriou <cgd@google.com>
14247
14248 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14249 have predictable order.
14250
53362a4b
DM
142512012-03-01 David S. Miller <davem@davemloft.net>
14252
3c969083
DM
14253 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14254
759707de
DM
14255 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14256 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14257 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14258 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14259
dfdb8ff2
DM
14260 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14261 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14262 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14264 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14265 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14266 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14267 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14268 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14269
ead89f96
DM
14270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14271
7f66bd07
DM
14272 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14273 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14274 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14275
53362a4b
DM
14276 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14277 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14278 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14279 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14280 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14281 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14282 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14283 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14284 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14285 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14286 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14287 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14290 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14292 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14293 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14294 * sysdeps/sparc/elf/configure: Regenerated.
14295
7b1902cb
JM
142962012-03-01 Joseph Myers <joseph@codesourcery.com>
14297
bec039bc
JM
14298 * configure.in (AS, LD): Require binutils 2.20 or later.
14299 * configure: Regenerated.
14300 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14301 as required minimum version.
14302 * INSTALL: Regenerated.
14303
7b1902cb
JM
14304 [BZ #2541]
14305 [BZ #4108]
14306 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14307 before squaring exponent.
14308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14309 bottom long double and 27 bits of top long double before squaring
14310 exponent.
14311 * math/libm-test.inc (erfc_test): Add more tests.
14312 * sysdeps/i386/fpu/libm-test-ulps: Update.
14313 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14315
f775c276
KT
143162012-03-01 Kai Tietz <ktietz@redhat.com>
14317
14318 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14319 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14320 containing bit-fields.
14321 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14322 * soft-fp/single.h (_FP_UNION_S): Likewise.
14323 * soft-fp/double.h (_FP_UNION_D): Likewise.
14324
5b8a4d4a
JM
143252012-02-29 Joseph Myers <joseph@codesourcery.com>
14326
0bab47b6
JM
14327 [BZ #13786]
14328 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14329 not include ../strcmp.S.
14330 [USE_AS_STRNCASECMP_L]: Likewise.
14331 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14332 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14333 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14334 (__strncasecmp_l_ia32): Define as alias to
14335 __strncasecmp_l_nonascii.
14336
0fcad3e2
JM
14337 [BZ #5794]
14338 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14339 * sysdeps/i386/fpu/libm-test-ulps: Update.
14340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14341
5b8a4d4a
JM
14342 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14344
8fdceb2e
JL
143452012-02-29 Jeff Law <law@redhat.com>
14346
14347 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14348 out of bounds read.
14349
1f393a11
MP
143502012-02-29 Marek Polacek <polacek@redhat.com>
14351
14352 [BZ #13706]
14353 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14354 * elf/Makefile: Add rules to run tst-unused-dep.out.
14355
8847f037
DM
143562012-02-28 David S. Miller <davem@davemloft.net>
14357
14358 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14359 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14361 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14362 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14363 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14364
169d7f11
JM
143652012-02-29 Joseph Myers <joseph@codesourcery.com>
14366
14367 * math/libm-test.inc (llround_test): Move one test from
14368 lround_test. Use TEST_f_L in moved test.
14369 (lround_test): Move misplaced test to llround_test. Add testcase
14370 from bug 2561.
14371
39adf059
UD
143722012-02-28 Ulrich Drepper <drepper@gmail.com>
14373
14374 * sysdeps/x86_64/fpu/e_expf.S: New file.
14375 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14376
71b5d1c5
SB
143772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14378
14379 [BZ #13637]
14380 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14381 of remain_len that may cause incomplete multi-byte character and
14382 false match.
14383 * posix/bug-regex33.c: New file.
14384 * posix/Makefile (tests): Add bug-regex33.
14385
1f77f049
JM
143862012-02-28 Joseph Myers <joseph@codesourcery.com>
14387
14388 * manual/macros.texi: New file.
14389 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14390 * manual/libc.texinfo: Include macros.texi.
14391 * manual/creatute.texi: Likewise.
14392 * manual/install.texi: Likewise.
14393 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14394 @glibcadj{} in references to the GNU C Library.
14395 * manual/charset.texi: Likewise.
14396 * manual/conf.texi: Likewise.
14397 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14398 when not using those macros.
14399 * manual/creature.texi: Likewise.
14400 * manual/crypt.texi: Likewise.
14401 * manual/errno.texi: Likewise.
14402 * manual/filesys.texi: Likewise.
14403 * manual/header.texi: Likewise.
14404 * manual/install.texi: Likewise.
14405 * manual/intro.texi: Likewise.
14406 * manual/io.texi: Likewise.
14407 * manual/job.texi: Likewise.
14408 * manual/lang.texi: Likewise.
14409 * manual/libc.texiinfo: Likewise.
14410 * manual/llio.texi: Likewise.
14411 * manual/locale.texi: Likewise.
14412 * manual/maint.texi: Likewise.
14413 * manual/math.texi: Likewise.
14414 * manual/memory.texi: Likewise.
14415 * manual/message.texi: Likewise.
14416 * manual/nss.texi: Likewise.
14417 * manual/pattern.texi: Likewise.
14418 * manual/process.texi: Likewise.
14419 * manual/resource.texi: Likewise.
14420 * manual/search.texi: Likewise.
14421 * manual/setjmp.texi: Likewise.
14422 * manual/signal.texi: Likewise.
14423 * manual/socket.texi: Likewise.
14424 * manual/startup.texi: Likewise.
14425 * manual/stdio.texi: Likewise.
14426 * manual/string.texi: Likewise.
14427 * manual/sysinfo.texi: Likewise.
14428 * manual/syslog.texi: Likewise.
14429 * manual/terminal.texi: Likewise.
14430 * manual/time.texi: Likewise.
14431 * manual/users.texi: Likewise.
14432 * INSTALL: Regenerated.
14433 * NOTES: Regenerated.
d40c5d54 14434 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14435
450bf206
AS
144362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14437
14438 * include/dirent.h: Include <dirstream.h> before
14439 <dirent/dirent.h>.
14440
741a235b
DM
144412012-02-28 David S. Miller <davem@davemloft.net>
14442
14443 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14444 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14445 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14446 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14447
d6b5aa58
DM
144482012-02-27 David S. Miller <davem@davemloft.net>
14449
1aff59a3
DM
14450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14452 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14453 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14454
d6b5aa58
DM
14455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14456 frame pointer instead of stack pointer relative arg slot.
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14458 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14459 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14460
433f48bf
CD
144612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14462
14463 [BZ #3992]
14464 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14465
d674b76d
DM
144662012-02-27 David S. Miller <davem@davemloft.net>
14467
14468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14472 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14473 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14474 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14475 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14476
0e7727f7
JM
144772012-02-27 Joseph Myers <joseph@codesourcery.com>
14478
14479 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14480 later. Allow versions 5-9.
43be4ca2 14481 * configure: Regenerated.
0e7727f7
JM
14482 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14483 required minimum version and 4.6 as recommended version. Do not
14484 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14485 * INSTALL: Regenerated.
0e7727f7 14486
a78bc654
DM
144872012-02-27 David S. Miller <davem@davemloft.net>
14488
428d5830
DM
14489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14495 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14497
a78bc654
DM
14498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14499 manipulate bits before adding and subtracting TWO112[sx].
14500 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14501
4579f81c
RM
145022012-02-27 Roland McGrath <roland@hack.frob.com>
14503
36c8acb4
RM
14504 [BZ #13775]
14505 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14506 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14507 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14508 being in POSIX, because they are in 1003.1-2008.
14509
84ad622b
RM
14510 * rt/tst-aio.c: Include <fcntl.h>.
14511 * rt/tst-aio7.c: Likewise.
14512 * rt/tst-aio64.c: Likewise.
14513
4579f81c
RM
14514 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14515
abd923db
JM
145162012-02-27 Joseph Myers <joseph@codesourcery.com>
14517
14518 * manual/install.texi (--with-headers): Describe headers as
14519 interface headers, not private headers.
14520 (Specific advice for GNU/Linux systems): Describe use of headers
14521 from "make headers_install", not private headers from older
14522 kernels.
43be4ca2 14523 * INSTALL: Regenerated.
abd923db
JM
14524 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14525 Change to 2.6.19.
14526 * sysdeps/unix/sysv/linux/configure: Regenerated.
14527
6664049b
JM
14528 * manual/llio.texi (fclean): Remove documentation.
14529
bb8b6697
JM
14530 * manual/Makefile (libc-texi-generated): New variable. Include
14531 version.texi.
14532 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14533 $(libc-texi-generated), not duplicated list of files.
14534 (version.texi, stamp-version): New rules.
14535 (realclean): Remove $(libc-texi-generated), not individual files
14536 from that list. Do not remove dir-add.texinfo.
14537 * manual/libc.texinfo: Comment out uses of edition numbers and
14538 references to printed manual. Remove last-updated dates.
14539 (EDITION): Comment out.
14540 (ISBN): Likewise.
14541 (VERSION, UPDATED): Remove.
14542 (version.texi): Include.
14543
12e5c3b9
AS
145442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14545
14546 * sysdeps/posix/spawni.c: Include <signal.h>.
14547 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14548 * sysdeps/pthread/aio_fsync.c: Likewise.
14549
4efeffc1 145502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14551
ba63ba08
UD
14552 * conform/Makefile (tests): Run only when not cross-compiling and
14553 when fast-check is not defined.
14554
d94a4670
UD
14555 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14556 * conform/data/limits.h-data: Fixes for POSIX2008.
14557 * conform/run-conformtest.sh: Run all tests.
14558 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14559 headers.
14560 * include/bits/dlfcn.h: Likewise.
14561 * include/langinfo.h: Likewise.
14562 * include/monetary.h: Likewise.
14563 * include/sys/poll.h: Likewise.
14564
14565 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14566 for __USE_GNU.
14567 * posix/spawn.h: Define __need_sigset_t.
14568 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14569 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14570 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14571 to get sigevent_t only.
14572 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14573 only for __USE_GNU.
14574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14576 process_vm_writev only for __USE_GNU.
14577 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14578
14579 * conform/Makefile: For now ignore errors from run-conformtest.
14580 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14581 POSIX to avoid namespace pollution. Don't prepend headers.
14582 * conform/data/aio.h-data: Fixes for POSIX testing.
14583 * conform/data/fcntl.h-data: Likewise.
14584 * conform/data/glob.h-data: Likewise.
14585 * conform/data/grp.h-data: Likewise.
14586 * conform/data/pthread.h-data: Likewise.
14587 * conform/data/pwd.h-data: Likewise.
14588 * conform/data/signal.h-data: Likewise.
14589 * conform/data/spawn.h-data: Likewise.
14590 * conform/data/stdio.h-data: Likewise.
14591 * conform/data/stdlib.h-data: Likewise.
14592 * conform/data/stropts.h-data: Likewise.
14593 * conform/data/sys/mman.h-data: Likewise.
14594 * conform/data/sys/stat.h-data: Likewise.
14595 * conform/data/sys/types.h-data: Likewise.
14596 * conform/data/sys/wait.h-data: Likewise.
14597 * conform/data/time.h-data: Likewise.
14598 * conform/data/unistd.h-data: Likewise.
14599 * conform/data/utime.h-data: Likewise.
14600
14601 * io/sys/stat.h: fchmod was always in POSIX.
14602 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14603 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14604 * rt/aio.h: Define __need_timespec before including <time.h>.
14605 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14606 struct. Add forward declaration of pthread_attr_t and use it in
14607 sigevent.
14608 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14609 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14610 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14611 always remove CLK_TCK definition.
14612
c20105c3
AS
146132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14614
14615 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14616
7a270350
UD
146172012-02-25 Ulrich Drepper <drepper@gmail.com>
14618
31341567
UD
14619 * conform/run-conformtest.sh: New file.
14620 * conform/Makefile: Run run-conformtest for tests.
14621 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14622 support.
14623
14624 * conform/data/uchar.h-data: New file.
14625 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14626 * conform/data/arpa/inet.h-data: Likewise.
14627 * conform/data/assert.h-data: Likewise.
14628 * conform/data/complex.h-data: Likewise.
14629 * conform/data/cpio.h-data: Likewise.
14630 * conform/data/ctype.h-data: Likewise.
14631 * conform/data/dirent.h-data: Likewise.
14632 * conform/data/dlfcn.h-data: Likewise.
14633 * conform/data/errno.h-data: Likewise.
14634 * conform/data/fcntl.h-data: Likewise.
14635 * conform/data/float.h-data: Likewise.
14636 * conform/data/fmtmsg.h-data: Likewise.
14637 * conform/data/fnmatch.h-data: Likewise.
14638 * conform/data/ftw.h-data: Likewise.
14639 * conform/data/glob.h-data: Likewise.
14640 * conform/data/grp.h-data: Likewise.
14641 * conform/data/iconv.h-data: Likewise.
14642 * conform/data/inttypes.h-data: Likewise.
14643 * conform/data/langinfo.h-data: Likewise.
14644 * conform/data/libgen.h-data: Likewise.
14645 * conform/data/limits.h-data: Likewise.
14646 * conform/data/locale.h-data: Likewise.
14647 * conform/data/math.h-data: Likewise.
14648 * conform/data/monetary.h-data: Likewise.
14649 * conform/data/mqueue.h-data: Likewise.
14650 * conform/data/ndbm.h-data: Likewise.
14651 * conform/data/net/if.h-data: Likewise.
14652 * conform/data/netdb.h-data: Likewise.
14653 * conform/data/netinet/in.h-data: Likewise.
14654 * conform/data/nl_types.h-data: Likewise.
14655 * conform/data/poll.h-data: Likewise.
14656 * conform/data/pthread.h-data: Likewise.
14657 * conform/data/pwd.h-data: Likewise.
14658 * conform/data/regex.h-data: Likewise.
14659 * conform/data/sched.h-data: Likewise.
14660 * conform/data/search.h-data: Likewise.
14661 * conform/data/semaphore.h-data: Likewise.
14662 * conform/data/setjmp.h-data: Likewise.
14663 * conform/data/signal.h-data: Likewise.
14664 * conform/data/spawn.h-data: Likewise.
14665 * conform/data/stdarg.h-data: Likewise.
14666 * conform/data/stdio.h-data: Likewise.
14667 * conform/data/stdlib.h-data: Likewise.
14668 * conform/data/string.h-data: Likewise.
14669 * conform/data/strings.h-data: Likewise.
14670 * conform/data/stropts.h-data: Likewise.
14671 * conform/data/sys/ipc.h-data: Likewise.
14672 * conform/data/sys/mman.h-data: Likewise.
14673 * conform/data/sys/msg.h-data: Likewise.
14674 * conform/data/sys/resource.h-data: Likewise.
14675 * conform/data/sys/select.h-data: Likewise.
14676 * conform/data/sys/sem.h-data: Likewise.
14677 * conform/data/sys/shm.h-data: Likewise.
14678 * conform/data/sys/socket.h-data: Likewise.
14679 * conform/data/sys/stat.h-data: Likewise.
14680 * conform/data/sys/statvfs.h-data: Likewise.
14681 * conform/data/sys/time.h-data: Likewise.
14682 * conform/data/sys/timeb.h-data: Likewise.
14683 * conform/data/sys/times.h-data: Likewise.
14684 * conform/data/sys/types.h-data: Likewise.
14685 * conform/data/sys/uio.h-data: Likewise.
14686 * conform/data/sys/un.h-data: Likewise.
14687 * conform/data/sys/utsname.h-data: Likewise.
14688 * conform/data/sys/wait.h-data: Likewise.
14689 * conform/data/syslog.h-data: Likewise.
14690 * conform/data/tar.h-data: Likewise.
14691 * conform/data/termios.h-data: Likewise.
14692 * conform/data/utime.h-data: Likewise.
14693 * conform/data/utmpx.h-data: Likewise.
14694 * conform/data/varargs.h-data: Likewise.
14695 * conform/data/wchar.h-data: Likewise.
14696 * conform/data/wctype.h-data: Likewise.
14697 * conform/data/wordexp.h-data: Likewise.
14698
14699 * include/stropts.h: New file.
14700 * include/uchar.h: New file.
14701 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14702 * include/assert.h: Likewise.
14703 * include/ctype.h: Likewise.
14704 * include/dirent.h: Likewise.
14705 * include/dlfcn.h: Likewise.
14706 * include/fcntl.h: Likewise.
14707 * include/fnmatch.h: Likewise.
14708 * include/glob.h: Likewise.
14709 * include/grp.h: Likewise.
14710 * include/libio.h: Likewise.
14711 * include/locale.h: Likewise.
14712 * include/math.h: Likewise.
14713 * include/net/if.h: Likewise.
14714 * include/netdb.h: Likewise.
14715 * include/netinet/in.h: Likewise.
14716 * include/pthread.h: Likewise.
14717 * include/pwd.h: Likewise.
14718 * include/regex.h: Likewise.
14719 * include/sched.h: Likewise.
14720 * include/search.h: Likewise.
14721 * include/setjmp.h: Likewise.
14722 * include/signal.h: Likewise.
14723 * include/stdio.h: Likewise.
14724 * include/stdlib.h: Likewise.
14725 * include/string.h: Likewise.
14726 * include/sys/cdefs.h: Likewise.
14727 * include/sys/mman.h: Likewise.
14728 * include/sys/msg.h: Likewise.
14729 * include/sys/resource.h: Likewise.
14730 * include/sys/select.h: Likewise.
14731 * include/sys/socket.h: Likewise.
14732 * include/sys/stat.h: Likewise.
14733 * include/sys/statvfs.h: Likewise.
14734 * include/sys/time.h: Likewise.
14735 * include/sys/times.h: Likewise.
14736 * include/sys/uio.h: Likewise.
14737 * include/sys/utsname.h: Likewise.
14738 * include/sys/wait.h: Likewise.
14739 * include/termios.h: Likewise.
14740 * include/time.h: Likewise.
14741 * include/ulimit.h: Likewise.
14742 * include/unistd.h: Likewise.
14743 * include/utime.h: Likewise.
14744 * include/wchar.h: Likewise.
14745 * include/wctype.h: Likewise.
14746 * include/wordexp.h: Likewise.
14747
14748 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14749
7a270350
UD
14750 * time/time.h: TIME_UTC must be a macro.
14751 Make timespec_get available for ISO C11 only as well.
14752
7724defc
UD
147532012-02-24 Ulrich Drepper <drepper@gmail.com>
14754
14755 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14756 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14757
6b1d1d46
JM
147582012-02-24 Joseph Myers <joseph@codesourcery.com>
14759
14760 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14761
0f8bbd69
JM
147622012-02-24 Joseph Myers <joseph@codesourcery.com>
14763
14764 * manual/texinfo.tex: Update to version 2012-01-19.16.
14765
66ab80bc
JM
147662012-02-24 Joseph Myers <joseph@codesourcery.com>
14767
14768 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14769
74981cc5
RM
147702012-02-24 Roland McGrath <roland@hack.frob.com>
14771
ee968201
RM
14772 [BZ #13738]
14773 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14774 * manual/fdl-1.3.texi: New file.
14775 * manual/fdl-1.1.texi: File removed.
14776
74981cc5
RM
14777 [BZ #13738]
14778 * manual/libc.texinfo (FDL_VERSION): New @set.
14779 Use it for mention of FDL in cover text.
14780 (Documentation License): Use it in @include file name.
14781
7bb764bc
JM
147822012-02-22 Joseph Myers <joseph@codesourcery.com>
14783 Roland McGrath <roland@hack.frob.com>
14784
14785 [BZ #5461]
14786 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14787 not LONG_LONG_MAX and LONG_LONG_MIN.
14788 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14789 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14790 name.
14791 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14792
6cbeae47
JM
147932012-02-22 Joseph Myers <joseph@codesourcery.com>
14794
14795 [BZ #2547]
14796 [BZ #11365]
14797 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14798 manipulate bits before adding and subtracting TWO23[sx].
14799 * math/libm-test.inc (nearbyint_test): Add more tests.
14800
fe45ce09
JM
148012012-02-22 Joseph Myers <joseph@codesourcery.com>
14802
14803 [BZ #2548]
14804 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14805 bits before adding and subtracting TWO23[sx].
14806 * math/libm-test.inc (rint_test): Add more tests.
14807 (rint_test_tonearest): Likewise.
14808 (rint_test_towardzero): Likewise.
14809 (rint_test_downward): Likewise.
14810 (rint_test_upward: Likewise.
14811
ff3b3d82
JM
148122012-02-22 Joseph Myers <joseph@codesourcery.com>
14813
14814 [BZ #10110]
14815 * include/stdc-predef.h: New file. Extracted from features.h.
14816 * include/features.h: Include stdc-predef.h.
14817 * Makefile (headers): Add stdc-predef.h.
14818 * CONFORMANCE (Compiler limitations): Update.
14819
ef0aab35
JM
148202012-02-22 Joseph Myers <joseph@codesourcery.com>
14821
14822 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14823
58639409
DM
148242012-02-21 David S. Miller <davem@davemloft.net>
14825
14826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14828
c0e70b25
DM
148292012-02-20 David S. Miller <davem@davemloft.net>
14830
14831 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14832 using a normal save/restore sequence, rather than allocating a
14833 dummy stack frame just to store a frame pointer and restore.
14834 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14835
fb06851d
JM
148362012-02-21 Joseph Myers <joseph@codesourcery.com>
14837
14838 * manual/install.texi: Fix stray word in line-wrapped comment.
14839
7a8b71c3
DM
148402012-02-20 David S. Miller <davem@davemloft.net>
14841
d510c123
DM
14842 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14843 both binutils and gcc support GOTDATA.
14844
0722d7c2
DM
14845 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14846 "rd %pc" in the PIC register setup sequences.
14847
3d2b3019
DM
14848 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14849 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14850 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14851 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14852 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14853 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14854 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14857 (SYSCALL_ERROR_HANDLER): Likewise.
14858 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14859 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14860 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14861 (SYSCALL_ERROR_HANDLER): Likewise.
14862
c80098a9
DM
14863 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14864 (HAVE_GCC_GOTDATA): New.
14865 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14866 relocation support in both binutils and gcc.
14867 * sysdeps/sparc/elf/configure: Regenerate.
14868
3a2545a0
DM
14869 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14870 * sysdeps/sparc/sparc32/elf/configure: Delete.
14871 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14872 * sysdeps/sparc/sparc64/elf/configure: Delete.
14873 * sysdeps/sparc/elf/configure.in: New file.
14874 * sysdeps/sparc/elf/configure: Generate.
14875
7a8b71c3
DM
14876 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14877 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14878 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14879 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14880 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14881
f1e86fca
JM
148822012-02-21 Joseph Myers <joseph@codesourcery.com>
14883
14884 * manual/install.texi: Do not mention specific glibc version
14885 numbers.
14886 * manual/libc.texinfo (VERSION, UPDATED): Update.
14887 (@copying): Use @copyright{} and range of years.
14888
0e7dfaef
JM
148892012-02-21 Joseph Myers <joseph@codesourcery.com>
14890
14891 [BZ #13695]
14892 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14893 [crti.S not in sysdirs] (generated): Do not append.
14894 [crti.S not in sysdirs] (omit-deps): Likewise.
14895 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14896 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14897 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14898 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14899 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14900 Likewise.
14901 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14902 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14903 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14904 * csu/defs.awk: Remove file.
14905 * sysdeps/generic/initfini.c: Likewise.
14906 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14907 variable.
14908 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14909 Likewise.
14910
599af3ca
JM
149112012-02-20 Joseph Myers <joseph@codesourcery.com>
14912
14913 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14914 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14915 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14916 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14918 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14919 <bits/epoll.h>.
14920 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14921 (__EPOLL_PACKED): Define to empty if not defined by
14922 <bits/epoll.h>.
14923 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14925 bits/epoll.h.
14926
0e499750
JM
149272012-02-20 Joseph Myers <joseph@codesourcery.com>
14928
14929 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14930 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14931 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14932 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14933 <bits/timerfd.h>.
14934 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14936 bits/timerfd.h.
14937
5ad91f6e
JM
149382012-02-20 Joseph Myers <joseph@codesourcery.com>
14939
14940 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14941 in C locale.
14942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14943 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14944 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14946
06b99b02
AJ
149472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14948
14949 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14950 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14951
7638c0fd
AS
149522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14953
14954 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14955 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14956 defined.
14957 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14958 Likewise.
14959 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14960 entry for 2.16.
14961
92221550
AJ
149622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14963
14964 * math/w_acos.c: Use non-signaling floating-point comparisons.
14965 * math/w_acosf.c: Likewise.
14966 * math/w_acosh.c: Likewise.
14967 * math/w_acoshf.c: Likewise.
14968 * math/w_acoshl.c: Likewise.
14969 * math/w_acosl.c: Likewise.
14970 * math/w_asin.c: Likewise.
14971 * math/w_asinf.c: Likewise.
14972 * math/w_asinl.c: Likewise.
14973 * math/w_atanh.c: Likewise.
14974 * math/w_atanhf.c: Likewise.
14975 * math/w_atanhl.c: Likewise.
14976 * math/w_exp2.c: Likewise.
14977 * math/w_exp2f.c: Likewise.
14978 * math/w_exp2l.c: Likewise.
14979 * math/w_j0.c: Likewise.
14980 * math/w_j0f.c: Likewise.
14981 * math/w_j0l.c: Likewise.
14982 * math/w_j1.c: Likewise.
14983 * math/w_j1f.c: Likewise.
14984 * math/w_j1l.c: Likewise.
14985 * math/w_jn.c: Likewise.
14986 * math/w_jnf.c: Likewise.
14987 * math/w_log.c: Likewise.
14988 * math/w_log10.c: Likewise.
14989 * math/w_log10f.c: Likewise.
14990 * math/w_log10l.c: Likewise.
14991 * math/w_log2.c: Likewise.
14992 * math/w_log2f.c: Likewise.
14993 * math/w_log2l.c: Likewise.
14994 * math/w_logf.c: Likewise.
14995 * math/w_logl.c: Likewise.
14996 * math/w_sqrt.c: Likewise.
14997 * math/w_sqrtf.c: Likewise.
14998 * math/w_sqrtl.c: Likewise.
14999 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15001 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15002 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15003 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15004
ebaf36eb
JM
150052012-02-19 Joseph Myers <joseph@codesourcery.com>
15006
15007 [BZ #9739]
15008 * manual/string.texi (strnlen): Use correct parameter name in
15009 equivalent expression.
15010
71c254a6
JM
150112012-02-19 Joseph Myers <joseph@codesourcery.com>
15012
15013 [BZ #11174]
15014 * manual/users.texi (seteuid): Consistently use neweuid for
15015 argument name.
15016
16d2c631
JM
150172012-02-19 Joseph Myers <joseph@codesourcery.com>
15018
15019 [BZ #13704]
15020 * manual/nss.texi (Services in the NSS configuration): Correct
15021 list of services in example configuration file.
15022
cd837b09
NB
150232012-02-19 Nick Bowler <nbowler@draconx.ca>
15024
15025 [BZ #11322]
15026 * manual/arith.texi: Remove statements about negative zero
15027 behaving identically to zero.
15028
02c4bbad
JM
150292012-02-18 Joseph Myers <joseph@codesourcery.com>
15030
15031 [BZ #5993]
15032 * manual/install.texi: Do not document upgrading from libc5.
15033
366842e7
JM
150342012-02-18 Joseph Myers <joseph@codesourcery.com>
15035
15036 [BZ #4596]
15037 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15038
dd54084d
DM
150392012-02-18 David S. Miller <davem@davemloft.net>
15040
15041 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15042 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15043 %o7 across the call.
15044 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15045 instead.
15046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15047 SETUP_PIC_REG_LEAF.
15048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15049 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15050 * sysdeps/sparc/crtn.S: Likewise.
15051
2bcc53a3
UD
150522012-02-17 Ulrich Drepper <drepper@gmail.com>
15053
15054 * aout/Makefile: Remove.
15055
09c093b5
RK
150562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15057
15058 [BZ #13058]
15059 * manual/examples/argp-ex1.c (main): Format definition in GNU
15060 style.
15061 * manual/examples/argp-ex2.c (main): Likewise.
15062 * manual/examples/argp-ex3.c (main): Likewise.
15063 * manual/examples/argp-ex4.c (main): Likewise.
15064 * manual/examples/longopt.c (main): Use new-style prototype
15065 definition.
15066 * manual/examples/strncat.c (main): Specify return type and use
15067 (void) for arguments.
15068 * manual/examples/subopt.c (main): Use char **argv argument.
15069
2ee633a2
JM
150702012-02-17 Joseph Myers <joseph@codesourcery.com>
15071
15072 [BZ #5077]
15073 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15074 rounding modes.
15075
0520adde
FB
150762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15077
15078 [BZ #6907]
15079 * manual/string.texi (strchr): Change when strchrnul is
15080 recommended.
15081
3f4081cd
DGM
150822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15083
15084 [BZ #174]
15085 * manual/locale.texi (setlocale): Document LOCPATH.
15086
d1b10e78
JM
150872012-02-17 Joseph Myers <joseph@codesourcery.com>
15088
15089 [BZ #10210]
15090 * manual/process.texi (execle): Move @dots{} before last argument.
15091
79c6869c
PB
150922012-02-17 Paul Bolle <pebolle@tiscali.nl>
15093
15094 [BZ #12047]
15095 * manual/charset.texi (Generic Charset Conversion): Fix typo
15096 (LC_TYPE -> LC_CTYPE).
15097
cc6e48bc
NB
150982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15099
15100 [BZ #5805]
15101 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15102 (scalbnf): Likewise.
15103 (scalbnl): Likewise.
15104 (scalbln): Likewise.
15105 (scalblnf): Likewise.
15106 (scalblnl): Likewise.
15107 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15108 (vwarnx): Likewise.
15109 (verr): Likewise.
15110 (verrx): Likewise.
15111 * manual/filesys.texi (telldir): Use braces around return type.
15112 * manual/llio.texi (mmap): Add space after comma.
15113 (mmap64): Likewise.
15114 * manual/math.texi (jn): Use @var{} on parameter names.
15115 (jnf): Likewise.
15116 (jnl): Likewise.
15117 (yn): Likewise.
15118 (ynf): Likewise.
15119 (ynl): Likewise.
15120 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15121 line.
15122 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15123 "...".
15124 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15125 (sched_get_priority_max): Likewise.
15126 * manual/signal.texi (sigvec): Add space after comma.
15127 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15128 names.
15129 (if_indextoname): Likewise.
15130 (if_freenameindex): Likewise.
15131 (sendto): Use ',' instead of '.' in prototype.
15132 * manual/startup.texi (syscall): Use @dots{} instead of literal
15133 "...".
15134 * manual/stdio.texi (__fpending): Separate initial words of
15135 paragraph from @deftypefun line.
15136 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15137 "...".
15138 (vsyslog): Use @var{} on parameter names.
15139 * manual/terminal.texi (stty): Use @var{} on parameter names.
15140 * manual/users.texi (getutmp): Use @var{} on parameter names.
15141 (getutmpx): Likewise.
15142
5b23062f
JM
151432012-02-17 Joseph Myers <joseph@codesourcery.com>
15144
15145 [BZ #6884]
15146 * manual/stdio.texi (fopen): Fix typos in description of
15147 ",ccs=STRING".
15148
8dee4833
AJ
151492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15150
15151 [BZ #4026]
15152 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15153 get clock_id definition.
15154
9078ce93
TS
151552012-02-17 Thomas Schwinge <thomas@schwinge.name>
15156
15157 [BZ #4822]
15158 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15159 (madvise): Cast every argument to void on its own.
15160
3835c55f
JM
151612012-02-17 Joseph Myers <joseph@codesourcery.com>
15162
15163 [BZ #9902]
15164 * manual/startup.texi (Exit Status): Fix typo.
15165
35c47e37
JM
151662012-02-17 Joseph Myers <joseph@codesourcery.com>
15167
15168 [BZ #10140]
15169 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15170 * manual/examples/argp-ex2.c: Likewise.
15171 * manual/examples/argp-ex3.c: Likewise.
15172
e3b69ca7
RH
151732012-02-16 Richard Henderson <rth@redhat.com>
15174
15175 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15176 * sysdeps/s390/s390-32/initfini.c: Remove.
15177 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15178 * sysdeps/s390/s390-64/initfini.c: Remove.
15179
df83af67
KK
151802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15181
15182 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15183 compiler output for sysdeps/generic/initfini.c.
15184 * sysdeps/sh/elf/initfini.c: Remove file.
15185
f63f3380
DM
151862012-02-16 David S. Miller <davem@davemloft.net>
15187
fb59b3a4
DM
15188 [BZ #11494]
15189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15190
f63f3380
DM
15191 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15192 * sysdeps/sparc/crti.S: New file.
15193 * sysdeps/sparc/crtn.S: New file.
15194 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15195 * sysdeps/sparc/sparc64/Makefile: Likewise.
15196
df6a4a4a
MF
151972012-02-15 Mike Frysinger <vapier@gentoo.org>
15198
6dd8f3dc 15199 [BZ #3335]
df6a4a4a
MF
15200 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15201
1cac7236
RM
152022012-02-15 Roland McGrath <roland@hack.frob.com>
15203
d2c736f8
RM
15204 [BZ #4822]
15205 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15206
1cac7236
RM
15207 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15208 (write, read, close): Likewise.
15209 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15210
8e475601
JM
152112012-02-15 Joseph Myers <joseph@codesourcery.com>
15212
15213 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15214 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15216 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15217 <bits/signalfd.h>.
15218 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15220 bits/signalfd.h.
15221
ed656b40
MP
152222012-02-14 Marek Polacek <polacek@redhat.com>
15223
15224 * sysdeps/x86_64/crti.S: New file.
15225 * sysdeps/x86_64/crtn.S: New file.
15226 * sysdeps/x86_64/elf/initfini.c: Remove file.
15227
2a979d3a
JM
152282012-02-13 Joseph Myers <joseph@codesourcery.com>
15229
15230 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15231 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15232 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15233 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15234 <bits/inotify.h>.
15235 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15237 bits/inotify.h.
15238
2a418ac3
JM
152392012-02-13 Joseph Myers <joseph@codesourcery.com>
15240
15241 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15242 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15243 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15244 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15245 <bits/eventfd.h>.
15246 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15248 bits/eventfd.h.
15249
fb779be7
TS
152502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15251
e19e83c5
RM
15252 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15253 __feraiseexcept instead of feraiseexcept.
7c35ffed 15254
fb779be7
TS
15255 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15256 nanosleep invocations.
15257 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15258 strings, and add error checking for a nanosleep invocations.
15259
59ba27a6
PE
152602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15261
15262 Replace FSF snail mail address with URLs, as per GNU coding standards.
15263 Most of the snail mail addresses were wrong anyway, and omitting
15264 them makes the source code easier to maintain. Almost all of the
15265 changes are to license notices and to locale LC_IDENTIFICATION
15266 addresses, except for this one:
15267 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15268 not its snail mail address.
15269
57b957eb
RH
152702012-02-09 Richard Henderson <rth@twiddle.net>
15271
af850b1c
RH
15272 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15273 of kernel-features.h.
15274
57b957eb
RH
15275 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15276
6b73181a
MP
152772012-02-08 Marek Polacek <polacek@redhat.com>
15278
15279 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15280 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15281 * sysdeps/gnu/_G_config.h: Likewise.
15282 * sysdeps/generic/_G_config.h: Likewise.
15283
26ecc33a
AS
152842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15285
6c6dbc63
AS
15286 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15287 tests.
15288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15289
e216c012
AS
15290 * sysdeps/powerpc/powerpc32/crti.S: New file.
15291 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15292 * sysdeps/powerpc/powerpc64/crti.S: New file.
15293 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15294
26ecc33a
AS
15295 * Makeconfig (have-initfini): Don't set.
15296 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15297 * configure.in (nopic_initfini): Don't substitute.
15298 * config.h.in (HAVE_INITFINI): Don't #undef.
15299 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15300 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15301
3add8e13
JM
153022012-02-08 Joseph Myers <joseph@codesourcery.com>
15303
15304 Support crti.S and crtn.S provided directly by architectures.
15305 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15306 [crti.S in sysdirs] (omit-deps): Likewise.
15307 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15308 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15309 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15310 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15311 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15312 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15313 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15314 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15315 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15316 compiler output for sysdeps/generic/initfini.c.
15317 * sysdeps/i386/elf/Makefile: Remove file.
15318 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15319
a22f12b4
MP
153202012-02-07 Marek Polacek <polacek@redhat.com>
15321
15322 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15323 * sysdeps/gnu/_G_config.h: Likewise.
15324 * sysdeps/mach/hurd/_G_config.h: Likewise.
15325
148cf100
MP
153262012-02-07 Marek Polacek <polacek@redhat.com>
15327
15328 * math/Makefile (tests): Add tst-CMPLX2.
15329 * math/tst-CMPLX2.c: New file.
15330
cfdc0dd7
AS
153312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15332
84ba42c4
AS
15333 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15334
cfdc0dd7
AS
15335 * math/libm-test.inc (jn_test): Add missing L suffix.
15336
622c86f4
MP
153372012-02-06 Marek Polacek <polacek@redhat.com>
15338
15339 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15340 * sysdeps/i386/fpu/e_powf.S: Likewise.
15341 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15342 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15343 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15344 * sysdeps/i386/fpu/e_pow.S: Likewise.
15345 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15346 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15347 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15348 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15349 * sysdeps/i386/fpu/e_log2.S: Likewise.
15350 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15351 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15352 * sysdeps/i386/fpu/e_powl.S: Likewise.
15353 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15354 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15355 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15356 * sysdeps/i386/fpu/e_logl.S: Likewise.
15357 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15358 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15359 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15360 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15361 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15362 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15363 * sysdeps/i386/fpu/e_log.S: Likewise.
15364 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15365 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15366 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15367 * sysdeps/i386/fpu/e_logf.S: Likewise.
15368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15369 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15370 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15371 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15372 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15373 * sysdeps/i386/fpu/e_log10.S: Likewise.
15374 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15375 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15376 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15377 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15378 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15379 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15380 * sysdeps/i386/asm-syntax.h: Likewise.
15381 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15382 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15384 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15385 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15386 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15387 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15388 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15389 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15390 * sysdeps/powerpc/sysdep.h: Likewise.
15391 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15392 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15393
d4a54ac6
JM
153942012-02-06 Joseph Myers <joseph@codesourcery.com>
15395
15396 [BZ #411]
15397 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15398
314054ea
JM
153992012-02-06 Joseph Myers <joseph@codesourcery.com>
15400
15401 * sysdeps/i386/sysdep.h: Include <features.h>.
15402 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15403 version.
15404
d8e0ca50
JM
154052012-02-05 Joseph Myers <joseph@codesourcery.com>
15406
15407 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15408 Define.
15409 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15410 LOAD_PIC_REG_STR.
15411
b1da7dd9
JM
154122012-02-03 Joseph Myers <joseph@codesourcery.com>
15413
15414 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15415 (SETUP_PIC_REG): Use GET_PC_THUNK.
15416 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15417 macro.
15418
9a1d9254
JM
154192012-02-03 Joseph Myers <joseph@codesourcery.com>
15420
15421 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15422 for non-PIC compilation.
15423 (SETUP_PIC_REG): Add .p2align directive.
15424 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15425 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15426 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15427 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15428 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15429 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15430 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15432 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15433 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15434 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15435 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15436 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15437 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15438 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15439 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15440 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15441 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15442 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15443 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15444 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15445 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15446 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15447 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15450 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15452 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15453 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15454 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15455 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15456 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15457 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15458 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15459 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15460 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15461 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15462 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15463 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15464 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15465
65dc3b75
JM
154662012-02-03 Joseph Myers <joseph@codesourcery.com>
15467
15468 * math/tst-CMPLX.c: Include <stdio.h>.
15469
d55bf177
JM
154702012-01-31 Joseph Myers <joseph@codesourcery.com>
15471
15472 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15473 float.
15474 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15475 * sysdeps/sparc/bits/mathdef.h: Likewise.
15476
69db4f8f
MP
154772012-01-31 Marek Polacek <polacek@redhat.com>
15478
15479 * libio/libio.h: Don't define _PARAMS.
15480 * locale/programs/config.h: Don't define PARAMS.
15481 * stdlib/strtol_l.c: Likewise.
15482 (__strtol_l): Remove PARAMS from the prototype.
15483
41b81892
UD
154842012-01-31 Ulrich Drepper <drepper@gmail.com>
15485
3b49edc0
UD
15486 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15487 names. Just use the correct names. Remove unnecessary wrapper
15488 functions.
15489 * malloc/arena.c: Likewise.
15490 * malloc/hooks.c: Likewise.
15491
41b81892
UD
15492 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15493 ARENA_TEST says not to. Simplify test for creation of a new arena.
15494 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15495
27a25b6e
UD
154962012-01-30 Ulrich Drepper <drepper@gmail.com>
15497
15498 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15499 into tail calls.
15500 (update_get_addr): New function.
15501 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15502 GET_ADDR_MODULE parameter.
15503
c8a89e7d
JM
155042012-01-30 Joseph Myers <joseph@codesourcery.com>
15505
15506 * crypt/cert.c: Remove __STDC__ conditionals.
15507 * crypt/crypt-entry.c: Likewise.
15508 * crypt/crypt_util.c: Likewise.
15509 * libio/filedoalloc.c: Likewise.
15510 * libio/fileops.c: Likewise.
15511 * libio/genops.c: Likewise.
15512 * libio/iofclose.c: Likewise.
15513 * libio/iofdopen.c: Likewise.
15514 * libio/iofopen.c: Likewise.
15515 * libio/iofopen64.c: Likewise.
15516 * libio/iogetdelim.c: Likewise.
15517 * libio/iopopen.c: Likewise.
15518 * libio/obprintf.c: Likewise.
15519 * libio/oldfileops.c: Likewise.
15520 * libio/oldiofclose.c: Likewise.
15521 * libio/oldiofdopen.c: Likewise.
15522 * libio/oldiofopen.c: Likewise.
15523 * libio/oldiopopen.c: Likewise.
15524 * libio/wfiledoalloc.c: Likewise.
15525 * libio/wgenops.c: Likewise.
15526 * locale/programs/xmalloc.c: Likewise.
15527 * misc/syslog.c: Likewise.
15528 * stdio-common/xbug.c: Likewise.
15529 * string/memchr.c: Likewise.
15530 * string/memcmp.c: Likewise.
15531 * string/memrchr.c: Likewise.
15532 * string/rawmemchr.c: Likewise.
15533 * sysdeps/posix/getcwd.c: Likewise.
15534 * time/strftime_l.c: Likewise.
15535
3b100462
JM
155362012-01-30 Joseph Myers <joseph@codesourcery.com>
15537
15538 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15539 * config.make.in (config-cflags-sse2avx): Define.
15540 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15541 Fix typo.
15542
607998af
CM
155432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15544
15545 * scripts/config.guess: Update from upstream config git repository.
15546 * scripts/config.sub: Likewise.
15547
3601428f
CM
155482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15549
3ac8b282
CM
15550 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15551 (EM_NUM): Update.
15552 (R_TILEPRO_*, R_TILEGX_*): New macros.
15553
e034841e
CM
15554 * scripts/firstversions.awk: Fix bug in version range handling.
15555
540d7568
CM
15556 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15557
3601428f
CM
15558 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15559
463de862
CM
15560 * include/sys/epoll.h: New file.
15561 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15562 libc_hidden_def.
15563
73139a76
UD
155642012-01-28 Ulrich Drepper <drepper@gmail.com>
15565
96bc5b45
UD
15566 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15567 Avoid unnecessary __WORDSIZE == 64 test.
15568 (fmaxf): Use VEX format if possible.
15569 (fmax): Likewise.
15570 (fminf): Likewise.
15571 (fmin): Likewise.
15572
56f6f6a2
UD
15573 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15574 * math/math_private.h: Remove libc_fegetround* and
15575 libc_fesetround*.
15576 * sysdeps/i386/configure.in: Check for -msse2avx.
15577 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15578 also if SSE2AVX is defined.
15579 Remove libc_fegetround* and libc_fesetround*.
15580 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15581 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15583 of HAS_YMM_USABLE.
15584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15585 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15587 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15588 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15589
73139a76
UD
15590 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15591
d73f93a4
AZ
155922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15593
15594 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15595 size is not set.
15596 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15597
6ee65ed6
UD
155982012-01-27 Ulrich Drepper <drepper@gmail.com>
15599
15600 [BZ #13618]
15601 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15602 relocation.
15603 * Makeconfig (libm): Define.
15604 * elf/Makefile: Add rules to build and run tst-relsort1.
15605 * elf/tst-relsort1.c: New file.
15606 * elf/tst-relsort1mod1.c: New file.
15607 * elf/tst-relsort1mod2.c: New file.
15608
8db21882
JM
156092012-01-27 Joseph Myers <joseph@codesourcery.com>
15610
15611 * math/s_ldexp.c: Remove __STDC__ conditionals.
15612 * math/s_ldexpf.c: Likewise.
15613 * math/s_ldexpl.c: Likewise.
15614 * math/s_nextafter.c: Likewise.
15615 * math/s_nexttowardf.c: Likewise.
15616 * math/s_significand.c: Likewise.
15617 * math/s_significandf.c: Likewise.
15618 * math/s_significandl.c: Likewise.
15619 * math/w_jnl.c: Likewise.
15620 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15621 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15622 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15623 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15624 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15626 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15627 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15629 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15630 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15632 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15635 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15636 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15639 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15640 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15642 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15643 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15644 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15645 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15646 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15647 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15648 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15649 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15650 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15651 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15652 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15653 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15654 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15655 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15656 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15660 * sysdeps/ieee754/k_standard.c: Likewise.
15661 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15664 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15665 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15666 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15670 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15671 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15672 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15675 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15678 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15722 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15727 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15735 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15736 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15740 * sysdeps/ieee754/s_matherr.c: Likewise.
15741 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15742 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15745
965a54a4
JM
157462012-01-26 Joseph Myers <joseph@codesourcery.com>
15747
15748 * crypt/md5.h: Remove __STDC__ conditionals.
15749 * libio/libioP.h: Likewise.
15750 * locale/programs/config.h: Likewise.
15751 * sysdeps/generic/sysdep.h: Likewise.
15752 * sysdeps/i386/asm-syntax.h: Likewise.
15753 * sysdeps/s390/asm-syntax.h: Likewise.
15754 * sysdeps/unix/sysdep.h: Likewise.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15757
7071ad79
JM
157582012-01-26 Joseph Myers <joseph@codesourcery.com>
15759
15760 * libio/libio.h: Remove __STDC__ conditionals.
15761 * malloc/obstack.h: Likewise.
15762 * math/complex.h: Likewise.
15763 * math/math.h: Likewise.
15764 * sysdeps/generic/_G_config.h: Likewise.
15765 * sysdeps/gnu/_G_config.h: Likewise.
15766 * sysdeps/mach/hurd/_G_config.h: Likewise.
15767 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15768 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15769 * sysdeps/sparc/bits/mathdef.h: Likewise.
15770
afc5ed09
UD
157712012-01-26 Ulrich Drepper <drepper@gmail.com>
15772
15773 [BZ #13583]
15774 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15775 Clean up HAS_* macros.
afc5ed09 15776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15777 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15778 possible.
15779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15780 HAS_AVX.
15781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15785 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15786
bdb6de1d
JM
157872012-01-25 Joseph Myers <joseph@codesourcery.com>
15788
15789 * elf/tst-unique3.cc (gets): Remove declaration.
15790 * elf/tst-unique3lib.cc (gets): Likewise.
15791 * elf/tst-unique3lib2.cc (gets): Likewise.
15792 * elf/tst-unique4.cc (gets): Likewise.
15793
b15549e6
UD
157942012-01-24 Ulrich Drepper <drepper@gmail.com>
15795
15796 * include/stdio.h: Add C++ protection. Add gets declarations and
15797 definitions.
15798 * debug/tst-chk1.c: Don't declare gets here.
15799 * stdio-common/tst-gets.c: Likewise.
15800
a037381f
JM
158012012-01-24 Joseph Myers <joseph@codesourcery.com>
15802
15803 * posix/glob: Remove directory.
15804
f1d4aa75
JM
158052012-01-24 Joseph Myers <joseph@codesourcery.com>
15806
15807 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15808
81c0c964
PT
158092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15810
15811 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15812 of the non-standard EPFNOSUPPORT.
15813
0ea698ae
ST
158142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15815
15816 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15817 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15818 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15819
d220b117
UD
158202012-01-21 Ulrich Drepper <drepper@gmail.com>
15821
15822 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15823
3e1aa84e
UD
158242012-01-20 Ulrich Drepper <drepper@gmail.com>
15825
15826 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15827 transient errors.
15828 * nscd/grpcache.c (cache_addgr): Likewise.
15829 * nscd/hstcache.c (cache_addhst): Likewise.
15830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15831 * nscd/pwdcache.c (cache_addpw): Likewise.
15832 * nscd/servicescache.c (cache_addserv): Likewise.
15833
400aa020
UD
158342012-01-16 Ulrich Drepper <drepper@gmail.com>
15835
d77e7869
UD
15836 * malloc/malloc.c: Various cleanups.
15837 * malloc/hooks.c: Likewise.
15838
400aa020
UD
15839 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15840 * stdlib/bug-fmtmsg1.c: New file.
15841
15842 * stdlib/fmtmsg.c (init): Add missing unlock.
15843 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15844
e0a309cf
MP
158452012-01-12 Marek Polacek <polacek@redhat.com>
15846
15847 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15848 and _GNU_SOURCE.
15849
929d11c7
WS
158502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15851
15852 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15853 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15854 macro to ensure uniqueness of label name.
15855 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15856 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15857
41d0e869
UD
158582012-01-11 Ulrich Drepper <drepper@gmail.com>
15859
0cc5ed3b
UD
15860 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15861
41d0e869
UD
15862 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15863 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15866
a47a831a
UD
158672012-01-10 Ulrich Drepper <drepper@gmail.com>
15868
daa891c0
UD
15869 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15870
15871 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15872 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15873 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15874
e58ef0f2
UD
15875 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15876
a47a831a 15877 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15878 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15881
15882 * math/bits/math-finite.h: Add ldexp support.
15883
a0bfc9c7
MP
158842012-01-10 Marek Polacek <polacek@redhat.com>
15885
15886 * locale/programs/localedef.h (show_archive_content): Add noreturn
15887 attribute.
15888
d6e97a1d
UD
158892012-01-09 Ulrich Drepper <drepper@gmail.com>
15890
15891 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15892
d5835c26
UD
158932012-01-08 Ulrich Drepper <drepper@gmail.com>
15894
e5f484c6
UD
15895 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15896
d5835c26
UD
15897 * io/Makefile (headers): Add bits/poll2.h.
15898
d1f741e9
WS
158992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15900
15901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15902 typo #include statement.
15903
ec09c1c4
UD
159042012-01-08 Ulrich Drepper <drepper@gmail.com>
15905
15906 * include/sys/cdefs.h: Define __attribute_alloc_size.
15907 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15908 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15909 * elf/pldd.c: Likewise.
15910 * iconv/iconv_charmap.c: Likewise.
15911 * iconv/iconvconfig.c: Likewise.
15912 * iconv/strtab.c: Likewise.
15913 * locale/programs/locale.c: Likewise.
15914 * locale/programs/localedef.h: Likewise.
15915 * locale/programs/simple-hash.c: Likewise.
15916 * nscd/nscd.h: Likewise.
15917 * nss/makedb.c: Likewise.
15918 * sysdeps/generic/ldconfig.h: Likewise.
15919 * locale/programs/localedef.c: Remove xmalloc prototype.
15920 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15921
20b38e03
PP
159222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15923
15924 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15925 appropriate.
15926
a0da5fe1
UD
159272012-01-08 Ulrich Drepper <drepper@gmail.com>
15928
1d5a644a 15929 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15930 * math/tst-CMPLX.c: New file.
1d5a644a 15931
8784a6db
UD
15932 * math/complex.h (CMPLXL): Fix typo.
15933
d9a216c0
UD
15934 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15935 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15936 GLIBC_2.16.
15937 * debug/tst-chk1.c: Add poll and ppoll tests.
15938 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15939 * include/sys/poll.h: Add hidden proto for ppoll.
15940 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15941 * sysdeps/mach/hurd/ppoll.c: Likewise.
15942 * io/ppoll.c: Likewise.
15943 * debug/poll_chk.c: New file.
15944 * debug/ppoll_chk.c: New file.
15945 * include/bits/poll2.h: New file.
15946 * io/bits/poll2.h: New file.
15947
ac097f5c
UD
15948 [BZ #1350]
15949 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15950
2119dcfa
UD
15951 * configure.in: static is always set to yes. Remove.
15952 * config.make.in: Don't set build-static.
15953 * Makeconfig: Remove use of build-static.
15954 * dlfcn/Makefile: Likewise.
15955 * elf/Makefile: Likewise.
15956 * math/Makefile: Likewise.
15957 * misc/Makefile: Likewise.
15958 * nptl/Makefile: Likewise.
15959 * sysdeps/mach/hurd/Makefile: Likewise.
15960
121766a9
UD
15961 * configure.in: PWD_P is not used anymore.
15962 * config.make.in: Remove PWD_P entry.
15963
51a1d39c 15964 * configure.in: Remove last remnants of RANLIB.
8720d066 15965 No need to check for signed size_t anymore.
215f4bdc
UD
15966 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15967 and IA-64.
3857022a 15968 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15969 * aclocal.m4: Likewise.
15970
d3ed7225
UD
15971 * wcsmbs/mbrtoc16.c: Implement using towc function.
15972 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15973 * wcsmbs/wcsmbsload.c: Likewise.
15974 * iconv/gconv_simple.c: Likewise.
15975 * iconv/gconv_int.h: Likewise.
15976 * iconv/gconv_builtin.h: Likewise.
15977 * iconv/iconv_prog.c: Remove CHAR16 handling.
15978
15979 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15980
15981 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15982
a0da5fe1
UD
15983 * configure.in: Remove --with-elf and --enable-bounded options.
15984 Dont set base_machine for ia64. More non-ELF conditions removed.
15985 Remove testing and setting of leading underscore information.
15986 * config.make.in (build-bounded): Set to no.
15987 * config.h.in: Remove NO_UNDERSCORES entry.
15988 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15989 them.
15990 * csu/start.c: Remove !NO_UNDERSCORE code.
15991 * locale/localeinfo.h: Likewise.
15992 * sysdeps/generic/machine-gmon.h: Likewise.
15993 * sysdeps/generic/sysdep.h: Likewise.
15994 * sysdeps/i386/sysdep.h: Likewise.
15995 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15996 * sysdeps/mach/sysdep.h: Likewise.
15997 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15998 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15999 * sysdeps/sh/sysdep.h: Likewise.
16000 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16001 * sysdeps/unix/i386/sysdep.S: Likewise.
16002 * sysdeps/unix/sparc/start.c: Likewise.
16003 * sysdeps/unix/sparc/sysdep.S: Likewise.
16004 * sysdeps/unix/sparc/sysdep.h: Likewise.
16005 * sysdeps/unix/start.c: Likewise.
16006 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16007 * sysdeps/x86_64/sysdep.h: Likewise.
16008
df78418a
UD
160092012-01-07 Ulrich Drepper <drepper@gmail.com>
16010
a784e502
UD
16011 [BZ #13553]
16012 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16013 for non-gcc.
16014 * argp/argp-fmtstream.h: Use const instead __const.
16015 * argp/argp.h: Likewise.
16016 * assert/assert.h: Likewise.
16017 * bits/fenv.h: Likewise.
16018 * bits/sched.h: Likewise.
16019 * bits/sigset.h: Likewise.
16020 * bits/sigthread.h: Likewise.
16021 * catgets/nl_types.h: Likewise.
16022 * conform/data/pthread.h-data: Likewise.
16023 * crypt/crypt-private.h: Likewise.
16024 * crypt/crypt.h: Likewise.
16025 * crypt/crypt_util.c: Likewise.
16026 * ctype/ctype.h: Likewise.
16027 * debug/execinfo.h: Likewise.
16028 * debug/mbsnrtowcs_chk.c: Likewise.
16029 * debug/mbsrtowcs_chk.c: Likewise.
16030 * debug/wcsnrtombs_chk.c: Likewise.
16031 * debug/wcsrtombs_chk.c: Likewise.
16032 * debug/wcstombs_chk.c: Likewise.
16033 * dirent/dirent.h: Likewise.
16034 * dlfcn/dlfcn.h: Likewise.
16035 * elf/neededtest4.c: Likewise.
16036 * grp/grp.h: Likewise.
16037 * gshadow/gshadow.h: Likewise.
16038 * iconv/gconv.h: Likewise.
16039 * iconv/gconv_int.h: Likewise.
16040 * iconv/gconv_simple.c: Likewise.
16041 * iconv/iconv.h: Likewise.
16042 * iconv/loop.c: Likewise.
16043 * iconv/skeleton.c: Likewise.
16044 * include/aio.h: Likewise.
16045 * include/aliases.h: Likewise.
16046 * include/argz.h: Likewise.
16047 * include/arpa/inet.h: Likewise.
16048 * include/assert.h: Likewise.
16049 * include/dirent.h: Likewise.
16050 * include/dlfcn.h: Likewise.
16051 * include/execinfo.h: Likewise.
16052 * include/fcntl.h: Likewise.
16053 * include/fenv.h: Likewise.
16054 * include/glob.h: Likewise.
16055 * include/grp.h: Likewise.
16056 * include/libintl.h: Likewise.
16057 * include/mntent.h: Likewise.
16058 * include/netdb.h: Likewise.
16059 * include/pwd.h: Likewise.
16060 * include/rpc/netdb.h: Likewise.
16061 * include/sched.h: Likewise.
16062 * include/search.h: Likewise.
16063 * include/shadow.h: Likewise.
16064 * include/signal.h: Likewise.
16065 * include/stdio.h: Likewise.
16066 * include/stdlib.h: Likewise.
16067 * include/string.h: Likewise.
16068 * include/sys/socket.h: Likewise.
16069 * include/sys/stat.h: Likewise.
16070 * include/sys/statfs.h: Likewise.
16071 * include/sys/statvfs.h: Likewise.
16072 * include/sys/syslog.h: Likewise.
16073 * include/sys/time.h: Likewise.
16074 * include/sys/uio.h: Likewise.
16075 * include/time.h: Likewise.
16076 * include/unistd.h: Likewise.
16077 * include/utmp.h: Likewise.
16078 * include/wchar.h: Likewise.
16079 * include/wctype.h: Likewise.
16080 * inet/aliases.h: Likewise.
16081 * inet/arpa/inet.h: Likewise.
16082 * inet/netinet/ether.h: Likewise.
16083 * inet/netinet/in.h: Likewise.
16084 * intl/libintl.h: Likewise.
16085 * io/bits/fcntl2.h: Likewise.
16086 * io/fcntl.h: Likewise.
16087 * io/ftw.h: Likewise.
16088 * io/sys/poll.h: Likewise.
16089 * io/sys/stat.h: Likewise.
16090 * io/sys/statfs.h: Likewise.
16091 * io/sys/statvfs.h: Likewise.
16092 * io/utime.h: Likewise.
16093 * libio/bits/stdio.h: Likewise.
16094 * libio/bits/stdio2.h: Likewise.
16095 * libio/libio.h: Likewise.
16096 * libio/libioP.h: Likewise.
16097 * libio/stdio.h: Likewise.
16098 * locale/lc-ctype.c: Likewise.
16099 * locale/locale.h: Likewise.
16100 * login/utmp.h: Likewise.
16101 * malloc/arena.c: Likewise.
16102 * malloc/malloc.c: Likewise.
16103 * malloc/malloc.h: Likewise.
16104 * malloc/mcheck.c: Likewise.
16105 * malloc/mtrace.c: Likewise.
16106 * math/bits/mathcalls.h: Likewise.
16107 * math/fenv.h: Likewise.
16108 * math/math_private.h: Likewise.
16109 * misc/bits/error.h: Likewise.
16110 * misc/bits/syslog.h: Likewise.
16111 * misc/err.h: Likewise.
16112 * misc/error.h: Likewise.
16113 * misc/fstab.h: Likewise.
16114 * misc/mntent.h: Likewise.
16115 * misc/regexp.h: Likewise.
16116 * misc/search.h: Likewise.
16117 * misc/sgtty.h: Likewise.
16118 * misc/sys/mman.h: Likewise.
16119 * misc/sys/syslog.h: Likewise.
16120 * misc/sys/uio.h: Likewise.
16121 * misc/sys/xattr.h: Likewise.
16122 * misc/ttyent.h: Likewise.
16123 * nis/rpcsvc/ypclnt.h: Likewise.
16124 * nss/nss.h: Likewise.
16125 * posix/bits/unistd.h: Likewise.
16126 * posix/fnmatch.h: Likewise.
16127 * posix/glob.h: Likewise.
16128 * posix/sched.h: Likewise.
16129 * posix/spawn.h: Likewise.
16130 * posix/sys/wait.h: Likewise.
16131 * posix/unistd.h: Likewise.
16132 * posix/wordexp.h: Likewise.
16133 * pwd/pwd.h: Likewise.
16134 * resolv/netdb.h: Likewise.
16135 * resource/sys/resource.h: Likewise.
16136 * rt/aio.h: Likewise.
16137 * rt/bits/mqueue2.h: Likewise.
16138 * rt/mqueue.h: Likewise.
16139 * shadow/shadow.h: Likewise.
16140 * signal/signal.h: Likewise.
16141 * socket/send.c: Likewise.
16142 * socket/sendto.c: Likewise.
16143 * socket/sys/socket.h: Likewise.
16144 * stdio-common/printf.h: Likewise.
16145 * stdlib/bits/stdlib.h: Likewise.
16146 * stdlib/fmtmsg.h: Likewise.
16147 * stdlib/monetary.h: Likewise.
16148 * stdlib/stdlib.h: Likewise.
16149 * stdlib/ucontext.h: Likewise.
16150 * streams/stropts.h: Likewise.
16151 * string/argz.h: Likewise.
16152 * string/bits/string2.h: Likewise.
16153 * string/string.h: Likewise.
16154 * string/strings.h: Likewise.
16155 * sunrpc/rpc/auth.h: Likewise.
16156 * sunrpc/rpc/auth_des.h: Likewise.
16157 * sunrpc/rpc/clnt.h: Likewise.
16158 * sunrpc/rpc/netdb.h: Likewise.
16159 * sunrpc/rpc/pmap_clnt.h: Likewise.
16160 * sunrpc/rpc/xdr.h: Likewise.
16161 * sysdeps/generic/inttypes.h: Likewise.
16162 * sysdeps/generic/net/if.h: Likewise.
16163 * sysdeps/generic/sys/swap.h: Likewise.
16164 * sysdeps/gnu/net/if.h: Likewise.
16165 * sysdeps/gnu/utmpx.h: Likewise.
16166 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16167 * sysdeps/i386/i486/bits/string.h: Likewise.
16168 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16169 * sysdeps/s390/bits/string.h: Likewise.
16170 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16171 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16172 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16173 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16174 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16175 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16176 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16177 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16178 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16179 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16180 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16181 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16182 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16183 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16184 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16185 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16186 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16190 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16191 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16192 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16193 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16194 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16195 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16196 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16198 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16199 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16200 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16201 * sysvipc/sys/ipc.h: Likewise.
16202 * sysvipc/sys/msg.h: Likewise.
16203 * sysvipc/sys/sem.h: Likewise.
16204 * sysvipc/sys/shm.h: Likewise.
16205 * termios/termios.h: Likewise.
16206 * time/sys/time.h: Likewise.
16207 * time/time.h: Likewise.
16208 * wcsmbs/bits/wchar2.h: Likewise.
16209 * wcsmbs/uchar.h: Likewise.
16210 * wcsmbs/wchar.h: Likewise.
16211 * wctype/wctype.h: Likewise.
16212
0269750c
UD
16213 [BZ #13551]
16214 * Makeconfig: Remove all but ELF support including AIX support.
16215 * Makerules: Likewise.
16216 * config.h.in: Likewise.
16217 * config.make.in: Likewise.
16218 * configure: Likewise.
16219 * configure.in: Likewise.
16220 * csu/Makefile: Likewise.
16221 * csu/version.c: Likewise.
16222 * debug/Makefile: Likewise.
16223 * dlfcn/Makefile: Likewise.
16224 * elf/Makefile: Likewise.
16225 * extra-lib.mk: Likewise.
16226 * iconv/Makefile: Likewise.
16227 * include/libc-symbols.h: Likewise.
16228 * include/shlib-compat.h: Likewise.
16229 * resolv/Makefile: Likewise.
16230 * resolv/res_libc.c: Likewise.
16231 * rt/Makefile: Likewise.
16232 * sysdeps/i386/asm-syntax.h: Likewise.
16233 * sysdeps/i386/sysdep.h: Likewise.
16234 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16235 * sysdeps/mach/sysdep.h: Likewise.
16236 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16237 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16238 * sysdeps/s390/asm-syntax.h: Likewise.
16239 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16240 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16241 * sysdeps/sh/sysdep.h: Likewise.
16242 * sysdeps/unix/sparc/sysdep.h: Likewise.
16243 * sysdeps/wordsize-32/divdi3.c: Likewise.
16244 * sysdeps/x86_64/sysdep.h: Likewise.
16245
00bbd29b
UD
16246 * argp/Versions: Remove _argp_unlock_xxx.
16247
16248 [BZ #13559]
16249 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16250 * abilist/libBrokenLocale.abilist: Likewise.
16251 * abilist/libanl.abilist: Likewise.
16252 * abilist/libc.abilist: Likewise.
16253 * abilist/libcrypt.abilist: Likewise.
16254 * abilist/libdl.abilist: Likewise.
16255 * abilist/libm.abilist: Likewise.
16256 * abilist/libnsl.abilist: Likewise.
16257 * abilist/libpthread.abilist: Likewise.
16258 * abilist/libresolv.abilist: Likewise.
16259 * abilist/librt.abilist: Likewise.
16260 * abilist/libthread_db.abilist: Likewise.
16261 * abilist/libutil.abilist: Likewise.
16262 * abilist/libnss_db.abilist: New file.
16263
16264 * scripts/abilist.awk: Add support for indirect functions.
16265
a2693a0e
UD
16266 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16267
3f05895f
UD
16268 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16269
ecb6fb48
UD
16270 * shlib-versions: Remove entries for ports architectures.
16271
664f8cb9
UD
16272 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16273 files in ports.
16274 * elf/stackguard-macros.h: Remove support for IA-64.
16275 * elf/tst-auditmod1.c: Likewise.
16276 * sysdeps/generic/ldsodefs.h: Likewise.
16277
7ae81d88
UD
16278 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16279 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16280 configure files.
16281
bdeba135
UD
16282 [BZ #13552]
16283 * configure.in: Remove --enable-omitfp support.
16284 * FAQ.in: Adjust.
16285 * config.make.in: Likewise.
16286 * Makeconfig: Likewise.
16287 * manual/install.texi: Likewise.
16288
d75a0a62
UD
16289 In case anyone cares, the IA-64 architecture could move to ports.
16290 * sysdeps/ia64/*: Removed.
16291 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16292 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16293
dcc9756b
UD
16294 [BZ #13555]
16295 * configure.in: Remove entries for unsupported architectures.
16296
d3761ebc 16297 [BZ #13533]
9954432e
UD
16298 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16299 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16300 routines.
16301 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16302 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16303 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16304 fall back to using wcrtomb.
16305 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16306 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16307 renaming.
16308 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16309 * wcsmbs/tst-c16c32-1.c: New file.
16310
16311 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16312 local variable.
16313
c3a87236
UD
16314 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16315
28926a1b
UD
16316 * elf/tst-unique3.cc: Add explicit declaration of gets.
16317 * elf/tst-unique3lib.cc: Likewise.
16318 * elf/tst-unique3lib2.cc: Likewise.
16319 * elf/tst-unique4.cc: Likewise.
16320
df78418a
UD
16321 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16322
8ecd6b2a
JM
163232012-01-06 Joseph Myers <joseph@codesourcery.com>
16324
16325 [BZ #13566]
16326 * assert/assert.h (static_assert): Don't define for C++.
16327 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16328 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16329
9f115170
UD
163302012-01-03 Ulrich Drepper <drepper@gmail.com>
16331
5e0d0300
UD
16332 * iconv/loop.c (single loop): Fix assertion in storing of
16333 remaining bytes.
16334
9f115170
UD
16335 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16336
81fb02b0
UD
163372012-01-01 Ulrich Drepper <drepper@gmail.com>
16338
16339 * posix/getconf.c: Update copyright year.
16340 * nss/getent.c: Likewise.
a316c1f6 16341 * nss/makedb.c: Likewise.
81fb02b0
UD
16342 * iconv/iconvconfig.c: Likewise.
16343 * iconv/iconv_prog.c: Likewise.
16344 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16345 * elf/pldd.c: Likewise.
16346 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16347 * catgets/gencat.c: Likewise.
16348 * csu/version.c: Likewise.
16349 * elf/ldd.bash.in: Likewise.
16350 * elf/sprof.c (print_version): Likewise.
16351 * locale/programs/locale.c: Likewise.
16352 * locale/programs/localedef.c: Likewise.
a316c1f6 16353 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16354 * nscd/nscd.c (print_version): Likewise.
16355 * debug/xtrace.sh: Likewise.
16356 * malloc/memusage.sh: Likewise.
16357 * malloc/mtrace.pl: Likewise.
16358 * debug/catchsegv.sh: Likewise.
16359
2ba92745
JJ
163602011-12-30 Jakub Jelinek <jakub@redhat.com>
16361
16362 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16363 pure attribute.
16364
dadebdae
UD
163652011-12-24 Ulrich Drepper <drepper@gmail.com>
16366
d3761ebc 16367 [BZ #13533]
db6af3eb
UD
16368 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16369 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16370 transformations.
16371 * iconv/gconv_int.h: Likewise.
16372 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16373 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16374 from libc for GLIBC_2.16.
16375 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16376 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16377 * wcsmbs/uchar.h: Really define mbstate_t.
16378 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16379 * wcsmbs/c16rtomb.c: New file.
16380 * wcsmbs/mbrtoc16.c: New file.
16381 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16382 for C/POSIX locale.
16383 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16384 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16385
dadebdae
UD
16386 * wcsmbs/wchar.h: Add missing __restrict.
16387
67371b56
UD
163882011-12-23 Ulrich Drepper <drepper@gmail.com>
16389
74033a25
UD
16390 [BZ #13532]
16391 * time/Makefile (routines): Add timespec_get.
16392 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16393 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16394 timespec for ISO C11.
16395 * time/timespec_get.c: New file.
16396 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16397 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16398
380d7e87
UD
16399 [BZ #13531]
16400 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16401 * stdlib/stdlib.h: Declare aligned_alloc.
16402 * Versions.def: Add GLIBC_2.16 for libc.
16403 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16404
4e9e7a35
UD
16405 [BZ 13527]
16406 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16407 ISO C11.
16408
380d7e87 16409 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16410 code.
16411
03a71829
UD
16412 [BZ #13528]
16413 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16414
839e283e
UD
16415 [BZ #13529]
16416 * assert/assert.h (static_assert): Define.
16417
ce5294e2 16418 * version.h: Update for 2.16 development version.
90fa7312 16419
8d44e150 16420 [BZ #13526]
d7809905
UD
16421 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16422 _ISOC11_SOURCE.
16423
c0da14cd
UD
16424 * version.h (RELEASE): Bump for 2.15 release.
16425 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16426
530a3249
MP
16427 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16428 Patch by Marek Polacek <mpolacek@redhat.com>.
16429
67371b56
UD
16430 * bits/byteswap.h: Protect long long constants with __extension__.
16431 * sysdeps/i386/bits/byteswap.h: Likewise.
16432 * sysdeps/ia64/bits/byteswap.h: Likewise.
16433 * sysdeps/s390/bits/byteswap.h: Likewise.
16434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16435
15db4de1
LD
164362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16437
16438 [BZ #13540]
bbe315ea
LD
16439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16440 destination buffer.
15db4de1
LD
16441 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16442
2b2596b1
MP
164432011-12-23 Marek Polacek <polacek@redhat.com>
16444
16445 * elf/dl-addr.c (determine_info): Add inline keyword.
16446 * elf/tst-auditmod4b.c (check_avx): Likewise.
16447 * elf/tst-auditmod6b.c (check_avx): Likewise.
16448 * elf/tst-auditmod6c.c (check_avx): Likewise.
16449 * elf/tst-auditmod7b.c (check_avx): Likewise.
16450
70c6c246
UD
164512011-12-23 Ulrich Drepper <drepper@gmail.com>
16452
16453 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16454 !__SSE_MATH__.
16455
c044cf14
LD
164562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16457
15db4de1 16458 [BZ #13540]
c044cf14
LD
16459 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16460 processing for last bytes.
16461
6b13d9d9
BH
164622011-08-06 Bruno Haible <bruno@clisp.org>
16463
d455f537
BH
16464 [BZ #13061]
16465 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16466 U+0385, not to U+1FEE.
16467
6b13d9d9
BH
16468 [BZ #13062]
16469 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16470 entry for U+00A5 U+0301.
16471
db910efd
UD
164722011-12-22 Ulrich Drepper <drepper@gmail.com>
16473
27deeafc
UD
16474 [BZ #13166]
16475 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16476 buffer for the output is too small.
16477
aed9d171
UD
16478 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16479 optimization.
16480
db910efd
UD
16481 [BZ #13185]
16482 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16483 SSE flags if possible.
16484
2bd779ae
LD
164852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16486
e7f9dac3 16487 [BZ #13540]
2bd779ae
LD
16488 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16489 processing for last bytes.
16490
154bfc16
JM
164912011-12-22 Joseph Myers <joseph@codesourcery.com>
16492
16493 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16494 (syscall-list-default-options, syscall-list-default-condition)
16495 (syscall-list-includes): Define.
16496 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16497 list of ABIs and options and #if conditions for each ABI. Do not
16498 handle common syscalls between ABIs specially.
16499 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16500 Remove.
16501 (syscall-list-variants, syscall-list-32bit-options)
16502 (syscall-list-32bit-condition, syscall-list-64bit-options)
16503 (syscall-list-64bit-condition): Define.
16504 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16505 (syscall-list-variants, syscall-list-32bit-options)
16506 (syscall-list-32bit-condition, syscall-list-64bit-options)
16507 (syscall-list-64bit-condition): Define.
16508 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16509 Remove.
16510 (syscall-list-variants, syscall-list-32bit-options)
16511 (syscall-list-32bit-condition, syscall-list-64bit-options)
16512 (syscall-list-64bit-condition): Define.
16513 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16514 Remove.
16515 (syscall-list-variants, syscall-list-32bit-options)
16516 (syscall-list-32bit-condition, syscall-list-64bit-options)
16517 (syscall-list-64bit-condition): Define.
16518
21eaf3a5
UD
165192011-12-22 Ulrich Drepper <drepper@gmail.com>
16520
16c6f992
UD
16521 * locale/iso-639.def: Add brx entry.
16522
41043168
UD
16523 [BZ #13328]
16524 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16525 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16526
21eaf3a5
UD
16527 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16528 __feraiseexcept_renamed.
16529
e3a851a2
UD
165302011-12-21 Ulrich Drepper <drepper@gmail.com>
16531
4920765e
UD
16532 [BZ #13538]
16533 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16534 EPOLLET with unsigned values.
16535 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16536 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16537
e3a851a2
UD
16538 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16539 to large cancellation.
16540 * math/s_cacoshf.c: Likewise.
16541 * math/s_cacoshl.c: Likewise.
16542
b27e24b8
RK
165432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16544
16545 [BZ #13305]
aebefeee 16546 [BZ #12786]
b27e24b8
RK
16547 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16548 * math/s_cacoshf.c: Likewise.
16549 * math/s_cacoshl.c: Likewise.
16550
ee190f67
UD
165512011-12-21 Ulrich Drepper <drepper@gmail.com>
16552
16553 [BZ #13439]
16554 * iconv/gconv.h: Define __GCONV_SWAP.
16555 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16556 * iconvdata/utf-16.c: Likewise.
16557 * iconvdata/utf-32.c: Likewise.
16558
707f25df
AS
165592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16560
16561 [BZ #13524]
16562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16563 numerator after shifting it by one limb.
16564
d2daaa1e
RÁE
165652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16566
16567 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16568 under [__USE_EXTERN_INLINES].
16569
a4647e72
UD
165702011-12-17 Ulrich Drepper <drepper@gmail.com>
16571
16572 [BZ #13446]
16573 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16574
f0b264f1
AZ
165752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16576
16577 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16578 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16579 optimized code.
16580 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16581 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16582 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16583 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16584 for strncasecmp/strncasecmp_l compilation.
16585 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16586 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16587
8ef4f244
MP
165882011-12-08 Marek Polacek <mpolacek@redhat.com>
16589
16590 [BZ #13484]
16591 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16592 of __asm__.
16593
97ac2654
UD
165942011-12-17 Ulrich Drepper <drepper@gmail.com>
16595
16596 [BZ #13506]
16597 * time/tzfile.c (__tzfile_read): Check values from file header.
16598
91d2a845
WS
165992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16600
16601 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16602 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16603 * powerpc/powerpc32/dl-start.S: Likewise.
16604 * powerpc/powerpc32/elf/start.S: Likewise.
16605 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16606 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16607 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16608 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16609 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16610 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16611 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16612 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16613 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16614 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16615 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16616 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16617 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16618 * powerpc/powerpc32/memset.S: Likewise.
16619 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16620 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16621 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16622 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16623 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16624 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16625 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16626 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16627 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16628 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16629 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16630 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16631 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16632
a1267ba1
AZ
166332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16634
16635 * math/libm-test.inc: Added more nearbyint tests.
16636 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16637 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16640
ad8ac1bd
RL
166412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16642
16643 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16644 FD_CLOEXEC.
16645
1d3e4b61
UD
166462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16647
16648 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16649 Add wcscpy-ssse3 wcscpy-c.
16650 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16651 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16652 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16653 * sysdeps/x86_64/wcschr.S: New file.
16654 * sysdeps/x86_64/wcsrchr.S: New file.
16655 * string/test-strcmp.c: Remove checking of wcscmp function for
16656 wrong alignments.
16657 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16658 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16659 wcsrchr-sse2 wcsrchr-c.
16660 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16661 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16662 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16663 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16664 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16665 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16666 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16667 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16668 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16669 * wcsmbc/wcschr.c (WCSCHR): New macro.
16670
5b330a2d
UD
166712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16672
16673 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16674 * wcsmbs/test-wcsrchr.c: New file.
16675 * string/test-strrchr.c: Add wcsrchr support.
16676 (WIDE): New macro.
16677 * wcsmbs/test-wcscpy.c: New file.
16678 * string/test-strcpy.c: Add wcscpy support.
16679 (WIDE): New macro.
26428b7c 16680
f039c043
UD
166812011-12-10 Ulrich Drepper <drepper@gmail.com>
16682
16683 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16684 the inner loop.
16685
850fb039
AS
166862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16687
16688 [BZ #13472]
16689 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16690
4efbd5cb
UD
166912011-12-04 Ulrich Drepper <drepper@gmail.com>
16692
52ff5dd0 16693 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16694 Minor optimizations.
52ff5dd0 16695
4efbd5cb
UD
16696 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16697 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16698 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16699
8a426e12
UD
167002011-12-03 Ulrich Drepper <drepper@gmail.com>
16701
aff2453d
UD
16702 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16703 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16704 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16705 for gcc to avoid warnings.
16706 * inet/Makefile (tests): Add tst-checks.
16707 * inet/tst-checks.c: New file.
16708
16709 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16710 warning.
16711
16712 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16713 __wmemcmp_sse2.
16714
16715 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16716 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16717
8a426e12
UD
16718 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16719
9bea3473
UD
167202011-12-02 Ulrich Drepper <drepper@gmail.com>
16721
3a965496
UD
16722 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16723 problem.
16724
9bea3473
UD
16725 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16726
f101631b
UD
167272011-11-29 Joseph Myers <joseph@codesourcery.com>
16728
16729 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16730 conditional on GCC version.
16731 (__arch_compare_and_exchange_val_8_acq)
16732 (__arch_compare_and_exchange_val_16_acq)
16733 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16734 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16735 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16736
a98275aa
UD
167372011-12-02 Joseph Myers <joseph@codesourcery.com>
16738
16739 * sysdeps/sh/backtrace.c: New file.
16740
d4cc29a2
AS
167412011-12-02 Andreas Schwab <schwab@redhat.com>
16742
16743 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16744 parenthesis.
16745
6257af2d
AS
167462011-12-01 Andreas Schwab <schwab@redhat.com>
16747
16748 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16749 falling back to utime.
16750
b5f44c1a
AS
167512011-11-30 Andreas Schwab <schwab@redhat.com>
16752
16753 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16754 expectations for float.
16755
f3a6cc0a
AS
167562011-11-29 Andreas Schwab <schwab@redhat.com>
16757
16758 * locale/weight.h (findidx): Add parameter len.
16759 * locale/weightwc.h (findidx): Likewise.
16760 * posix/fnmatch_loop.c (FCT): Adjust caller.
16761 * posix/regcomp.c (build_equiv_class): Likewise.
16762 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16763 * posix/regexec.c (check_node_accept_bytes): Likewise.
16764 * string/strcoll_l.c (STRCOLL): Likewise.
16765 * string/strxfrm_l.c (STRXFRM): Likewise.
16766
9d65ea3a
UD
167672011-11-17 Ulrich Drepper <drepper@gmail.com>
16768
16769 * Makefile.in: Remove CVSOPT handling.
16770 * configure.in: Remove use of AC_REVISION.
16771 * iconvdata/Makefile (distribute): No need to filter out CVS.
16772 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16773 handling.
16774
5583a086
AS
167752011-11-16 Andreas Schwab <schwab@redhat.com>
16776
16777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16778 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16779 [USE_AS_STRNCASECMP_L]: Likewise.
16780 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16781 NO_TLS_DIRECT_SEG_REFS.
16782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16783 Fix argument offsets for non-PIC.
16784 [USE_AS_STRNCASECMP_L]: Likewise.
16785 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16786 NO_TLS_DIRECT_SEG_REFS.
16787
d62a8200
UD
167882011-11-15 Ulrich Drepper <drepper@gmail.com>
16789
9d65ea3a 16790 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16791 O_CLOEXEC.
16792 * locale/loadlocale.c (_nl_load_locale): Likewise.
16793
09f93bd3
AS
167942011-11-15 Andreas Schwab <schwab@redhat.com>
16795
446514f9
AS
16796 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16797 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16798 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16799 (SYSCALL_GETTIME): Set errno on error.
16800
09f93bd3
AS
16801 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16802 count references to noai6ai_cached.
16803
312be3f9
UD
168042011-11-15 Ulrich Drepper <drepper@gmail.com>
16805
16806 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16807
16808 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16809 FD_CLOEXEC for /proc/self/maps.
16810
16811 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16812 FD_CLOEXEC for /proc/meminfo.
16813
16814 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16815 gai.conf.
16816
16817 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16818 FD_CLOEXEC for given file.
16819
16820 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16821
16822 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16823 FD_CLOEXEC for /etc/hosts.
16824 (_gethtent): Likewise.
16825
16826 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16827
16828 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16829 cancellation and set FD_CLOEXEC for /etc/netgroup.
16830
16831 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16832 reading /etc/publickey.
16833
16834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16835 allow cancellation when reading /etc/group.
16836
16837 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16838 cancellation.
16839 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16840
16841 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16842 when using data file.
16843
16844 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16845
16846 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16847 (write_nis_obj): Use "c" and "e" in fopen.
16848
16849 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16850
16851 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16852
16853 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16854
16855 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16856
16857 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16858 locale.alias.
16859
16860 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16861
16862 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16863
16864 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16865
16866 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16867 file parsing and set FD_CLOEXEC.
16868
82af0fa8
UD
168692011-11-14 Ulrich Drepper <drepper@gmail.com>
16870
16871 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16872
a5fb313c
AS
168732011-11-14 Andreas Schwab <schwab@redhat.com>
16874
16875 * malloc/arena.c (arena_get2): Don't call reused_arena when
16876 _int_new_arena failed.
16877
6abf3465
UD
168782011-11-14 Ulrich Drepper <drepper@gmail.com>
16879
16880 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16881 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16882 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16883 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16884 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16886 to compile strcasecmp and strncasecmp.
16887 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16888 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16889
16890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16891
76e3966e
UD
168922011-11-13 Ulrich Drepper <drepper@gmail.com>
16893
16894 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16895 locale-defines.sym to gen-as-const-headers.
16896 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16897 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16899 to compile strcasecmp and strncasecmp.
16900 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16901 strcasecmp_l and strncasecmp_l.
16902 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16903 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16904 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16905 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16906 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16907 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16908 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16909 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16910 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16911 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16912 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16913
ab26144e
UD
169142011-11-12 Ulrich Drepper <drepper@gmail.com>
16915
7edb22ef
UD
16916 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16917 result of SYSDEP_GETTIME_CPU to retval.
16918 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16919 parameter list to macro. Remove trailing semicolon. Adjust users.
16920
9694fc44
UD
16921 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16922 variable.
16923
8ad89ef8
UD
16924 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16925 mantissa words.
16926 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16927
0c822ef9
UD
16928 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16929 from unused variable.
16930
874e0564
UD
16931 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16932 DWARF definitions.
16933 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16934 for assembling.
16935
3a2edc79
UD
16936 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16937 over namespaces.
16938
f3c2577f
UD
16939 * sunrpc/rpc_prot.c (rejected): Fix case value.
16940
294ce126
UD
16941 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16942 unsigned long long int to avoid warnings in shift.
16943
5e2b63c6
UD
16944 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16945 of use of trans.
16946 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16947 variable tmp.
16948
e7f4b08e
UD
16949 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16950 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16951 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16952
ab26144e
UD
16953 * nis/nis_table.c (nis_list): Use variable of correct type for
16954 result of __follow_path call.
16955
8a6d5255
AZ
169562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16957
16958 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16959 of math functions ceil, trunc, floor, round, and sqrt, when
16960 avaliable on the platform.
16961 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16962 name clash.
16963 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16964 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16965 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16966
aaddc98c
MP
169672011-10-30 Marek Polacek <mpolacek@redhat.com>
16968
16969 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16971
95b7042b
RM
169722011-11-11 Roland McGrath <roland@hack.frob.com>
16973
16974 * include/unistd.h: Fix __readlink return type.
16975 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16976
57769839
UD
169772011-11-11 Ulrich Drepper <drepper@gmail.com>
16978
16979 * stdlib/ucontext.h: Undo last change for makecontext.
16980
edc5984d
AS
169812011-11-11 Andreas Schwab <schwab@redhat.com>
16982
98591e58
AS
16983 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16984
edc5984d
AS
16985 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16986 * setjmp/setjmp.h: Mark functions as non-leaf.
16987 * setjmp/bits/setjmp2.h: Likewise.
16988 * stdlib/ucontext.h: Likewise.
16989
77cdc054
AS
169902011-11-10 Andreas Schwab <schwab@redhat.com>
16991
16992 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16993 (reused_arena): Don't check arena limit.
16994 (arena_get2): Atomically check arena limit.
16995
fe72eebd
UD
169962011-11-08 Ulrich Drepper <drepper@gmail.com>
16997
5f078c32
UD
16998 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16999 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17000
fe72eebd
UD
17001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17002 instructions.
17003
ae1bc2fa
AS
170042011-11-07 Andreas Schwab <schwab@redhat.com>
17005
7583a88d
AS
17006 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17007 handler when locking.
17008
ae1bc2fa
AS
17009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17010 Fix size of allocated buffer.
17011
10fb0bfa
AS
170122011-11-04 Andreas Schwab <schwab@redhat.com>
17013
998832a4
AS
17014 [BZ #10103]
17015 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17016 declarations for long double functions.
17017 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17018
10fb0bfa
AS
17019 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17020
3d7ba52b
AS
170212011-11-03 Andreas Schwab <schwab@redhat.com>
17022
a9ae54a1
AS
17023 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17024 installed.
17025
3d7ba52b
AS
17026 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17027 is disabled.
17028
bc8db248
ST
170292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17030
17031 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17032
45b96dd6
AS
170332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17034
647776f6
AS
17035 * include/alloca.h (stackinfo_alloca_round): Define.
17036 (extend_alloca): Use it.
17037 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17038 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17039 here.
17040
d91a8b93
AS
17041 * scripts/check-local-headers.sh: Ignore libaudit.h.
17042
45b96dd6
AS
17043 * nscd/Makefile (extra-objs): Make recursively expanded.
17044
432d41ce
UD
170452011-11-01 Ulrich Drepper <drepper@gmail.com>
17046
34372fc6
UD
17047 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17048 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17049
fadb59f8
UD
17050 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17051 * posix/tst-rfc3484-2.c: Likewise.
17052 * posix/tst-rfc3484-3.c: Likewise.
17053
78239589
UD
17054 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17055 process_vm_writev.
17056 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17057 process_vm_writev.
17058 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17059 process_vm_writev from libc using GLIBC_2.15 version.
17060
432d41ce
UD
17061 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17062
02f9c6cf
PP
170632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17064
17065 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17066 stack usage.
17067
3a2c0242
UD
170682011-10-31 Ulrich Drepper <drepper@gmail.com>
17069
f4ec4833
UD
17070 [BZ #13367]
17071 * nss/getent.c (initgroups_keys): Show error message in case no group
17072 names are given.
17073
3a2c0242
UD
17074 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17075 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17076 __bump_nl_timestamp.
17077 * nscd/connections (nscd_init): When host database is served open
17078 netlink socket and request notification about configuration changes.
17079 (main_loop_poll): Track netlink file descriptor and bump timestamp
17080 in case data becomes available.
17081 (main_loop_epoll): Likewise.
17082 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17083 (database_pers_head): Add extra_data fileds.
17084 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17085 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17086 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17087 Adjust caller.
17088 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17089 in6ai data, call __free_in6ai.
17090 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17091 Add -DHAVE_NETLINK.
17092 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17093 interface information. Reuse previous data if netlink timestamp
17094 is not changed.
17095 (__bump_nl_timestamp): New function.
17096 (__free_in6ai): New function.
17097
636064eb
UD
170982011-10-30 Ulrich Drepper <drepper@gmail.com>
17099
17100 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17101 close_not_cancel_no_status here.
17102 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17103
9beb2334
UD
171042011-10-29 Ulrich Drepper <drepper@gmail.com>
17105
6ef76f3b
UD
17106 [BZ #13276]
17107 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17108 return value.
17109
0ffc4f3e 17110 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17111 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17112 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17113
cb95113e
UD
171142011-07-03 Andreas Jaeger <aj@suse.de>
17115
17116 [BZ #10709]
17117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17118 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17119 * math/libm-test.inc (sin_test): Add test case.
17120
a1b560ff
UD
171212011-10-29 Ulrich Drepper <drepper@gmail.com>
17122
c9aaface
UD
17123 [BZ #13337]
17124 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17125 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17126
d272e7f1
UD
17127 * elf/chroot_canon.c (chroot_canon): Cleanups.
17128
1bc33071
UD
17129 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17130
1760874d
TJ
17131 [BZ #13335]
17132 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17133 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17134
51d91b18
UD
17135 * string/test-strchr.c: Make usable for strchrnul testing.
17136 * string/test-strchrnul.c: New file.
17137 * string/Makefile (strop-tests): Add strchrnul.
17138
a1b560ff 17139 * po/it.po: Update from translation team.
b611fb81 17140 * po/es.po: Likewise.
a1b560ff 17141
a5b81e1f
UD
171422011-10-28 Ulrich Drepper <drepper@gmail.com>
17143
fd52bc6d
UD
17144 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17145 the three constants needed as parameters. Drop the others.
17146 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17147 __m128i_strloadu_tolower.
52e4b9eb
UD
17148 Create and initialize variable zero and use it in all the places
17149 where _mm_setzero_si128 was used.
fd52bc6d 17150
a5b81e1f
UD
17151 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17152 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17153 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17154 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17155 anymore.
17156 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17157 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17158 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17159 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17160 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17161 __mpranred, __mptan.
17162 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17163 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17164 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17165 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17166 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17167 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17168 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17169 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17170 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17171
b4343346
AS
171722011-10-28 Andreas Schwab <schwab@redhat.com>
17173
0c92d8a8
AS
17174 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17175 redefine if SHARED.
17176 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17177
b4343346
AS
17178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17179 wide char related routines to wcsmbs subdir.
17180
3871f58f
AS
171812011-10-27 Andreas Schwab <schwab@redhat.com>
17182
17183 [BZ #13344]
17184 * misc/sys/cdefs.h (__THROWNL): Define.
17185 * posix/unistd.h: Use __THREADNL instead of __THREAD
17186 for memory synchronization functions.
17187
94d44d9f
RM
171882011-10-26 Roland McGrath <roland@hack.frob.com>
17189
21b64b15 17190 [BZ #13349]
94d44d9f
RM
17191 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17192 doesn't exist.
17193 * manual/stdio.texi (Obstack Streams): Node removed.
17194
f6ce9294
AS
171952011-10-26 Andreas Schwab <schwab@redhat.com>
17196
80479147
AS
17197 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17198 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17199 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17200
f6ce9294
AS
17201 * math/math_private.h (math_force_eval): Allow non-addressable
17202 arguments.
17203 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17204
618280a1
UD
172052011-10-25 Ulrich Drepper <drepper@gmail.com>
17206
e0016b11
UD
17207 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17208 file is not needed.
17209
17210 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17211 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17217 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17218 Add AVX variants.
17219 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17220 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17221 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17222 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17223 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17224 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17225 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17226 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17227 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17228 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17229 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17230 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17231 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17232 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17233 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17234 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17235 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17236 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17237 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17238
17239 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17240 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17241
618280a1
UD
17242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17243 place. Use VEX encoding when compiling for AVX.
17244
37822576
AS
172452011-10-25 Andreas Schwab <schwab@redhat.com>
17246
1f1e1947
AS
17247 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17248 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17249
37822576
AS
17250 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17251
31ea014d
UD
172522011-10-25 Ulrich Drepper <drepper@gmail.com>
17253
d7826aa1 17254 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17255 useless if() expression.
d7826aa1
UD
17256 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17257 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17258 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17260 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17262 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17264 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17268 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17269 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17270 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17271 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17272 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17274 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17275
31ea014d
UD
17276 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17277
16437fec
AS
172782011-10-25 Andreas Schwab <schwab@redhat.com>
17279
17280 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17281 condition.
17282 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17283
31d3cc00
UD
172842011-10-25 Ulrich Drepper <drepper@gmail.com>
17285
17286 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17287 .text section. Avoid duplicate constants.
17288 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17290 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17292 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17297 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17298 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17299 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17300 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17301 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17302 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17303 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17304 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17305 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17306 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17308 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17310 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17311 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17312 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17313 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17314 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17315 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17316 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17317 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17318 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17319 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17320 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17321 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17322 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17323 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17324 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17325 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17326 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17327 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17328 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17329 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17330 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17331 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17332 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17333
58985aa9
UD
173342011-10-24 Ulrich Drepper <drepper@gmail.com>
17335
202c9deb
UD
17336 * sysdeps/x86_64/dla.h: Move to ...
17337 * sysdeps/x86_64/fpu/dla.h: ...here.
17338 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17339 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17340
af968f62
UD
17341 * config.make.in: Add have-mfma4 entry.
17342 * configure.in: Substitute libc_cv_cc_fma4.
17343 * math/Makefile (dbl-only-routines): Add sincostab.
17344 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17345 Use __sincostab not sincos.
17346 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17347 name is a macro.
17348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17352 using __copysign.
17353 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17354 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17355 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17356 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17357 and __inv.
17358 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17359 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17360 __copysign.
17361 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17362 define aliases when function name is a macro.
17363 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17364 sysdeps/ieee754/dbl-64/sincos.tbl.
17365 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17366 fma4-enabled routines.
17367 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17368 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17369 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17370 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17371 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17372 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17373 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17376 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17377 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17378 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17379 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17380 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17381 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17382 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17383 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17384 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17385 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17386 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17387 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17388 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17389 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17390 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17391 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17392 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17394 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17395 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17396 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17397
58985aa9
UD
17398 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17399 rename.
17400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17408
a201fbcf
AS
174092011-10-24 Andreas Schwab <schwab@redhat.com>
17410
17411 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17412
fc2ee42a
LD
174132011-10-23 Ulrich Drepper <drepper@gmail.com>
17414
bb3129bd
UD
17415 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17416
0275fff8
UD
17417 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17418 prediction.
17419 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17420
2fa2ae85
UD
17421 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17422 Remove unused variable magic_bits.
17423 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17424
fc2ee42a
LD
17425 * string/strnlen.c: Define and use STRNLEN macro.
17426 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17427 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17429 * wcsmbs/wcslen.c: Define and use WCSLEN.
17430 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17431 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17432 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17433 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17434 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17435 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17436 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17437
ce7dd29f
LD
174382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17439
17440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17441 strnlen-sse2-no-bsf.
17442 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17444 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17445 Add strnlen support.
17446 (USE_AS_STRNLEN): New macro.
17447 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17448 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17449 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17450 * sysdeps/x86_64/wcslen.S: New file.
17451
979c70a3
MZ
174522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17453
17454 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17455 XMM-moves are used for copying on small sizes.
17456
2d09f82f
LD
174572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17458
17459 * wcsmbs/Makefile (strop-tests): Add wcschr.
17460 * wcsmbs/test-wcschr.c: New file.
17461 * string/test-strchr.c: Update.
17462 Add wcschr support.
17463 (WIDE): New macro.
17464
619fccca
LD
174652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17466
2d09f82f 17467 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17468 * wcsmbs/test-wcslen.c: New file.
17469 * string/test-strlen.c: Update.
17470 Add wcslen support.
17471 (WIDE): New macro.
17472
09f699ea
UD
174732011-10-23 Ulrich Drepper <drepper@gmail.com>
17474
17475 * po/it.po: Update from translation team.
17476
95584d3b
LD
174772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17478
17479 * sysdeps/x86_64/wcscmp.S: Update.
17480 Fix wrong comparison semantics.
17481 wcscmp shall use signed comparison not unsigned.
17482 Don't use substraction to avoid overflow bug.
17483 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17484 * wcsmbc/wcscmp.c: Likewise.
17485 * string/test-strcmp.c: Likewise.
17486 Add new tests to check cases with negative values.
17487
c8b3296b
UD
174882011-10-23 Ulrich Drepper <drepper@gmail.com>
17489
17490 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17491 * sysdeps/x86_64/dla.h: ...here. New file.
17492 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17501
246ad57a
AS
175022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17503
17504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17505 __ynl_finite aliases.
17506
a1a87169
UD
175072011-10-22 Ulrich Drepper <drepper@gmail.com>
17508
0d355eb7
UD
17509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17510
a1a87169
UD
17511 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17512 define DLA_FMA.
17513 [DLA_FMA] (EMULV): Use DLA_FMA.
17514 [DLA_FMA] (MUL12): Use EMULV.
17515 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17516 that are not needed.
17517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17524
ee2aafe0
AS
175252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17526
17527 * math/s_nan.c: Undef __nan.
17528 * math/s_nanf.c: Undef __nanf.
17529 * math/s_nanl.c: Undef __nanl.
17530 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17531 "math_private.h".
17532
bc62c2fb
UD
175332011-10-22 Ulrich Drepper <drepper@gmail.com>
17534
77425c63
UD
17535 * math/s_catan.c: Add branch predictions.
17536 * math/s_catanf.c: Likewise.
17537 * math/s_catanh.c: Likewise.
17538 * math/s_catanhf.c: Likewise.
17539 * math/s_catanhl.c: Likewise.
17540 * math/s_catanl.c: Likewise.
17541 * math/s_cexp.c: Likewise.
17542 * math/s_cexpf.c: Likewise.
17543 * math/s_cexpl.c: Likewise.
17544 * math/s_clog.c: Likewise.
17545 * math/s_clog10.c: Likewise.
17546 * math/s_clog10f.c: Likewise.
17547 * math/s_clog10l.c: Likewise.
17548 * math/s_clogf.c: Likewise.
17549 * math/s_clogl.c: Likewise.
17550 * math/s_csqrt.c: Likewise.
17551 * math/s_csqrtf.c: Likewise.
17552 * math/s_csqrtl.c: Likewise.
17553 * math/s_ctanf.c: Likewise.
17554 * math/s_ctanh.c: Likewise.
17555 * math/s_ctanhf.c: Likewise.
17556 * math/s_ctanhl.c: Likewise.
17557 * math/s_ctanl.c: Likewise.
17558
bc62c2fb
UD
17559 * math/math_private.h: Define __nan, __nanf, __nanl.
17560 * math/s_cacosh.c: Include <math_private.h>.
17561 * math/s_cacoshl.c: Likewise.
17562 * math/s_casinh.c: Likewise.
17563 * math/s_casinhf.c: Likewise.
17564 * math/s_casinhl.c: Likewise.
17565 * math/s_ccos.c: Rely entire on ccosh.
17566 * math/s_ccosf.c: Rely entire on ccoshf.
17567 * math/s_ccosl.c: Rely entirely on ccoshl.
17568 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17569 Remove tests for FE_INVALID.
17570 * math/s_ccoshf.c: Likewise.
17571 * math/s_ccoshl.c: Likewise.
17572 * math/s_csin.c: Likewise.
17573 * math/s_csinf.c: Likewise.
17574 * math/s_csinh.c Likewise.
17575 * math/s_csinhf.c: Likewise.
17576 * math/s_csinhl.c: Likewise.
17577 * math/s_csinl.c: Likewise.
17578 * math/s_ctan.c: Likewise.
17579 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17580 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17582
8ec250a4
UD
175832011-10-21 Ulrich Drepper <drepper@gmail.com>
17584
c196fed8
UD
17585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17586 compilation problems.
17587
8ec250a4
UD
17588 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17589 __builtin_expect.
17590
8d4f46c6
UD
175912011-10-20 Ulrich Drepper <drepper@gmail.com>
17592
ed72b654
UD
17593 * sysdeps/i386/configure.in: Test for -mfma4 option.
17594 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17595 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17596 COMMON_CPUID_INDEX_80000001.
17597 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17598 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17599 use it if FMA3 is not supported.
17600 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17601
8d4f46c6
UD
17602 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17603 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17604
d45c60c2
AS
176052011-10-20 Andreas Schwab <schwab@redhat.com>
17606
17607 [BZ #12892]
17608 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17609 it would create a cycle with a link time dependency.
17610
d9a4d2ab
UD
176112011-10-19 Ulrich Drepper <drepper@gmail.com>
17612
855d1560
UD
17613 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17614 instruction.
17615 * string/Makefile (strop-tests): Add rawmemchr.
17616 * string/test-rawmemchr.c: New file.
17617
d9a4d2ab
UD
17618 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17620 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17621 when compiling str{,n}casecmp and when AVX is available. Hook up
17622 new optimized code in initializers.
17623
8f3b1ffe
AS
176242011-10-19 Andreas Schwab <schwab@redhat.com>
17625
17626 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17627 __feraiseexcept instead of feraiseexcept.
17628
d38f1dba
UD
176292011-10-18 Ulrich Drepper <drepper@gmail.com>
17630
d9a8d0ab
UD
17631 * math/math_private.h: Define defaults for libc_fetestexcept and
17632 libc_feupdateenv.
17633 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17634 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17635 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17636 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17637 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17638 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17639 libc_fetestexcept and libc_feupdateenv.
17640
4855e3dd
UD
17641 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17642 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17643 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17644 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17645 libc_feholdexcept_setround.
17646
581d30e3
UD
17647 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17648 Add s_nearbyint-c and s_nearbyintf-c.
17649 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17650 nearbyintf inlines.
17651 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17652 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17653 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17654 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17655
d38f1dba
UD
17656 * math/math_private.h: Define defaults for libc_fegetround,
17657 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17658 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17659 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17660 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17661 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17662 standard functions.
17663 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17664 Remove comments and hacks for old compiler versions.
17665 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17666 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17667 libc_feholdexceptl.
17668
caa6c9d8
AS
176692011-10-18 Andreas Schwab <schwab@redhat.com>
17670
17671 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17672 (__feraiseexcept_renamed): Add __NTH.
17673 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17674 namespace violations.
17675
97c066e6
UD
176762011-10-17 Ulrich Drepper <drepper@gmail.com>
17677
99ce7b04
UD
17678 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17679
1004d182
UD
17680 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17681
228a984d
UD
17682 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17683 recently added interfaces.
17684 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17685
c8553a6a
UD
17686 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17687 about macro parameter expansion.
17688
ed22dcf6
UD
17689 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17690 __NO_MATH_INLINES is defined. Cleanups.
17691
17692 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17693 and __floorf is target has SSE4.1.
17694 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17695 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17696 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17697 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17698
b171c137
UD
17699 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17700 name.
17701 (floorf): Likewise.
17702
97c066e6
UD
17703 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17704
629f62ef
AS
177052011-10-17 Andreas Schwab <schwab@redhat.com>
17706
49a43d80
AS
17707 * misc/sys/cdefs.h: Fix last change.
17708
629f62ef
AS
17709 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17710 database lookup.
17711
e453f6cd
UD
177122011-10-16 Ulrich Drepper <drepper@gmail.com>
17713
aa78043a
UD
17714 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17715
ad0f5cad
UD
17716 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17722 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17723 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17724 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17725 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17726 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17727 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17728 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17729 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17730 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17731 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17732 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17733 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17734 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17735 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17736 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17737 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17738
17739 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17740 ceil, ceilf, floor, floorf.
17741
17742 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17743 Perform IRELATIVE relocations last.
17744
e453f6cd
UD
17745 * elf/do-rel.h: Add another parameter nrelative, replacing the
17746 local variable with the same name. Change name of the function
17747 to end in Rel or Rela (uppercase).
17748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17749 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17750 elf_dynamic_do_##reloc function.
17751
fd5bdc09
UD
177522011-10-15 Ulrich Drepper <drepper@gmail.com>
17753
79b195b5
UD
17754 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17755 is sufficient, at least on modern CPUs.
17756
d4a28569
UD
17757 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17758
b61099b5
UD
17759 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17760 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17761
bcf01e6d
UD
17762 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17763 __expl_finite.
17764 * math/bits/math-finite.h: Add entries for exp.
17765 * math/e_expl.c: Add __*_finite alias.
17766 * sysdeps/i386/fpu/e_exp.S: Likewise.
17767 * sysdeps/i386/fpu/e_expf.S: Likewise.
17768 * sysdeps/i386/fpu/e_expl.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17770 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17774 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17775 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17776
ba1a0d59
UD
17777 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17778 is sufficient, at least on modern CPUs.
17779
fd5bdc09
UD
17780 * ctype/ctype-info.c (__ctype_init): Define.
17781 * include/ctype.h (__ctype_init): Declare.
17782 (__ctype_b_loc): The variable is always initialized.
17783 (__ctype_toupper_loc): Likewise.
17784 (__ctype_tolower_loc): Likewise.
17785 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17786 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17787
7872cfb0
AS
177882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17789
b468825a
AS
17790 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17791
7872cfb0
AS
17792 * configure.in: Also look in $cxxmachine/include for C++ system
17793 headers.
17794
be13f7bf
LD
177952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17796
17797 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17798 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17799 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17800 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17802 (USE_AS_WMEMCMP): New macro.
17803 Fixing indents.
17804 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17805 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17806 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17807 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17809 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17810 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17811 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17812 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17813 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17814 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17815 (USE_AS_WMEMCMP): New macro.
17816 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17817 * sysdeps/string/test-memcmp.c: Update.
17818 Fix simple_wmemcmp.
17819 Add new tests.
17820 * wcsmbs/wmemcmp.c: Update.
17821 (WMEMCMP): New macro.
17822 Fix overflow bug.
17823
556a2007
AJ
178242011-10-12 Andreas Jaeger <aj@suse.de>
17825
17826 [BZ #13268]
17827 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17828
538faaa7
UD
178292011-10-15 Ulrich Drepper <drepper@gmail.com>
17830
ab6737ff
UD
17831 * libio/iofwide.c (do_length): Avoid warning.
17832
538faaa7
UD
17833 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17834
396a21b1
UD
178352011-10-14 Ulrich Drepper <drepper@gmail.com>
17836
cdf2901f
UD
17837 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17838
38ad40ce
UD
17839 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17840 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17841 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17842 * sysdeps/i386/i686/fpu/e_log.S: New file.
17843 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17844 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17845
396a21b1
UD
17846 * ctype/ctype.h: Add support for inlined isXXX functions when
17847 compiling C++ code.
17848
6b1f68c9
AS
178492011-10-14 Andreas Schwab <schwab@redhat.com>
17850
349290c0
AS
17851 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17852
6b1f68c9
AS
17853 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17854
f2282d42
RM
178552011-10-13 Roland McGrath <roland@hack.frob.com>
17856
17857 [BZ #13291]
17858 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17859
5298ffa8
AS
178602011-10-13 Andreas Schwab <schwab@redhat.com>
17861
714fad23
AS
17862 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17863 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17864 feraiseexcept.
17865
81dcc7fb
AS
17866 * sysdeps/x86_64/memrchr.S: Check for zero size.
17867
5298ffa8
AS
17868 * string/stratcliff.c: Add memrchr tests.
17869
951fbcec
LD
178702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17871
17872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17873 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17874 rawmemchr-sse2 rawmemchr-sse2-bsf.
17875 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17876 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17877 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17878 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17879 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17880 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17881 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17882 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17883 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17884 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17885 * string/memrchr.c (MEMRCHR): New macro.
17886
0ac5ae23
UD
178872011-10-12 Ulrich Drepper <drepper@gmail.com>
17888
17889 Add integration with gcc's -ffinite-math-only and optimize wrapper
17890 functions in libm.
17891 * Versions.def: Define GLIBC_2.15 version for libm.
17892 * math/Makefile (headers): Add bits/math-finite.h.
17893 * math/bits/math-finite.h: New file.
17894 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17895 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17896 * math/e_acoshl.c: Add __*_finite alias.
17897 * math/e_acosl.c: Likewise.
17898 * math/e_asinl.c: Likewise.
17899 * math/e_atan2l.c: Likewise.
17900 * math/e_atanhl.c: Likewise.
17901 * math/e_coshl.c: Likewise.
17902 * math/e_exp10.c: Likewise.
17903 * math/e_exp10f.c: Likewise.
17904 * math/e_exp10l.c: Likewise.
17905 * math/e_exp2l.c: Likewise.
17906 * math/e_fmodl.c: Likewise.
17907 * math/e_gammal_r.c: Likewise.
17908 * math/e_hypotl.c: Likewise.
17909 * math/e_j0l.c: Likewise.
17910 * math/e_j1l.c: Likewise.
17911 * math/e_jnl.c: Likewise.
17912 * math/e_lgammal_r.c: Likewise.
17913 * math/e_log10l.c: Likewise.
17914 * math/e_log2l.c: Likewise.
17915 * math/e_logl.c: Likewise.
17916 * math/e_powl.c: Likewise.
17917 * math/e_sinhl.c: Likewise.
17918 * math/e_sqrtl.c: Likewise.
17919 * math/e_scalb.c: Completely rewritten and optimized.
17920 * math/e_scalbf.c: Likewise.
17921 * math/e_scalbl.c: Likewise.
17922 * math/w_acos.c: Likewise.
17923 * math/w_acosf.c: Likewise.
17924 * math/w_acosl.c: Likewise.
17925 * math/w_acosh.c: Likewise.
17926 * math/w_acoshf.c: Likewise.
17927 * math/w_acoshl.c: Likewise.
17928 * math/w_asin.c: Likewise.
17929 * math/w_asinf.c: Likewise.
17930 * math/w_asinl.c: Likewise.
17931 * math/w_atan2.c: Likewise.
17932 * math/w_atan2f.c: Likewise.
17933 * math/w_atan2l.c: Likewise.
17934 * math/w_atanh.c: Likewise.
17935 * math/w_atanhf.c: Likewise.
17936 * math/w_atanhl.c: Likewise.
17937 * math/w_exp10.c: Likewise.
17938 * math/w_exp10f.c: Likewise.
17939 * math/w_exp10l.c: Likewise.
17940 * math/w_fmod.c: Likewise.
17941 * math/w_fmodf.c: Likewise.
17942 * math/w_fmodl.c: Likewise.
17943 * math/w_j0.c: Likewise.
17944 * math/w_j0f.c: Likewise.
17945 * math/w_j0l.c: Likewise.
17946 * math/w_j1.c: Likewise.
17947 * math/w_j1f.c: Likewise.
17948 * math/w_j1l.c: Likewise.
17949 * math/w_jn.c: Likewise.
17950 * math/w_jnf.c: Likewise.
17951 * math/w_log.c: Likewise.
17952 * math/w_logf.c: Likewise.
17953 * math/w_logl.c: Likewise.
17954 * math/w_log10.c: Likewise.
17955 * math/w_log10f.c: Likewise.
17956 * math/w_log10l.c: Likewise.
17957 * math/w_log2.c: Likewise.
17958 * math/w_log2f.c: Likewise.
17959 * math/w_log2l.c: Likewise.
17960 * math/w_pow.c: Likewise.
17961 * math/w_powf.c: Likewise.
17962 * math/w_powl.c: Likewise.
17963 * math/w_remainder.c: Likewise.
17964 * math/w_remainderf.c: Likewise.
17965 * math/w_remainderl.c: Likewise.
17966 * math/w_scalb.c: Likewise.
17967 * math/w_scalbf.c: Likewise.
17968 * math/w_scalbl.c: Likewise.
17969 * math/w_sqrt.c: Likewise.
17970 * math/w_sqrtf.c: Likewise.
17971 * math/w_sqrtl.c: Likewise.
17972 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17973 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17974 used.
17975 * math/math_private.h: Declare __kernel_standard_f.
17976 * math/w_cosh.c: Remove cruft and optimize a bit.
17977 * math/w_coshf.c: Likewise.
17978 * math/w_coshl.c: Likewise.
17979 * math/w_exp2.c: Likewise.
17980 * math/w_exp2f.c: Likewise.
17981 * math/w_exp2l.c: Likewise.
17982 * math/w_hypot.c: Likewise.
17983 * math/w_hypotf.c: Likewise.
17984 * math/w_hypotl.c: Likewise.
17985 * math/w_lgamma.c: Likewise.
17986 * math/w_lgamma_r.c: Likewise.
17987 * math/w_lgammaf.c: Likewise.
17988 * math/w_lgammaf_r.c: Likewise.
17989 * math/w_lgammal.c: Likewise.
17990 * math/w_lgammal_r.c: Likewise.
17991 * math/w_sinh.c: Likewise.
17992 * math/w_sinhf.c: Likewise.
17993 * math/w_sinhl.c: Likewise.
17994 * math/w_tgamma.c: Likewise.
17995 * math/w_tgammaf.c: Likewise.
17996 * math/w_tgammal.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17998 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17999 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18000 Minor optimizations. Pretty printing. Remove cruft.
18001 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18002 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18003 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18004 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18005 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18006 * sysdeps/i386/fpu/e_asin.S: Likewise.
18007 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18008 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18009 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18010 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18012 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18013 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18014 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18015 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18016 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18017 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18018 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18019 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18020 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18021 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18022 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18023 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18024 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18025 * sysdeps/i386/fpu/e_log.S: Likewise.
18026 * sysdeps/i386/fpu/e_log10.S: Likewise.
18027 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18028 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18029 * sysdeps/i386/fpu/e_log2.S: Likewise.
18030 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18031 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18032 * sysdeps/i386/fpu/e_logf.S: Likewise.
18033 * sysdeps/i386/fpu/e_logl.S: Likewise.
18034 * sysdeps/i386/fpu/e_pow.S: Likewise.
18035 * sysdeps/i386/fpu/e_powf.S: Likewise.
18036 * sysdeps/i386/fpu/e_powl.S: Likewise.
18037 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18038 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18039 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18040 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18041 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18042 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18043 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18044 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18045 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18067 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18069 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18070 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18071 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18072 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18073 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18074 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18075 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18076 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18077 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18078 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18079 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18080 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18081 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18082 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18084 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18085 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18088 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18089 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18090 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18092 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18093 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18096 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18097 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18098 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18117 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18129 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18131 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18132 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18134 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18137 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18138 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18139 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18140 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18141 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18142 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18143 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18144 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18145 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18146 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18147 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18148 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18149 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18150 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18151 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18152 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18153 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18154 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18155 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18156 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18157 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18158 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18159 (__isnanf): Likewise.
18160 (__isinf_ns): Likewise.
18161 (__isinf_nsf): Likewise.
18162 (__finite): Likewise.
18163 (__finitef): Likewise.
18164 (__ieee754_sqrt): Define as macro.
18165 (__ieee754_sqrtf): Define as macro.
18166 (__ieee754_sqrtl): Define as macro.
18167 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18168 inlined copy.
18169 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18170 __FINITE_MATH_ONLY__ consistent.
18171 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18172
12cc2fcd
AS
181732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18174
a843a204
AS
18175 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18176 of rawmemchr.
18177
12cc2fcd
AS
18178 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18179
c853acd5
UD
181802011-10-09 Ulrich Drepper <drepper@gmail.com>
18181
18182 * po/ja.po: Update from translation team.
18183
c658d255
RM
181842011-10-08 Roland McGrath <roland@hack.frob.com>
18185
110946e4
RM
18186 * locale/programs/locarchive.c (prepare_address_space): New function.
18187 (create_archive, enlarge_archive, open_archive): Use it.
18188
50604220
RM
18189 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18190 inside [SHARED], where it is used.
18191
c658d255
RM
18192 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18193
18194 * nss/getent.c (netgroup_keys): Remove unused variable.
18195 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18196
6a621eb7
UD
181972011-10-08 Ulrich Drepper <drepper@gmail.com>
18198
7edb55ce
UD
18199 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18202 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18203 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18204 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18205 * math/Makefile (libm-calls): Add s_isinf_ns.
18206 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18207 * math/multc3.c: Likewise.
18208 * math/s_casin.c: Likewise.
18209 * math/s_casinf.c: Likewise.
18210 * math/s_casinl.c: Likewise.
18211 * math/s_ccos.c: Likewise.
18212 * math/s_ccosf.c: Likewise.
18213 * math/s_ccosl.c: Likewise.
18214 * math/s_ctan.c: Likewise.
18215 * math/s_ctanf.c: Likewise.
18216 * math/s_ctanh.c: Likewise.
18217 * math/s_ctanhf.c: Likewise.
18218 * math/s_ctanhl.c: Likewise.
18219 * math/s_ctanl.c: Likewise.
18220 * math/w_fmod.c: Likewise.
18221 * math/w_fmodf.c: Likewise.
18222 * math/w_fmodl.c: Likewise.
18223 * math/w_remainder.c: Likewise.
18224 * math/w_remainderf.c: Likewise.
18225 * math/w_remainderl.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18227 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18230 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18231 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18232 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18233 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18234
187da0ae
UD
18235 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18236 of the number.
18237 * stdio-common/printf_fphex.c: Likewise.
18238 * stdio-common/printf_size.c: Likewise.
18239
9277c064
UD
18240 * math/e_exp10.c: Include math_private.h using <...> not "...".
18241 * math/e_exp10f.c: Likewise.
18242 * math/e_exp10l.c: Likewise.
18243 * math/e_exp2l.c: Likewise.
18244 * math/e_j0l.c: Likewise.
18245 * math/e_j1l.c: Likewise.
18246 * math/e_jnl.c: Likewise.
18247 * math/e_lgammal_r.c: Likewise.
18248 * math/e_rem_pio2l.c: Likewise.
18249 * math/e_scalb.c: Likewise.
18250 * math/e_scalbf.c: Likewise.
18251 * math/e_scalbl.c: Likewise.
18252 * math/k_cosl.c: Likewise.
18253 * math/k_sinl.c: Likewise.
18254 * math/k_tanl.c: Likewise.
18255 * math/s_cacoshf.c: Likewise.
18256 * math/s_catan.c: Likewise.
18257 * math/s_catanf.c: Likewise.
18258 * math/s_catanh.c: Likewise.
18259 * math/s_catanhf.c: Likewise.
18260 * math/s_catanhl.c: Likewise.
18261 * math/s_catanl.c: Likewise.
18262 * math/s_ccosh.c: Likewise.
18263 * math/s_ccoshf.c: Likewise.
18264 * math/s_ccoshl.c: Likewise.
18265 * math/s_cexp.c: Likewise.
18266 * math/s_cexpf.c: Likewise.
18267 * math/s_cexpl.c: Likewise.
18268 * math/s_clog.c: Likewise.
18269 * math/s_clog10.c: Likewise.
18270 * math/s_clog10f.c: Likewise.
18271 * math/s_clog10l.c: Likewise.
18272 * math/s_clogf.c: Likewise.
18273 * math/s_clogl.c: Likewise.
18274 * math/s_csin.c: Likewise.
18275 * math/s_csinf.c: Likewise.
18276 * math/s_csinh.c: Likewise.
18277 * math/s_csinhf.c: Likewise.
18278 * math/s_csinhl.c: Likewise.
18279 * math/s_csinl.c: Likewise.
18280 * math/s_csqrt.c: Likewise.
18281 * math/s_csqrtf.c: Likewise.
18282 * math/s_csqrtl.c: Likewise.
18283 * math/s_ctan.c: Likewise.
18284 * math/s_ctanf.c: Likewise.
18285 * math/s_ctanh.c: Likewise.
18286 * math/s_ctanhf.c: Likewise.
18287 * math/s_ctanhl.c: Likewise.
18288 * math/s_ctanl.c: Likewise.
18289 * math/s_ldexp.c: Likewise.
18290 * math/s_ldexpf.c: Likewise.
18291 * math/s_ldexpl.c: Likewise.
18292 * math/s_significand.c: Likewise.
18293 * math/s_significandf.c: Likewise.
18294 * math/s_significandl.c: Likewise.
18295 * math/w_acos.c: Likewise.
18296 * math/w_acosf.c: Likewise.
18297 * math/w_acosh.c: Likewise.
18298 * math/w_acoshf.c: Likewise.
18299 * math/w_acoshl.c: Likewise.
18300 * math/w_acosl.c: Likewise.
18301 * math/w_asin.c: Likewise.
18302 * math/w_asinf.c: Likewise.
18303 * math/w_asinl.c: Likewise.
18304 * math/w_atan2.c: Likewise.
18305 * math/w_atan2f.c: Likewise.
18306 * math/w_atan2l.c: Likewise.
18307 * math/w_atanh.c: Likewise.
18308 * math/w_atanhf.c: Likewise.
18309 * math/w_atanhl.c: Likewise.
18310 * math/w_cosh.c: Likewise.
18311 * math/w_coshf.c: Likewise.
18312 * math/w_coshl.c: Likewise.
18313 * math/w_dremf.c: Likewise.
18314 * math/w_exp10.c: Likewise.
18315 * math/w_exp10f.c: Likewise.
18316 * math/w_exp10l.c: Likewise.
18317 * math/w_exp2.c: Likewise.
18318 * math/w_exp2f.c: Likewise.
18319 * math/w_fmod.c: Likewise.
18320 * math/w_fmodf.c: Likewise.
18321 * math/w_fmodl.c: Likewise.
18322 * math/w_hypot.c: Likewise.
18323 * math/w_hypotf.c: Likewise.
18324 * math/w_hypotl.c: Likewise.
18325 * math/w_j0.c: Likewise.
18326 * math/w_j0f.c: Likewise.
18327 * math/w_j0l.c: Likewise.
18328 * math/w_j1.c: Likewise.
18329 * math/w_j1f.c: Likewise.
18330 * math/w_j1l.c: Likewise.
18331 * math/w_jn.c: Likewise.
18332 * math/w_jnf.c: Likewise.
18333 * math/w_jnl.c: Likewise.
18334 * math/w_lgamma.c: Likewise.
18335 * math/w_lgamma_r.c: Likewise.
18336 * math/w_lgammaf.c: Likewise.
18337 * math/w_lgammaf_r.c: Likewise.
18338 * math/w_lgammal.c: Likewise.
18339 * math/w_lgammal_r.c: Likewise.
18340 * math/w_log.c: Likewise.
18341 * math/w_log10.c: Likewise.
18342 * math/w_log10f.c: Likewise.
18343 * math/w_log10l.c: Likewise.
18344 * math/w_log2.c: Likewise.
18345 * math/w_log2f.c: Likewise.
18346 * math/w_log2l.c: Likewise.
18347 * math/w_logf.c: Likewise.
18348 * math/w_logl.c: Likewise.
18349 * math/w_pow.c: Likewise.
18350 * math/w_powf.c: Likewise.
18351 * math/w_powl.c: Likewise.
18352 * math/w_remainder.c: Likewise.
18353 * math/w_remainderf.c: Likewise.
18354 * math/w_remainderl.c: Likewise.
18355 * math/w_scalb.c: Likewise.
18356 * math/w_scalbf.c: Likewise.
18357 * math/w_scalbl.c: Likewise.
18358 * math/w_sinh.c: Likewise.
18359 * math/w_sinhf.c: Likewise.
18360 * math/w_sinhl.c: Likewise.
18361 * math/w_sqrt.c: Likewise.
18362 * math/w_sqrtf.c: Likewise.
18363 * math/w_sqrtl.c: Likewise.
18364 * math/w_tgamma.c: Likewise.
18365 * math/w_tgammaf.c: Likewise.
18366 * math/w_tgammal.c: Likewise.
18367
6a621eb7
UD
18368 * po/ja.po: Update from translation team.
18369
bf582445
AJ
183702011-09-29 Andreas Jaeger <aj@suse.de>
18371
f9efbf3a
AJ
18372 [BZ #13179]
18373 * sunrpc/netname.c (netname2host): Fix logic.
18374
bf582445
AJ
18375 [BZ #6779]
18376 [BZ #6783]
18377 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18378 correctly.
18379 * math/w_remainder.c (__remainder): Likewise.
18380 * math/w_remainderf.c (__remainderf): Likewise.
18381 * math/libm-test.inc (remainder_test): Add test cases.
18382
48693bea
AK
183832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18384
18385 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18386 sdiv_qrnnd.
18387
42622229
LD
183882011-10-07 Ulrich Drepper <drepper@gmail.com>
18389
18390 * string/test-memcmp.c: Avoid unncessary #defines.
18391 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18392
093ecf92
LD
183932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18394
18395 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18396 Use new sse2 version for core i3 - i7 as it's faster
18397 than sse42 version.
18398 (bit_Prefer_PMINUB_for_stringop): New.
18399 * sysdeps/x86_64/rawmemchr.S: Update.
18400 Replace with faster SSE2 version.
18401 * sysdeps/x86_64/memrchr.S: New file.
18402 * sysdeps/x86_64/memchr.S: Update.
18403 Replace with faster SSE2 version.
18404
fde56e5c
MP
184052011-09-12 Marek Polacek <mpolacek@redhat.com>
18406
18407 * elf/dl-load.c (lose): Add cast to avoid warning.
18408
21fd49a9
UD
184092011-10-07 Ulrich Drepper <drepper@gmail.com>
18410
5a06e643
UD
18411 * po/ca.po: Update from translation team.
18412
684ae515
UD
18413 * inet/getnetgrent_r.c: Hook up nscd.
18414 * nscd/Makefile (routines): Add nscd_netgroup.
18415 (nscd-modules): Add netgroupcache.
18416 (CFLAGS-netgroupcache.c): Define.
18417 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18418 (cache_search): Add const to second parameter.
18419 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18420 INNETGR.
18421 (dbs): Add netgrdb entry.
18422 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18423 (verify_persistent_db): Handle netgrdb.
18424 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18425 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18426 GETFDNETGR.
18427 (netgroup_response_header): Define.
18428 (innetgroup_response_header): Define.
18429 (datahead): Add netgroup_response_header and innetgroup_response_header
18430 elements.
18431 * nscd/nscd.conf: Add entries for netgroup cache.
18432 * nscd/nscd.h (dbtype): Add netgrdb.
18433 (_PATH_NSCD_NETGROUP_DB): Define.
18434 (netgroup_iov_disabled): Declare.
18435 (xmalloc, xcalloc, xrealloc): Move declarations here.
18436 (cache_search): Adjust prototype.
18437 Add netgroup-related prototypes.
18438 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18439 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18440 (__nscd_innetgr): Declare.
18441 * nscd/selinux.c (perms): Use access_vector_t as element type and
18442 add netgroup-related initializers.
18443 * nscd/netgroupcache.c: New file.
18444 * nscd/nscd_netgroup.c: New file.
18445 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18446 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18447 For four parameters use innetgr.
18448 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18449 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18450 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18451 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18452
21fd49a9
UD
18453 * nscd/connections.c (register_traced_file): Don't register file
18454 for disabled databases.
18455
054c0457
UD
184562011-10-06 Ulrich Drepper <drepper@gmail.com>
18457
32b63198
UD
18458 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18459
054c0457
UD
18460 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18461 from tree and freeing node.
18462
64031225
JO
184632011-09-25 Jiri Olsa <jolsa@redhat.com>
18464
18465 * nss/nsswitch.c (__nss_database_lookup): Handle
18466 nss_parse_service_list out of memory case.
18467
0490345c
JO
184682011-09-15 Jiri Olsa <jolsa@redhat.com>
18469
18470 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18471 out of memory case.
18472
3a62d00d
AS
184732011-10-04 Andreas Schwab <schwab@redhat.com>
18474
18475 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18476 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18477 pass it down.
18478 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18479 elf_machine_rela, elf_machine_lazy_rel.
18480 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18481 (ELF_DYNAMIC_DO_REL): Likewise.
18482 (ELF_DYNAMIC_DO_RELA): Likewise.
18483 (ELF_DYNAMIC_RELOCATE): Likewise.
18484 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18485 to ELF_DYNAMIC_DO_REL.
18486 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18487 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18488 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18489 elf_machine_rela.
18490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18491 skip_ifunc, don't call ifunc function if non-zero.
18492 (elf_machine_rela): Likewise.
18493 (elf_machine_lazy_rel): Likewise.
18494 (elf_machine_lazy_rela): Likewise.
18495 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18496 (elf_machine_lazy_rel): Likewise.
18497 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18498 Likewise.
18499 (elf_machine_lazy_rel): Likewise.
18500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18501 Likewise.
18502 (elf_machine_lazy_rel): Likewise.
18503 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18504 (elf_machine_lazy_rel): Likewise.
18505 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18506 (elf_machine_lazy_rel): Likewise.
18507 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18508 (elf_machine_lazy_rel): Likewise.
18509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18510 (elf_machine_lazy_rel): Likewise.
18511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18512 (elf_machine_lazy_rel): Likewise.
18513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18514 (elf_machine_lazy_rel): Likewise.
18515
68577918
UD
185162011-09-28 Ulrich Drepper <drepper@gmail.com>
18517
18518 * nss/nss_files/files-init.c (_nss_files_init): Use static
18519 initialization for all the *_traced_file variables.
18520
68822d74
AS
185212011-09-28 Andreas Schwab <schwab@redhat.com>
18522
18523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18524
2056100b
RM
185252011-09-27 Roland McGrath <roland@hack.frob.com>
18526
18527 [BZ #13226]
18528 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18529
32c76b63
AS
185302011-09-27 Andreas Schwab <schwab@redhat.com>
18531
18532 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18533 Reread the line before reparsing it.
18534
bf972c9d
AS
185352011-09-26 Andreas Schwab <schwab@redhat.com>
18536
18537 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18538
e057a1b5
JM
185392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18540 Maxim Kuvyrkov <maxim@codesourcery.com>
18541 Joseph Myers <joseph@codesourcery.com>
18542
18543 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18544 if needed for __stack_chk_guard.
18545
bc7e1c36
RM
185462011-09-19 Roland McGrath <roland@hack.frob.com>
18547
ecb1482f
RM
18548 * sysdeps/posix/spawni.c (script_execute): Always define it.
18549 It will be optimized away if unused.
18550 (maybe_script_execute): New function.
18551 (__spawni): Call it.
18552
bc7e1c36
RM
18553 * Makerules: Don't include tls.make.
18554 (config-tls): Always set to thread.
18555 * tls.make.c: File removed.
18556
1c3b002b
MF
185572011-09-19 Mike Frysinger <vapier@gentoo.org>
18558
18559 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18560 * config.make.in (CPPFLAGS-config): New substituted variable.
18561
2840865d
UD
185622011-09-15 Ulrich Drepper <drepper@gmail.com>
18563
88738eb6
UD
18564 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18565
cbf645a6 18566 [BZ #13192]
2840865d
UD
18567 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18568 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18569
b402e91a
RM
185702011-09-15 Roland McGrath <roland@hack.frob.com>
18571
18572 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18573 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18574 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18575 (CALL_FAIL): Likewise.
18576 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18577 (CALL_FAIL): Macro removed.
18578 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18579
4c1a1f71
UD
185802011-09-15 Ulrich Drepper <drepper@gmail.com>
18581
18582 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18583 for __FINITE_MATH_ONLY__ == 1.
18584
edc121be
AS
185852011-09-15 Andreas Schwab <schwab@redhat.com>
18586
18587 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18588 __ieee754_sqrt instead of sqrt.
18589 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18590 __ieee754_sqrtf instead of sqrtf.
18591 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18592 __floorf instead of floorf.
18593 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18594 __floorf, __truncf instead of floorf, truncf.
18595
cd205654
UD
185962011-09-14 Ulrich Drepper <drepper@gmail.com>
18597
ee4d0315
UD
18598 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18599
cd205654
UD
18600 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18601 __extern_always_inline.
18602 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18603 32-bit.
18604
48b67d71
AS
186052011-09-14 Andreas Schwab <schwab@redhat.com>
18606
18607 * elf/rtld.c (dl_main): Also relocate in dependency order when
18608 doing symbol dependency testing.
18609
1ae12c75
AS
186102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18611
18612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18613 Always define `refsym'.
18614
995a80df
AS
186152011-09-13 Andreas Schwab <schwab@redhat.com>
18616
e529793b
AS
18617 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18618 (__FD_ELT): Renamed from __FDELT.
18619 * misc/bits/select2.h (__FD_ELT): Likewise.
18620 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18621 __FD_MASK instead of __FDELT, __FDMASK.
18622 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18623 Likewise.
18624 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18625 Likewise.
18626
52d4fef8
AS
18627 * elf/Makefile (gen-ldd): Fix pattern.
18628
995a80df
AS
18629 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18630 (init_tls): Likewise.
18631
8682f8b0
UD
186322011-09-12 Ulrich Drepper <drepper@gmail.com>
18633
18634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18635
de82006d
AS
186362011-09-12 Andreas Schwab <schwab@redhat.com>
18637
a7c8e6a1
AS
18638 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18639 `struct cmsghdr *' instead of `void *'.
18640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18641 Likewise.
18642
0f31fe77
AS
186432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18644
18645 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18646 if non-absolute.
18647 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18648 ldd_rewrite_script.
0f31fe77 18649
32b4c839
UD
186502011-09-11 Ulrich Drepper <drepper@gmail.com>
18651
83cd1420
UD
18652 * configure.in: Remove --with-tls option.
18653 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18654 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18655 out in case it is missing.
18656 * sysdeps/ia64/elf/configure.in: Likewise.
18657 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18658 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18659 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18660 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18661 * sysdeps/sh/elf/configure.in: Likewise.
18662 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18663 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18664 * sysdeps/x86_64/elf/configure.in: Likewise.
18665 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18666 * sysdeps/mach/hurd/tls.h: Likewise.
18667
633f745d
UD
18668 [BZ #13067]
18669 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18670
f318beb8
UD
18671 [BZ #13090]
18672 * configure.in: Fix use of AC_INIT.
18673
32b4c839
UD
18674 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18675
3ce1f295
UD
186762011-09-10 Ulrich Drepper <drepper@gmail.com>
18677
bb016596
UD
18678 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18679 __set_errno.
8e58439c
UD
18680 * malloc/hooks.c: Likewise.
18681
aebae053 18682 [BZ #11929]
02d46fc4
UD
18683 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18684 variables statically.
18685 (narenas): Initialize.
18686 (list_lock): Initialize.
bb016596
UD
18687 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18688 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18689 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18690 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18691 Add initializers to main_arena and mp_.
18692 (malloc_state): Remove pagesize member. Change all users to use
18693 GLRO(dl_pagesize).
18694
18695 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18696 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18697 is always initialized.
18698
22a89187
UD
18699 * malloc/malloc.c: Removed unused configurations and dead code.
18700 * malloc/arena.c: Likewise.
18701 * malloc/hooks.c: Likewise.
02d46fc4 18702 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18703
d063d164
UD
18704 * include/tls.h: Removed. USE___THREAD must always be defined.
18705 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18706 * elf/dl-libc.c: Likewise.
18707 * elf/dl-tsd.c: Likewise.
18708 * include/errno.h: Likewise.
18709 * include/netdb.h: Likewise.
18710 * include/resolv.h: Likewise.
18711 * inet/herrno-loc.c: Likewise.
18712 * inet/herrno.c: Likewise.
18713 * malloc/arena.c: Likewise.
18714 * malloc/hooks.c: Likewise.
18715 * malloc/malloc.c: Likewise.
18716 * resolv/res-state.c: Likewise.
18717 * resolv/res_libc.c: Likewise.
18718 * sysdeps/i386/dl-machine.h: Likewise.
18719 * sysdeps/ia64/dl-machine.h: Likewise.
18720 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18721 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18722 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18723 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18724 * sysdeps/sh/dl-machine.h: Likewise.
18725 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18726 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18727 * sysdeps/unix/i386/sysdep.S: Likewise.
18728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18729 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18734 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18738 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18739 * sysdeps/x86_64/dl-machine.h: Likewise.
18740 * tls.make.c: Likewise.
18741
3ce1f295
UD
18742 * configure.in: Remove --with-__thread option. Make tests for
18743 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18744 tls_model attribute fail if no support is available. Remove
18745 USE_IN_LIBIO.
18746 * Makeconfig: Adjust for dropped configure option. All features are
18747 now mandatory.
18748 * Makerules: Likewise.
18749 * Versions.def: Likewise.
18750 * argp/argp-fmtstream.c: Likewise.
18751 * argp/argp-fmtstream.h: Likewise.
18752 * argp/argp-help.c: Likewise.
18753 * assert/assert.c: Likewise.
18754 * config.h.in: Likewise.
18755 * config.make.in: Likewise.
18756 * configure: Likewise.
18757 * configure.in: Likewise.
18758 * csu/Versions: Likewise.
18759 * csu/init.c: Likewise.
18760 * elf/tst-audit2.c: Likewise.
18761 * elf/tst-tls10.c: Likewise.
18762 * elf/tst-tls10.h: Likewise.
18763 * elf/tst-tls11.c: Likewise.
18764 * elf/tst-tls12.c: Likewise.
18765 * elf/tst-tls14.c: Likewise.
18766 * elf/tst-tlsmod11.c: Likewise.
18767 * elf/tst-tlsmod12.c: Likewise.
18768 * elf/tst-tlsmod13.c: Likewise.
18769 * elf/tst-tlsmod13a.c: Likewise.
18770 * elf/tst-tlsmod14a.c: Likewise.
18771 * elf/tst-tlsmod15b.c: Likewise.
18772 * elf/tst-tlsmod16a.c: Likewise.
18773 * elf/tst-tlsmod16b.c: Likewise.
18774 * elf/tst-tlsmod7.c: Likewise.
18775 * elf/tst-tlsmod8.c: Likewise.
18776 * elf/tst-tlsmod9.c: Likewise.
18777 * gmon/gmon.c: Likewise.
18778 * grp/fgetgrent_r.c: Likewise.
18779 * grp/putgrent.c: Likewise.
18780 * hurd/fopenport.c: Likewise.
18781 * include/libc-symbols.h: Likewise.
18782 * include/tls.h: Likewise.
18783 * intl/gettextP.h: Likewise.
18784 * intl/loadinfo.h: Likewise.
18785 * locale/global-locale.c: Likewise.
18786 * locale/localeinfo.h: Likewise.
18787 * mach/devstream.c: Likewise.
18788 * malloc/arena.c: Likewise.
18789 * malloc/set-freeres.c: Likewise.
18790 * misc/err.c: Likewise.
18791 * misc/getttyent.c: Likewise.
18792 * misc/mntent_r.c: Likewise.
18793 * posix/getopt.c: Likewise.
18794 * posix/wordexp.c: Likewise.
18795 * pwd/fgetpwent_r.c: Likewise.
18796 * resolv/Versions: Likewise.
18797 * resolv/res_hconf.c: Likewise.
18798 * shadow/fgetspent_r.c: Likewise.
18799 * shadow/putspent.c: Likewise.
18800 * stdio-common/printf_fphex.c: Likewise.
18801 * stdio-common/tmpfile.c: Likewise.
18802 * stdlib/abort.c: Likewise.
18803 * stdlib/fmtmsg.c: Likewise.
18804 * sunrpc/auth_unix.c: Likewise.
18805 * sunrpc/clnt_perr.c: Likewise.
18806 * sunrpc/clnt_tcp.c: Likewise.
18807 * sunrpc/clnt_udp.c: Likewise.
18808 * sunrpc/clnt_unix.c: Likewise.
18809 * sunrpc/openchild.c: Likewise.
18810 * sunrpc/svc_simple.c: Likewise.
18811 * sunrpc/svc_tcp.c: Likewise.
18812 * sunrpc/svc_udp.c: Likewise.
18813 * sunrpc/svc_unix.c: Likewise.
18814 * sunrpc/xdr.c: Likewise.
18815 * sunrpc/xdr_array.c: Likewise.
18816 * sunrpc/xdr_rec.c: Likewise.
18817 * sunrpc/xdr_ref.c: Likewise.
18818 * sunrpc/xdr_stdio.c: Likewise.
18819
1248c1c4
PB
188202011-09-09 Ulrich Drepper <drepper@gmail.com>
18821
18822 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18823
188242011-07-03 Andreas Jaeger <aj@suse.de>
18825
18826 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18827 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18828 regenerate with gen-libm-tests.pl.
18829
188302010-05-12 Petr Baudis <pasky@suse.cz>
18831
18832 [BZ #11589]
18833 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18834 around j0() zero points by switching to j1().
18835 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18839
f22e1074
UD
188402011-09-09 Ulrich Drepper <drepper@gmail.com>
18841
f19009c1
UD
18842 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18843 instead of 0.
18844 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18845 instead of 0. .
18846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18847 Patch in part by Pavel Roskin <proski@gnu.org>.
18848
3f8cc204
UD
18849 [BZ #13138]
18850 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18851 realloc.
18852 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18853 Free memory block if necessary.
18854
f22e1074
UD
18855 [BZ #12847]
18856 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18857 be NULL. Don't lock in this case.
18858
0a2349f9
RM
188592011-09-09 Roland McGrath <roland@hack.frob.com>
18860
18861 * elf/elf.h (ELFOSABI_GNU): New macro.
18862 (ELFOSABI_LINUX): Define to that.
18863
f3cdd467
DZ
188642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18865
18866 * string/strncat.c (strncat): Undef the symbol in case it has been
18867 defined in bits/string.h.
18868
74718d13
UD
188692011-09-09 Ulrich Drepper <drepper@gmail.com>
18870
633e9e0f
UD
18871 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18872
0a2349f9 18873 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18874 link map.
18875
f9924780
AJ
188762011-08-17 Andreas Jaeger <aj@suse.de>
18877
18878 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18879
7f5517aa
PP
188802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18881 Ian Lance Taylor <iant@google.com>
18882
18883 * math/libm-test.inc (lround_test): New testcase.
18884 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18885
762011fe
UD
188862011-09-08 Ulrich Drepper <drepper@gmail.com>
18887
92963737
UD
18888 * Makefile: Remove support for automatic cvs check-ins.
18889 * Makerules: Likewise.
18890 * config.make.in: Likewise.
18891 * configure.in: Likewise.
18892 * intl/Makefile: Likewise.
18893 * locale/Makefile: Likewise.
18894 * po/Makefile: Likewise.
18895 * posix/Makefile: Likewise.
18896 * sysdeps/gnu/Makefile: Likewise.
18897 * sysdeps/mach/hurd/Makefile: Likewise.
18898 * sysdeps/sparc/sparc32/Makefile: Likewise.
18899
b0727fd8
JS
18900 [BZ #13118]
18901 * posix/Makefile (bug-regex32-ENV): Define.
18902 Patch by John Stanley <jpsinthemix@verizon.net>.
18903
a0f33f99
UD
18904 * misc/Makefile (headers): Add bits/select2.h.
18905 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18906 * misc/bits/select2.h: New file.
18907 * include/bits/select2.h: New file.
18908 * debug/Makefile (routines): Add fdelt_chk.
18909 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18910 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18911 FD_ISSET.
18912 * debug/fdelt_chk.c: New file.
18913
762011fe
UD
18914 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18915 * wcsmbs/test-wmemcmp.c: Likewise.
18916 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18917 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18918
189192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18920
18921 * string/Makefile (strop-tests): Add memcmp.
18922 * string/test-wmemcmp.c: New file.
18923 * string/test-memcmp.c: Add wmemcmp support.
18924
7f513ec8
RM
189252011-09-08 Roland McGrath <roland@hack.frob.com>
18926
0442afb4
RM
18927 [BZ #13153]
18928 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18929 2011-07-19 change.
18930
7f513ec8
RM
18931 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18932 garbage value in a __mach_port_mod_refs call in the cases of the
18933 task-self and thread-self ports.
18934
a12b2239
ST
189352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18936
18937 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18938
610f9ab4
AS
189392011-09-08 Andreas Schwab <schwab@redhat.com>
18940
7f513ec8 18941 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18942
48882a1a
LD
189432011-09-07 Ulrich Drepper <drepper@gmail.com>
18944
b49865be
UD
18945 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18946
fdc86bc9
UD
18947 * elf/dl-libc.c (dlerror_run): Pass back error code from
18948 dl_catch_error.
18949
c966526a
UD
18950 [BZ #13123]
18951 * elf/dl-load.c (lose): Free l_origin if it is valid.
18952
48882a1a
LD
18953 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18954 names.
18955 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18958 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18959 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18960 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18961
77a2a8b4
AZ
189622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18963
18964 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18965 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18966 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18967 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18968 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18969 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18970 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18971 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18972 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18973 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18974
24f579d8
AM
189752011-08-15 Alan Modra <amodra@gmail.com>
18976
18977 [BZ #13092]
18978 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18979 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18980 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18981 ppc_mcount to static-only-routines.
18982 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18983 __mcount_internal.
18984 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18985 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18986
3d4837df
UD
189872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18988
18989 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18990 for finite and infinity parameters.
18991
22700377
WS
189922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18993
18994 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18995 and add nop instructions for throughput optimization.
18996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18997
5025581e
WS
189982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18999
19000 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19001 aligned copy for power7 with vector-scalar instructions.
19002 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19003
08a300c9
L
190042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19005
19006 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19007 AVX check.
19008
59178ef9
AS
190092011-09-07 Andreas Schwab <schwab@redhat.com>
19010
19011 [BZ #13144]
19012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19013 last change.
19014
e38ba7ab
UD
190152011-09-07 Ulrich Drepper <drepper@gmail.com>
19016
19017 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19018 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19019 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19020 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19021 clock_gettime.
19022
d53a73ac
UD
190232011-09-06 Ulrich Drepper <drepper@gmail.com>
19024
fc8bffcc
UD
19025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19026 Forgot to demangle the pointer.
19027
ceaa0c5d
UD
19028 * sysdeps/i386/sysdep.h: Define atom_text_section.
19029 * sysdeps/x86_64/sysdep.h: Likewise.
19030 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19031 section with atom_text_section.
19032 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19033 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19034 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19036 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19037
a77d3c17
UD
19038 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19039 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19040 already be defined. Change to take two parameters and don't assign
19041 result to variable. Adjust all users.
19042 Define INTERNAL_GETTIME if not already defined.
19043 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19044 call.
19045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19046 HAVE_CLOCK_GETTIME_VSYSCALL.
19047 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19048
d53a73ac
UD
19049 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19050 gettimeofday vsyscall, just use time.
19051
a8f84144
AS
190522011-09-06 Andreas Schwab <schwab@redhat.com>
19053
19054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19055 <errno.h>.
19056
ef606249
UD
190572011-09-06 Ulrich Drepper <drepper@gmail.com>
19058
19059 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19060 syscall on x86-64.
19061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19062 syscall.
19063 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19064 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19065 syscall if possible.
19066
6585cb60
UD
190672011-09-05 Ulrich Drepper <drepper@gmail.com>
19068
19069 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19070 e_ident. Don't pass to find_mapsXX.
19071 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19072
a5f524e4
LD
190732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19074
19075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19076 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19077 * sysdeps/x86_64/multiarch/strchr.S: Update.
19078 Check bit_slow_BSF bit.
19079 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19080 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19081 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19082
554881ef
UD
190832011-09-05 Ulrich Drepper <drepper@gmail.com>
19084
d96de963
UD
19085 [BZ #13134]
19086 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19087 before glibc 2.15.
19088 (tryshell): Define.
19089 (__spawni): Change last parameter to be flag. Test
19090 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19091 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19092 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19093 * posix/spawni.c: Likewise.
19094 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19095 * posix/spawnp.c: Likewise. Change normal version to use
19096 SPAWN_XFLAGS_USE_PATH.
19097 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19098 SPAWN_XFLAGS_TRY_SHELL.
19099
d48e5868
UD
19100 [BZ #13150]
19101 * posix/glob.h: Remove gcc 1.x support.
19102
554881ef
UD
19103 [BZ #13068]
19104 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19105
693fb948
LD
191062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19107
19108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19109 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19110 strrchr-sse2-bsf
19111 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19112 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19113 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19114 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19115 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19117
1b48c537
UD
191182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19119
49d42c37
UD
19120 * sysdeps/x86_64/wcscmp.S: New file.
19121
1b48c537
UD
19122 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19123 wcscmp-c wcscmp-sse2
19124 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19125 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19126 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19127 * wcsmbs/wcscmp.c: Allow renaming.
19128
15c95c5d
DM
191292011-09-05 David S. Miller <davem@davemloft.net>
19130
19131 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19132 stack slot, rather than the struct return pointer slot.
19133 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19134 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19136 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19137
2f0ad8f3
UD
191382011-09-05 Ulrich Drepper <drepper@gmail.com>
19139
d88ae418
UD
19140 * po/ja.po: Update from translation team.
19141
2f0ad8f3
UD
19142 [BZ #13144]
19143 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19144 kernel in 64-bit binaries.
19145
5f4318d1
DM
191462011-09-01 David S. Miller <davem@davemloft.net>
19147
19148 * elf/elf.h (HWCAP_SPARC_*): Move to..
19149 * sysdeps/sparc/sysdep.h: this new file and add new values.
19150 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19151 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19152 _DL_HWCAP_COUNT to 24.
19153 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19154 entries.
19155 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19156 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19157 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19159 instead of magic constants.
19160 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19161
3ba57516
DM
191622011-08-31 David S. Miller <davem@davemloft.net>
19163
19164 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19166 Reimplement to do errno handling inline.
19167 (SYSCALL_ERROR_HANDLER): New macro.
19168 (__SYSCALL_STRING): Do not do errno handling in asm.
19169 (__CLONE_SYSCALL_STRING): Delete.
19170 (__INTERNAL_SYSCALL_STRING): Delete.
19171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19172 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19173 (PSEUDO): Reimplement to do errno handling inline.
19174 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19175 (SYSCALL_ERROR_HANDLER): New macro.
19176 (__SYSCALL_STRING): Do not do errno handling in asm.
19177 (__CLONE_SYSCALL_STRING): Delete.
19178 (__INTERNAL_SYSCALL_STRING): Delete.
19179 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19180 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19181 i386.
19182 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19183 (inline_syscall*): Add 'err' argument.
19184 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19185 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19186 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19187 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19188
19189 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19190 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19191
2bc17433
AS
191922011-08-30 Andreas Schwab <schwab@redhat.com>
19193
19194 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19195
fbeb5f4d
JO
191962011-08-29 Jiri Olsa <jolsa@redhat.com>
19197
19198 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19199 directive.
19200
ad69cc26
DM
192012011-08-24 David S. Miller <davem@davemloft.net>
19202
19203 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19204
39dd69df
AS
192052011-08-24 Andreas Schwab <schwab@redhat.com>
19206
19207 * elf/Makefile: Add rules to build and run unload8 test.
19208 * elf/unload8.c: New file.
19209 * elf/unload8mod1.c: New file.
19210 * elf/unload8mod1x.c: New file.
19211 * elf/unload8mod2.c: New file.
19212 * elf/unload8mod3.c: New file.
19213
19214 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19215 it wasn't used.
19216
2c0b250a
DM
192172011-08-23 David S. Miller <davem@davemloft.net>
19218
19219 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19220 subtract stack bias.
19221 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19222 %sp not %fp in calculations.
19223 (_JMPBUF_UNWINDS_ADJ): Likewise.
19224
22044b48
DM
19225 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19226 (aio_suspend): Call it to force an exception region around the
19227 AIO_MISC_WAIT() invocation.
19228
2cae4995
AS
192292011-08-23 Andreas Schwab <schwab@redhat.com>
19230
19231 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19232 backslash.
19233
873a772e
AJ
192342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19235
19236 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19237 protection macro.
19238 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19239 and <dl-machine.h>.
19240 (Elf64_FuncDesc): Remove.
19241
25ad0df1
DM
192422011-08-22 David S. Miller <davem@davemloft.net>
19243
19244 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19245 sigaltstack check, add missing cfi directives.
19246 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19247 missing cfi directives, and sigaltstack handling.
19248
e888bcbe
AS
192492011-08-16 Andreas Schwab <schwab@redhat.com>
19250
19251 [BZ #11724]
19252 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19253 object is seen twice.
19254 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19255
19256 * elf/Makefile (distribute): Add tst-initorder2.c.
19257 (tests): Add tst-initorder2.
19258 (modules-names): Add tst-initorder2a tst-initorder2b
19259 tst-initorder2c tst-initorder2d. Add rules to build them.
19260 ($(objpfx)tst-initorder2.out): New rule.
19261 * elf/tst-initorder2.c: New file.
19262 * elf/tst-initorder2.exp: New file.
19263
87162f46
AS
192642011-08-22 Andreas Schwab <schwab@redhat.com>
19265
70538b7f
AS
19266 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19267
f55ffe58
AS
19268 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19269 dependencies back to end of function.
19270
87162f46
AS
19271 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19272 $(elfobjdir)/ld.so.
19273
91b392a4
UD
192742011-08-21 Ulrich Drepper <drepper@gmail.com>
19275
19276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19277 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19279 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19280 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19281 of __vdso_gettimeofday.
19282 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19283 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19284 attribute_hidden.
19285 (_libc_vdso_platform_setup): Remove initialization of
19286 __vdso_gettimeofday and __vdso_time.
19287
5c43483f
UD
192882011-08-20 Ulrich Drepper <drepper@gmail.com>
19289
775a77e7
UD
19290 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19291 and fgetc_unlocked.
19292 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19293 getc_unlocked.
89f447ed 19294
49c74ba9
UD
19295 * elf/dl-open.c (add_to_global): Report additions to the global scope
19296 for LD_DEBUG=scopes.
19297 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19298 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19299
5c43483f
UD
19300 [BZ #13114]
19301 * stdio-common/Makefile (tests): Add bug24.
19302 * stdio-common/bug24.c: New file.
19303
a101b025
AJ
193042011-08-19 Andreas Jaeger <aj@suse.de>
19305
19306 [BZ #13114]
19307 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19308 non-existant file when using close-on-exec mode.
19309
c88f1766
UD
193102011-08-20 Ulrich Drepper <drepper@gmail.com>
19311
0276a718
UD
19312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19313 the very first instruction.
19314
c88f1766
UD
19315 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19316 the CFI state in the end.
19317 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19318 inclusion of dl-trampoline.h.
19319 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19320
51ccffa0
AS
193212011-08-19 Andreas Schwab <schwab@redhat.com>
19322
94d7165f
AS
19323 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19324 expectations for long double.
19325
51ccffa0
AS
19326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19327 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19328
fd708658 193292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19330
19331 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19332 artificual limit depends upon the system page size.
19333
44f0a71e
UD
193342011-08-17 Ulrich Drepper <drepper@gmail.com>
19335
19336 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19337 * resolv/Makefile: Define CFLAGS-libresolv.
19338
8de79a24
AS
193392011-08-17 Andreas Schwab <schwab@redhat.com>
19340
19341 * nss/makedb.c (compute_tables): Make variables used in nested
19342 function static.
19343
27724598
UD
193442011-08-17 Ulrich Drepper <drepper@gmail.com>
19345
c5305d88
UD
19346 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19347 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19348 if buffer was too small.
19349
27724598
UD
19350 * elf/pldd.c (main): Attach to all threads in the process.
19351 Rewrite /proc handling to use *at functions.
19352
076fe015
UD
193532011-08-16 Ulrich Drepper <drepper@gmail.com>
19354
174baab3
UD
19355 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19356 specifies first scope to show.
19357 (dl_open_worker): Update callers. Move printing scope of new
19358 object to before the relocation.
44f0a71e 19359 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19360 * sysdeps/generic/ldsodefs.h: Update declaration.
19361
076fe015
UD
19362 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19363 string for the scope number.
19364
a60df2c3
UD
193652011-08-14 Ulrich Drepper <drepper@gmail.com>
19366
19367 * nscd/servicescache.c (cache_addserv): Make sure written is always
19368 initialized.
19369
5e4287d1
RM
193702011-08-14 Roland McGrath <roland@hack.frob.com>
19371
85ae0589
RM
19372 * sysdeps/i386/i486/bits/atomic.h
19373 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19374 statement expression, so as to suppress "set but not used" warning.
19375 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19376
69f63097
RM
19377 * string/strncat.c (STRNCAT): Use prototype definition.
19378
675456ef
RM
19379 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19380 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19381 -Iprograms here.
19382 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19383 (localedef-modules): Add localedef.
19384 (locale-modules): Add locale.
19385
5e4287d1
RM
19386 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19387 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19388 to avoid a warning.
19389
9c96ff23
DM
193902011-08-14 David S. Miller <davem@davemloft.net>
19391
19392 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19393 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19394
f9ddf089
UD
193952011-08-13 Ulrich Drepper <drepper@gmail.com>
19396
44f0a71e 19397 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19398 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19399 * elf/rtld.c (dl_main): Set l_name of vDSO.
19400 Call _dl_show_scope when DL_DEBUG_SCOPES.
19401 (process_dl_debug): Recognize scopes flag and also set it for all.
19402 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19403 Declare _dl_show_scope.
19404
1dc27704
UD
19405 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19406 (do_dlopen): Pass caller_dlopen to dl_open.
19407 (__libc_dlopen_mode): Initialize caller_dlopen.
19408
f9ddf089
UD
19409 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19410 of libc. Make tolower call locale-independent. Optimize a bit by
19411 using isdigit instead of isalnum.
19412 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19413
9ac533d3
UD
194142011-08-12 Ulrich Drepper <drepper@gmail.com>
19415
19416 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19417 was a dependency or dynamically loaded.
19418
89edf2e9
UD
194192011-08-11 Ulrich Drepper <drepper@gmail.com>
19420
8e999d29
UD
19421 * intl/l10nflist.c: Allow architecture-specific pop function.
19422 * sysdeps/x86_64/l10nflist.c: New file.
19423
89edf2e9
UD
19424 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19425 classification.
19426
14d96785
AS
194272011-08-10 Andreas Schwab <schwab@redhat.com>
19428
19429 * include/dirent.h: Add libc_hidden_proto for scandirat and
19430 scandirat64. Don't declare __scandirat64.
19431 * dirent/scandirat.c: Add libc_hidden_def.
19432 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19433 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19434
6761ac04
DM
194352011-08-10 David S. Miller <davem@davemloft.net>
19436
19437 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19438 enum.
19439 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19442
c55fbd1e
UD
194432011-08-09 Ulrich Drepper <drepper@gmail.com>
19444
19445 * Versions.def [libc]: Add GLIBC_2.15.
19446 * dirent/Makefile (routines): Add scandirat and scandirat64.
19447 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19448 GLIBC_2.15.
19449 * dirent/dirent.h: Declare scandirat and scandirat64.
19450 * dirent/scandirat.c: New file.
19451 * dirent/scandirat64.c: New file.
19452 * sysdeps/wordsize-64/scandirat.c: New file.
19453 * sysdeps/wordsize-64/scandirat64.c: New file.
19454 * dirent/opendir.c: Define opendirat.
19455 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19456 using scandirat.
19457 * dirent/scandir64.c: Adjust for scandir.c change.
19458 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19459 __scandirat64, and __scandir_cancel_handler.
19460 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19461 additional parameter and use openat instead of open (outside of ld.so).
19462 Add new __opendir as wrapper around __opendirat.
19463 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19464 here without requiring old scandirat implementation.
19465
879165f2
UD
194662011-08-08 Ulrich Drepper <drepper@gmail.com>
19467
19468 * dirent/scandir.c (cancel_handler): Renamed to
19469 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19470 defined. Adjust users.
19471 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19472 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19473
cb7e923b
UD
194742011-08-04 Ulrich Drepper <drepper@gmail.com>
19475
16292edd
UD
19476 * string/test-string.h (IMPL): Use __STRING to expand name and then
19477 stringify it.
19478
cb7e923b
UD
19479 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19480 of cleanups.
19481
cff82933
LD
194822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19483
19484 * string/Makefile: Update.
19485 (strop-tests): Append strncat.
19486 * string/test-wcscmp.c: New file.
19487 New comprehensive test for wcscmp.
19488 * string/test-strcmp.c: Update.
19489 (WIDE): New define.
19490
9be9bfcc
AS
194912011-07-22 Andreas Schwab <schwab@redhat.com>
19492
19493 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19494 line.
19495
2e96f1c7
AS
194962011-07-26 Andreas Schwab <schwab@redhat.com>
19497
19498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19499 encoding to ACE if AI_IDN.
19500
85188888
JJ
195012011-08-01 Jakub Jelinek <jakub@redhat.com>
19502
19503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19504 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19505
5fa16e9b
LD
195062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19507
19508 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19509 Fix overflow bug in strncat.
19510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19511
19512 * string/test-strncat.c: Update.
19513 Add new tests for checking overflow bugs.
19514
195152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19516
19517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19518 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19519 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19520 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19521 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19522 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19523 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19524 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19525 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19526
19527 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19528 (USE_AS_STRCAT): Define.
19529 Add strcat and strncat support.
19530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19531
8c1a459f
AS
195322011-07-25 Andreas Schwab <schwab@redhat.com>
19533
19534 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19535 __n bigger than INT_MAX+1.
19536 (__strncmp_g): Likewise.
19537
bba33c28
UD
195382011-07-23 Ulrich Drepper <drepper@gmail.com>
19539
798be72d
UD
19540 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19541 * libio/stido.h: Likewise.
19542
8accd4dc
UD
19543 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19544 (AF_NFC): Define.
19545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19546 (AF_NFC): Define.
19547
cbff0d96
UD
19548 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19549 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19551 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19552 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19553
9191c04a
UD
19554 [BZ #13021]
19555 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19556 installed.
19557
bba33c28
UD
19558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19559 typo.
19560 (_dl_x86_64_save_sse): Likewise.
19561
90f139dd
UD
195622011-07-22 Ulrich Drepper <drepper@gmail.com>
19563
1aae088a
UD
19564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19565 OSXSAVE.
19566 (_dl_x86_64_save_sse): Likewise.
19567
8e2045f5
UD
19568 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19569
90f139dd
UD
19570 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19571
1d002f25
AS
195722011-07-21 Andreas Schwab <schwab@redhat.com>
19573
19574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19575 change.
19576 (_dl_x86_64_save_sse): Use correct AVX check.
19577
21137f89
UD
195782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19579
19580 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19581 bug in strncpy/strncat.
19582 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19583
a65c0b7a
UD
195842011-07-21 Ulrich Drepper <drepper@gmail.com>
19585
19586 * string/tester.c (test_strcat): Add tests for different alignments
19587 of source and destination.
19588 (test_strncat): Likewise.
19589
6986b98a
UD
195902011-07-20 Ulrich Drepper <drepper@gmail.com>
19591
90bb2039
UD
19592 [BZ #12852]
19593 * posix/glob.c (glob): Check passed in values before using them in
19594 expressions to avoid some overflows.
19595 (glob_in_dir): Likewise.
19596
5644ef54
UD
19597 [BZ #13007]
19598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19599 check for AVX enablement so that we don't crash with old kernels and
19600 new hardware.
19601 * elf/tst-audit4.c: Add same checks here.
19602 * elf/tst-audit6.c: Likewise.
19603
19604 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19605
bfc9dc9b
AS
196062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19607
19608 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19609
702e64bb
UD
196102011-07-20 Ulrich Drepper <drepper@gmail.com>
19611
19612 * po/cs.po: Update from translation team.
19613 * po/bg.po: Likewise.
19614
295e904f
MP
196152011-07-12 Marek Polacek <mpolacek@redhat.com>
19616
19617 * misc/sys/cdefs.h: Add support for const attribute.
19618 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19619 to gnu_dev_{major,minor,makedev} functions.
19620
3ff94596
MP
196212011-07-20 Marek Polacek <mpolacek@redhat.com>
19622
19623 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19624
28b59fca
AS
196252011-07-20 Andreas Schwab <schwab@redhat.com>
19626
19627 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19628 strlen results.
19629
19df733e
AK
196302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19631
19632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19633 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19634 register in order to avoid conflicts with the soft frame pointer
19635 being held in r11 when necessary.
19636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19637 (INTERNAL_VSYSCALL_NCS): Likewise.
19638
c8835729
MP
196392011-07-14 Marek Polacek <mpolacek@redhat.com>
19640
19641 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19642 * elf/dl-fini.c (_dl_fini): Adjust caller.
19643 * elf/dl-close.c (_dl_close_worker): Likewise.
19644 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19645
b902330c
MP
196462011-07-15 Marek Polacek <mpolacek@redhat.com>
19647
8991e135
MP
19648 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19649 "aux_cache->nlibs < 0".
19650
b902330c
MP
19651 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19652 in the reload-count case.
19653
99710781
LD
196542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19655
19656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19657 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19658 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19659 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19660 * sysdeps/x86_64/multiarch/strcat.S: New file.
19661 * sysdeps/x86_64/multiarch/strncat.S: New file.
19662 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19663 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19664 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19665 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19667 (USE_AS_STRCAT): Define.
19668 Add strcat and strncat support.
19669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19671 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19672 * string/strncat.c: Update.
19673 (USE_AS_STRNCAT): Define.
19674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19675 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19676 and i7.
19677 * sysdeps/x86_64/multiarch/init-arch.h
19678 (bit_Prefer_PMINUB_for_stringop): New.
19679 (index_Prefer_PMINUB_for_stringop): Likewise.
19680 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19681 bit_Prefer_PMINUB_for_stringop.
19682
7dc6bd90
UD
196832011-07-19 Ulrich Drepper <drepper@gmail.com>
19684
19685 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19686 buffer64.
19687 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19688 of casting of buffer.
19689 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19690 buffer32 and buffer64.
19691 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19692 writes instead of casting of buffer.
19693 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19694 buffer32.
19695 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19696 casting of buffer.
19697
e0e72284
AS
196982011-07-19 Andreas Schwab <schwab@redhat.com>
19699
19700 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19701
feb1eb0b
UD
197022011-07-19 Ulrich Drepper <drepper@gmail.com>
19703
19704 * nscd/nscd.c (termination_handler): Don't do anything for a database
19705 if it has not yet been initialized.
19706
298711ff
UD
197072011-07-18 Ulrich Drepper <drepper@gmail.com>
19708
19709 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19710
197112011-07-15 Marek Polacek <mpolacek@redhat.com>
19712
19713 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19714
f9d68389
UD
197152011-07-18 Ulrich Drepper <drepper@gmail.com>
19716
19717 * po/nl.po: Update from translation team.
19718 * po/sv.po: Likewise.
19719
db290cf5
RM
197202011-07-16 Roland McGrath <roland@hack.frob.com>
19721
19722 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19723 now disallowed by GCC.
5c550700 19724
fd5e21c7
RM
19725 * configure.in (use-default-link): Default to yes if a test -shared
19726 link meets our qualifications.
19727 * configure: Regenerated.
19728
5c550700
RM
19729 * config.make.in (output-format): New variable.
19730 * configure.in: Check for ld --print-output-format support.
19731 * configure: Regenerated.
19732 * Makerules ($(common-objpfx)format.lds)
19733 [$(output-format) != unknown]: Just use $(output-format),
19734 instead of the linker-script munging.
19735
9fa2c032
RM
197362011-07-14 Roland McGrath <roland@hack.frob.com>
19737
a6928d51
RM
19738 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19739 of $(common-objpfx)shlib.lds.
19740 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19741
661607b3
RM
19742 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19743 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19744
9fa2c032
RM
19745 * configure.in (-z relro check): Adjust test code to add a large
19746 writable data section after it.
19747 * configure: Regenerated.
19748
defe9061
RM
197492011-07-11 Roland McGrath <roland@hack.frob.com>
19750
19751 * configure.in (-z relro check): Fix test code to make the variable
19752 truly const.
19753 * configure: Regenerated.
19754
319b9ad4
UD
197552011-07-11 Ulrich Drepper <drepper@gmail.com>
19756
19757 * nscd/nscd.h (struct traced_file): Define.
19758 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19759 elements. Add traced_files.
19760 (inotify_fd): Declare.
19761 (register_traced_file): Declare.
19762 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19763 (inotify_fd): Export.
19764 (resolv_conf_descr): Remove.
19765 (nscd_init): Move inotify descriptor creation to main.
19766 Don't register files for notification here.
19767 (register_traced_file): New function.
19768 (invalidate_cache): Don't use reset_res to determine whether to call
19769 res_init, go through the list of registered files.
19770 (main_loop_poll): The inotify descriptors are now stored in the
19771 structures for the traced files.
19772 (main_loop_epoll): Likewise
19773 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19774 to __nss_disable_nscd.
19775 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19776 for a database anymore. Check the records for all the registered
19777 files instead.
19778 * nss/Makefile (libnss_files-routines): Add files-init.
19779 (libnss_db-routines): Add db-init.
19780 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19781 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19782 * nss/nss_db/db-init.c: New file.
19783 * nss/nss_files/files-init.c: New file.
19784 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19785 __nss_lookup_function.
19786 (__nss_lookup_function): Call nss_load_library.
19787 (nss_load_all_libraries): New function.
19788 (__nss_disable_nscd): Take parameter with callback function for files
19789 to register. Set is_nscd. Load all the DSOs for the NSS modules
19790 used for the cached services.
19791 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19792 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19793 options for features to all the files in nscd.
19794
19795 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19796
23bee3e8
RM
197972011-07-10 Roland McGrath <roland@hack.frob.com>
19798
19799 * csu/elf-init.c (__libc_csu_init): Comment typo.
19800
46a5b7f0
UD
198012011-07-09 Ulrich Drepper <drepper@gmail.com>
19802
19803 * po/pl.po: Update from translation team.
19804 * po/ja.po: Likewise.
19805 * po/ru.po: Likewise.
19806 * po/ko.po: Likewise.
19807 * po/fr.po: Likewise.
19808
d30cf5bb
RM
198092011-07-09 Roland McGrath <roland@hack.frob.com>
19810
113ddea4
RM
19811 * configure.in (.ctors/.dtors header and trailer check):
19812 Use an empirical test on a built program.
19813 * configure: Regenerated.
19814
574920b4
RM
19815 * configure.in (-z relro check): Use an empirical test on a built DSO.
19816 Detect, but do not require, on ia64.
19817 * configure: Regenerated.
19818
d30cf5bb
RM
19819 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19820 Update tests that use readelf to use $READELF instead.
19821 * configure: Regenerated.
19822
8538fdb3
UD
198232011-07-08 Ulrich Drepper <drepper@gmail.com>
19824
19825 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19826 if the result is not used.
19827
04d08991
AJ
198282011-07-05 Andreas Jaeger <aj@suse.de>
19829
19830 [BZ#9696]
19831 * stdlib/tst-strtod.c: Add testcase.
19832
de283087
AD
198332011-07-07 Ulrich Drepper <drepper@gmail.com>
19834
4e5f31c8 19835 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19836 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19837 The latter has a higher limit. Take additional parameter to pass to
19838 the new function.
19839 (__pathconf): Pass file to __statfs_link_max.
19840 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19841 __statfs_link_max.
19842 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19843 __statfs_link_max.
19844
de283087
AD
19845 [BZ #12868]
19846 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19847 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19848 Handle Lustre.
19849 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19850 (__statfs_filesize_max): Likewise.
19851 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19852
c75fa153
AJ
198532011-07-05 Andreas Jaeger <aj@suse.de>
19854
19855 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19856
1a544854
UD
198572011-07-06 Marek Polacek <mpolacek@redhat.com>
19858
19859 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19860 `status' variable.
19861 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19862 Likewise.
19863
6f0eec67
UD
198642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19865
19866 * Makefile (strop-tests): Add strncat.
19867 * string/test-strncat.c: New file.
19868
aae30307
UD
198692011-06-30 Marek Polacek <mpolacek@redhat.com>
19870
19871 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19872
c0cfb5eb
UD
198732011-06-21 Andreas Jaeger <aj@suse.de>
19874
19875 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19876 Copy rule from iconvdata/Makefile.
19877
01636b21
UD
198782011-07-06 Ulrich Drepper <drepper@gmail.com>
19879
19880 [BZ #12922]
19881 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19882 but no long options are defined, just return 'W'.
19883
9895c8bc
UD
198842011-06-22 Marek Polacek <mpolacek@redhat.com>
19885
19886 [BZ #9696]
19887 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19888
5d4cf042
UD
198892011-07-06 Ulrich Drepper <drepper@gmail.com>
19890
19891 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19892 netgroups to read.
960e5535 19893 (innetgr): Likewise.
5d4cf042 19894
751eb97e
RM
198952011-07-05 Roland McGrath <roland@hack.frob.com>
19896
19897 * config.make.in (install_root): Default to $(DESTDIR).
19898
f15f1e45
UD
198992011-07-05 Ulrich Drepper <drepper@gmail.com>
19900
19901 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19902
4e34ac6a
RM
199032011-07-02 Roland McGrath <roland@hack.frob.com>
19904
5e9b6af4
RM
19905 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19906
84f9ea0f
RM
19907 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19908 containing directory rather than embedding absolute directory names.
19909
ea5ee9f7
RM
19910 * scripts/check-local-headers.sh: Rewritten using awk.
19911 Match by word, not by line. Print error messages for matches.
19912 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19913
1b74661a
RM
19914 * Makerules [shlib-lds-flags empty]:
19915 ($(common-objpfx)libc_pic.opts): New target.
19916 ($(common-objpfx)libc_pic.os.clean): New target.
19917 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19918
19919 * config.make.in (OBJCOPY): New variable.
19920 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19921 * configure: Regenerated.
19922
f781ef40
RM
19923 * config.make.in (use-default-link): New variable.
19924 * configure.in (use_default_link): Grok --with-default-link to set it.
19925 * configure: Regenerated.
19926 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19927 (shlib-lds, shlib-lds-flags): Define to empty.
19928
2d4fa81e
RM
19929 * Makerules (shlib-lds): New variable.
19930 (shlib-lds-flags): New variable.
19931 (build-shlib, build-moduile, build-module-asneeded): Use it.
19932 ($(common-objpfx)libc.so): Use $(shlib-lds).
19933 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19934 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19935
31fffa6b
RM
19936 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19937 DT_FLAGS/DT_FLAGS_1 with zero flags.
19938
4e34ac6a
RM
19939 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19940 linker script munging.
19941
fcfc776b
UD
199422011-07-02 Ulrich Drepper <drepper@gmail.com>
19943
19944 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19945 as 128-bit value.
19946 * crypt/sha512.c (sha512_process_block): Perform total addition using
19947 128-bit if possible.
19948 (__sha512_finish_ctx): Likewise.
19949 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19950 as 64-bit value.
19951 * crypt/sha256.c (SWAP64): Define.
19952 (sha256_process_block): Perform total addition using 64-bit if
19953 possible.
19954 (__sha256_finish_ctx): Likewise.
19955
99231d9a
UD
199562011-07-01 Ulrich Drepper <drepper@gmail.com>
19957
19958 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19959 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19960 * nscd/hstcache.c (cache_addhst): Likewise.
19961 * nscd/grpcache.c (cache_addgr): Likewise.
19962 * nscd/aicache.c (addhstaiX): Likewise
19963 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19964
445b4a53
TK
199652011-07-01 Thorsten Kukuk <kukuk@suse.de>
19966
19967 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19968 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19969 * nscd/hstcache.c (cache_addhst): Likewise.
19970 * nscd/grpcache.c (cache_addgr): Likewise.
19971 * nscd/aicache.c (addhstaiX): Likewise
19972
6d4d8e8e
AS
199732011-07-01 Andreas Schwab <schwab@redhat.com>
19974
19975 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19976 domain only when needed.
19977
89f654c5
AS
199782011-06-30 Andreas Schwab <schwab@redhat.com>
19979
19980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19981 is always restored.
19982
cf3b23ff
UD
199832011-06-29 Ulrich Drepper <drepper@gmail.com>
19984
19985 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19986 are re-adding the entry.
19987 * nscd/servicescache.c (cache_addserv): Likewise.
19988
751626f9
AJ
199892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19990
19991 * sysdeps/generic/dl-irel.h: fix protection against multiple
19992 inclusions.
19993 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19994
9113ea1f
UD
199952011-06-28 Ulrich Drepper <drepper@gmail.com>
19996
5c0b8d90
UD
19997 [BZ #12935]
19998 * malloc/memusage.sh: Fix quoting in message.
19999 * debug/xtrace.sh: Likewise.
20000
9113ea1f
UD
20001 * configure.in: Remove support for --experimental-malloc option, make
20002 it the default.
20003 * config.make.in: Likewise.
20004 * malloc/Makefile: Likewise.
20005
a4172181
AS
200062011-06-27 Andreas Schwab <schwab@redhat.com>
20007
20008 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20009 two-byte characters.
20010
78a7eee7
RM
200112011-06-27 Roland McGrath <roland@hack.frob.com>
20012
62bede13
RM
20013 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20014 AC_CACHE_CHECK invocation.
20015 * configure: Regenerated.
20016
78a7eee7
RM
20017 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20018
5ce33a62
UD
200192011-06-27 Ulrich Drepper <drepper@gmail.com>
20020
034807a9
UD
20021 [BZ #12350]
20022 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20023 bit from old_res_options.
20024
4902da17
UD
20025 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20026
5ce33a62
UD
20027 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20028 value type for setfct.
20029
c2344f56
L
200302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20031
20032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20033 __gettimeofday instead of gettimeofday.
20034
68468076
UD
200352011-06-26 Ulrich Drepper <drepper@gmail.com>
20036
20037 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20038
acb0d739
L
200392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20040
20041 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20042
20043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20044 info.
20045
8912479f
L
200462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20047
20048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20049 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20050 strcpy-sse2-unaligned strncpy-sse2-unaligned
20051 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20052 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20053 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20054 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20055 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20056 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20057 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20058 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20059 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20060 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20061 (STRCPY): Support SSE2 and SSSE3 versions.
20062
d5495a11
UD
200632011-06-24 Ulrich Drepper <drepper@gmail.com>
20064
20065 [BZ #12874]
20066 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20067 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20068 kernels which artificially limit size of requests.
20069
0b1cbaae
L
200702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20071
20072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20073 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20074 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20075 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20076 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20077 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20078 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20079 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20080 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20082 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20083 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20084 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20085 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20086 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20088 Enable unaligned load optimization for Intel Core i3, i5 and i7
20089 processors.
20090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20091 Define.
20092 (index_Fast_Unaligned_Load): Define.
20093 (HAS_FAST_UNALIGNED_LOAD): Define.
20094
07f494a0
MP
200952011-06-23 Marek Polacek <mpolacek@redhat.com>
20096
20097 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20098
fa3fc0fe
UD
200992011-06-22 Ulrich Drepper <drepper@gmail.com>
20100
20101 [BZ #12907]
20102 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20103 until it is clear that the information is realy needed.
20104 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20105
e12df166
AS
201062011-06-22 Andreas Schwab <schwab@redhat.com>
20107
20108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20109
852eb34d
UD
201102011-06-22 Ulrich Drepper <drepper@gmail.com>
20111
84e2a551
UD
20112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20113 /sys/devices/system/cpu/online if it is usable.
20114
852eb34d
UD
20115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20116 reading the information from the /proc filesystem to once a second.
20117
6e502e19
UD
201182011-06-21 Andreas Jaeger <aj@suse.de>
20119
20120 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20121 NULL after inclusion of kernel headers.
20122
75d39ff2
UD
201232011-06-21 Ulrich Drepper <drepper@gmail.com>
20124
51f9aa6a
UD
20125 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20126 calls to internal_setent.
20127
c0244a9d
UD
20128 [BZ #12885]
20129 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20130 addresses using gethostbyname4_r ignore IPv4 addresses.
20131
c5e3c2ae
UD
20132 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20133 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20134
75d39ff2
UD
20135 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20136
42675c6f
DM
201372011-06-20 David S. Miller <davem@davemloft.net>
20138
20139 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20140 inclusions.
20141 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20142
20143 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20144 (elf_irel): Use it.
20145 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20146 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20147 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20148 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20149 * sysdeps/x86_64/dl-irel.h: Likewise.
20150
20151 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20152 * elf/dl-sym.c: Likewise.
20153
57912a71
UD
201542011-06-15 Ulrich Drepper <drepper@gmail.com>
20155
20156 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20157 need to dereference resplen2.
20158
ee22793d
AS
201592011-06-14 Andreas Schwab <schwab@redhat.com>
20160
20161 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20162
a9e836b0
UD
201632011-06-15 Ulrich Drepper <drepper@gmail.com>
20164
77fb9117
UD
20165 * Makeconfig: Define vardbdir and inst_vardbdir.
20166 * nss/Makefile: Add rules to install db-Makefile.
20167
40c1b22c
UD
20168 * nss/nss_db/db-XXX.c: Cleanup.
20169
9f2da732
UD
20170 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20171 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20172 GLIBC_PRIVATE.
20173 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20174 * nss/makedb.c: Implement -g option to specify that value strings
20175 are generated and should not be added to table iterated over for
20176 get*ent calls.
20177 * nss/nss_db/db-initgroups.c: New file.
20178
82e9a1f7
UD
20179 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20180 interface.
20181
c41af17e
UD
20182 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20183 (internal_getgrouplist): Adjust to name change.
20184 Update use_initgroups_entry if this is not the first call.
20185 * nss/databases.def: Add initgroups entry.
20186
a9e836b0
UD
20187 * nss/makedb.c (compute_tables): Check result of multiple hash table
20188 sizes to minimize maximum chain length.
20189
2666d441
UD
201902011-06-14 Ulrich Drepper <drepper@gmail.com>
20191
20192 * Versions.def: Add entry for libnss_db.
20193 * shlib-versions: Likewise.
20194 * nss/Makefile: Add rules to build libnss_db.
20195 * nss/Versions: Add libnss_db information. Organize libnss_files
20196 entries better.
20197 * nss/db-Makefile: Add gshadow support. Change rules for the new
20198 makedb progra. Some minor improvements to generate smaller files.
20199 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20200 here from...
20201 * nss/makedb.c: ...here.
20202 Improve database format to be smaller and require less memory at
20203 runtime.
20204 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20205 db anymore.
20206 * nss/nss_db/db-netgrp.c: Likewise.
20207 * nss/nss_db/db-open.c: Likewise.
20208 * nss/nss_files/flies-XXX.x: Adjust comments.
20209 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20210 * nss/nss_files/files-grp.c: Likewise.
20211 * nss/nss_files/files-hosts.c: Likewise.
20212 * nss/nss_files/files-network.c: Likewise.
20213 * nss/nss_files/files-proto.c: Likewise.
20214 * nss/nss_files/files-pwd.c: Likewise.
20215 * nss/nss_files/files-rpc.c: Likewise.
20216 * nss/nss_files/files-service.c: Likewise.
20217 * nss/nss_files/files-sgrp.c: Likewise.
20218 * nss/nss_files/files-spwd.c: Likewise.
20219 * nss/nss_db/db-alias.c: Removed.
20220 * nss/nss_db/dummy-db.h: Removed.
20221
9ee76b5a
UD
202222011-06-02 Ulrich Drepper <drepper@gmail.com>
20223
20224 * nss/makedb.c: Rewritten to not use database library.
20225 * nss/Makefile: Update to build new makedb program.
20226
c71ca1f8
AJ
202272011-06-14 Andreas Jaeger <aj@suse.de>
20228
20229 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20230 memset declaration.
20231
3154bfb8
UD
202322011-06-10 Andreas Schwab <schwab@redhat.com>
20233
20234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20235 tmpbuf.
20236
b350afab
RM
202372011-06-10 Roland McGrath <roland@hack.frob.com>
20238
decd4e50
RM
20239 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20240 * elf/Makefile ($(objpfx)ld.so): Likewise.
20241
5615eaf2
RM
20242 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20243 Don't list ld.so twice in dependencies.
20244
20245 * posix/bug-regex31.c: Include <stdlib.h>.
20246
20247 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20248
20249 * nis/nss_compat/compat-spwd.c
20250 (getspent_next_nss_netgr): Remove unused variable.
20251 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20252
20253 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20254 nonmembers" output to use the right array.
20255
20256 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20257
20258 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20259
20260 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20261 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20262 * catgets/gencat.c (read_input_file): Likewise.
20263 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20264
20265 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20266 variable definition inside #if's controlling its use.
20267
20268 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20269
20270 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20271
20272 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20273
20274 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20275 unreachable code.
20276
20277 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20278
b68e08db
RM
20279 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20280 * configure: Regenerated.
20281
b350afab
RM
20282 * Makerules: Revert last change.
20283 * elf/Makefile: Likewise.
20284
28368601
RM
202852011-06-09 Roland McGrath <roland@hack.frob.com>
20286
20287 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20288 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20289 (reloc-link): Likewise.
20290
11988f8f
UD
202912011-06-09 Ulrich Drepper <drepper@gmail.com>
20292
20293 * elf/Makefile: Add rules to build pldd.
20294 * elf/pldd.c: New file.
20295 * elf/pldd-xx.c: New file.
20296
e80fab37
UD
202972011-06-07 Ulrich Drepper <drepper@gmail.com>
20298
20299 * version.h: Update for 2.15 development version.
20300
9b849836
DM
203012011-06-07 David S. Miller <davem@davemloft.net>
20302
20303 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20304 ifuncs.
20305 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20306 elf_machine_lazy_rel): Likewise.
20307 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20308 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20309 elf_machine_lazy_rel): Likewise.
20310 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20311 dl_hwcap via passed in argument.
20312 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20313 Likewise.
20314
5a31b283
AK
203152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20316
20317 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20318
069e52f8
RM
203192011-06-06 Roland McGrath <roland@hack.frob.com>
20320
20321 [BZ #12849]
20322 * manual/fdl-1.1.texi: New file, verbatim from:
20323 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20324 * manual/lgpl-2.1.texi: New file, verbatim from:
20325 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20326 * manual/Makefile (licenses): New variable, list those new file names.
20327 (texis): Use it.
20328 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20329
20330 * manual/fdl.texi: File removed.
20331 * manual/lesser.texi: File removed.
20332 * manual/libc.texinfo (Copying, Documentation License):
20333 Use new @include file names, put @appendix directive before @include.
20334
f16846a5
JJ
203352011-06-04 Jakub Jelinek <jakub@redhat.com>
20336
20337 [BZ #12841]
20338 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20339 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20340 (mq_open): Add __NTH.
20341
3d29045b
L
203422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20343
20344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20345 Assume Intel Core i3/i5/i7 processor if AVX is available.
20346
8c297311
UD
203472011-05-31 Ulrich Drepper <drepper@gmail.com>
20348
20349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20350 typo.
20351
c8fc0c91
UD
203522011-05-31 Andreas Schwab <schwab@redhat.com>
20353
20354 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20355 memory. Use alloca_account. Fix memory leak when retrying.
20356
5b27a807
UD
203572011-05-31 Ulrich Drepper <drepper@gmail.com>
20358
356f8bc6
UD
20359 * version.h (RELEASE): Bump for 2.14 release.
20360 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20361
5b27a807
UD
20362 * config.make.in (RANLIB): Remove entry.
20363
01f16ab0
UD
203642011-05-30 Ulrich Drepper <drepper@gmail.com>
20365
41fce8bd
UD
20366 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20367 (libc.pot): Work around missing support for .ksh extension in xgettext.
20368
4769ae77
UD
20369 [BZ #12684]
20370 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20371 if both request failed.
20372 (send_dg): In case of server errors clear resplen or *resplen2.
20373
6b1e7d19
UD
20374 [BZ #12454]
20375 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20376 when there are multiple maps.
20377 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20378 (_dl_fini): Remove test here.
20379
01f16ab0
UD
20380 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20381
b1ebd700
UD
203822011-05-29 Ulrich Drepper <drepper@gmail.com>
20383
7ae22829
UD
20384 [BZ #12350]
20385 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20386 bit from old_res_options.
20387 (gaih_inet): Likewise.
20388
553149f6 20389 [BZ #11099]
18a84741 20390 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20391 as signed.
20392
652ffab1
UD
20393 * resolv/res_init.c (res_setoptions): Make the code more compact.
20394
16985fd0
UD
20395 [BZ #11558]
20396 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20397 set RES_USEVC.
20398
0464f746
UD
20399 [BZ #11634]
20400 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20401
7d17596c
UD
20402 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20403
cf6bbbd7
UD
20404 [BZ #11781]
20405 * malloc/malloc.h: Declare malloc hook variables as volatile.
20406
13f1ab36
UD
20407 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20408 in last patch.
20409
b1ebd700
UD
20410 [BZ #11799]
20411 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20412 raise in the comment.
80e2212d
UD
20413 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20415 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20416
ce67228d
UD
204172011-05-28 Ulrich Drepper <drepper@gmail.com>
20418
8887a920
UD
20419 [BZ #12811]
20420 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20421 grow the buffers more if it already has to be sufficient.
20422 (build_wcs_upper_buffer): Likewise.
20423 * posix/regexec.c (check_matching): Likewise.
20424 (clean_state_log_if_needed): Likewise.
20425 (extend_buffers): Don't enlarge buffers beyond size of the input
20426 buffer.
20427 Patches mostly by Emil Wojak <emil@wojak.eu>.
20428 * posix/bug-regex32.c: New file.
20429 * posix/Makefile (tests): Add bug-regex32.
20430
4f031072
UD
20431 * locale/findlocale.c (_nl_find_locale): Return right away if
20432 _nl_explode_name failed.
20433 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20434
d0478f0c
UD
20435 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20436
de81b246
UD
20437 * debug/xtrace.sh: Unify messages.
20438 * malloc/memusage.sh: Likewise.
20439
c738465a
UD
20440 [BZ #12813]
20441 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20442 time symbol from vDSO. Substitute with vsyscall if not available.
20443 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20444 __vdso_time.
20445
f1f929d7
UD
20446 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20447 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20448 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20449 Add sendmmsg and internal_sendmmsg.
20450 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20451 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20452 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20453
ce67228d
UD
20454 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20455 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20457
e57420c6
UD
204582011-05-27 Ulrich Drepper <drepper@gmail.com>
20459
a8509ca5
UD
20460 [BZ #12813]
20461 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20462 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20463 available.
20464 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20465 __vdso_getcpu.
20466
e57420c6
UD
20467 [BZ #12814]
20468 * iconvdata/Makefile (tests): Add bug-iconv9.
20469 * iconvdata/bug-iconv9.c: New file.
20470
4d07db15
AS
204712011-05-27 Andreas Schwab <schwab@redhat.com>
20472
20473 [BZ #12814]
20474 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20475
ea486f69
JJ
204762011-05-25 Jakub Jelinek <jakub@redhat.com>
20477
20478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20479 (struct user_regs_struct): Change intcs field back to cs.
20480
6f038433
UD
204812011-05-25 Ulrich Drepper <drepper@gmail.com>
20482
20483 * po/ja.po: Update from translation team.
20484
67f86a25
UD
204852011-05-23 Ulrich Drepper <drepper@gmail.com>
20486
20487 [BZ #12795]
20488 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20489 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20490
def7fbd6
AS
204912011-05-20 Andreas Schwab <schwab@redhat.com>
20492
20493 * stdlib/longlong.h: Update from GCC.
20494
f50ef8f1
AS
204952011-05-23 Andreas Schwab <schwab@redhat.com>
20496
20497 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20498 parameter name.
20499 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20500 Add parameter name.
20501 (__sysconf): Pass it down.
20502
de7ce8f1
UD
205032011-05-22 Ulrich Drepper <drepper@gmail.com>
20504
f2962a71
UD
20505 [BZ #12671]
20506 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20507 some situations.
20508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20509 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20510 add in in __libc_use_alloca calls. Adjust callers.
20511 (glob): Use malloc in some situations.
20512
de7ce8f1
UD
20513 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20514 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20515 pltexit.
20516
aec84f53
UD
205172011-05-21 Ulrich Drepper <drepper@gmail.com>
20518
05bb4a68
UD
20519 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20520 and CLOCK_BOOTTIME_ALARM.
20521
7ea72f99
UD
20522 [BZ #12782]
20523 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20524 is returned.
20525
7e4afad5
UD
20526 * string/_strerror.c (__strerror_r): Print negative errors as signed
20527 numbers.
20528
8e211fec
UD
20529 [BZ #12777]
20530 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20531 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20532 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20533
f7d82dc9
UD
20534 * configure.in: Fix typo in redirection and correct removal of test
20535 files in two cases.
20536
cc9e536d
UD
20537 [BZ #12788]
20538 * locale/setlocale.c (new_composite_name): Fix test to check for
20539 identical name of all categories.
20540
aec84f53
UD
20541 [BZ #12792]
20542 * libio/filedoalloc.c (local_isatty): New function.
20543 (_IO_file_doallocate): Use local_isatty.
20544 * stdio-common/perror.c (perror): In case a new stream is used
20545 forward the stream error.
20546 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20547 error flag.
20548
78e64fdc
RT
205492011-05-20 Ulrich Drepper <drepper@gmail.com>
20550
34a9094f
UD
20551 [BZ #11869]
20552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20553 alloca.
20554 * include/alloca.h (extend_alloca_account): Define.
20555
78e64fdc
RT
20556 [BZ #11857]
20557 * posix/regex.h: Fix comments with documentation of user-accessible
20558 fields after compilation and describe correct free'ing of pattern
20559 after re_compile_pattern.
20560 Patch by Reuben Thomas <rrt@sc3d.org>.
20561
457bddfc
RA
205622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20563
20564 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20565 and -mno-altivec to prevent the compiler from using Altivec and/or
20566 VSX instructions when the corresponding registers are not available.
20567
a4527b51
AS
205682011-05-19 Andreas Schwab <schwab@redhat.com>
20569
20570 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20571
ed690b2f
UD
205722011-05-19 Ulrich Drepper <drepper@gmail.com>
20573
20574 * libio/freopen.c (freopen): Use __dup2, not dup2.
20575 * libio/freopen64.c (freopen64): Likewise.
20576
8db73634
L
205772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20578
20579 [BZ #12775]
20580 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20581 * math/Makefile (tests): Add test-powl.
20582 (CFLAGS-test-powl.c): Define.
20583 * math/test-powl.c: New file.
20584
0a197a9d
L
205852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20586
20587 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20588
ee30c380
UD
205892011-05-17 Ulrich Drepper <drepper@gmail.com>
20590
20591 [BZ #11837]
20592 * iconvdata/gb18030.c: Update to GB18020-2005.
20593
6ce75379
UD
205942011-05-16 Ulrich Drepper <drepper@gmail.com>
20595
a4b89fd8
AR
20596 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20597 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20598 Patch by Aharon Robbins <arnold@skeeve.com>.
20599
ea389b12
UD
20600 [BZ #11892]
20601 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20602 on the stack.
20603
68a3f91f
UD
20604 [BZ #11895]
20605 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20606 through underflows.
20607
15cc7dd1
UD
20608 [BZ #12766]
20609 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20610 point to strings before performing equality test for error_one_per_line
20611 mode.
20612
f3799213
UD
20613 [BZ #11697]
20614 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20615
d79a9c94
UD
20616 [BZ #11820]
20617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20618 (struct user_fpregs_struct): Avoid __uint*_t types.
20619
56e5eb46
UD
20620 [BZ #6420]
20621 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20622 symbol info. Use it instead of calling _dl_addr locally.
20623 (lock_and_info): New function.
20624 (tr_freehook): Call lock_and_info and pass symbol info as additional
20625 parameter to tr_where.
20626 (tr_mallochook): Likewise.
20627 (tr_reallochook): Likewise.
20628 (tr_memalignhook): Likewise.
20629
6ce75379
UD
20630 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20631 used and couldn't be at all thread-safe.
20632
f8a3b5bf
UD
206332011-05-15 Ulrich Drepper <drepper@gmail.com>
20634
94b7cc37
UD
20635 * libio/freopen.c (freopen): Don't close old file descriptor
20636 before the new one is opened. Instead dup the new file descriptor
20637 to the old one after the new stream is created.
20638 * libio/freopen64.c (freopen64): Likewise.
20639 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20640 * libio/fileops.c (_IO_new_file_close_it): Handle new
20641 _IO_FLAGS2_NOCLOSE flag.
20642 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20643 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20644 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20645 _IO_FLAGS2_NOCLOSE flag.
20646 * include/unistd.h: Add hidden_proto for dup3.
20647 Define __have_dup3.
20648 * io/dup3.c: Define hidden symbol.
20649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20650
bd25564e
UD
20651 [BZ #7101]
20652 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20653 when an incomplete long option is used.
20654 * posix/tst-getopt_long1.c: New file.
20655 * posix/Makefile (tests): Add tst-getopt_long1.
20656
c84cfef4
UD
20657 [BZ #10138]
20658 * scripts/config.guess: Update from autoconf-2.68.
20659 * scripts/config.sub: Likewise.
20660
3b85df27
UD
20661 [BZ #10157]
20662 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20663 tests into ...
20664 (has_cpuclock): ...this. New function.
20665 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20666 macro here based on has_cpuclock code.
20667
15a856b1
UD
20668 [BZ #10149]
20669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20670 First byte (not low byte) is now always NUL.
20671 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20672
05f399e6
UD
20673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20674 Use non-cancelable interfaces.
20675
10a52685 20676 [BZ #9809]
94ecc67d
UD
20677 * locale/iso-639.def: Add entry for Sorani.
20678
f8a3b5bf
UD
20679 [BZ #11901]
20680 * include/stdlib.h: Move include protection to the right place.
20681 Define abort_msg_s. Declare __abort_msg with it.
20682 * stdlib/abort.c (__abort_msg): Adjust type.
20683 * assert/assert.c (__assert_fail_base): New function. Majority
20684 of code from __assert_fail. Allocate memory for __abort_msg with
20685 mmap.
20686 (__assert_fail): Now call __assert_fail_base.
20687 * assert/assert-perr.c: Remove bulk of implementation. Use
20688 __assert_fail_base.
20689 * include/assert.hL Declare __assert_fail_base.
20690 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20691 mmap.
20692 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20693
1af4e298
UD
206942011-05-14 Ulrich Drepper <drepper@gmail.com>
20695
f8a3b5bf 20696 [BZ #11952]
d26dfc60
MG
20697 [BZ #12453]
20698 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20699 until all modules are registered in the DTV.
20700 * elf/Makefile: Add rules to build and run tst-tls19.
20701 * elf/tst-tls19.c: New file.
20702 * elf/tst-tls19mod1.c: New file.
20703 * elf/tst-tls19mod2.c: New file.
20704 * elf/tst-tls19mod3.c: New file.
20705 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20706
2fc54d6f
UD
20707 [BZ #12083]
20708 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20709 correctly.
20710
98d76b46
UD
20711 [BZ #12601]
20712 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20713 two-byte sequence errors.
20714 * iconvdata/Makefile (tests): Add bug-iconv8.
20715 * iconvdata/bug-iconv8.c: New file.
20716
da3c19ef
UD
20717 [BZ #12626]
20718 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20719 buf2 definition.
20720
ca408c15
UD
20721 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20722
d6f67f7d
UD
20723 [BZ #12432]
20724 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20725 (dummy_getcfa): New function.
20726 (init): Get _Unwind_GetCFA address, use dummy if not found.
20727 (backtrace_helper): In recursion check, also check whether CFA changes.
20728 (__backtrace): Completely initialize arg.
20729
1af4e298 20730 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20731 storing incomplete byte sequence in state object. Avoid testing for
20732 guaranteed too small input if we know there is enough data available.
1af4e298 20733
da62f81b
AS
207342011-05-11 Andreas Schwab <schwab@redhat.com>
20735
20736 * Makeconfig (+link-pie): Indent.
20737 * Rules (binaries-pie): Define if $(have-fpie) and
20738 $(build-shared).
20739 (binaries-shared): Also filter out $(binaries-pie).
20740 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20741 * nscd/Makefile (others-pie): Add nscd.
20742 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20743 ($(objpfx)nscd): Remove command override.
20744 * login/Makefile (others-pie): Add pt_chown.
20745 ($(objpfx)pt_chown): Remove command override.
20746 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20747 remove command overrides.
20748
fcabc0f8
UD
207492011-05-13 Ulrich Drepper <drepper@gmail.com>
20750
20030ae6
UD
20751 * libio/tst_putwc.c: Fix error messages.
20752
fcabc0f8
UD
20753 [BZ #12724]
20754 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20755 currently writing and seek to current position when not.
20756 * libio/Makefile (tests): Add bug-fclose1.
20757 * libio/bug-fclose1.c: New file.
20758
320a5dc0
PB
207592011-05-12 Ulrich Drepper <drepper@gmail.com>
20760
20761 [BZ #12511]
20762 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20763 don't set DF_1_NODELETE here.
20764 (do_lookup_x): When entering new entry test for copy relocation
20765 and if necessary set DF_1_NODELETE flag.
20766 * elf/tst-unique4.cc: New file.
20767 * elf/tst-unique4.h: New file.
20768 * elf/tst-unique4lib.cc: New file.
20769 * elf/Makefile: Add rules to build and run tst-unique4.
20770 Patch by Piotr Bury <pbury@goahead.com>.
20771
22836f52
UD
207722011-05-11 Ulrich Drepper <drepper@gmail.com>
20773
f574184a
UD
20774 [BZ #12052]
20775 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20776
e1fb097f
UD
20777 [BZ #12625]
20778 * misc/mntent_r.c (addmntent): Flush the stream after the output
20779
22836f52
UD
20780 [BZ #12393]
20781 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20782 (is_trusted_path_normalize): Skip initial colon. Append slash
20783 to empty buffer. Duplicate is_trusted_path code but allow
20784 constructed patch to be prefix.
20785 (is_dst): Allow $ORIGIN followed by /.
20786 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20787 Correct testing of result of is_trusted_path_normalize
20788 (decompose_rpath): Fix warning.
20789
7b3b0b2a
UD
207902011-05-10 Ulrich Drepper <drepper@gmail.com>
20791
20792 [BZ #11257]
20793 * grp/initgroups.c (internal_getgrouplist): When we found the service
20794 list through the initgroups entry in nsswitch.conf do not always
20795 continue on a successful lookup. Don't always use the
eac80ce2 20796 __nss_group_database value if it is set.
7b3b0b2a
UD
20797 * nss/nsswitch.conf (initgroups): Change action for successful db
20798 lookup to continue for compatibility.
20799
2a81eaa5
UD
208002011-05-09 Ulrich Drepper <drepper@gmail.com>
20801
be97a69e
UD
20802 [BZ #11532]
20803 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20804 and CP774 modules.
20805 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20806 and CP774 modules.
20807 * iconvdata/tst-tables.sh: Likewise.
20808 * iconvdata/cp770.c: New file.
20809 * iconvdata/cp771.c: New file.
20810 * iconvdata/cp772.c: New file.
20811 * iconvdata/cp773.c: New file.
20812 * iconvdata/cp774.c: New file.
20813 * iconvdata/testdata/CP770: New file.
20814 * iconvdata/testdata/CP770..UTF8: New file.
20815 * iconvdata/testdata/CP771: New file.
20816 * iconvdata/testdata/CP771..UTF8: New file.
20817 * iconvdata/testdata/CP772: New file.
20818 * iconvdata/testdata/CP772..UTF8: New file.
20819 * iconvdata/testdata/CP773: New file.
20820 * iconvdata/testdata/CP773..UTF8: New file.
20821 * iconvdata/testdata/CP774: New file.
20822 * iconvdata/testdata/CP774..UTF8: New file.
20823
20824 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20825 END CHARMAP line.
20826 * iconvdata/gen-8bit-gap.sh: Likewise.
20827 * iconvdata/gen-8bit.sh: Likewise.
20828
c1e9e399
UD
20829 * locale/iso-639.def: Add ary entry.
20830
24c55fb3 20831 [BZ #11258]
96b4b1b0
UD
20832 * locale/C-translit.h.in: Add U20A1 transliteration.
20833
bdc2f971
KB
20834 [BZ #12178]
20835 * locale/iso-639.def: Add wae entry.
20836 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20837
2952b117
UD
20838 [BZ #12545]
20839 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20840 for n.
20841
2a81eaa5
UD
20842 [BZ #12711]
20843 * locale/C-translit.h.in: Add entry for U20B9.
20844 Patch by pravin.d.s@gmail.com.
20845
28377d1b
UD
208462011-05-08 Ulrich Drepper <drepper@gmail.com>
20847
7fb90fb8
UD
20848 [BZ #12713]
20849 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20850 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20851 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20852 in rtld. Use *stat64.
7fb90fb8 20853 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20854 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20855 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20856 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20857 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20858 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20859 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20860 __fstatat64 macros.
7fb90fb8
UD
20861 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20862 * dirent/rewinddir.c: Add libc_hidden_def.
20863 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20864 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20865
28377d1b
UD
20866 * include/dirent.h (__alloc_dir): Add flags parameter.
20867 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20868 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20869 __alloc_dir.
20870 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20871 from fdopendir if O_CLOEXEC is already set.
20872
66bdbaa4
AM
208732011-03-15 Alan Modra <amodra@gmail.com>
20874
20875 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20876 l_tls_firstbyte_offset non-zero. Save padding offset in
20877 l_tls_firstbyte_offset for later use.
20878 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20879 freeing static tls block.
20880
95721191
JN
208812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20882
20883 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20884 where #ifdef was intended. The intent is to prevent ARG_MAX from
20885 being defined by the kernel headers.
20886
f87dfb1f
UD
208872011-05-07 Ulrich Drepper <drepper@gmail.com>
20888
20889 [BZ #12734]
20890 * resolv/resolv.h: Define RES_NOTLDQUERY.
20891 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20892 no-tld-query and set RES_NOTLDQUERY.
20893 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20894 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20895 modern BIND to search name as TLD unless forbidden.
20896
47c3cd7a
UD
208972011-05-07 Petr Baudis <pasky@suse.cz>
20898 Ulrich Drepper <drepper@gmail.com>
20899
20900 [BZ #12393]
20901 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20902 (is_trusted_path): ...to here.
c1e9ea35 20903 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20904 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20905 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20906
8a35c912
PP
209072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20908
20909 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20910 __BEGIN/__END_DECLS.
20911
acd41f47
UD
209122011-05-06 Ulrich Drepper <drepper@gmail.com>
20913
20914 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20915 NSS_STATUS_NOTFOUND if no record was found.
20916
597df647
AS
209172011-05-05 Andreas Schwab <schwab@redhat.com>
20918
20919 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20920 (headers-not-in-tirpc): Remove rpc/netdb.h
20921 * resolv/netdb.h: Revert last change.
20922
b9af1301
PP
209232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20924
20925 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20926 circular dependency between libgcc.a and libc.a.
20927
4e34d5f5
AS
209282011-05-05 Andreas Schwab <schwab@redhat.com>
20929
20930 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20931 * nis/Makefile: Don't install rpcsvc/*.
20932 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20933 instead of <rpc/types.h>.
20934 (MAXHOSTNAMELEN): Define.
20935
00ee369c
AS
209362011-05-03 Andreas Schwab <schwab@redhat.com>
20937
20938 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20939
0b592a30
MB
209402011-04-28 Maciej Babinski <mbabinski@google.com>
20941
20942 [BZ #12714]
20943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20944 gethostbyname4_r when IPv6 results are possible.
20945
6e04cbbe
UD
209462011-05-02 Ulrich Drepper <drepper@gmail.com>
20947
20948 [BZ #12723]
20949 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20950 _PC_PIPE_BUF handling.
20951
e4ecafe0
BH
209522011-04-30 Bruno Haible <bruno@clisp.org>
20953
20954 [BZ #12717]
20955 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20956 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20957 to 'int'.
20958 * inet/getnameinfo.c (getnameinfo): Likewise.
20959
125ee683
UD
209602011-04-29 Ulrich Drepper <drepper@gmail.com>
20961
20962 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20963 to groups setting in database lookup.
20964 * nss/nsswitch.conf: Add initgroups entry.
20965
b722481a
EB
209662011-04-22 Ulrich Drepper <drepper@gmail.com>
20967
20968 [BZ #12685]
20969 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20970 mode string.
20971 Patch by Eric Blake <eblake@redhat.com>.
20972
4df46dbd
L
209732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20974
20975 * sunrpc/Makefile (need-export-routines): Add svc_run.
20976 (routines): Remove svc_run.
20977 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20978 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20979 * sunrpc/svc_run.c (svc_run): Likewise.
20980 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20981
e84142d2
UD
209822011-04-21 Ulrich Drepper <drepper@gmail.com>
20983
20984 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20985 problem in reallocation in last patch.
20986
877175d8
UD
209872011-04-20 Ulrich Drepper <drepper@gmail.com>
20988
20989 * sunrpc/Makefile: Move inclusion of Rules.
20990
ab8eed78
UD
209912011-04-19 Ulrich Drepper <drepper@gmail.com>
20992
20993 * nss/nss_files/files-initgroups.c: New file.
20994 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20995 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20996 _nss_files_initgroups_dyn.
20997
e3d8f584
RS
209982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20999
21000 * elf/elf.h (R_ARM_IRELATIVE): Define.
21001
af190f45
UD
210022011-04-19 Ulrich Drepper <drepper@gmail.com>
21003
21004 * po/ru.po: Update from translation team.
21005
53cf59ef
UD
210062011-04-17 Ulrich Drepper <drepper@gmail.com>
21007
21008 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21009 dependencies.
21010
4c559bcd
MF
210112011-02-06 Mike Frysinger <vapier@gentoo.org>
21012
21013 [BZ #12653]
21014 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21015 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21017 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21018 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21019
4420675c
AS
210202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21021
21022 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21023 differing bytes.
21024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21026 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21027
75ea32ab
UD
210282011-04-17 Ulrich Drepper <drepper@gmail.com>
21029
21030 [BZ #12420]
21031 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21032 storing it.
21033 * stdlib/bug-getcontext.c: New file.
21034 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21035
27390476
AK
210362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21037
21038 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21039 instructions into .machine "z9-109".
21040 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21041 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21042
10442705
AK
210432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21044
21045 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21046 between environment variables and auxiliary vector.
21047
7b57bfe5
UD
210482011-04-16 Ulrich Drepper <drepper@gmail.com>
21049
21050 * Makefile: Add rules to build linkobj/libc.so.
21051 * include/libc-symbols.h: Define libc_hidden_nolink.
21052 * include/rpc/auth.h: Mark functions which are to be hidden.
21053 * include/rpc/auth_des.h: Likewise.
21054 * include/rpc/auth_unix.h: Likewise.
21055 * include/rpc/clnt.h: Likewise.
21056 * include/rpc/des_crypt.h: Likewise.
21057 * include/rpc/key_prot.h: Likewise.
21058 * include/rpc/pmap_clnt.h: Likewise.
21059 * include/rpc/pmap_prot.h: Likewise.
21060 * include/rpc/pmap_rmt.h: Likewise.
21061 * include/rpc/rpc_msg.h: Likewise.
21062 * include/rpc/svc.h: Likewise.
21063 * include/rpc/svc_auth.h: Likewise.
21064 * include/rpc/xdr.h: Likewise.
21065 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21066 * nss/Makefile: Likewise.
21067 * sunrpc/Makefile: Don't install headers. Build library with normal
21068 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21069 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21070 for the compat linking library. Remove use of INTDEF/INTUSE.
21071 * sunrpc/auth_none.c: Likewise.
21072 * sunrpc/auth_unix.c: Likewise.
21073 * sunrpc/authdes_prot.c: Likewise.
21074 * sunrpc/authuxprot.c: Likewise.
21075 * sunrpc/clnt_gen.c: Likewise.
21076 * sunrpc/clnt_perr.c: Likewise.
21077 * sunrpc/clnt_raw.c: Likewise.
21078 * sunrpc/clnt_simp.c: Likewise.
21079 * sunrpc/clnt_tcp.c: Likewise.
21080 * sunrpc/clnt_udp.c: Likewise.
21081 * sunrpc/clnt_unix.c: Likewise.
21082 * sunrpc/des_crypt.c: Likewise.
21083 * sunrpc/des_soft.c: Likewise.
21084 * sunrpc/get_myaddr.c: Likewise.
21085 * sunrpc/key_call.c: Likewise.
21086 * sunrpc/key_prot.c: Likewise.
21087 * sunrpc/netname.c: Likewise.
21088 * sunrpc/pm_getmaps.c: Likewise.
21089 * sunrpc/pm_getport.c: Likewise.
21090 * sunrpc/pmap_clnt.c: Likewise.
21091 * sunrpc/pmap_prot.c: Likewise.
21092 * sunrpc/pmap_prot2.c: Likewise.
21093 * sunrpc/pmap_rmt.c: Likewise.
21094 * sunrpc/publickey.c: Likewise.
21095 * sunrpc/rpc_cmsg.c: Likewise.
21096 * sunrpc/rpc_common.c: Likewise.
21097 * sunrpc/rpc_dtable.c: Likewise.
21098 * sunrpc/rpc_prot.c: Likewise.
21099 * sunrpc/rpc_thread.c: Likewise.
21100 * sunrpc/rtime.c: Likewise.
21101 * sunrpc/svc.c: Likewise.
21102 * sunrpc/svc_auth.c: Likewise.
21103 * sunrpc/svc_authux.c: Likewise.
21104 * sunrpc/svc_raw.c: Likewise.
21105 * sunrpc/svc_run.c: Likewise.
21106 * sunrpc/svc_simple.c: Likewise.
21107 * sunrpc/svc_tcp.c: Likewise.
21108 * sunrpc/svc_udp.c: Likewise.
21109 * sunrpc/svc_unix.c: Likewise.
21110 * sunrpc/svcauth_des.c: Likewise.
21111 * sunrpc/xcrypt.c: Likewise.
21112 * sunrpc/xdr.c: Likewise.
21113 * sunrpc/xdr_array.c: Likewise.
21114 * sunrpc/xdr_float.c: Likewise.
21115 * sunrpc/xdr_intXX_t.c: Likewise.
21116 * sunrpc/xdr_mem.c: Likewise.
21117 * sunrpc/xdr_rec.c: Likewise.
21118 * sunrpc/xdr_ref.c: Likewise.
21119 * sunrpc/xdr_sizeof.c: Likewise.
21120 * sunrpc/xdr_stdio.c: Likewise.
21121
e6c61494
UD
211222011-04-10 Ulrich Drepper <drepper@gmail.com>
21123
21124 [BZ #12650]
21125 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21126 * sysdeps/ia64/dl-tls.h: Likewise.
21127 * sysdeps/powerpc/dl-tls.h: Likewise.
21128 * sysdeps/s390/dl-tls.h: Likewise.
21129 * sysdeps/sh/dl-tls.h: Likewise.
21130 * sysdeps/sparc/dl-tls.h: Likewise.
21131 * sysdeps/x86_64/dl-tls.h: Likewise.
21132 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21133
34fe483e
AS
211342011-03-14 Andreas Schwab <schwab@redhat.com>
21135
21136 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21137 rpath element also skip the following colon.
21138 (expand_dynamic_string_token): Add is_path parameter and pass
21139 down to DL_DST_REQUIRED and _dl_dst_substitute.
21140 (decompose_rpath): Call expand_dynamic_string_token with
21141 non-zero is_path. Ignore empty rpaths.
21142 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21143 with zero is_path.
21144
f12a32e6
AS
211452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21146
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21148 Make cancelable.
21149
38a7d692
UD
211502011-04-09 Ulrich Drepper <drepper@gmail.com>
21151
21152 [BZ #12655]
21153 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21154 Patch by Filipe David Manana <fdmanana@apache.org>.
21155
e451d22b
AS
211562011-04-07 Andreas Schwab <schwab@redhat.com>
21157
21158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21159 Maintain aligned stack.
21160 (CHECK_RSP): Remove unused macro.
21161
dedc7c7b
UD
211622011-04-03 Ulrich Drepper <drepper@gmail.com>
21163
21164 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21166
94521213
UD
211672011-04-02 Ulrich Drepper <drepper@gmail.com>
21168
21169 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21170
8cb700c0 21171 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21172
0354e355
L
211732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21174
21175 [BZ #12518]
21176 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21177 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21178 * sysdeps/x86_64/memmove.c: New file.
21179 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21180 (memcpy): Renamed to ...
21181 (__new_memcpy): This.
21182 (memcpy): Provide GLIBC_2_14 memcpy.
21183 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21184 (memcpy): Provide GLIBC_2_2_5 memcpy.
21185
8593482f
UD
211862011-04-01 Ulrich Drepper <drepper@gmail.com>
21187
21188 [BZ #12631]
21189 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21190
81a5726b
AS
211912011-03-30 Andreas Schwab <schwab@redhat.com>
21192
21193 * misc/syncfs.c: New file.
21194 * misc/Makefile (routines): Add syncfs.
21195 * posix/unistd.h: Declare syncfs.
21196 * sysdeps/unix/syscalls.list: Add syncfs.
21197
00e5419f
AS
211982011-04-01 Andreas Schwab <schwab@redhat.com>
21199
21200 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21201 open_by_handle_at.
21202 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21203 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21207 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21209
748876bf
UD
212102011-04-01 Ulrich Drepper <drepper@gmail.com>
21211
658e451d
UD
21212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21213 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21214 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21218 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21219
748876bf
UD
21220 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21221 sync_file_range.c with -fexceptions.
21222 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21223 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21224 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21225 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21226 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21227 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21229 sync_file_range as cancellation point
21230 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21231 now a wrapper around __call_sync_file_range with cancellation handling.
21232 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21233 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21234 function name to __call_sync_file_range.
21235 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21236 Add call_sync_file_range.
748876bf 21237
6e63d5e1
AS
212382011-04-01 Andreas Schwab <schwab@redhat.com>
21239
21240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21241 bits/timex.h.
6e63d5e1 21242
46998f74
UD
212432011-04-01 Ulrich Drepper <drepper@gmail.com>
21244
4c1423ed
UD
21245 * iconv/iconv.h: Fix typo in comment.
21246 * io/fcntl.h: Likewise.
21247 * libio/stdio.h: Likewise.
21248 * posix/spawn.h: Likewise.
21249 * posix/unistd.h: Likewise.
21250 * stdlib/stdlib.h: Likewise.
21251 * time/time.h: Likewise.
21252 * wcsmbs/wchar.h: Likewise.
21253
158648c0
UD
21254 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21255 open_by_handle): Add.
21256 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21257 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21258 Augment a few comments.
21259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21264 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21265 open_by_handle.
21266
46998f74
UD
21267 * io/fcntl.h (AT_EMPTY_PATH): Define.
21268
83fe108b
UD
212692011-03-30 Ulrich Drepper <drepper@gmail.com>
21270
21271 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21272 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21273 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21274 to...
21275 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21276 * Versions.def: Add GLIBC_2.14.
21277 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21278 Export.
83fe108b 21279
bb242059
UD
212802011-03-22 Ulrich Drepper <drepper@gmail.com>
21281
21282 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21283 round counter.
21284 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21285
c97a1282
L
212862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21287
21288 [BZ #12597]
21289 * string/test-strncmp.c (do_page_test): New function.
21290 (check2): Likewise.
21291 (test_main): Call check2.
21292 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21293
2a115601
UD
212942011-03-20 Ulrich Drepper <drepper@gmail.com>
21295
21296 [BZ #12587]
21297 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21298 Handle cache information in CPU leaf 4.
21299 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21300
8126d904
UD
213012011-03-18 Ulrich Drepper <drepper@gmail.com>
21302
042c49c6 21303 [BZ #12583]
8126d904
UD
21304 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21305 character representation.
21306 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21307
ccfe366e
RA
213082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21309
21310 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21311 END(__isnan) to END(__isnanf) to match function entry point/label
21312 EALIGN(__isnanf,...).
21313
c6e13027
JJ
213142011-03-10 Jakub Jelinek <jakub@redhat.com>
21315
21316 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21317
33f85a3f
UD
213182011-03-10 Ulrich Drepper <drepper@gmail.com>
21319
028478fa
UD
21320 [BZ #12510]
21321 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21322 copy from the symbol referenced in the relocation to initialize the
21323 used variable.
21324 Patch by Piotr Bury <pbury@goahead.com>.
21325 * elf/Makefile: Add rules to build and tst-unique3.
21326 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21327 * elf/tst-unique3.cc: New file.
21328 * elf/tst-unique3.h: New file.
21329 * elf/tst-unique3lib.cc: New file.
21330 * elf/tst-unique3lib2.cc: New file.
21331
33f85a3f
UD
21332 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21333
03592fc7
MF
213342011-03-10 Mike Frysinger <vapier@gentoo.org>
21335
21336 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21337 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21338 to _start.
03592fc7 21339
6a5ee102
UD
213402011-03-06 Ulrich Drepper <drepper@gmail.com>
21341
21342 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21343 to-be-loaded object along a path to loader is ld.so.
21344
7e4ba49c
HJ
213452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21346 Ulrich Drepper <drepper@gmail.com>
21347
21348 * sysdeps/x86_64/memset.S: After aligning destination, code
21349 branches to different locations depending on the value of
21350 misalignment, when multiarch is enabled. Fix this.
21351
213522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21353
21354 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21355 Set _x86_64_preferred_memory_instruction for AMD processsors.
21356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21357 Set bit_Prefer_SSE_for_memop for AMD processors.
21358
13a804de
UD
213592011-03-04 Ulrich Drepper <drepper@gmail.com>
21360
21361 * libio/fmemopen.c (fmemopen): Optimize a bit.
21362
9d25c392
AS
213632011-03-03 Andreas Schwab <schwab@redhat.com>
21364
21365 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21366
a5543c6a
RM
213672011-03-03 Roland McGrath <roland@redhat.com>
21368
21369 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21370
012d35f7
DM
213712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21372
7e4ba49c 21373 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21374 __bzero_ultra1 instead of __memset_ultra1.
21375
4bff6e01
AS
213762011-02-23 Andreas Schwab <schwab@redhat.com>
21377 Ulrich Drepper <drepper@gmail.com>
21378
21379 [BZ #12509]
21380 * include/link.h (struct link_map): Add l_orig_initfini.
21381 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21382 returning unsuccessfully.
21383 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21384 close of a file loaded at startup, restore the original l_initfini
21385 list.
21386 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21387 list, store the pointer.
21388 * elf/Makefile ($(objpfx)noload-mem): New rule.
21389 (noload-ENV): Define.
21390 (tests): Add $(objpfx)noload-mem.
21391 * elf/noload.c: Include <memcheck.h>.
21392 (main): Call mtrace. Close all opened handles.
21393
f2092faf
AS
213942011-02-17 Andreas Schwab <schwab@redhat.com>
21395
21396 [BZ #12454]
21397 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21398 dependencies are missing.
21399
6c8a2e88
ST
214002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21401
f2092faf 21402 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21403 Hurd needs munmap.
21404 * sysdeps/mach/hurd/ifreq.h: New file.
21405
84a42118
PB
214062011-01-27 Petr Baudis <pasky@suse.cz>
21407 Ulrich Drepper <drepper@gmail.com>
21408
071f805e 21409 [BZ 12445]#
84a42118
PB
21410 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21411 to extend_alloca().
21412 * stdio-common/bug23.c: New file.
21413 * stdio-common/Makefile (tests): Add bug23.
21414
e23fe25b
AS
214152010-09-28 Andreas Schwab <schwab@redhat.com>
21416 Ulrich Drepper <drepper@gmail.com>
21417
21418 [BZ #12489]
21419 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21420 before performing relro protection. At old place add assertion
21421 to make sure nothing changed.
21422
d3f02e10
NS
214232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21424 Glauber de Oliveira Costa <glommer@gmail.com>
21425
21426 * elf/elf.h: Add new ARM TLS relocs.
21427
d55fd7a5
RA
214282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21429
21430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21431 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21432 cast from r3.
21433 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21434 'tests' variable.
21435 * sysdeps/wordsize-64/tst-writev.c: New file.
21436
2206397e
RA
214372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21438
21439 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21440 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21441 insns in _dl_start to prevent a TOC reference before relocs are
21442 resolved.
21443
e9433893
UD
214442011-02-15 Ulrich Drepper <drepper@gmail.com>
21445
21446 [BZ #12469]
21447 * Makeconfig: Remove RANLIB definition.
21448 * Makerules: Don't use RANLIB.
21449 * aclocal.m4: Remove ranlib test.
21450 * configure.in: No need to check for ranlib.
21451 * elf/rtld-Rules: Don't use RANLIB.
21452
f75286c6
ST
214532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21454
8e31c82d
ST
21455 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21456 protection macro.
21457 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21458 inclusion protection macro.
21459
f75286c6
ST
21460 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21461 SIGRTMIN and SIGRTMAX and print information in that case only when
21462 SIGRTMIN is defined.
21463
c1d0e639
JJ
214642011-02-11 Jakub Jelinek <jakub@redhat.com>
21465
21466 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21467 arginfo fn returning -1.
21468
21469 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21470 and thousands string is zero terminated.
21471
edf9294e
AS
214722011-02-03 Andreas Schwab <schwab@redhat.com>
21473
21474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21475 sysdeps/unix/sysv/linux/bits/socket.h.
21476
2b7e92df
ST
214772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21478
edf9294e
AS
21479 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21480 (__CPU_COUNT): Remove old macros.
21481 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21482 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21483 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21484 (__sched_cpualloc, __sched_cpufree): Add declarations.
21485
a4c7ea7b
UD
214862011-02-05 Ulrich Drepper <drepper@gmail.com>
21487
21488 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21489 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21490 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21491 (readdhstai): Return value of addhstaiX call.
21492 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21493 (addgrbyX): Return value returned by cache_addgr.
21494 (readdgrbyname): Return value returned by addgrbyX.
21495 (readdgrbygid): Likewise.
21496 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21497 (addpwbyX): Return value returned by cache_addpw.
21498 (readdpwbyname): Return value returned by addhstbyX.
21499 (readdpwbyuid): Likewise.
21500 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21501 (addservbyX): Return value returned by cache_addserv.
21502 (readdservbyname): Return value returned by addservbyX:
21503 (readdservbyport): Likewise.
21504 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21505 (addhstbyX): Return value returned by cache_addhst.
21506 (readdhstbyname): Return value returned by addhstbyX.
21507 (readdhstbyaddr): Likewise.
21508 (readdhstbynamev6): Likewise.
21509 (readdhstbyaddrv6): Likewise.
21510 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21511 (readdinitgroups): Return value returned by addinitgroupsX.
21512 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21513 (prune_cache): Keep track of timeout value of re-added entries.
21514 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21515 * nscd/nscd.h: Adjust prototypes of readd* functions.
21516
a0bf67cc
RM
215172011-02-04 Roland McGrath <roland@redhat.com>
21518
21519 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21520 (nis_stats): Likewise.
21521 * nis/nis_modify.c (nis_modify): Likewise.
21522 * nis/nis_remove.c (nis_remove): Likewise.
21523 * nis/nis_add.c (nis_add): Likewise.
21524
21525 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21526
21527 * posix/fnmatch_loop.c: Add some consts.
21528
21529 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21530
435b95eb
L
215312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21532
21533 [BZ #12460]
21534 * config.make.in (config-cflags-novzeroupper): Define.
21535 * configure.in: Substitute libc_cv_cc_novzeroupper.
21536 * elf/Makefile (AVX-CFLAGS): Define.
21537 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21538 (CFLAGS-tst-auditmod4a.c): Likewise.
21539 (CFLAGS-tst-auditmod4b.c): Likewise.
21540 (CFLAGS-tst-auditmod6b.c): Likewise.
21541 (CFLAGS-tst-auditmod6c.c): Likewise.
21542 (CFLAGS-tst-auditmod7b.c): Likewise.
21543 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21544
8517b15e
UD
215452011-02-02 Ulrich Drepper <drepper@gmail.com>
21546
21547 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21548 function to the callback.
21549 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21550
10a656fe
AS
215512011-02-02 Andreas Schwab <schwab@redhat.com>
21552
21553 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21554 of errno.
21555
968dad0a
UD
215562011-01-19 Ulrich Drepper <drepper@gmail.com>
21557
9f94d2ea 21558 [BZ #11724]
968dad0a
UD
21559 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21560 of constructors.
21561 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21562 of destructors.
21563 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21564
21565 [BZ #11724]
21566 * elf/Makefile: Add rules to build and run new test.
21567 * elf/tst-initorder.c: New file.
21568 * elf/tst-initorder.exp: New file.
21569 * elf/tst-initordera1.c: New file.
21570 * elf/tst-initordera2.c: New file.
21571 * elf/tst-initordera3.c: New file.
21572 * elf/tst-initordera4.c: New file.
21573 * elf/tst-initorderb1.c: New file.
21574 * elf/tst-initorderb2.c: New file.
21575 * elf/tst-order-a1.c: New file.
21576 * elf/tst-order-a2.c: New file.
21577 * elf/tst-order-a3.c: New file.
21578 * elf/tst-order-a4.c: New file.
21579 * elf/tst-order-b1.c: New file.
21580 * elf/tst-order-b2.c: New file.
21581 * elf/tst-order-main.c: New file.
21582 New test case by George Gensure <werkt0@gmail.com>.
21583
86e92359
UD
215842010-10-01 Andreas Schwab <schwab@redhat.com>
21585
21586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21587 decoding ACE if AI_CANONIDN.
21588
5d5732b0
UD
215892011-01-18 Ulrich Drepper <drepper@gmail.com>
21590
21591 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21592
a77e8cbc
UD
215932011-01-17 Ulrich Drepper <drepper@gmail.com>
21594
6392473f
UD
21595 * version.h (RELEASE): Bump for 2.13 release.
21596 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21597
620a0529
UD
21598 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21599
18ba70a5
UD
21600 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21601 MADV_NOHUGEPAGE.
32465c3e
UD
21602 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21603 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21604 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21605 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21606 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21608
c0dafcf1
UD
21609 * posix/getconf.c: Update copyright year.
21610 * catgets/gencat.c: Likewise.
21611 * csu/version.c: Likewise.
21612 * debug/catchsegv.sh: Likewise.
21613 * debug/xtrace.sh: Likewise.
21614 * elf/ldconfig.c: Likewise.
21615 * elf/ldd.bash.in: Likewise.
21616 * elf/sprof.c (print_version): Likewise.
21617 * iconv/iconv_prog.c: Likewise.
21618 * iconv/iconvconfig.c: Likewise.
21619 * locale/programs/locale.c: Likewise.
21620 * locale/programs/localedef.c: Likewise.
21621 * malloc/memusage.sh: Likewise.
21622 * malloc/mtrace.pl: Likewise.
21623 * nscd/nscd.c (print_version): Likewise.
21624 * nss/getent.c: Likewise.
21625
a77e8cbc
UD
21626 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21627 PF_CAIF, and PF_ALG.
21628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21629
77e8bddf
AS
216302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21631
1f20b93a
AS
21632 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21633 (modules-names): Use them.
21634 (ifunc-test-modules, ifunc-pie-tests): Define.
21635 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21636 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21637 (test-extras): Likewise.
21638 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21639 $(compile-command.c).
21640 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21641 (all-built-dso): Define.
21642 (check-textrel.out, check-execstack.out): Depend on it.
21643
77e8bddf
AS
21644 * configure.in: Don't override --enable-multi-arch.
21645
bc425b33
UD
216462011-01-15 Ulrich Drepper <drepper@gmail.com>
21647
21648 [BZ #6812]
21649 * nscd/hstcache.c (tryagain): Define.
21650 (cache_addhst): Return tryagain not notfound for temporary errors.
21651 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21652 failed.
21653
794c3ad3
UD
216542011-01-14 Ulrich Drepper <drepper@gmail.com>
21655
70181fdd
UD
21656 [BZ #10563]
21657 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21658 to make the syscall.
21659 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21660
794c3ad3
UD
21661 [BZ #12378]
21662 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21663 and fall back to matching as normal character if the string ends before
21664 the matching ']' is found. This is what POSIX requires.
21665 * posix/testfnm.c: Adjust test result.
21666 * posix/globtest.sh: Adjust test result. Add new test.
21667 * posix/tst-fnmatch.input: Likewise.
21668 * posix/tst-fnmatch2.c: Add new test.
21669
68dc9497
AS
216702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21671
21672 * elf/Makefile (check-execstack): Revert last change. Depend on
21673 check-execstack.h.
21674 (check-execstack.h): New target.
21675 (generated): Add check-execstack.h.
21676 * elf/check-execstack.c: Include "check-execstack.h".
21677 (main): Revert last change.
21678 (handle_file): Return zero if GNU_STACK is absent and
21679 DEFAULT_STACK_PERMS doesn't include PF_X.
21680
451f001b
UD
216812011-01-13 Ulrich Drepper <drepper@gmail.com>
21682
cfa28e56
UD
21683 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21684 in child fails because the descriptor is already closed.
8cf8ce17
UD
21685 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21686 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21687 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21688
1086d70d
UD
21689 [BZ #12397]
21690 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21691 syscall.
21692
451f001b
UD
21693 [BZ #10484]
21694 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21695 temporary buffer used to handle multi lookups locally.
a85b5cb4 21696 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21697
08769175
UD
216982011-01-12 Ulrich Drepper <drepper@gmail.com>
21699
21700 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21701 loader is ld.so.
21702
5e49c52e
UD
217032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21704
21705 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21706 alignment for SSE2.
21707
60522a5f
UD
217082011-01-12 Ulrich Drepper <drepper@gmail.com>
21709
21710 [BZ #12394]
21711 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21712 characters. When rounding increased number of integer digits recompute
21713 number of groups.
21714 * stdio-common/tst-grouping.c: New file.
21715 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21716
f257bbd7
UD
217172011-01-09 Ulrich Drepper <drepper@gmail.com>
21718
21719 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21720 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21721
21722 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21723 void.
21724 * bits/select.h: Likewise.
21725
fa9c15cb
UD
217262011-01-08 Ulrich Drepper <drepper@gmail.com>
21727
21728 * po/ja.po: Update from translation team.
21729
16c2895f
DM
217302011-01-04 David S. Miller <davem@sunset.davemloft.net>
21731
21732 [BZ #11155]
21733 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21734 implementation just like for lxstat, fxstatat, et al.
21735
2543fef2
JM
217362010-12-27 Jim Meyering <meyering@redhat.com>
21737
21738 [BZ #12348]
21739 * posix/regexec.c (build_trtable): Return failure indication upon
21740 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21741
98727dbe
UD
217422010-12-25 Ulrich Drepper <drepper@gmail.com>
21743
5bd6dc5c
UD
21744 [BZ #12201]
21745 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21746 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21747 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21749
97983464
UD
21750 [BZ #12207]
21751 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21752
98727dbe
UD
21753 [BZ #12204]
21754 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21755 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21756
4a531bb0
L
217572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21758
21759 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21760 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21761 script has SORT_BY_INIT_PRIORITY.
21762 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21763 NO_CTORS_DTORS_SECTIONS is defined.
21764 * elf/soinit.c: Likewise.
21765 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21766 NO_CTORS_DTORS_SECTIONS is defined.
21767 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21768 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21769 * sysdeps/sh/init-first.c: Likewise.
21770 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21771
07eb4b71
UD
217722010-12-24 Ulrich Drepper <drepper@gmail.com>
21773
21774 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21775 always use the slow path.
21776
30950a5f
RA
217772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21778
21779 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21780 similar rule which adds the sysdep directories to the header search in
21781 order to pick up the correct platform stackinfo.h.
21782 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21783 perform test if it is, otherwise return successfully without testing.
21784 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21785 DEFAULT_STACK_PERMS define in stackinfo.h.
21786 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21787 defined in stackinfo.h.
21788 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21789 DEFAULT_STACK_PERMS defined in stackinfo.h.
21790 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21791 * sysdeps/ia64/stackinfo.h: Likewise.
21792 * sysdeps/s390/stackinfo.h: Likewise.
21793 * sysdeps/sh/stackinfo.h: Likewise.
21794 * sysdeps/sparc/stackinfo.h: Likewise.
21795 * sysdeps/x86_64/stackinfo.h: Likewise.
21796 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21797 PF_X for powerpc64. Retain PF_X for powerpc32.
21798
db753e2c
UD
217992010-12-19 Ulrich Drepper <drepper@gmail.com>
21800
14b697f7
UD
21801 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21802 accurately.
db753e2c
UD
21803 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21804 GETDENTS_64BIT_ALIGNED.
21805
28300719
UD
218062010-12-14 Ulrich Drepper <dreper@gmail.com>
21807
14b697f7 21808 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21809
4f197237
AS
218102010-12-10 Andreas Schwab <schwab@redhat.com>
21811
dbb0472f
AS
21812 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21813 _GNU_SOURCE.
21814
4f197237
AS
21815 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21816 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21817 Remove __restrict.
21818 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21819 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21820
fb88ac72
UD
218212010-12-09 Ulrich Drepper <drepper@gmail.com>
21822
21823 [BZ #11655]
21824 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21825 are initialized.
21826
42acbb92
JJ
218272010-12-09 Jakub Jelinek <jakub@redhat.com>
21828
21829 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21830
c038d98d
UD
218312010-12-03 Ulrich Drepper <drepper@gmail.com>
21832
21833 * po/it.po: Update from translation team.
21834
3a4a2499
L
218352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21836
21837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21838 unused codes.
21839
1e24cf6e
UD
218402010-11-30 Ulrich Drepper <drepper@gmail.com>
21841
21842 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21843
a7690819
AS
218442010-11-24 Andreas Schwab <schwab@redhat.com>
21845
21846 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21847 specially.
21848 (gaih_getanswer_slice): Likewise.
21849
3bf8d1b1
JJ
218502010-10-20 Jakub Jelinek <jakub@redhat.com>
21851
21852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21853
6db52fbb
PB
218542010-05-31 Petr Baudis <pasky@suse.cz>
21855
21856 [BZ #11149]
21857 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21858 silently even in the chroot mode.
21859
eaca7569
UD
218602010-11-22 Ulrich Drepper <drepper@gmail.com>
21861
21862 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21863 last patch a bit. Pretty printing
21864
3056dcdb
UD
218652010-05-31 Petr Baudis <pasky@suse.cz>
21866
21867 [BZ #10085]
21868 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21869 initialization of skip_initgroups_dyn.
21870
cf7c9078
UD
218712010-11-19 Ulrich Drepper <drepper@gmail.com>
21872
21873 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21875
a1fb5e3e
UD
218762010-11-16 Ulrich Drepper <drepper@gmail.com>
21877
21878 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21879
3540d66b
AS
218802010-11-11 Andreas Schwab <schwab@redhat.com>
21881
21882 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21883 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21884 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21885 ($(objpfx)tst-fnmatch-mem): New rule.
21886 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21887 * posix/tst-fnmatch.c (main): Call mtrace.
21888
13b69574
L
218892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21890
21891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21892 Support Intel processor model 6 and model 0x2c.
21893
da93d214
LM
218942010-11-10 Luis Machado <luisgpm@br.ibm.com>
21895
21896 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21897 signed comparison.
21898
8ca52c6e
L
218992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21900
21901 [BZ #12205]
21902 * string/test-strncasecmp.c (check_result): New function.
21903 (do_one_test): Use it.
21904 (check1): New function.
21905 (test_main): Use it.
21906 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21907 Support strcasecmp and strncasecmp.
21908
69da074d
UD
219092010-11-08 Ulrich Drepper <drepper@gmail.com>
21910
21911 [BZ #12194]
21912 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21913 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21914
ff02d528
L
219152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21916
21917 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21918 IFUNC support.
21919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21920 memset-x86-64.
21921 * sysdeps/x86_64/multiarch/bzero.S: New file.
21922 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21923 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21924 * sysdeps/x86_64/multiarch/memset.S: New file.
21925 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21927 Set bit_Prefer_SSE_for_memop for Intel processors.
21928 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21929 Define.
21930 (index_Prefer_SSE_for_memop): Define.
21931 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21932
344d0b54
LM
219332010-11-04 Luis Machado <luisgpm@br.ibm.com>
21934
21935 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21936 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21937
c0dde15b
UD
219382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21939
21940 [BZ #12191]
21941 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21942 (__x86_64_raw_data_cache_size_half): Likewise.
21943 (__x86_64_raw_shared_cache_size): Likewise.
21944 (__x86_64_raw_shared_cache_size_half): Likewise.
21945
21946 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21947 (__x86_64_raw_data_cache_size_half): Likewise.
21948 (__x86_64_raw_shared_cache_size): Likewise.
21949 (__x86_64_raw_shared_cache_size_half): Likewise.
21950 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21951 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21952 and __x86_64_raw_shared_cache_size_half. Round
21953 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21954 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21955 to multiple of 256 bytes.
21956
0e516e0e
MS
219572010-11-03 Ulrich Drepper <drepper@gmail.com>
21958
21959 [BZ #12167]
21960 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21961 of inacessible symlinks. Verify result of symlink before returning it.
21962 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21963 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21964
0e012e87
ER
219652010-10-28 Erich Ritz <erichritz@gmail.com>
21966
21967 * math/math.h (isinf): Fix typo in comment.
21968
de0ff7bc
UD
219692010-11-01 Ulrich Drepper <drepper@gmail.com>
21970
21971 * po/da.po: Update from translation team.
21972
fa41c84d
UD
219732010-10-26 Ulrich Drepper <drepper@gmail.com>
21974
21975 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21976 is added to the list.
21977
f0967738
AK
219782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21979 Ulrich Drepper <drepper@gmail.com>
21980
21981 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21982 the global list here. Move code to...
21983 (_dl_add_to_namespace_list): ...here. New function.
21984 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21985 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21986 * elf/dl-load.c (lose): Don't remove the element from the list.
21987 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21988 (_dl_map_object): Likewise.
21989
219902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21991
21992 [BZ #12159]
21993 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21994 into all bytes of SSE register.
21995 Patch by Richard Li <richardpku@gmail.com>.
21996
f0967738 219972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21998
21999 [BZ #12140]
22000 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22001 perturbing.
22002
d0b9e94f
MB
220032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22004
22005 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22006 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22007 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22008 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22010 submachine.
22011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22012
8e9f92e9
AS
220132010-10-22 Andreas Schwab <schwab@redhat.com>
22014
22015 * include/dlfcn.h (__RTLD_SECURE): Define.
22016 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22017 mode & __RTLD_SECURE instead.
22018 (open_path): Rename preloaded parameter to secure.
22019 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22020 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22021 * elf/dl-deps.c (openaux): Likewise.
22022 * elf/rtld.c (struct map_args): Remove is_preloaded.
22023 (map_doit): Don't use it.
22024 (dl_main): Likewise.
22025 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22026 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22027
bc96fbda
AS
220282010-09-09 Andreas Schwab <schwab@redhat.com>
22029
22030 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22031 (sysd-rules-targets): Remove duplicates.
22032 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22033 rtld-%.$o dependency.
22034
22cd1c9b
AS
220352010-10-18 Andreas Schwab <schwab@redhat.com>
22036
22037 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22038 _dl_map_object do it.
22039
18edac48
UD
220402010-10-19 Ulrich Drepper <drepper@gmail.com>
22041
22042 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22043 fast fma builtins, define the macros in the C99 standard.
22044 (FP_FAST_FMAF): Likewise.
22045 (FP_FAST_FMAL): Likewise.
22046 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22047
22048 * bits/mathdef.h: Update copyright year.
22049 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22050
d2050124
MM
220512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22052
22053 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22054 builtins, define the macros in the C99 standard.
22055 (FP_FAST_FMAF): Likewise.
22056 (FP_FAST_FMAL): Likewise.
22057 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22058 multiply/add.
22059 (FP_FAST_FMAF): Likewise.
22060
475facd1
JJ
220612010-10-15 Jakub Jelinek <jakub@redhat.com>
22062
22063 [BZ #3268]
22064 * math/libm-test.inc (fma_test): Some new testcases.
22065 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22066 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22067 y and infinite z. Do multiplication by C already in long double.
22068 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22070 y and infinite z. Do bitwise or of inexact bit into u.d.
22071 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22072 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22073 * sysdeps/i386/fpu/s_fma.S: Removed.
22074 * sysdeps/i386/fpu/s_fmal.S: Removed.
22075
7c08a05c
JJ
220762010-10-16 Jakub Jelinek <jakub@redhat.com>
22077
22078 [BZ #3268]
22079 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22081 computation is not scheduled after fetestexcept. Fix value
22082 of minimum denormal long double.
22083
f3f7372d
JJ
220842010-10-14 Jakub Jelinek <jakub@redhat.com>
22085
22086 [BZ #3268]
22087 * math/libm-test.inc (fma_test): Add some more tests.
22088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22089 correctly.
22090
14d43591
AS
220912010-10-15 Andreas Schwab <schwab@redhat.com>
22092
22093 * scripts/data/localplt-s390-linux-gnu.data: New file.
22094 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22095
5e908464
JJ
220962010-10-13 Jakub Jelinek <jakub@redhat.com>
22097
22098 [BZ #3268]
22099 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22100 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22101 instead of dbl-64.
22102 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22103 inlines.
22104 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22106 if one of x and y is very large and the other is subnormal.
22107 * sysdeps/s390/fpu/s_fmaf.c: New file.
22108 * sysdeps/s390/fpu/s_fma.c: New file.
22109 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22110 * sysdeps/powerpc/fpu/s_fma.S: New file.
22111 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22112 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22113 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22114
221152010-10-12 Jakub Jelinek <jakub@redhat.com>
22116
22117 [BZ #3268]
22118 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22119 fma tests.
22120 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22121 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22122 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22123 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22124 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22125 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22126 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22127
b833d51f
UD
221282010-10-12 Ulrich Drepper <drepper@redhat.com>
22129
22130 [BZ #12078]
22131 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22132 * posix/bug-regex31.input: Add test case.
22133
1751705d
UD
221342010-10-11 Ulrich Drepper <drepper@gmail.com>
22135
e9b9cbf5
UD
22136 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22137 * posix/bug-regex31.input: New file.
22138
22139 [BZ #12078]
22140 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22141 (parse_sub_exp): Fix last change, use postorder.
22142
ef06edbe
UD
22143 * posix/bug-regex31.c: New file.
22144 * posix/Makefile: Add rules to build and run bug-regex31.
22145
a129c80d
UD
22146 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22147
22148 [BZ #12078]
22149 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22150
b76b818e
UD
22151 [BZ #12108]
22152 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22153 to have entries in sys_siglist.
22154
1751705d
UD
22155 [BZ #12093]
22156 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22157 be NULL.
22158
9ff8d36f
JJ
221592010-10-07 Jakub Jelinek <jakub@redhat.com>
22160
22161 [BZ #3268]
22162 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22163 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22164 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22165 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22166 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22167 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22168 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22169 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22170 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22171 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22172 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22173 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22174 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22175 * math/ftestexcept.c (fetestexcept): Likewise.
22176 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22177 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22178 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22179 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22180 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22181 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22182 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22183
af325969
UD
221842010-10-11 Ulrich Drepper <drepper@gmail.com>
22185
c579b202 22186 [BZ #12107]
af325969
UD
22187 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22188 newline.
22189
67a67b95
UD
221902010-10-06 Ulrich Drepper <drepper@gmail.com>
22191
22192 * string/bug-strstr1.c: New file.
22193 * string/Makefile: Add rules to build and run bug-strstr1.
22194
5fb308bc
EB
221952010-10-05 Eric Blake <eblake@redhat.com>
22196
22197 [BZ #12092]
22198 * string/str-two-way.h (two_way_long_needle): Always clear memory
22199 when skipping input due to the shift table.
22200
45db99c7
UD
222012010-10-03 Ulrich Drepper <drepper@gmail.com>
22202
3b111893
UD
22203 [BZ #12005]
22204 * malloc/mcheck.c: Handle large requests.
22205
45db99c7
UD
22206 [BZ #12077]
22207 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22208 for strncmp and strncasecmp.
22209 * string/stratcliff.c: Add tests for strcmp and strncmp.
22210 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22211
cf7a1eb8
NI
222122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22213
22214 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22215 __set_fpscr.
22216
6484ba5e
AJ
222172010-09-30 Andreas Jaeger <aj@suse.de>
22218
22219 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22220 (CGROUP_SUPER_MAGIC): Define.
22221 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22222 Handle btrfs and cgroup file systems.
22223 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22224 Likewise.
22225
91c42559
LM
222262010-09-27 Luis Machado <luisgpm@br.ibm.com>
22227
22228 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22229 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22230
87a97932
AK
222312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22232
22233 [BZ #12067]
22234 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22235 trying to locate the ELF header.
22236
c21cc9bc
AS
222372010-09-27 Andreas Schwab <schwab@redhat.com>
22238
22239 [BZ #11611]
22240 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22241 Mask out sign-bit copies when constructing f_fsid.
22242
315970f6
PB
222432010-09-24 Petr Baudis <pasky@suse.cz>
22244
22245 * debug/stack_chk_fail_local.c: Add missing licence exception.
22246 * debug/warning-nop.c: Likewise.
22247
1ac7a2c7
JM
222482010-09-15 Joseph Myers <joseph@codesourcery.com>
22249
22250 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22251 implementing getdents64 using getdents syscall, set d_type if
22252 __ASSUME_GETDENTS32_D_TYPE.
22253
56801c50
AS
222542010-09-16 Andreas Schwab <schwab@redhat.com>
22255
22256 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22257 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22258
dda51327
UD
222592010-09-21 Ulrich Drepper <drepper@redhat.com>
22260
22261 [BZ #12037]
22262 * posix/unistd.h: Undo change of feature selection for ftruncate from
22263 2010-01-11.
22264
8ffcee4a
UD
222652010-09-20 Ulrich Drepper <drepper@redhat.com>
22266
a545ecd9 22267 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22268 detection.
22269
e24f0a8b
AS
222702010-09-20 Andreas Schwab <schwab@redhat.com>
22271
22272 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22273 fanotify_mark.
22274 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22275
7291c56f
AS
222762010-09-14 Andreas Schwab <schwab@redhat.com>
22277
22278 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22279 variables after CHECK_SP call.
22280 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22281
bc5fb037
AS
222822010-09-13 Andreas Schwab <schwab@redhat.com>
22283 Ulrich Drepper <drepper@redhat.com>
22284
22285 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22286 re-relocationg ld.so.
22287 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22288 _dl_init_paths call.
22289 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22290 here anymore.
22291
e66e7419
UD
222922010-09-14 Ulrich Drepper <drepper@redhat.com>
22293
22294 * resolv/res_init.c (__res_vinit): Count the default server we added.
22295
c044aa75
CLT
222962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22297 Ulrich Drepper <drepper@redhat.com>
22298
22299 [BZ #11968]
22300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22301 (____longjmp_chk): Use %ebx for saving value across system call.
22302 Add unwind info.
22303
32cf4069
AS
223042010-09-06 Andreas Schwab <schwab@redhat.com>
22305
22306 * manual/Makefile: Don't mix pattern rules with normal rules.
22307
817328ee
AS
223082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22309
22310 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22311 operation.
22312 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22313 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22314 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22315 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22317 Likewise.
22318
29fddf61
UD
223192010-09-04 Ulrich Drepper <drepper@redhat.com>
22320
22321 [BZ #11979]
22322 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22323 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22324
0959ffc9
UD
223252010-09-02 Ulrich Drepper <drepper@redhat.com>
22326
22327 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22328 * sysdeps/x86_64/addmul_1.S: Likewise.
22329 * sysdeps/x86_64/lshift.S: Likewise.
22330 * sysdeps/x86_64/mul_1.S: Likewise.
22331 * sysdeps/x86_64/rshift.S: Likewise.
22332 * sysdeps/x86_64/sub_n.S: Likewise.
22333 * sysdeps/x86_64/submul_1.S: Likewise.
22334
ece29840
ST
223352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22336
0959ffc9
UD
22337 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22338 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22339 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22340 * bits/sched.h [__need_schedparam]
ece29840 22341 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22342 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22343 (__defined_schedparam): Define to 1.
ece29840
ST
22344 (__sched_param): New structure, identical to sched_param.
22345 (__need_schedparam): Undefine.
22346
e53a31fe
MF
223472010-08-31 Mike Frysinger <vapier@gentoo.org>
22348
fdc0c10d
MF
22349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22350 (epoll_create1): Declare.
22351
e53a31fe
MF
22352 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22353
a726d796
AS
223542010-08-31 Andreas Schwab <schwab@redhat.com>
22355
22356 [BZ #7066]
22357 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22358 shifting retval into place.
22359
2f3e3dc7
UD
223602010-09-01 Ulrich Drepper <drepper@redhat.com>
22361
f2933da9
UD
22362 * nis/rpcsvc/nis.h: Update copyright notice.
22363 * nis/rpcsvc/nis.x: Likewise.
22364 * nis/rpcsvc/nis_callback.h: Likewise.
22365 * nis/rpcsvc/nis_callback.x: Likewise.
22366 * nis/rpcsvc/nis_object.x: Likewise.
22367 * nis/rpcsvc/nis_tags.h: Likewise.
22368 * nis/rpcsvc/yp.h: Likewise.
22369 * nis/rpcsvc/yp.x: Likewise.
22370 * nis/rpcsvc/ypupd.h: Likewise.
22371 * nis/yp_xdr.c: Likewise.
22372 * nis/ypupdate_xdr.c: Likewise.
22373
2f3e3dc7
UD
22374 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22375 mainly the body of pmap_getport. Add parameters to specify timeouts.
22376 (pmap_getport): Use __libc_rpc_getport.
22377 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22378 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22379 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22380
f3dcc2f9
AS
223812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22382
22383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22384 fanotify_mark.
22385
6d34eb5b
RM
223862010-08-27 Roland McGrath <roland@redhat.com>
22387
22388 * sysdeps/i386/i686/multiarch/Makefile
22389 (CFLAGS-varshift.c): New variable.
22390
9ea3de11
UD
223912010-08-27 Ulrich Drepper <drepper@redhat.com>
22392
c96d23fc
UD
22393 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22394 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22395
9ea3de11
UD
22396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22397
22398 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22399
623aac7f
L
224002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22401
22402 * sysdeps/x86_64/strlen.S: Unroll the loop.
22403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22404 strlen-sse2 strlen-sse2-bsf.
22405 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22406 __strlen_no_bsf if bit_Slow_BSF is set.
22407 (__strlen_sse42): Removed.
22408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22409 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22410
8b2b7715
RM
224112010-08-25 Roland McGrath <roland@redhat.com>
22412
22413 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22414 * sysdeps/x86_64/multiarch/varshift.c: New file.
22415 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22416 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22417 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22418 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22419
e73015f2
L
224202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22421
22422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22423 strlen-sse2 strlen-sse2-bsf.
22424 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22425 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22426 (__strlen_sse2): Removed.
22427 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22430 bit_Slow_BSF for Atom.
22431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22432 (index_Slow_BSF): Define.
22433 (HAS_SLOW_BSF): Define.
22434
df24a73e
UD
224352010-08-25 Ulrich Drepper <drepper@redhat.com>
22436
22437 [BZ #10851]
22438 * resolv/res_init.c (__res_vinit): When no server address at all
22439 is given default to loopback.
22440
f2ac4868
RM
224412010-08-24 Roland McGrath <roland@redhat.com>
22442
09055553
RM
22443 * configure.in: Remove config-name.h generation.
22444 * configure: Regenerated.
22445 * config-name.in: File removed.
22446 * scripts/config-uname.sh: New file.
22447 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22448 ($(objdir)config-name.h): New target.
22449
f2ac4868
RM
22450 * sunrpc/rpc_parse.h: Avoid nested comment.
22451
73f27d5e
RH
224522010-08-24 Richard Henderson <rth@redhat.com>
22453 Ulrich Drepper <drepper@redhat.com>
22454 H.J. Lu <hongjiu.lu@intel.com>
22455
22456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22458 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22459 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22460 _mm_alignr_epi8 with _mm_loadu_si128.
22461 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22462 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22463 (__m128i_shift_right): Removed.
22464 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22465 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22466 * sysdeps/x86_64/multiarch/varshift.h: New file.
22467 * sysdeps/x86_64/multiarch/varshift.S: New file.
22468
84b9230c
MF
224692010-08-21 Mike Frysinger <vapier@gentoo.org>
22470
22471 * configure.in: Move assembler checks to before sysdep dir checking.
22472
9bbd0ddc
PB
224732010-08-20 Petr Baudis <pasky@suse.cz>
22474
22475 * LICENSES: Sync the sunrpc license.
22476
9da4bb31
UD
224772010-08-19 Ulrich Drepper <drepper@redhat.com>
22478
a7ab6ec8
UD
22479 * sunrpc/auth_des.c: Update copyright notice once again.
22480 * sunrpc/auth_none.c: Likewise.
22481 * sunrpc/auth_unix.c: Likewise.
22482 * sunrpc/authdes_prot.c: Likewise.
22483 * sunrpc/authuxprot.c: Likewise.
22484 * sunrpc/bindrsvprt.c: Likewise.
22485 * sunrpc/clnt_gen.c: Likewise.
22486 * sunrpc/clnt_perr.c: Likewise.
22487 * sunrpc/clnt_raw.c: Likewise.
22488 * sunrpc/clnt_simp.c: Likewise.
22489 * sunrpc/clnt_tcp.c: Likewise.
22490 * sunrpc/clnt_udp.c: Likewise.
22491 * sunrpc/clnt_unix.c: Likewise.
22492 * sunrpc/des_crypt.c: Likewise.
22493 * sunrpc/des_soft.c: Likewise.
22494 * sunrpc/get_myaddr.c: Likewise.
22495 * sunrpc/getrpcport.c: Likewise.
22496 * sunrpc/key_call.c: Likewise.
22497 * sunrpc/key_prot.c: Likewise.
22498 * sunrpc/openchild.c: Likewise.
22499 * sunrpc/pm_getmaps.c: Likewise.
22500 * sunrpc/pm_getport.c: Likewise.
22501 * sunrpc/pmap_clnt.c: Likewise.
22502 * sunrpc/pmap_prot.c: Likewise.
22503 * sunrpc/pmap_prot2.c: Likewise.
22504 * sunrpc/pmap_rmt.c: Likewise.
22505 * sunrpc/rpc/auth.h: Likewise.
22506 * sunrpc/rpc/auth_unix.h: Likewise.
22507 * sunrpc/rpc/clnt.h: Likewise.
22508 * sunrpc/rpc/des_crypt.h: Likewise.
22509 * sunrpc/rpc/key_prot.h: Likewise.
22510 * sunrpc/rpc/netdb.h: Likewise.
22511 * sunrpc/rpc/pmap_clnt.h: Likewise.
22512 * sunrpc/rpc/pmap_prot.h: Likewise.
22513 * sunrpc/rpc/pmap_rmt.h: Likewise.
22514 * sunrpc/rpc/rpc.h: Likewise.
22515 * sunrpc/rpc/rpc_des.h: Likewise.
22516 * sunrpc/rpc/rpc_msg.h: Likewise.
22517 * sunrpc/rpc/svc.h: Likewise.
22518 * sunrpc/rpc/svc_auth.h: Likewise.
22519 * sunrpc/rpc/types.h: Likewise.
22520 * sunrpc/rpc/xdr.h: Likewise.
22521 * sunrpc/rpc_clntout.c: Likewise.
22522 * sunrpc/rpc_cmsg.c: Likewise.
22523 * sunrpc/rpc_common.c: Likewise.
22524 * sunrpc/rpc_cout.c: Likewise.
22525 * sunrpc/rpc_dtable.c: Likewise.
22526 * sunrpc/rpc_hout.c: Likewise.
22527 * sunrpc/rpc_main.c: Likewise.
22528 * sunrpc/rpc_parse.c: Likewise.
22529 * sunrpc/rpc_parse.h: Likewise.
22530 * sunrpc/rpc_prot.c: Likewise.
22531 * sunrpc/rpc_sample.c: Likewise.
22532 * sunrpc/rpc_scan.c: Likewise.
22533 * sunrpc/rpc_scan.h: Likewise.
22534 * sunrpc/rpc_svcout.c: Likewise.
22535 * sunrpc/rpc_tblout.c: Likewise.
22536 * sunrpc/rpc_util.c: Likewise.
22537 * sunrpc/rpc_util.h: Likewise.
22538 * sunrpc/rpcinfo.c: Likewise.
22539 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22540 * sunrpc/rpcsvc/key_prot.x: Likewise.
22541 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22542 * sunrpc/rpcsvc/mount.x: Likewise.
22543 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22544 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22545 * sunrpc/rpcsvc/rex.x: Likewise.
22546 * sunrpc/rpcsvc/rstat.x: Likewise.
22547 * sunrpc/rpcsvc/rusers.x: Likewise.
22548 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22549 * sunrpc/rpcsvc/spray.x: Likewise.
22550 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22551 * sunrpc/rtime.c: Likewise.
22552 * sunrpc/svc.c: Likewise.
22553 * sunrpc/svc_auth.c: Likewise.
22554 * sunrpc/svc_authux.c: Likewise.
22555 * sunrpc/svc_raw.c: Likewise.
22556 * sunrpc/svc_run.c: Likewise.
22557 * sunrpc/svc_simple.c: Likewise.
22558 * sunrpc/svc_tcp.c: Likewise.
22559 * sunrpc/svc_udp.c: Likewise.
22560 * sunrpc/svc_unix.c: Likewise.
22561 * sunrpc/svcauth_des.c: Likewise.
22562 * sunrpc/xcrypt.c: Likewise.
22563 * sunrpc/xdr.c: Likewise.
22564 * sunrpc/xdr_array.c: Likewise.
22565 * sunrpc/xdr_float.c: Likewise.
22566 * sunrpc/xdr_mem.c: Likewise.
22567 * sunrpc/xdr_rec.c: Likewise.
22568 * sunrpc/xdr_ref.c: Likewise.
22569 * sunrpc/xdr_sizeof.c: Likewise.
22570 * sunrpc/xdr_stdio.c: Likewise.
22571
9da4bb31
UD
22572 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22573 handling.
22574
bdaa77bc
AS
225752010-08-19 Andreas Schwab <schwab@redhat.com>
22576
22577 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22578
fe2f79db
LM
225792010-08-19 Luis Machado <luisgpm@br.ibm.com>
22580
22581 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22582 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22583 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22584 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22585 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22586 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22587 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22588 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22589 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22590 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22591 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22592 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22593 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22594 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22595
b9b42ee0
AB
225962010-07-26 Anton Blanchard <anton@samba.org>
22597
22598 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22599 * malloc/arena.c (heap_trim): Likewise.
22600
1c06ba31
UD
226012010-08-16 Ulrich Drepper <drepper@redhat.com>
22602
22603 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22604 here. Not...
22605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22606 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22607
f8392f40
L
226082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22609
22610 * sysdeps/i386/elf/Makefile: New file.
22611
3162f12e
AS
226122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22613
22614 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22615 from fanotify_init.
22616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22618
28c90b2c
UD
226192010-08-15 Ulrich Drepper <drepper@redhat.com>
22620
22621 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22622 of strncasecmp_l.
1feccb6c 22623 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22624
ca6bb004
UD
226252010-08-14 Ulrich Drepper <drepper@redhat.com>
22626
e9f82e0d
UD
22627 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22628 strncase_l-nonascii.
22629 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22630 Add strncase_l-ssse3.
22631 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22632 * sysdeps/x86_64/strcmp.S: Likewise.
22633 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22634 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22635 * sysdeps/x86_64/strncase.S: New file.
22636 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22637 * sysdeps/x86_64/strncase_l.S: New file.
22638 * string/Makefile (strop-tests): Add strncasecmp.
22639 * string/test-strncasecmp.c: New file.
22640
22641 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22642 warning.
22643
ca6bb004
UD
22644 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22645 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22646
052fa7b3
AS
226472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22648
22649 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22650
962dba78
UD
226512010-08-12 Ulrich Drepper <drepper@redhat.com>
22652
22653 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22654 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22655 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22656
bebff237
AM
226572010-05-01 Alan Modra <amodra@gmail.com>
22658
22659 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22660 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22661 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22662 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22663 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22664 tidying. Don't tail-call __sigjmp_save for static lib.
22665 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22666 save location.
22667 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22668 (CALL_MCOUNT): Add eh info, and nop after bl.
22669 (TAIL_CALL_SYSCALL_ERROR): New macro.
22670 (PSEUDO_RET): Use it.
22671 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22672 Correct save location of integer regs and cr.
22673 (_dl_profile_resolve): Correct cr save location. Delete nops
22674 after bl when SHARED. Reduce cfi size a little by better
22675 placement of cfi directives.
22676 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22677 make a stack frame. Instead use parm save area as a temp.
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22679 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22681 Don't make a stack frame for parent, use parm save area.
22682 Increase child stack frame to 112 bytes. Don't save unused reg,
22683 and adjust reg usage. Set up cfi on error recovery and
22684 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22686 (__makecontext): Add dummy nop after jump to exit.
22687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22688 Use correct parm save area and cr save, reduce stack frame.
22689 Correct cfi for possible PSEUDO_RET frame setup.
22690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22691 Branch to local label emitted by PSEUDO_RET rather than
22692 __syscall_error.
22693
02637374
AS
226942010-08-12 Andreas Schwab <schwab@redhat.com>
22695
22696 [BZ #11904]
22697 * locale/programs/locale.c (print_assignment): New function.
22698 (show_locale_vars): Use it.
22699
c3e2f19b
UD
227002010-08-11 Ulrich Drepper <drepper@redhat.com>
22701
3cdaa6ad
UD
22702 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22703 field.
22704 (struct statfs64): Likewise.
22705 (_STATFS_F_FLAGS): Define.
22706 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22708 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22709 (ST_VALID): Define locally.
22710 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22711 __statvfs_getflags, use the provided value.
22712 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22713 __ASSUME_STATFS_F_FLAGS.
22714
754f7da3
UD
22715 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22716
10b3bedc
UD
22717 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22718 Add sys/fanotify.h.
22719 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22720 fanotify_mask for GLIBC_2.13.
22721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22722 fanotify_init and fanotify_mark.
22723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22724 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22725
c08fb0d7
UD
22726 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22727 Add prlimit.
22728 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22729 prlimit64 for GLIBC_2.13.
22730 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22731 prlimit64.
22732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22733 syscall.
22734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22735 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22736 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22737 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22739 add prlimit alias.
22740 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22741
15bac72b
UD
22742 [BZ #11903]
22743 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22744 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22745
c3e2f19b
UD
22746 * nss/Makefile: Add rules to build and run tst-nss-test1.
22747 * shlib-versions: Add entry for libnss_test1.
22748 * nss/nss_test1.c: New file.
22749 * nss/tst-nss-test1.c: New file.
22750
22751 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22752 (__nss_configure_lookup): Set appropriate entry in
22753 __nss_configure_lookup to true.
22754 * nss/nsswitch.h: Define enum with indeces of databases in
22755 databases and __nss_database_custom arrays. Declare
22756 __nss_database_custom.
22757 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22758 to avoid using nscd when custom rules are installed.
22759 * nss/getXXbyYY_r.c: Likewise.
22760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22761
22762 * nss/nss_files/files-parse.c: Whitespace fixes.
22763
f15ce4d8
UD
227642010-08-09 Ulrich Drepper <drepper@redhat.com>
22765
22766 [BZ #11883]
22767 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22768 * posix/fnmatch_loop.c: Likewise.
22769
d22e4cc9
AK
227702010-07-17 Andi Kleen <ak@linux.intel.com>
22771
22772 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22773 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22774 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22775 * Versions.def [GLIBC_2.13]: Add.
22776
805bc17d
UD
227772010-08-06 Ulrich Drepper <drepper@redhat.com>
22778
22779 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22780 Also fail if tpwd after pwuid call is NULL.
22781
5a42321d
ST
227822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22783
22784 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22785 when converting to ms.
22786
fd3ebeda
ST
227872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22788
22789 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22790 EOPNOTSUPP errors with ENOTTY.
22791 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22792 EOPNOTSUPP errors with ENOTTY.
22793
73507d3a
UD
227942010-07-31 Ulrich Drepper <drepper@redhat.com>
22795
22796 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22797 Add strcasecmp_l-ssse3.
22798 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22799 strcasecmp.
22800 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22801 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22802 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22803
fe36dd02
UD
228042010-07-30 Ulrich Drepper <drepper@redhat.com>
22805
66f6765a
UD
22806 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22807
42e08a54
UD
22808 * string/Makefile (strop-tests): Add strcasecmp.
22809 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22810 strcasecmp_l-nonascii.
22811 (gen-as-const-headers): Add locale-defines.sym.
22812 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22813 * sysdeps/x86_64/strcasecmp.S: New file.
22814 * sysdeps/x86_64/strcasecmp_l.S: New file.
22815 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22816 * sysdeps/x86_64/locale-defines.sym: New file.
22817 * string/test-strcasecmp.c: New file.
22818
fe36dd02
UD
22819 * string/test-strcasestr.c: Test both ends of the range of characters.
22820 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22821
48cbc0d6
RM
228222010-07-29 Roland McGrath <roland@redhat.com>
22823
76e6d6bc 22824 [BZ #11856]
48cbc0d6
RM
22825 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22826
880113d9
UD
228272010-07-27 Ulrich Drepper <drepper@redhat.com>
22828
22829 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22830 for ld.so.
22831
deb9cabb
AS
228322010-07-27 Andreas Schwab <schwab@redhat.com>
22833
22834 * manual/memory.texi (Malloc Tunable Parameters): Document
22835 M_PERTURB.
22836
1c7570ff
RM
228372010-07-26 Roland McGrath <roland@redhat.com>
22838
22839 [BZ #11840]
22840 * configure.in (-fgnu89-inline check): Set and substitute
22841 gnu89_inline, not libc_cv_gnu89_inline.
22842 * configure: Regenerated.
22843 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22844
24fb0f88
UD
228452010-07-26 Ulrich Drepper <drepper@redhat.com>
22846
22847 * string/test-strnlen.c: New file.
22848 * string/Makefile (strop-tests): Add strnlen.
22849 * string/tester.c (test_strnlen): Add a few more test cases.
22850 * string/tst-strlen.c: Better error reporting.
22851
22852 * sysdeps/x86_64/strnlen.S: New file.
22853
8e96b93a
UD
228542010-07-24 Ulrich Drepper <drepper@redhat.com>
22855
22856 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22857 lower-latency instructions.
22858
dbc676d4
UD
228592010-07-23 Ulrich Drepper <drepper@redhat.com>
22860
22861 * string/test-strcasestr.c: New file.
22862 * string/test-strstr.c: New file.
22863 * string/Makefile (strop-tests): Add strstr and strcasestr.
22864 * string/str-two-way.h: Don't undefine MAX.
22865 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22866
f6a31e0e
AS
228672010-07-21 Andreas Schwab <schwab@redhat.com>
22868
22869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22870 strcasestr-nonascii.
22871 (CFLAGS-strcasestr-nonascii.c): Define.
22872 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22873 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22874 Remove unused attribute.
22875
5dbc3b6c
RM
228762010-07-20 Roland McGrath <roland@redhat.com>
22877
22878 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22879 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22880 ld.so.cache was broken. With it, there is no way to disable dsocaps
22881 like LD_HWCAP_MASK can disable hwcaps.
22882
23d101d8
EPM
228832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22884
22885 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22886
cc9f2e47
UD
228872010-07-16 Ulrich Drepper <drepper@redhat.com>
22888
22889 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22890 call in strcasestr.
22891 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22892 __strcasestr_sse42_nonascii.
22893 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22894 strcasestr-nonascii.c.
22895 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22896
77c1b069
LM
228972010-06-15 Luis Machado <luisgpm@br.ibm.com>
22898
22899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22900 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22902 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22903
440566c3
UD
229042010-07-09 Ulrich Drepper <drepper@redhat.com>
22905
22906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22907 fcntl.
22908
5be9d05d
AS
229092010-07-06 Andreas Schwab <schwab@redhat.com>
22910
c30b7ee2 22911 [BZ #11577]
5be9d05d
AS
22912 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22913 dl_signal_cerror.
22914
8a492a67
UD
229152010-07-06 Ulrich Drepper <drepper@redhat.com>
22916
22917 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22918 _PC_PIPE_BUF using F_GETPIPE_SZ.
22919
713df3d5
RM
229202010-07-05 Roland McGrath <roland@redhat.com>
22921
22922 * manual/arith.texi (Rounding Functions): Fix rint description
22923 implicit in round description.
22924
702e8f14
UD
229252010-07-02 Ulrich Drepper <drepper@redhat.com>
22926
22927 * elf/Makefile: Fix linking for a few tests to make recent linker
22928 happy.
22929
52ed8be9
AS
229302010-06-30 Andreas Schwab <schwab@redhat.com>
22931
22932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22933 $(common-objpfx)libc_nonshared.a.
22934
f47c9a11
LM
229352010-06-21 Luis Machado <luisgpm@br.ibm.com>
22936
22937 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22938 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22939 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22940 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22941 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22942 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22943 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22944 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22959 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22960 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22961 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22962 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22963 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22964 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22965 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22966 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22967 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22968 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22969 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22970 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22985
6fb8cbcb
L
229862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22987
22988 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22989 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22990 * string/memmove.c (memmove): Renamed to ...
22991 (MEMMOVE): ...this. Default to memmove.
22992 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22993 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22994 (END_CHK): Define.
22995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22996 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22997 mempcpy-ssse3-back memmove-ssse3-back.
22998 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22999 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23000 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23001 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23002 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23003 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23004 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23005 * sysdeps/x86_64/multiarch/memmove.c: New file.
23006 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23007 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23008 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23009 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23010 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23012 Define.
23013 (index_Fast_Copy_Backward): Define.
23014 (HAS_ARCH_FEATURE): Define.
23015 (HAS_FAST_REP_STRING): Define.
23016 (HAS_FAST_COPY_BACKWARD): Define.
23017
4e733bac 230182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23019
23020 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23021 Restore proper fallback handling.
23022
63c4ed22
UD
230232010-06-19 Ulrich Drepper <drepper@redhat.com>
23024
ac2b484c
UD
23025 [BZ #11701]
23026 * posix/group_member.c (__group_member): Correct checking loop.
23027
63c4ed22
UD
23028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23029 OOM in getpwuid_r correctly. Return error number when the caller
23030 should return, otherwise -1.
23031 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23032 call returning > 0 value.
23033 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23034
765ade4b
AS
230352010-06-07 Andreas Schwab <schwab@redhat.com>
23036
23037 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23038 libc_nonshared.a from targets in modules-names.
23039
80da2e09
KS
230402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23041
23042 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23043 requires it.
23044
158db122
LM
230452010-06-10 Luis Machado <luisgpm@br.ibm.com>
23046
23047 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23048 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23049 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23050 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23051
caa78cf8
AS
230522010-06-02 Andreas Schwab <schwab@redhat.com>
23053
23054 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23055
b2ef2c01
UD
230562010-06-14 Ulrich Drepper <drepper@redhat.com>
23057
23058 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23059 and F_GETPIPE_SZ.
23060 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23065 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23066
fbd643b6
RM
230672010-06-14 Roland McGrath <roland@redhat.com>
23068
23069 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23070
f32f2869
JJ
230712010-06-07 Jakub Jelinek <jakub@redhat.com>
23072
23073 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23074 __REDIRECT followed by __THROW.
23075 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23076 * posix/getopt.h (getopt): Likewise.
23077
2a50c078
EPM
230782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23079
23080 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23081 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23082 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23083 in AT_FLAGS.
23084 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23085 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23086
eb5ad2eb
LM
230872010-05-28 Luis Machado <luisgpm@br.ibm.com>
23088
23089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23090
3c88fe1e
L
230912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23092
23093 [BZ #11640]
23094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23095 Properly check family and model.
23096
d2f73151
TY
230972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23098
23099 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23100
ebd2e13d
LM
231012010-05-24 Luis Machado <luisgpm@br.ibm.com>
23102
23103 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23104
b32b8b45
UD
231052010-05-21 Ulrich Drepper <drepper@redhat.com>
23106
23107 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23108 symbol reference.
23109
9acbe24d
AS
231102010-05-19 Andreas Schwab <schwab@redhat.com>
23111
23112 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23113 symbol reference.
23114
f0ccf6ea
AS
231152010-05-21 Andreas Schwab <schwab@redhat.com>
23116
3d04ff3a
AS
23117 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23118 and internal_recvmmsg.
23119 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23120 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23121 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23122 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23123
f0ccf6ea
AS
23124 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23125 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23126 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23127
5b08ac57
AS
231282010-05-20 Andreas Schwab <schwab@redhat.com>
23129
23130 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23131
4828935d
LM
231322010-05-17 Luis Machado <luisgpm@br.ibm.com>
23133
23134 POWER7 optimizations.
23135 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23136 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23137
373d545e
UD
231382010-05-19 Ulrich Drepper <drepper@redhat.com>
23139
23140 * version.h: Update for 2.13 development version.
23141
21a2b1ae
AS
231422010-05-12 Andrew Stubbs <ams@codesourcery.com>
23143
23144 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23145 exceptions. Return 0.
23146
3f7dcb2b
RM
231472010-05-07 Roland McGrath <roland@redhat.com>
23148
23149 * elf/ldconfig.c (main): Add a const.
23150
5f24d53a 231512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23152
a160f8d8
UD
23153 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23154 (args_options): Add no-idn option.
23155 (ahosts_keys_int): Add idn_flags to ai_flags.
23156 (parse_option): Handle 'i' option to clear idn_flags.
23157
5f24d53a
UD
23158 * malloc/malloc.c (_int_free): Possible race in the most recently
23159 added check. Only act on the data if no current modification
23160 happened.
265bb1ce
UD
23161
23162See ChangeLog.17 for earlier changes.