]> sourceware.org Git - glibc.git/blame - ChangeLog
BZ #14833: message.texi typo fixes
[glibc.git] / ChangeLog
CommitLineData
c430c4af
BS
12012-12-08 Benno Schulenberg <bensberg@justemail.net>
2
3 [BZ #14833]
4 * menual/message.texi (Message Translation): Fix typos.
5 (Helper programs for gettext): Likewise.
6
67cbf9a2
AS
72012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8
9 [BZ #14898]
10 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11 Change to -1.
12
682d0e9a
DM
132012-12-07 David S. Miller <davem@davemloft.net>
14
15 * po/libc.pot: Update.
16
573cd484
RH
172012-12-07 Richard Henderson <rth@redhat.com>
18
19 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20 normal/normal case to before the switch.
21 (_FP_DIV): Likewise.
22
e933a943
MF
232012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24 Mike Frysinger <vapier@gentoo.org>
25
26 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27 check for __NR_fadvise64_64.
28
82123268
CM
292012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30
31 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32 0, not just to plain "0" as a statement.
33 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34 with cw.
35
d9814526
JM
362012-12-06 Joseph Myers <joseph@codesourcery.com>
37
38 * NEWS: Use sourceware.org in Bugzilla URL.
39
7728c574
SP
402012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41
f16946dd
SP
42 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
44
5704bbcb
SP
45 * stdio-common/tst-put-error.c (do_test): Add newline to the
46 padded test to ensure flush.
47
17aa0516
JL
482012-12-05 Jeff Law <law@redhat.com>
49
50 * sunrpc/etc.rpc (fedfs_admin): Add entry.
51
363313b5
JM
522012-12-05 Joseph Myers <joseph@codesourcery.com>
53
effbd42a
JM
54 * README: Don't refer to ports add-on as distributed separately.
55 Mention AArch64 in list of systems supported in the ports add-on.
56
87600365
JM
57 * LICENSES: Add more non-FSF copyright and license notices.
58
a0d7066a
JM
59 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60 ((unused)).
61
66ca5a5b
JM
62 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
63
363313b5
JM
64 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65 10000 as width of padded output.
66
b37984ad
JM
672012-12-04 Joseph Myers <joseph@codesourcery.com>
68
9003570a
JM
69 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
70
b37984ad
JM
71 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
72 variable LX with __attribute__ ((unused)).
73 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
74 Likewise.
75 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
76 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
78 with __attribute__ ((unused)).
79
c8df52ec
DM
802012-12-04 David S. Miller <davem@abraco.davemloft.net>
81
82 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
83
b3b099af
JM
842012-12-04 Joseph Myers <joseph@codesourcery.com>
85
c33aa6e3
JM
86 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
87 (CFLAGS-nldbl-acos.c): New variable.
88 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
89 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
90 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
91 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
92 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
93 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
94 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
95 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
96 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
97 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
98 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
99 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
100 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
101 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
102 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
103 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
104 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
105 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
106 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
107 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
108 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
109 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
110 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
111 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
112 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
113 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
114 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
115 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
116 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
117 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
118 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
119 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
120 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
121 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
122 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
123 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
124 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
125 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
126 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
127 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
128 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
129 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
130 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
131 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
132 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
133 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
134 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
135 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
136 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
137 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
138 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
139 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
140 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
141 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
142 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
143 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
144 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
145 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
146 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
147 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
148 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
149 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
150 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
151 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
152 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
153 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
154 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
155 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
156 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
157 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
158 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
159 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
160 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
161 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
162 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
163 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
164 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
165 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
166 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
167 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
168 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
169 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
170 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
171 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
172 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
173 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
174 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
175 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
176 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
177 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
178 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
179 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
180 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
181 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
182 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
183 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
184 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
185
20f0018d
JM
186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
187 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
188
b3b099af
JM
189 [BZ #14914]
190 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
191 whole low double instead of just low 47 bits when splitting values
192 into two parts.
193
029264d1
AM
1942012-12-03 Allan McRae <allan@archlinux.org>
195
196 * manual/stdio.texi (Predefined Printf Handlers): Remove
197 @hsep and @vsep usage.
198
c9d6789e
MF
1992012-12-03 Mike Frysinger <vapier@gentoo.org>
200
201 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
202 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
203
4b7634a5
JL
2042012-12-03 Jeff Law <law@redhat.com>
205
206 * time/sys/time.h (settimeofday): Do not mark TV argument
207 as __nonnull.
208
eb6cbd24
MF
2092012-12-01 Mike Frysinger <vapier@gentoo.org>
210
211 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
212 when currently writing and seek to current position when not.
213 * libio/Makefile (tests): Remove bug-fclose1.
214 * libio/bug-fclose1.c: Delete.
215
f638872a
JM
2162012-12-01 Joseph Myers <joseph@codesourcery.com>
217
218 * manual/arith.texi (feenableexcept): Fix typo.
219 (fedisableexcept): Likewise.
220
48085d14
RM
2212012-11-30 Roland McGrath <roland@hack.frob.com>
222
223 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
224 second, differently-typed declaration, rather than a cast.
225
1a538b9f
SP
2262012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
227
228 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
229 * include/rpc/svc.h: ... here.
230
d07f2ff1 2312012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
232
233 [BZ #13013]
234 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
235 depending n and resplen2 to catch cases where answer
236 equals answerp2.
237
c93ec1f0
CD
2382012-11-29 Carlos O'Donell <carlos@systemhalted.org>
239
240 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
241 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
242
37db69de
MF
2432012-11-29 Mike Frysinger <vapier@gentoo.org>
244
245 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
246
e10c4e4f
RM
2472012-11-29 Roland McGrath <roland@hack.frob.com>
248
249 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
250
2af1b328
JL
2512012-11-28 Jeff Law <law@redhat.com>
252
253 [BZ #13761]
254 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
255 dataset_temporary. Track alloca usage into alloca_used.
256 If dataset is large allocate and release it via malloc/free.
257
111db5b1
FW
2582012-06-04 Florian Weimer <fweimer@redhat.com>
259
f06cc227 260 [BZ #14197]
111db5b1
FW
261 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
262
dd694abd
DM
2632012-11-28 David S. Miller <davem@davemloft.net>
264
265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
266
9984dd01
JM
2672012-11-28 Joseph Myers <joseph@codesourcery.com>
268
269 [BZ #14803]
270 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
271 of pi/2 rounded to nearest to 64 bits.
272 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
273 nearest to 64 bits.
274 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
275 bits.
276
14bc93a9
JL
2772012-11-28 Jeff Law <law@redhat.com>
278 Martin Osvald <mosvald@redhat.com>
279
280 [BZ #14889]
281 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
282 * sunrpc/svc.c: Include time.h.
283 (__svc_accept_failed): New function.
284 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
285 any reason other than EINTR, call __svc_accept_failed.
286 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
287 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
288
e3c6aa3a
AS
2892012-11-28 Andreas Schwab <schwab@suse.de>
290
291 * scripts/abilist.awk: Also handle indirect functions in .opd
292 section.
293
1bead169
JM
2942012-11-28 Joseph Myers <joseph@codesourcery.com>
295
296 [BZ #13881]
297 * sysdeps/x86/fpu/powl_helper.c: New file.
298 * sysdeps/x86/fpu/Makefile: Likewise.
299 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
300 (p3): New object.
301 (__ieee754_powl): Use __powl_helper for finite arguments except
302 integer exponents below 8.
303 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
304 (p3): New object.
305 (__ieee754_powl): Use __powl_helper for finite arguments except
306 integer exponents below 8.
307 * math/libm-test.inc (pow_test): Add more tests and enable some
308 previously disabled tests.
309 * sysdeps/i386/fpu/libm-test-ulps: Update.
310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
311
0817d63d
SP
3122012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
313 Carlos O'Donell <carlos_odonell@mentor.com>
314
315 * nss/makedb.c (is_prime): Assert that input is odd and greater
316 than 4. Note that fact in a comment too.
317 (next_prime): Add 4 to input.
318
de2fd463
SP
3192012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
320
321 [BZ #11741]
322 * libio/Makefile (tests): Add test case tst-fwrite-error.
323 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
324 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
325 * libio/tst-fwrite-error.c: New test case.
326
c515fb51
L
3272012-11-26 H.J. Lu <hongjiu.lu@intel.com>
328
329 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
330 before casting to void *.
331 * include/libc-internal.h (__pointer_type): New macro.
332 (__integer_if_pointer_type_sub): Likewise.
333 (__integer_if_pointer_type): Likewise.
334 (cast_to_integer): Likewise.
335 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
336 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
337 before casting to atomic64_t.
338 (atomic_exchange_acq): Likewise.
339 (__arch_exchange_and_add_body): Likewise.
340 (__arch_add_body): Likewise.
341 (atomic_add_negative): Likewise.
342 (atomic_add_zero): Likewise.
343
4cf77aa9
JM
3442012-11-26 Joseph Myers <joseph@codesourcery.com>
345
346 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
347 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
348 (add_fdes): Likewise.
349 (linear_search_fdes): Likewise.
350 (binary_search_unencoded_fdes): Likewise.
351
d260b3b4
AS
3522012-11-26 Andreas Schwab <schwab@linux-m68k.org>
353
354 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
355
67060746
AC
3562012-11-24 Adam Conrad <adconrad@0c3.net>
357
358 * configure.in: Autodetect C++ header directories.
359 * configure: Regenerated.
360
800938a1
MF
3612012-11-23 Mike Frysinger <vapier@gentoo.org>
362
363 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
364
4e6e34e6
AS
3652012-11-23 Andreas Schwab <schwab@linux-m68k.org>
366
367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
368
7c7feb47
JM
3692012-11-22 Joseph Myers <joseph@codesourcery.com>
370
7184dcdf
JM
371 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
372 LDBL_MANT_DIG == 106]: Disable some tests.
373 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
374 Likewise.
375 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
376 Likewise.
377
0a42601f
JM
378 [BZ #14871]
379 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
380 input for small inputs. Return +/- pi/2 for large inputs.
381 * math/libm-test.inc (atan_test): Add more tests.
382
79c9b9fe
JM
383 * sysdeps/generic/unwind-dw2-fde-glibc.c
384 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
385 __attribute__ ((unused)).
386
c60d3bf2
JM
387 [BZ #14645]
388 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
389 x * y if x and y are nonzero and z is zero.
390
ef1e0867
JM
391 [BZ #14811]
392 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
393 nonzero exponents with absolute value below 0x1p-117 to +/-
394 0x1p-117.
395
1468ded3
JM
396 [BZ #14869]
397 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
398 up arguments below 2**-450, not just those below 2**-500.
399 * math/libm-test.inc (hypot_test): Add another test.
400
8e27e3cc
JM
401 [BZ #14868]
402 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
403 Return a+b for ratio over 2**120, not 2**60.
404 * math/libm-test.inc (hypot_test): Add another test.
405
c9c0279b
JM
406 * math/libm-test.inc (clog_test): Use
407 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
408 (clog10_test): Likewise.
409
7c7feb47
JM
410 [BZ #6778]
411 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
412
fff1530e
AS
4132012-11-22 Andreas Schwab <schwab@suse.de>
414
415 * sysdeps/i386/fpu/libm-test-ulps: Update.
416
94558d30
PT
4172012-11-22 Pino Toscano <toscano.pino@tiscali.it>
418
419 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
420 printf output with newline.
421
7e1be741
L
4222012-11-21 H.J. Lu <hongjiu.lu@intel.com>
423
6bfea974
L
424 [BZ #14865]
425 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
426 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
427 -z nodlopen, -z initfirst and -z execstack support.
428 * configure: Regenerated.
429
7e1be741
L
430 * elf/elf.h (DF_1_NODIRECT): New macro.
431 (DF_1_IGNMULDEF): Likewise.
432 (DF_1_NOKSYMS): Likewise.
433 (DF_1_NOHDR): Likewise.
434 (DF_1_EDITED): Likewise.
435 (DF_1_NORELOC): Likewise.
436 (DF_1_SYMINTPOSE): Likewise.
437 (DF_1_GLOBAUDIT): Likewise.
438 (DF_1_SINGLETON): Likewise.
439 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
440 DT_1_SUPPORTED_MASK bits.
441 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
442
105ce2ce
CD
4432012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
444
445 * sysdeps/unix/make-syscalls.sh: Document prefixes.
446
123be9de
TS
4472012-11-20 Thomas Schwinge <thomas@codesourcery.com>
448
d072f3f7
TS
449 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
450 macro.
451
123be9de
TS
452 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
453 (sendmmsg): Move declarations...
454 * socket/sys/socket.h: ... here.
455 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
456 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
457 include it from...
458 * socket/recvmmsg.c: ... this new file.
459 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
460 (sendmmsg): Rename to __sendmmsg, create weak alias and make
461 definition of __sendmmsg hidden.
462 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
463 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
464 Move ENOSYS stub into and include it from...
465 * socket/sendmmsg.c: ... this new file.
466 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
467 (sysdep_routines): Move recvmmsg and sendmmsg...
468 * socket/Makefile (routines): ... here.
469 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
470 (GLIBC_PRIVATE): Add __sendmmsg.
471 * include/sys/socket.h (__sendmmsg): Add declarations.
472 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
473 sendmmsg.
474
cf9a5d18
JM
4752012-11-20 Joseph Myers <joseph@codesourcery.com>
476
477 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
478 variable I1 with __attribute__ ((unused)).
479 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
480
ecd4caf9
JM
4812012-11-19 Joseph Myers <joseph@codesourcery.com>
482
be14d48f
JM
483 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
484 DUMMY variables with __attribute__ ((unused)).
485
ecd4caf9
JM
486 * bits/byteswap.h: Include <bits/types.h>.
487 (__bswap_64): Use __uint64_t instead of unsigned long long int.
488
986cab95
PT
4892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
490
491 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
492 string_t. Do not manually set errno.
493 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
494 length with __strnlen. Make sure to both set errno and return it on
495 failure.
496
6d33cc9d
DM
4972012-11-19 David S. Miller <davem@davemloft.net>
498
499 With help from Joseph Myers.
500 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
501 very large arguments properly.
502 * math/libm-test.inc (atan_test): New tests.
503 (atan2_test): New tests.
504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
506
ee663277
JM
5072012-11-19 Joseph Myers <joseph@codesourcery.com>
508
877f2d8e
JM
509 [BZ #14856]
510 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
511 Define to 3.
512
116fc08a
JM
513 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
514 [POSIX] (EADDRNOTAVAIL): Likewise.
515 [POSIX] (EAFNOSUPPORT): Likewise.
516 [POSIX] (EALREADY): Likewise.
517 [POSIX] (ECONNABORTED): Likewise.
518 [POSIX] (ECONNREFUSED): Likewise.
519 [POSIX] (ECONNRESET): Likewise.
520 [POSIX] (EDESTADDRREQ): Likewise.
521 [POSIX] (EDQUOT): Likewise.
522 [POSIX] (EHOSTUNREACH): Likewise.
523 [POSIX] (EIDRM): Likewise.
524 [POSIX] (EISCONN): Likewise.
525 [POSIX] (ELOOP): Likewise.
526 [POSIX] (EMULTIHOP): Likewise.
527 [POSIX] (ENETDOWN): Likewise.
528 [POSIX] (ENETUNREACH): Likewise.
529 [POSIX] (ENOBUFS): Likewise.
530 [POSIX] (ENODATA): Likewise.
531 [POSIX] (ENOLINK): Likewise.
532 [POSIX] (ENOMSG): Likewise.
533 [POSIX] (ENOPROTOOPT): Likewise.
534 [POSIX] (ENOSR): Likewise.
535 [POSIX] (ENOSTR): Likewise.
536 [POSIX] (ENOTCONN): Likewise.
537 [POSIX] (ENOTSOCK): Likewise.
538 [POSIX] (EOPNOTSUPP): Likewise.
539 [POSIX] (EOVERFLOW): Likewise.
540 [POSIX] (EPROTO): Likewise.
541 [POSIX] (EPROTONOSUPPORT): Likewise.
542 [POSIX] (EPROTOTYPE): Likewise.
543 [POSIX] (ESTALE): Likewise.
544 [POSIX] (ETIME): Likewise.
545 [POSIX] (ETXTBSY): Likewise.
546 [POSIX] (EWOULDBLOCK): Likewise.
547 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
548 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
549 [POSIX] (SEEK_CUR): Likewise.
550 [POSIX] (SEEK_END): Likewise.
551 [POSIX || UNIX98] (mode_t): Do not require.
552 [POSIX] (off_t): Likewise.
553 [POSIX] (pid_t): Likewise.
554 [POSIX] (sys/stat.h): Do not allow header.
555 [POSIX] (unistd.h): Likewise.
556 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
557 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
558 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
559 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
560 require.
561 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
562 sigevent): Specify elements.
563 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
564 entry.
565 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
566 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
567
a483863f
JM
568 * conform/data/cpio.h-data [POSIX]: Disable whole file.
569 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
570 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
571 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
572 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
573 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
574 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
575 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
576 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
577 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
578 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
579 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
580 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
581 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
582 Likewise.
583 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
584 Likewise.
585 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
586 Likewise.
587 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
588 Likewise.
589 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
590 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
591 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
592 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
593 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
594 Specify lower bound on value.
595 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
596 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
597 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
598 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
599 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
600 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
601 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
602 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
603 value.
604 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
605 as optional.
606 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
607 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
608 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
609 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
610 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
611 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
612 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
613 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
614 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
615 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
616 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
617 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
618 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
619 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
620 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
621 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
622 entry.
623 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
624 optional.
625 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
626 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
627 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
628 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
629 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
630 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
631 Likewise.
632 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
633 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
634 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
635 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
636 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
637 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
638 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
639 as optional.
640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
642 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
643 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
644 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
645 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
646 specify as optional.
647 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
648 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
649 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
650 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
651 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
652 [XPG3] (NL_LANGMAX): Likewise.
653 [POSIX || XPG3] (NL_MSGMAX): Likewise.
654 [POSIX || XPG3] (NL_NMAX): Likewise.
655 [POSIX || XPG3] (NL_SETMAX): Likewise.
656 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
657 [XPG3] (NZERO): Likewise.
658 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
659 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
660 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
661 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
662 (REG_ERANGE): Expect.
663 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
664 optional-constant.
665 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
666 Use (void) in prototype.
667 [POSIX] (*_t): Allow.
668 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
669 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
670 (WRDE_BADVAL): Expect.
671
5ba924e3
JM
672 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
673 expect.
674 [XPG3 || XPG4] (O_RSYNC): Likewise.
675 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
676 Likewise.
677 [XPG3 || XPG4] (pthread_sigmask): Likewise.
678 [XPG3 || XPG4] (sigqueue): Likewise.
679 [XPG3 || XPG4] (sigtimedwait): Likewise.
680 [XPG3 || XPG4] (sigwaitinfo): Likewise.
681 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
682 [XPG3 || XPG4] (vsnprintf): Likewise.
683 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
684 Likewise.
685 [XPG3 || XPG4] (blksize_t): Likewise.
686 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
687 Likewise.
688 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
689 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
690 [XPG3 || XPG4] (struct itimerspec): Likewise.
691 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
692 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
693 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
694 [XPG3 || XPG4] (clockid_t): Likewise.
695 [XPG3 || XPG4] (timer_t): Likewise.
696 [XPG3 || XPG4] (clock_getres): Likewise.
697 [XPG3 || XPG4] (clock_gettime): Likewise.
698 [XPG3 || XPG4] (clock_settime): Likewise.
699 [XPG3 || XPG4] (nanosleep): Likewise.
700 [XPG3 || XPG4] (timer_create): Likewise.
701 [XPG3 || XPG4] (timer_delete): Likewise.
702 [XPG3 || XPG4] (timer_gettime): Likewise.
703 [XPG3 || XPG4] (timer_getoverrun): Likewise.
704 [XPG3 || XPG4] (timer_settime): Likewise.
705 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
706 [XPG3 || XPG4] (getlogin_r): Likewise.
707 [XPG3 || XPG4] (pread): Likewise.
708 [XPG3 || XPG4] (pthread_atfork): Likewise.
709 [XPG3 || XPG4] (pwrite): Likewise.
710
ee663277
JM
711 [BZ #14835]
712 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
713 <bits/siginfo.h>.
714
942caa16
PT
7152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
716
e19af380
PT
717 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
718 finalizing MALLSTREAM.
719
942caa16
PT
720 * sysdeps/mach/hurd/syncfs.c: New file.
721
cfde9b46
SP
7222012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
723
724 [BZ #14719]
725 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
726 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
727 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
728 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
729 (_nss_dns_gethostbyname4_r): Likewise.
730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
731 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
732
f6da27e5
PH
7332012-11-19 Peng Haitao <penght@cn.fujitsu.com>
734
735 [BZ #13763]
736 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
737
6665d4a2
SM
7382012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
739
1f51ee92
SM
740 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
741 * elf/cache.c (print_entry): Print ",AArch64" for
742 FLAG_AARCH64_LIB64
743
6665d4a2
SM
744 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
745 * elf/cache.c (print_entry): Print ",hard-float" for
746 FLAG_ARM_LIBHF.
747
05b227bd
DM
7482012-11-18 David S. Miller <davem@davemloft.net>
749
750 With help from Joseph Myers.
751 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
752 cutoff to 2**-13.
753 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
754 cutoff to 2**-25.
755 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
756 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
757 small.
758 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
759 * math/libm-test.inc (y0_test): New tests.
760 (y1_test): New tests.
761 * sysdeps/i386/fpu/libm-test-ulps: Update.
762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
764
786b0b67
AS
7652012-11-18 Andreas Schwab <schwab@linux-m68k.org>
766
767 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
768 64-bit targets.
769 * configure: Regenerated.
770
8e18b86d
DM
7712012-11-17 David S. Miller <davem@davemloft.net>
772
773 [BZ #14811]
774 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
775 nonzero exponents with absolute value below 0x1p-128 to +/-
776 0x1p-128.
777
531f1ae0
JM
7782012-11-17 Joseph Myers <joseph@codesourcery.com>
779
12df29e2
JM
780 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
781
150dc1a0
JM
782 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
783
531f1ae0
JM
784 * posix/getconf-speclist.c: New file.
785 * posix/posix-envs.def: Likewise.
786 * posix/confstr.c (START_ENV_GROUP): New macro.
787 (END_ENV_GROUP): Likewise.
788 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
789 (KNOWN_PRESENT_ENV_STRING): Likewise.
790 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
791 (UNKNOWN_ENVIRONMENT): Likewise.
792 (confstr): Include posix-envs.def instead of handling
793 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
794 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
795 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
796 (END_ENV_GROUP): Likewise.
797 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
798 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
799 (UNKNOWN_ENVIRONMENT): Likewise.
800 (__sysconf): Include posix-envs.def instead of handling associated
801 cases directly here.
802 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
803 preprocessing getconf-speclist.c rather than running getconf or
804 generating empty file.
805
a93f9cbc
PT
8062012-11-16 Pino Toscano <toscano.pino@tiscali.it>
807
808 * scripts/check-local-headers.sh: Ignore 'mach' headers.
809
d64d9f87
AL
8102012-11-16 Andrej Lajovic <natrij@gmail.com>
811
812 [BZ #14672]
813 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
814
447885eb
DM
8152012-11-16 David S. Miller <davem@davemloft.net>
816
817 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
818 smaller than LDBL_EPSILON/2.0L, just return xm1.
819
bcbf9830
L
8202012-11-16 H.J. Lu <hongjiu.lu@intel.com>
821
822 * elf/tst-array1.c (init): Set constructor priority to 1000.
823 (fini): Set destructor priority to 1000.
824 * elf/tst-array2dep.c: Likewise.
825
2b766585
SP
8262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
827
828 [BZ #11741]
829 * libio/fileops.c (_IO_new_file_write): Correctly return error.
830 (_IO_new_file_xsputn): Also return EOF if none of the input
831 data was written when overflow failed.
832 * libio/iopadn.c (_IO_padn): Likewise.
833 * libio/iowpadn.c (_IO_wpadn): Likewise.
834 * stdio-common/tst-put-error.c: Add copyright notice.
835 (do_test): Add case for printing padded string.
836 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
837 _IO_padn returned error.
838 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
839 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
840 return EOF.
841
b1848fde
SP
8422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
843
844 * libio/libioP.h: Add comment note that the references to C++
845 bits are now obsolete.
846
2fd89785
MS
8472012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
848
849 * math/libm-test.inc (check_complex): Use asprintf.
850
e3ea5409
JM
8512012-11-14 Joseph Myers <joseph@codesourcery.com>
852
853 * debug/pcprofiledump.c (print_version): Update copyright year.
854 * malloc/memusagestat.c (print_version): Likewise.
855
2e64d265
L
8562012-11-14 H.J. Lu <hongjiu.lu@intel.com>
857
858 [BZ #14831]
859 * elf/Makefile (tests): Add tst-audit8.
860 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
861 ($(objpfx)tst-audit8.out): New target.
862 (tst-audit8-ENV): New variable.
863 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
864 audit if l_reloc_result is NULL.
865 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
866 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
867 * elf/tst-audit8.c: New file.
868
c485e4d2
MS
8692012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
870
871 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
872 * misc/Makefile (CFLAGS-select.c): Define.
873 * posix/Makefile (CFLAGS-pause.c): Define.
874
3a0d900a
DM
8752012-11-13 David S. Miller <davem@davemloft.net>
876
877 * crypt/Makefile: Move test targets after toplevel Rules
878 inclusion. Grab any necessary sysdep routines when linking.
879 * crypt/md5.c (md5_process_block): Remove define, we will always
880 name it __md5_process_block.
881 (md5_finish_ctx): Update md5_process_block call.
882 (md5_stream): Likewise.
883 (md5_process_bytes): Likewise.
884 (md5_process_block): Rename to __md5_process_block and move to ...
885 * crypt/md5-block.c: ... here.
886 * crypt/sha256.c (sha256_process_block): Move to ...
887 * crypt/sha256-block.c: ... here.
888 * crypt/sha512.c (sha512_process_block): Move to ...
889 * crypt/sha512-block.c: ... here.
890 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
891 path.
892 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
893 * sysdeps/sparc/sparc64/multiarch/Makefile
894 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
895 crypt subdir.
896 (localedef-aux): Add md5 crypto assembler when in locale subdir.
897 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
898 multiarch changes.
899 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
900 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
901 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
902 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
903 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
904 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
905 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
906 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
907 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
908 file.
909 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
911 file.
912 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
913
8ca89318
JM
9142012-11-13 Joseph Myers <joseph@codesourcery.com>
915
e27d476a
JM
916 * timezone/tzselect.ksh: Update from tzcode git revision
917 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
918 * timezone/zdump.c: Likewise.
919 * timezone/zic.c: Likewise.
920 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
921 in TZVERSION setting, not $(PKGVERSION).
922 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
923 REPORT_BUGS_TO settings.
924
8ca89318
JM
925 [BZ #14838]
926 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
927 macro.
928
47594329
MS
9292012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
930
931 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
932 detection to immediately after _FP_ROUND().
933 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
934 bits are 0.
935
640ac3f1
DM
9362012-11-11 David S. Miller <davem@davemloft.net>
937
938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
939 inttypes.h
940 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
941 __close rather than their public counterparts.
942
3d2577bb
JM
9432012-11-10 Joseph Myers <joseph@codesourcery.com>
944
945 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
946 file.
947 [UNIX98] (sem_timedwait): Do not expect.
948 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
949 [XPG4 || UNIX98] (sockatmark): Do not expect.
950 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
951 (clock_getcpuclockid): Do not expect.
952 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
953 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
954 Do not expect.
955 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
956 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
957 [UNIX98] (vwscanf): Likewise.
958 [UNIX98] (vswscanf): Likewise.
959
fb1ae1ee
JM
9602012-11-09 Joseph Myers <joseph@codesourcery.com>
961
9ec6f8bd
JM
962 * timezone/version.h: Remove file.
963 * timezone/README: Do not refer to version.h.
964 * timezone/Makefile ($(objpfx)zic.o): New dependency on
965 $(objpfx)version.h.
966 ($(objpfx)zdump.o): Likewise.
c3f81911 967 ($(objpfx)version.h): New target.
9ec6f8bd 968
0aa8f8a1
JM
969 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
970 2012i.
971 * timezone/README: Don't mention modification to tzselect.ksh.
972 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
973 work on unmodified tzselect.ksh. Substitute version numbers in
974 tzselect.ksh.
975
4e87147f
JM
976 * Makefile (format-me): Remove.
977 (INSTALL): Adjust indentation. Use commands directly instead of
978 using $(format-me).
979
8b748aed
JM
980 * aclocal.m4 (ACX_PKGVERSION): New macro.
981 (ACX_BUGURL): Likewise.
982 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
983 (PKGVERSION): New AC_DEFINE_UNQUOTED.
984 (REPORT_BUGS_TO): Likewise.
985 * configure: Regenerated.
986 * config.h.in (PKGVERSION): New macro.
987 (REPORT_BUGS_TO): Likewise.
988 * config.make.in (PKGVERSION): New variable.
989 (PKGVERSION_TEXI): Likewise.
990 (REPORT_BUGS_TO): Likewise.
991 (REPORT_BUGS_TEXI): Likewise.
992 * Makefile (format-me): Use -I$(common-objpfx)manual.
993 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
994 ($(common-objpfx)manual/%): New target.
995 (manual/%): Remove target.
996 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
997 (print_version): Use PKGVERSION.
998 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
999 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1000 and REPORT_BUGS_TO.
1001 ($(objpfx)xtrace): Likewise.
1002 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1003 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1004 (print_version): Use PKGVERSION.
1005 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1006 (do_version): Use PKGVERSION.
1007 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1008 REPORT_BUGS_TO.
1009 (common-ldd-rewrite): Likewise.
1010 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1011 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1012 (print_version): Use PKGVERSION.
1013 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1014 * elf/pldd.c (argp_program_bug_address): Remove variable.
1015 (more_help): New function.
1016 (argp): Use more_help.
1017 (print_version): Use PKGVERSION.
1018 * elf/sln.c (main): Use PKGVERSION.
1019 (usage): Use REPORT_BUGS_TO.
1020 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1021 (top level): Use PKGVERSION.
1022 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1023 (print_version): Use PKGVERSION.
1024 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1025 (print_version): Use PKGVERSION.
1026 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1027 (print_version): Use PKGVERSION.
1028 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1029 (print_version): Use PKGVERSION.
1030 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1031 (print_version): Use PKGVERSION.
1032 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1033 (print_version): Use PKGVERSION.
1034 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1035 and BUGURL.
1036 ($(objpfx)memusage): Likewise.
1037 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1038 (do_version): Use PKGVERSION.
1039 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1040 (print_version): Use PKGVERSION.
1041 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1042 ($PKGVERSION): New variable.
1043 ($REPORT_BUGS_TO): Likewise.
1044 (usage): Use $REPORT_BUGS_TO.
1045 (top level): Use $PKGVERSION.
1046 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1047 ($(objpfx)pkgvers.texi): New rule.
1048 ($(objpfx)stamp-pkgvers): Likewise.
1049 * manual/install.texi: Include pkgvers.texi.
1050 (--with-pkgversion): Document new configure option.
1051 (--with-bugurl): Likewise.
1052 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1053 than necessarily for this particular distribution. Use
1054 REPORT_BUGS_TO for where to report bugs.
1055 * INSTALL: Regenerated.
1056 * manual/libc.texinfo: Include pkgvers.texi.
1057 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1058 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1059 (print_version): Use PKGVERSION.
1060 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1061 (print_version): Use PKGVERSION.
1062 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1063 (print_version): Use PKGVERSION.
1064 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1065 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1066 macro.
1067 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1068 (print_version): Use PKGVERSION.
1069 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1070 (print_version): Use PKGVERSION.
1071 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1072 and PKGVERSION.
1073
92e4b6a9
JM
1074 * timezone/checktab.awk: Update from tzcode 2012i.
1075 * timezone/ialloc.c: Likewise.
1076 * timezone/private.h: Likewise.
1077 * timezone/scheck.c: Likewise.
1078 * timezone/tzfile.h: Likewise.
1079 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1080 (TZVERSION): Hardcode tzcode version number.
1081 * timezone/zdump.c: Update from tzcode 2012i.
1082 * timezone/zic.c: Likewise.
1083 * timezone/version.h: New file.
1084 * timezone/README: Describe version.h. Update upstream location.
1085
9bde902c
JM
1086 [BZ #14824]
1087 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1088 (mktemp): Enable declaration.
1089 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1093 Likewise.
1094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1095 Likewise.
1096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1097 Likewise.
1098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1099 Likewise.
1100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1101 Likewise.
1102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1103 Likewise.
1104
fb1ae1ee
JM
1105 [BZ #14821]
1106 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1107 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1108 for copies of such integer values.
1109 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1110 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1111
2c1adbcb
AJ
11122012-11-09 Andreas Jaeger <aj@suse.de>
1113
1114 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1115 definitions and declarations that are provided by
1116 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1117
d0f8457e
AK
11182012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1119
1120 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1121 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1122 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1123 definition.
1124
57241e26
MS
11252012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1126
1127 * elf/elf.h: Update comment before AArch64 relocations.
1128
60e8270d
DM
11292012-11-07 David S. Miller <davem@davemloft.net>
1130
1131 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1132 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1133 (__start_context): Declare.
1134 (__makecontext_ret): Delete.
1135 (__makecontext): Hook up __start_context instead of
1136 __makecontext_ret.
1137 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1138 (sysdep_routines): Add __start_context when in stdlib.
1139
0fbb0fbc
JM
11402012-11-07 Joseph Myers <joseph@codesourcery.com>
1141
1142 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1143 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1144 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1145 hardcoded "nm".
1146 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1147 (READELF): New variable. Use it instead of hardcoded "readelf".
1148
eb48db7e
L
11492012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1152 * sysdeps/x86/Makefile: Here.
1153 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1154 * sysdeps/x86/tst-xmmymm.sh: This.
1155
05bcf62a
JM
11562012-11-07 Joseph Myers <joseph@codesourcery.com>
1157
c4b6cf53
JM
1158 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1159 expectations.
1160 [UNIX98] (pthread_barrier_t): Do not expect.
1161 [UNIX98] (pthread_barrierattr_t): Likewise.
1162 [UNIX98] (pthread_spinlock_t): Likewise.
1163 [UNIX98] (pthread_barrier_destroy): Likewise.
1164 [UNIX98] (pthread_barrier_init): Likewise.
1165 [UNIX98] (pthread_barrier_wait): Likewise.
1166 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1167 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1168 [UNIX98] (pthread_barrierattr_init): Likewise.
1169 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1170 [UNIX98] (pthread_getcpuclockid): Likewise.
1171 [UNIX98] (pthread_mutex_timedlock): Likewise.
1172 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1173 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1174 [UNIX98] (pthread_sigmask): Likewise.
1175 [UNIX98] (pthread_spin_destroy): Likewise.
1176 [UNIX98] (pthread_spin_init): Likewise.
1177 [UNIX98] (pthread_spin_lock): Likewise.
1178 [UNIX98] (pthread_spin_trylock): Likewise.
1179 [UNIX98] (pthread_spin_unlock): Likewise.
1180 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1181 Do not expect.
1182 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1184 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1185 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1186 [XPG3 || XPG4] (pthread_key_t): Likewise.
1187 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1188 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1189 [XPG3 || XPG4] (pthread_once_t): Likewise.
1190 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1191 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1193 [XPG3 || XPG4] (pthread_t): Likewise.
1194
cbe6e120
JM
1195 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1196 not expect.
1197 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1198
1b126443
JM
1199 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1200 Change function return type to int.
1201
b961a573
JM
1202 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1203 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1204 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1205 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1206 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1207 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1208 [!POSIX] (posix_madvise): Likewise.
1209 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1210 && !UNIX98].
1211 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1212 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1213 (mode_t): Likewise.
1214 (posix_mem_offset): Likewise.
1215 (posix_typed_mem_get_info): Likewise.
1216 (posix_typed_mem_open): Likewise.
1217
9e188909
JM
1218 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1219 Change condition to [XOPEN2K8].
1220
05bcf62a
JM
1221 * conform/conformtest.pl: Preprocess allow-header data with -x c
1222 instead of from stdin.
1223 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1224 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1225 [C99-based standards] (cerfc): Likewise.
1226 [C99-based standards] (cexp2): Likewise.
1227 [C99-based standards] (cexpm1): Likewise.
1228 [C99-based standards] (clog10): Likewise.
1229 [C99-based standards] (clog1p): Likewise.
1230 [C99-based standards] (clog2): Likewise.
1231 [C99-based standards] (clgamma): Likewise.
1232 [C99-based standards] (ctgamma): Likewise.
1233 [C99-based standards] (cerff): Likewise.
1234 [C99-based standards] (cerfcf): Likewise.
1235 [C99-based standards] (cexp2f): Likewise.
1236 [C99-based standards] (cexpm1f): Likewise.
1237 [C99-based standards] (clog10f): Likewise.
1238 [C99-based standards] (clog1pf): Likewise.
1239 [C99-based standards] (clog2f): Likewise.
1240 [C99-based standards] (clgammaf): Likewise.
1241 [C99-based standards] (ctgammaf): Likewise.
1242 [C99-based standards] (cerfl): Likewise.
1243 [C99-based standards] (cerfcl): Likewise.
1244 [C99-based standards] (cexp2l): Likewise.
1245 [C99-based standards] (cexpm1l): Likewise.
1246 [C99-based standards] (clog10l): Likewise.
1247 [C99-based standards] (clog1pl): Likewise.
1248 [C99-based standards] (clog2l): Likewise.
1249 [C99-based standards] (clgammal): Likewise.
1250 [C99-based standards] (ctgammal): Likewise.
1251 * conform/data/inttypes.h-data [C99-based standards]: Include
1252 stdint.h-data. Remove all expectations for stdint.h contents.
1253 [C99-based standards] (PRI*): Do not allow.
1254 [C99-based standards] (SCN*): Likewise.
1255 [C99-based standards] (*_t): Likewise.
1256 [C99-based-standards] (PRId8): Expect macro.
1257 [C99-based-standards] (PRIi8): Likewise.
1258 [C99-based-standards] (PRIo8): Likewise.
1259 [C99-based-standards] (PRIu8): Likewise.
1260 [C99-based-standards] (PRIx8): Likewise.
1261 [C99-based-standards] (PRIX8): Likewise.
1262 [C99-based-standards] (SCNd8): Likewise.
1263 [C99-based-standards] (SCNi8): Likewise.
1264 [C99-based-standards] (SCNo8): Likewise.
1265 [C99-based-standards] (SCNu8): Likewise.
1266 [C99-based-standards] (SCNx8): Likewise.
1267 [C99-based-standards] (PRIdLEAST8): Likewise.
1268 [C99-based-standards] (PRIiLEAST8): Likewise.
1269 [C99-based-standards] (PRIoLEAST8): Likewise.
1270 [C99-based-standards] (PRIuLEAST8): Likewise.
1271 [C99-based-standards] (PRIxLEAST8): Likewise.
1272 [C99-based-standards] (PRIXLEAST8): Likewise.
1273 [C99-based-standards] (SCNdLEAST8): Likewise.
1274 [C99-based-standards] (SCNiLEAST8): Likewise.
1275 [C99-based-standards] (SCNoLEAST8): Likewise.
1276 [C99-based-standards] (SCNuLEAST8): Likewise.
1277 [C99-based-standards] (SCNxLEAST8): Likewise.
1278 [C99-based-standards] (PRIdFAST8): Likewise.
1279 [C99-based-standards] (PRIiFAST8): Likewise.
1280 [C99-based-standards] (PRIoFAST8): Likewise.
1281 [C99-based-standards] (PRIuFAST8): Likewise.
1282 [C99-based-standards] (PRIxFAST8): Likewise.
1283 [C99-based-standards] (PRIXFAST8): Likewise.
1284 [C99-based-standards] (SCNdFAST8): Likewise.
1285 [C99-based-standards] (SCNiFAST8): Likewise.
1286 [C99-based-standards] (SCNoFAST8): Likewise.
1287 [C99-based-standards] (SCNuFAST8): Likewise.
1288 [C99-based-standards] (SCNxFAST8): Likewise.
1289 [C99-based-standards] (PRId16): Likewise.
1290 [C99-based-standards] (PRIi16): Likewise.
1291 [C99-based-standards] (PRIo16): Likewise.
1292 [C99-based-standards] (PRIu16): Likewise.
1293 [C99-based-standards] (PRIx16): Likewise.
1294 [C99-based-standards] (PRIX16): Likewise.
1295 [C99-based-standards] (SCNd16): Likewise.
1296 [C99-based-standards] (SCNi16): Likewise.
1297 [C99-based-standards] (SCNo16): Likewise.
1298 [C99-based-standards] (SCNu16): Likewise.
1299 [C99-based-standards] (SCNx16): Likewise.
1300 [C99-based-standards] (PRIdLEAST16): Likewise.
1301 [C99-based-standards] (PRIiLEAST16): Likewise.
1302 [C99-based-standards] (PRIoLEAST16): Likewise.
1303 [C99-based-standards] (PRIuLEAST16): Likewise.
1304 [C99-based-standards] (PRIxLEAST16): Likewise.
1305 [C99-based-standards] (PRIXLEAST16): Likewise.
1306 [C99-based-standards] (SCNdLEAST16): Likewise.
1307 [C99-based-standards] (SCNiLEAST16): Likewise.
1308 [C99-based-standards] (SCNoLEAST16): Likewise.
1309 [C99-based-standards] (SCNuLEAST16): Likewise.
1310 [C99-based-standards] (SCNxLEAST16): Likewise.
1311 [C99-based-standards] (PRIdFAST16): Likewise.
1312 [C99-based-standards] (PRIiFAST16): Likewise.
1313 [C99-based-standards] (PRIoFAST16): Likewise.
1314 [C99-based-standards] (PRIuFAST16): Likewise.
1315 [C99-based-standards] (PRIxFAST16): Likewise.
1316 [C99-based-standards] (PRIXFAST16): Likewise.
1317 [C99-based-standards] (SCNdFAST16): Likewise.
1318 [C99-based-standards] (SCNiFAST16): Likewise.
1319 [C99-based-standards] (SCNoFAST16): Likewise.
1320 [C99-based-standards] (SCNuFAST16): Likewise.
1321 [C99-based-standards] (SCNxFAST16): Likewise.
1322 [C99-based-standards] (PRId32): Likewise.
1323 [C99-based-standards] (PRIi32): Likewise.
1324 [C99-based-standards] (PRIo32): Likewise.
1325 [C99-based-standards] (PRIu32): Likewise.
1326 [C99-based-standards] (PRIx32): Likewise.
1327 [C99-based-standards] (PRIX32): Likewise.
1328 [C99-based-standards] (SCNd32): Likewise.
1329 [C99-based-standards] (SCNi32): Likewise.
1330 [C99-based-standards] (SCNo32): Likewise.
1331 [C99-based-standards] (SCNu32): Likewise.
1332 [C99-based-standards] (SCNx32): Likewise.
1333 [C99-based-standards] (PRIdLEAST32): Likewise.
1334 [C99-based-standards] (PRIiLEAST32): Likewise.
1335 [C99-based-standards] (PRIoLEAST32): Likewise.
1336 [C99-based-standards] (PRIuLEAST32): Likewise.
1337 [C99-based-standards] (PRIxLEAST32): Likewise.
1338 [C99-based-standards] (PRIXLEAST32): Likewise.
1339 [C99-based-standards] (SCNdLEAST32): Likewise.
1340 [C99-based-standards] (SCNiLEAST32): Likewise.
1341 [C99-based-standards] (SCNoLEAST32): Likewise.
1342 [C99-based-standards] (SCNuLEAST32): Likewise.
1343 [C99-based-standards] (SCNxLEAST32): Likewise.
1344 [C99-based-standards] (PRIdFAST32): Likewise.
1345 [C99-based-standards] (PRIiFAST32): Likewise.
1346 [C99-based-standards] (PRIoFAST32): Likewise.
1347 [C99-based-standards] (PRIuFAST32): Likewise.
1348 [C99-based-standards] (PRIxFAST32): Likewise.
1349 [C99-based-standards] (PRIXFAST32): Likewise.
1350 [C99-based-standards] (SCNdFAST32): Likewise.
1351 [C99-based-standards] (SCNiFAST32): Likewise.
1352 [C99-based-standards] (SCNoFAST32): Likewise.
1353 [C99-based-standards] (SCNuFAST32): Likewise.
1354 [C99-based-standards] (SCNxFAST32): Likewise.
1355 [C99-based-standards] (PRId64): Likewise.
1356 [C99-based-standards] (PRIi64): Likewise.
1357 [C99-based-standards] (PRIo64): Likewise.
1358 [C99-based-standards] (PRIu64): Likewise.
1359 [C99-based-standards] (PRIx64): Likewise.
1360 [C99-based-standards] (PRIX64): Likewise.
1361 [C99-based-standards] (SCNd64): Likewise.
1362 [C99-based-standards] (SCNi64): Likewise.
1363 [C99-based-standards] (SCNo64): Likewise.
1364 [C99-based-standards] (SCNu64): Likewise.
1365 [C99-based-standards] (SCNx64): Likewise.
1366 [C99-based-standards] (PRIdLEAST64): Likewise.
1367 [C99-based-standards] (PRIiLEAST64): Likewise.
1368 [C99-based-standards] (PRIoLEAST64): Likewise.
1369 [C99-based-standards] (PRIuLEAST64): Likewise.
1370 [C99-based-standards] (PRIxLEAST64): Likewise.
1371 [C99-based-standards] (PRIXLEAST64): Likewise.
1372 [C99-based-standards] (SCNdLEAST64): Likewise.
1373 [C99-based-standards] (SCNiLEAST64): Likewise.
1374 [C99-based-standards] (SCNoLEAST64): Likewise.
1375 [C99-based-standards] (SCNuLEAST64): Likewise.
1376 [C99-based-standards] (SCNxLEAST64): Likewise.
1377 [C99-based-standards] (PRIdFAST64): Likewise.
1378 [C99-based-standards] (PRIiFAST64): Likewise.
1379 [C99-based-standards] (PRIoFAST64): Likewise.
1380 [C99-based-standards] (PRIuFAST64): Likewise.
1381 [C99-based-standards] (PRIxFAST64): Likewise.
1382 [C99-based-standards] (PRIXFAST64): Likewise.
1383 [C99-based-standards] (SCNdFAST64): Likewise.
1384 [C99-based-standards] (SCNiFAST64): Likewise.
1385 [C99-based-standards] (SCNoFAST64): Likewise.
1386 [C99-based-standards] (SCNuFAST64): Likewise.
1387 [C99-based-standards] (SCNxFAST64): Likewise.
1388 [C99-based-standards] (PRIdMAX): Likewise.
1389 [C99-based-standards] (PRIiMAX): Likewise.
1390 [C99-based-standards] (PRIoMAX): Likewise.
1391 [C99-based-standards] (PRIuMAX): Likewise.
1392 [C99-based-standards] (PRIxMAX): Likewise.
1393 [C99-based-standards] (PRIXMAX): Likewise.
1394 [C99-based-standards] (SCNdMAX): Likewise.
1395 [C99-based-standards] (SCNiMAX): Likewise.
1396 [C99-based-standards] (SCNoMAX): Likewise.
1397 [C99-based-standards] (SCNuMAX): Likewise.
1398 [C99-based-standards] (SCNxMAX): Likewise.
1399 [C99-based-standards] (PRIdPTR): Likewise.
1400 [C99-based-standards] (PRIiPTR): Likewise.
1401 [C99-based-standards] (PRIoPTR): Likewise.
1402 [C99-based-standards] (PRIuPTR): Likewise.
1403 [C99-based-standards] (PRIxPTR): Likewise.
1404 [C99-based-standards] (PRIXPTR): Likewise.
1405 [C99-based-standards] (SCNdPTR): Likewise.
1406 [C99-based-standards] (SCNiPTR): Likewise.
1407 [C99-based-standards] (SCNoPTR): Likewise.
1408 [C99-based-standards] (SCNuPTR): Likewise.
1409 [C99-based-standards] (SCNxPTR): Likewise.
1410 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1411 allow.
1412 * conform/data/stdint.h-data: Update comments to clarify
1413 requirements.
1414 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1415 type.
1416 [C99-based standards] (INT8_MAX): Likewise.
1417 [C99-based standards] (INT16_MIN): Likewise.
1418 [C99-based standards] (INT16_MAX): Likewise.
1419 [C99-based standards] (INT32_MIN): Likewise.
1420 [C99-based standards] (INT32_MAX): Likewise.
1421 [C99-based standards] (INT64_MIN): Likewise.
1422 [C99-based standards] (INT64_MAX): Likewise.
1423 [C99-based standards] (UINT8_MAX): Likewise.
1424 [C99-based standards] (UINT16_MAX): Likewise.
1425 [C99-based standards] (UINT32_MAX): Likewise.
1426 [C99-based standards] (UINT64_MAX): Likewise.
1427 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1428 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1429 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1430 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1431 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1432 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1433 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1434 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1435 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1436 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1437 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1438 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1439 [C99-based standards] (INT_FAST8_MIN): Likewise.
1440 [C99-based standards] (INT_FAST8_MAX): Likewise.
1441 [C99-based standards] (INT_FAST16_MIN): Likewise.
1442 [C99-based standards] (INT_FAST16_MAX): Likewise.
1443 [C99-based standards] (INT_FAST32_MIN): Likewise.
1444 [C99-based standards] (INT_FAST32_MAX): Likewise.
1445 [C99-based standards] (INT_FAST64_MIN): Likewise.
1446 [C99-based standards] (INT_FAST64_MAX): Likewise.
1447 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1448 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1449 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1450 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1451 [C99-based standards] (INTPTR_MIN): Likewise.
1452 [C99-based standards] (INTPTR_MAX): Likewise.
1453 [C99-based standards] (UINTPTR_MAX): Likewise.
1454 [C99-based standards] (INTMAX_MIN): Likewise.
1455 [C99-based standards] (INTMAX_MAX): Likewise.
1456 [C99-based standards] (UINTMAX_MAX): Likewise.
1457 [C99-based standards] (PTRDIFF_MIN): Likewise.
1458 [C99-based standards] (PTRDIFF_MAX): Likewise.
1459 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1460 [C99-based standards] (SIZE_MAX): Likewise.
1461 [C99-based standards] (WCHAR_MAX): Likewise.
1462 [C99-based standards] (WINT_MAX): Likewise.
1463 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1464 constraint on value.
1465 [C99-based standards] (WCHAR_MIN): Likewise.
1466 [C99-based standards] (WINT_MIN): Likewise.
1467 [C99-based standards] (*_t): Allow.
1468 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1469 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1470 Include math.h-data and complex.h-data. Remove all expectations
1471 of math.h and complex.h contents.
1472 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1473 at end of line.
1474 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1475 (struct tm): Expect tag.
1476 [C99-based-standards] (wcstof): Expect function.
1477 [C99-based-standards] (wcstold): Likewise.
1478 [C99-based-standards] (wcstoll): Likewise.
1479 [C99-based-standards] (wcstoull): Likewise.
1480 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1481 macro-int-constant. Specify type.
1482 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1483 constraint on value.
1484 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1485 Specify type.
1486 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1487 Specify value.
1488 [ISO C standards]: Do not allow headers.
1489 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1490 wcs[abcdefghijklmnopqrstuvwxyz]*.
1491 [ISO C standards] (*_t): Do not allow.
1492 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1493 Expect function.
1494 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1495 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1496 Specify type.
1497 [ISO C standards]: Do not allow headers.
1498 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1499 is[abcdefghijklmnopqrstuvwxyz]*.
1500 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1501 to[abcdefghijklmnopqrstuvwxyz]*.
1502 [ISO C standards] (*_t): Do not allow.
1503 * conform/data/stdalign.h-data: New file.
1504 * conform/data/stdbool.h-data: Likewise.
1505 * conform/data/stdnoreturn.h-data: Likewise.
1506
7514feb8
RM
15072012-11-07 Roland McGrath <roland@hack.frob.com>
1508
1509 [BZ #14815]
1510 * manual/filesys.texi (Directory Entries): Typo fix.
1511 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1512
19b2ecfc
MS
15132012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1514
1515 * elf/elf.h (EM_AARCH64): New macro.
1516 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1517 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1518 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1519 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1520 (R_AARCH64_TLSDESC): Likewise.
1521 (NT_ARM_TLS): Likewise.
1522 (NT_ARM_HW_BREAK): Likewise.
1523 (NT_ARM_HW_WATCH): Likewise.
1524
60e235ee
JM
15252012-11-07 Joseph Myers <joseph@codesourcery.com>
1526
1527 [BZ #14811]
1528 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1529 (__ieee754_powl): Saturate nonzero exponents with absolute value
1530 below 0x1p-79 to +/- 0x1p-79.
1531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1532 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1533 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1534 nonzero exponents with absolute value below 0x1p-32 to +/-
1535 0x1p-32.
1536 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1537 (__ieee754_powl): Saturate nonzero exponents with absolute value
1538 below 0x1p-79 to +/- 0x1p-79.
1539 * math/libm-test.inc (pow_test): Add more tests.
1540
0ab234b7
AK
15412012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1542
1543 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1544 _dl_s390_cap_flags with kernel. Increase string length.
1545 (_dl_s390_platforms): Add z196 and zEC12.
1546
45832f74
JM
15472012-11-07 Joseph Myers <joseph@codesourcery.com>
1548
1549 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1550 Change XOPEN21K to XOPEN2K.
1551
19218757
MK
15522012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1553
1554 * string/memmove.c: Use memcpy when possible.
1555
c5f45721
AJ
15562012-11-06 Andreas Jaeger <aj@suse.de>
1557
1558 * po/eo.po: Update from translation team.
1559
82477c28
JM
15602012-11-06 Joseph Myers <joseph@codesourcery.com>
1561
1562 [BZ #14793]
1563 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1564 exponent and small x and y exponents, scale x or y up. Increase
1565 by 2 the exponent used in scaling up.
1566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1568 * math/libm-test.inc (fma_test): Add more tests.
1569 (fma_test_towardzero): Likewise.
1570 (fma_test_downward): Likewise.
1571 (fma_test_upward): Likewise.
1572
99252c8c
JM
15732012-11-05 Joseph Myers <joseph@codesourcery.com>
1574
acfa885f
JM
1575 [BZ #14805]
1576 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1577 fenv_t *.
1578
99252c8c
JM
1579 [BZ #14801]
1580 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1581 namespace for names of struct fields.
1582 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1583 fenv_t fields.
1584 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1585 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1586
d6d98dea
ST
15872012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1588
1589 [BZ #3665]
1590 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1591
e10bb107
TS
15922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1593
1594 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1595 PTR_DEMANGLE.
1596
1597 [BZ #5246]
1598 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1599 PTR_DEMANGLE.
1600
a0c2940d
JM
16012012-11-04 Joseph Myers <joseph@codesourcery.com>
1602
1603 [BZ #14797]
1604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1605 definitely overflow as x * y not x * y + z.
1606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1608 * math/libm-test.inc (fma_test): Add more tests.
1609 (fma_test_towardzero): Likewise.
1610 (fma_test_downward): Likewise.
1611 (fma_test_upward): Likewise.
1612
b830319d
TS
16132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1614
1615 [BZ #157]
1616
1617 * include/stub-tag.h: Remove file.
1618 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1619 '#include' of it.
1620 * manual/maint.texi (Porting): Don't reference it.
1621 * Makerules ($(objpfx)stubs): Likewise.
1622 * dirent/closedir.c: Don't include <stub-tag.h>.
1623 * dirent/dirfd.c: Likewise.
1624 * dirent/fdopendir.c: Likewise.
1625 * dirent/getdents.c: Likewise.
1626 * dirent/getdents64.c: Likewise.
1627 * dirent/opendir.c: Likewise.
1628 * dirent/readdir.c: Likewise.
1629 * dirent/readdir64.c: Likewise.
1630 * dirent/readdir64_r.c: Likewise.
1631 * dirent/readdir_r.c: Likewise.
1632 * dirent/rewinddir.c: Likewise.
1633 * dirent/seekdir.c: Likewise.
1634 * dirent/telldir.c: Likewise.
1635 * gmon/profil.c: Likewise.
1636 * grp/setgroups.c: Likewise.
1637 * inet/if_index.c: Likewise.
1638 * io/access.c: Likewise.
1639 * io/chdir.c: Likewise.
1640 * io/chmod.c: Likewise.
1641 * io/chown.c: Likewise.
1642 * io/close.c: Likewise.
1643 * io/dup.c: Likewise.
1644 * io/dup2.c: Likewise.
1645 * io/dup3.c: Likewise.
1646 * io/euidaccess.c: Likewise.
1647 * io/faccessat.c: Likewise.
1648 * io/fchdir.c: Likewise.
1649 * io/fchmod.c: Likewise.
1650 * io/fchmodat.c: Likewise.
1651 * io/fchown.c: Likewise.
1652 * io/fchownat.c: Likewise.
1653 * io/fcntl.c: Likewise.
1654 * io/flock.c: Likewise.
1655 * io/fstatfs.c: Likewise.
1656 * io/fstatfs64.c: Likewise.
1657 * io/fstatvfs.c: Likewise.
1658 * io/fstatvfs64.c: Likewise.
1659 * io/futimens.c: Likewise.
1660 * io/fxstat.c: Likewise.
1661 * io/fxstat64.c: Likewise.
1662 * io/fxstatat.c: Likewise.
1663 * io/fxstatat64.c: Likewise.
1664 * io/getcwd.c: Likewise.
1665 * io/isatty.c: Likewise.
1666 * io/lchmod.c: Likewise.
1667 * io/lchown.c: Likewise.
1668 * io/link.c: Likewise.
1669 * io/linkat.c: Likewise.
1670 * io/lseek.c: Likewise.
1671 * io/lseek64.c: Likewise.
1672 * io/lxstat64.c: Likewise.
1673 * io/mkdir.c: Likewise.
1674 * io/mkdirat.c: Likewise.
1675 * io/mkfifo.c: Likewise.
1676 * io/mkfifoat.c: Likewise.
1677 * io/open.c: Likewise.
1678 * io/open64.c: Likewise.
1679 * io/openat.c: Likewise.
1680 * io/openat64.c: Likewise.
1681 * io/pipe.c: Likewise.
1682 * io/pipe2.c: Likewise.
1683 * io/poll.c: Likewise.
1684 * io/posix_fadvise.c: Likewise.
1685 * io/posix_fadvise64.c: Likewise.
1686 * io/posix_fallocate.c: Likewise.
1687 * io/posix_fallocate64.c: Likewise.
1688 * io/read.c: Likewise.
1689 * io/readlink.c: Likewise.
1690 * io/readlinkat.c: Likewise.
1691 * io/rmdir.c: Likewise.
1692 * io/sendfile.c: Likewise.
1693 * io/sendfile64.c: Likewise.
1694 * io/statfs.c: Likewise.
1695 * io/statfs64.c: Likewise.
1696 * io/statvfs.c: Likewise.
1697 * io/statvfs64.c: Likewise.
1698 * io/symlink.c: Likewise.
1699 * io/symlinkat.c: Likewise.
1700 * io/ttyname.c: Likewise.
1701 * io/ttyname_r.c: Likewise.
1702 * io/umask.c: Likewise.
1703 * io/unlink.c: Likewise.
1704 * io/unlinkat.c: Likewise.
1705 * io/utime.c: Likewise.
1706 * io/utimensat.c: Likewise.
1707 * io/write.c: Likewise.
1708 * io/xmknod.c: Likewise.
1709 * io/xmknodat.c: Likewise.
1710 * io/xstat.c: Likewise.
1711 * io/xstat64.c: Likewise.
1712 * login/getpt.c: Likewise.
1713 * login/grantpt.c: Likewise.
1714 * login/unlockpt.c: Likewise.
1715 * math/e_acoshl.c: Likewise.
1716 * math/e_acosl.c: Likewise.
1717 * math/e_asinl.c: Likewise.
1718 * math/e_atan2l.c: Likewise.
1719 * math/e_atanhl.c: Likewise.
1720 * math/e_coshl.c: Likewise.
1721 * math/e_expl.c: Likewise.
1722 * math/e_fmodl.c: Likewise.
1723 * math/e_gammal_r.c: Likewise.
1724 * math/e_hypotl.c: Likewise.
1725 * math/e_j0l.c: Likewise.
1726 * math/e_j1l.c: Likewise.
1727 * math/e_jnl.c: Likewise.
1728 * math/e_lgammal_r.c: Likewise.
1729 * math/e_log10l.c: Likewise.
1730 * math/e_log2l.c: Likewise.
1731 * math/e_logl.c: Likewise.
1732 * math/e_powl.c: Likewise.
1733 * math/e_rem_pio2l.c: Likewise.
1734 * math/e_sinhl.c: Likewise.
1735 * math/e_sqrtl.c: Likewise.
1736 * math/fclrexcpt.c: Likewise.
1737 * math/fedisblxcpt.c: Likewise.
1738 * math/feenablxcpt.c: Likewise.
1739 * math/fegetenv.c: Likewise.
1740 * math/fegetexcept.c: Likewise.
1741 * math/fegetround.c: Likewise.
1742 * math/feholdexcpt.c: Likewise.
1743 * math/fesetenv.c: Likewise.
1744 * math/fesetround.c: Likewise.
1745 * math/feupdateenv.c: Likewise.
1746 * math/fgetexcptflg.c: Likewise.
1747 * math/fraiseexcpt.c: Likewise.
1748 * math/fsetexcptflg.c: Likewise.
1749 * math/ftestexcept.c: Likewise.
1750 * math/k_cosl.c: Likewise.
1751 * math/k_rem_pio2l.c: Likewise.
1752 * math/k_sinl.c: Likewise.
1753 * math/k_tanl.c: Likewise.
1754 * math/s_asinhl.c: Likewise.
1755 * math/s_atanl.c: Likewise.
1756 * math/s_cbrtl.c: Likewise.
1757 * math/s_erfl.c: Likewise.
1758 * math/s_expm1l.c: Likewise.
1759 * math/s_log1pl.c: Likewise.
1760 * math/s_tanhl.c: Likewise.
1761 * misc/acct.c: Likewise.
1762 * misc/brk.c: Likewise.
1763 * misc/chflags.c: Likewise.
1764 * misc/chroot.c: Likewise.
1765 * misc/fchflags.c: Likewise.
1766 * misc/fgetxattr.c: Likewise.
1767 * misc/flistxattr.c: Likewise.
1768 * misc/fremovexattr.c: Likewise.
1769 * misc/fsetxattr.c: Likewise.
1770 * misc/fsync.c: Likewise.
1771 * misc/ftruncate.c: Likewise.
1772 * misc/futimes.c: Likewise.
1773 * misc/futimesat.c: Likewise.
1774 * misc/getdomain.c: Likewise.
1775 * misc/getdtsz.c: Likewise.
1776 * misc/gethostid.c: Likewise.
1777 * misc/gethostname.c: Likewise.
1778 * misc/getloadavg.c: Likewise.
1779 * misc/getpagesize.c: Likewise.
1780 * misc/getsysstats.c: Likewise.
1781 * misc/getxattr.c: Likewise.
1782 * misc/gtty.c: Likewise.
1783 * misc/ioctl.c: Likewise.
1784 * misc/lgetxattr.c: Likewise.
1785 * misc/listxattr.c: Likewise.
1786 * misc/llistxattr.c: Likewise.
1787 * misc/lremovexattr.c: Likewise.
1788 * misc/lsetxattr.c: Likewise.
1789 * misc/lutimes.c: Likewise.
1790 * misc/madvise.c: Likewise.
1791 * misc/mincore.c: Likewise.
1792 * misc/mlock.c: Likewise.
1793 * misc/mlockall.c: Likewise.
1794 * misc/mmap.c: Likewise.
1795 * misc/mprotect.c: Likewise.
1796 * misc/msync.c: Likewise.
1797 * misc/munlock.c: Likewise.
1798 * misc/munlockall.c: Likewise.
1799 * misc/munmap.c: Likewise.
1800 * misc/preadv.c: Likewise.
1801 * misc/preadv64.c: Likewise.
1802 * misc/ptrace.c: Likewise.
1803 * misc/pwritev.c: Likewise.
1804 * misc/pwritev64.c: Likewise.
1805 * misc/readv.c: Likewise.
1806 * misc/reboot.c: Likewise.
1807 * misc/remap_file_pages.c: Likewise.
1808 * misc/removexattr.c: Likewise.
1809 * misc/revoke.c: Likewise.
1810 * misc/select.c: Likewise.
1811 * misc/setdomain.c: Likewise.
1812 * misc/setegid.c: Likewise.
1813 * misc/seteuid.c: Likewise.
1814 * misc/sethostid.c: Likewise.
1815 * misc/sethostname.c: Likewise.
1816 * misc/setregid.c: Likewise.
1817 * misc/setreuid.c: Likewise.
1818 * misc/setxattr.c: Likewise.
1819 * misc/sstk.c: Likewise.
1820 * misc/stty.c: Likewise.
1821 * misc/swapoff.c: Likewise.
1822 * misc/swapon.c: Likewise.
1823 * misc/sync.c: Likewise.
1824 * misc/syncfs.c: Likewise.
1825 * misc/syscall.c: Likewise.
1826 * misc/truncate.c: Likewise.
1827 * misc/ualarm.c: Likewise.
1828 * misc/usleep.c: Likewise.
1829 * misc/ustat.c: Likewise.
1830 * misc/utimes.c: Likewise.
1831 * misc/vhangup.c: Likewise.
1832 * misc/writev.c: Likewise.
1833 * posix/_exit.c: Likewise.
1834 * posix/alarm.c: Likewise.
1835 * posix/execve.c: Likewise.
1836 * posix/fexecve.c: Likewise.
1837 * posix/fork.c: Likewise.
1838 * posix/fpathconf.c: Likewise.
1839 * posix/getaddrinfo.c: Likewise.
1840 * posix/getegid.c: Likewise.
1841 * posix/geteuid.c: Likewise.
1842 * posix/getgid.c: Likewise.
1843 * posix/getgroups.c: Likewise.
1844 * posix/getlogin.c: Likewise.
1845 * posix/getlogin_r.c: Likewise.
1846 * posix/getpgid.c: Likewise.
1847 * posix/getpid.c: Likewise.
1848 * posix/getppid.c: Likewise.
1849 * posix/getresgid.c: Likewise.
1850 * posix/getresuid.c: Likewise.
1851 * posix/getsid.c: Likewise.
1852 * posix/getuid.c: Likewise.
1853 * posix/glob64.c: Likewise.
1854 * posix/nanosleep.c: Likewise.
1855 * posix/pathconf.c: Likewise.
1856 * posix/pause.c: Likewise.
1857 * posix/posix_madvise.c: Likewise.
1858 * posix/pread.c: Likewise.
1859 * posix/pread64.c: Likewise.
1860 * posix/pwrite.c: Likewise.
1861 * posix/pwrite64.c: Likewise.
1862 * posix/sched_getaffinity.c: Likewise.
1863 * posix/sched_getp.c: Likewise.
1864 * posix/sched_gets.c: Likewise.
1865 * posix/sched_primax.c: Likewise.
1866 * posix/sched_primin.c: Likewise.
1867 * posix/sched_rr_gi.c: Likewise.
1868 * posix/sched_setaffinity.c: Likewise.
1869 * posix/sched_setp.c: Likewise.
1870 * posix/sched_sets.c: Likewise.
1871 * posix/sched_yield.c: Likewise.
1872 * posix/setgid.c: Likewise.
1873 * posix/setlogin.c: Likewise.
1874 * posix/setpgid.c: Likewise.
1875 * posix/setresgid.c: Likewise.
1876 * posix/setresuid.c: Likewise.
1877 * posix/setsid.c: Likewise.
1878 * posix/setuid.c: Likewise.
1879 * posix/sleep.c: Likewise.
1880 * posix/spawni.c: Likewise.
1881 * posix/sysconf.c: Likewise.
1882 * posix/times.c: Likewise.
1883 * posix/wait.c: Likewise.
1884 * posix/wait3.c: Likewise.
1885 * posix/wait4.c: Likewise.
1886 * posix/waitpid.c: Likewise.
1887 * resolv/gai_sigqueue.c: Likewise.
1888 * resource/getpriority.c: Likewise.
1889 * resource/getrlimit.c: Likewise.
1890 * resource/getrusage.c: Likewise.
1891 * resource/nice.c: Likewise.
1892 * resource/setpriority.c: Likewise.
1893 * resource/setrlimit.c: Likewise.
1894 * resource/ulimit.c: Likewise.
1895 * rt/aio_cancel.c: Likewise.
1896 * rt/aio_fsync.c: Likewise.
1897 * rt/aio_read.c: Likewise.
1898 * rt/aio_sigqueue.c: Likewise.
1899 * rt/aio_suspend.c: Likewise.
1900 * rt/aio_write.c: Likewise.
1901 * rt/clock_getres.c: Likewise.
1902 * rt/clock_gettime.c: Likewise.
1903 * rt/clock_nanosleep.c: Likewise.
1904 * rt/clock_settime.c: Likewise.
1905 * rt/lio_listio.c: Likewise.
1906 * rt/mq_close.c: Likewise.
1907 * rt/mq_getattr.c: Likewise.
1908 * rt/mq_notify.c: Likewise.
1909 * rt/mq_open.c: Likewise.
1910 * rt/mq_receive.c: Likewise.
1911 * rt/mq_send.c: Likewise.
1912 * rt/mq_setattr.c: Likewise.
1913 * rt/mq_timedreceive.c: Likewise.
1914 * rt/mq_timedsend.c: Likewise.
1915 * rt/mq_unlink.c: Likewise.
1916 * rt/shm_open.c: Likewise.
1917 * rt/shm_unlink.c: Likewise.
1918 * rt/timer_create.c: Likewise.
1919 * rt/timer_delete.c: Likewise.
1920 * rt/timer_getoverr.c: Likewise.
1921 * rt/timer_gettime.c: Likewise.
1922 * rt/timer_settime.c: Likewise.
1923 * setjmp/__longjmp.c: Likewise.
1924 * setjmp/setjmp.c: Likewise.
1925 * signal/kill.c: Likewise.
1926 * signal/killpg.c: Likewise.
1927 * signal/raise.c: Likewise.
1928 * signal/sigaction.c: Likewise.
1929 * signal/sigaltstack.c: Likewise.
1930 * signal/sigblock.c: Likewise.
1931 * signal/sigignore.c: Likewise.
1932 * signal/sigintr.c: Likewise.
1933 * signal/signal.c: Likewise.
1934 * signal/sigpause.c: Likewise.
1935 * signal/sigpending.c: Likewise.
1936 * signal/sigqueue.c: Likewise.
1937 * signal/sigreturn.c: Likewise.
1938 * signal/sigset.c: Likewise.
1939 * signal/sigsetmask.c: Likewise.
1940 * signal/sigstack.c: Likewise.
1941 * signal/sigsuspend.c: Likewise.
1942 * signal/sigtimedwait.c: Likewise.
1943 * signal/sigvec.c: Likewise.
1944 * signal/sigwait.c: Likewise.
1945 * signal/sigwaitinfo.c: Likewise.
1946 * signal/sysv_signal.c: Likewise.
1947 * socket/accept.c: Likewise.
1948 * socket/accept4.c: Likewise.
1949 * socket/bind.c: Likewise.
1950 * socket/connect.c: Likewise.
1951 * socket/getpeername.c: Likewise.
1952 * socket/getsockname.c: Likewise.
1953 * socket/getsockopt.c: Likewise.
1954 * socket/isfdtype.c: Likewise.
1955 * socket/listen.c: Likewise.
1956 * socket/recv.c: Likewise.
1957 * socket/recvfrom.c: Likewise.
1958 * socket/recvmsg.c: Likewise.
1959 * socket/send.c: Likewise.
1960 * socket/sendmsg.c: Likewise.
1961 * socket/sendto.c: Likewise.
1962 * socket/setsockopt.c: Likewise.
1963 * socket/shutdown.c: Likewise.
1964 * socket/sockatmark.c: Likewise.
1965 * socket/socket.c: Likewise.
1966 * socket/socketpair.c: Likewise.
1967 * stdio-common/ctermid.c: Likewise.
1968 * stdio-common/cuserid.c: Likewise.
1969 * stdio-common/remove.c: Likewise.
1970 * stdio-common/rename.c: Likewise.
1971 * stdio-common/renameat.c: Likewise.
1972 * stdio-common/tempname.c: Likewise.
1973 * stdlib/getcontext.c: Likewise.
1974 * stdlib/makecontext.c: Likewise.
1975 * stdlib/setcontext.c: Likewise.
1976 * stdlib/swapcontext.c: Likewise.
1977 * stdlib/system.c: Likewise.
1978 * streams/fattach.c: Likewise.
1979 * streams/fdetach.c: Likewise.
1980 * streams/getmsg.c: Likewise.
1981 * streams/getpmsg.c: Likewise.
1982 * streams/putmsg.c: Likewise.
1983 * streams/putpmsg.c: Likewise.
1984 * sysdeps/unix/bsd/getpt.c: Likewise.
1985 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1986 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1987 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1989 Likewise.
1990 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1991 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1992 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1993 * sysvipc/msgctl.c: Likewise.
1994 * sysvipc/msgget.c: Likewise.
1995 * sysvipc/msgrcv.c: Likewise.
1996 * sysvipc/msgsnd.c: Likewise.
1997 * sysvipc/semctl.c: Likewise.
1998 * sysvipc/semget.c: Likewise.
1999 * sysvipc/semop.c: Likewise.
2000 * sysvipc/semtimedop.c: Likewise.
2001 * sysvipc/shmat.c: Likewise.
2002 * sysvipc/shmctl.c: Likewise.
2003 * sysvipc/shmdt.c: Likewise.
2004 * sysvipc/shmget.c: Likewise.
2005 * termios/tcdrain.c: Likewise.
2006 * termios/tcflow.c: Likewise.
2007 * termios/tcflush.c: Likewise.
2008 * termios/tcgetattr.c: Likewise.
2009 * termios/tcgetpgrp.c: Likewise.
2010 * termios/tcsendbrk.c: Likewise.
2011 * termios/tcsetattr.c: Likewise.
2012 * termios/tcsetpgrp.c: Likewise.
2013 * time/adjtime.c: Likewise.
2014 * time/clock.c: Likewise.
2015 * time/getitimer.c: Likewise.
2016 * time/gettimeofday.c: Likewise.
2017 * time/setitimer.c: Likewise.
2018 * time/settimeofday.c: Likewise.
2019 * time/stime.c: Likewise.
2020 * time/time.c: Likewise.
2021
20222012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2023
a20492cf
PT
2024 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2025 /usr/old/bin.
2026
72e182e3
PT
2027 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2028 instead of spaces.
2029 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2030
fbeafede
JM
20312012-11-03 Joseph Myers <joseph@codesourcery.com>
2032
5b5b04d6
JM
2033 [BZ #14796]
2034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2035 FE_TONEAREST before applying Dekker multiplication and Knuth
2036 addition. Clear inexact exceptions and check for exact zero
2037 results afterwards.
2038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2039 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2041 * math/libm-test.inc (fma_test): Add more tests.
2042 (fma_test_towardzero): Likewise.
2043 (fma_test_downward): Likewise.
2044 (fma_test_upward): Likewise.
2045 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2046 function.
2047 (libc_fesetround): New macro.
2048 (libc_fesetroundf): Likewise.
2049 (libc_fesetroundl): Likewise.
2050 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2051 function.
2052 (libc_fesetround_387): Likewise.
2053 (libc_fesetroundf): New macro.
2054 (libc_fesetround): Likewise.
2055 (libc_fesetroundl): Likewise.
2056 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2057 function.
2058 (libc_fesetroundf): New macro.
2059 (libc_fesetround): Likewise.
2060 (libc_fesetroundl): Likewise.
2061 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2062 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2063 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2064 libm_hidden_ver.
2065 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2066 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2067 libm_hidden_def.
2068 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2069 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2070 libm_hidden_ver.
2071 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2072 libm_hidden_def.
2073
fbeafede
JM
2074 [BZ #3439]
2075 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2076 integer constant usable in #if and use that to give value to enum
2077 constant.
2078 (FE_DIVBYZERO): Likewise.
2079 (FE_UNDERFLOW): Likewise.
2080 (FE_OVERFLOW): Likewise.
2081 (FE_INVALID): Likewise.
2082 (FE_INVALID_SNAN): Likewise.
2083 (FE_INVALID_ISI): Likewise.
2084 (FE_INVALID_IDI): Likewise.
2085 (FE_INVALID_ZDZ): Likewise.
2086 (FE_INVALID_IMZ): Likewise.
2087 (FE_INVALID_COMPARE): Likewise.
2088 (FE_INVALID_SOFTWARE): Likewise.
2089 (FE_INVALID_SQRT): Likewise.
2090 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2091 (FE_TONEAREST): Likewise.
2092 (FE_TOWARDZERO): Likewise.
2093 (FE_UPWARD): Likewise.
2094 (FE_DOWNWARD): Likewise.
2095 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2096 (FE_DIVBYZERO): Likewise.
2097 (FE_OVERFLOW): Likewise.
2098 (FE_UNDERFLOW): Likewise.
2099 (FE_INEXACT): Likewise.
2100 (FE_TONEAREST): Likewise.
2101 (FE_DOWNWARD): Likewise.
2102 (FE_UPWARD): Likewise.
2103 (FE_TOWARDZERO): Likewise.
2104 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2105 (FE_UNDERFLOW): Likewise.
2106 (FE_OVERFLOW): Likewise.
2107 (FE_DIVBYZERO): Likewise.
2108 (FE_INVALID): Likewise.
2109 (FE_TONEAREST): Likewise.
2110 (FE_TOWARDZERO): Likewise.
2111 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2112 (FE_OVERFLOW): Likewise.
2113 (FE_UNDERFLOW): Likewise.
2114 (FE_DIVBYZERO): Likewise.
2115 (FE_INEXACT): Likewise.
2116 (FE_TONEAREST): Likewise.
2117 (FE_TOWARDZERO): Likewise.
2118 (FE_UPWARD): Likewise.
2119 (FE_DOWNWARD): Likewise.
2120 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2121 (FE_DIVBYZERO): Likewise.
2122 (FE_OVERFLOW): Likewise.
2123 (FE_UNDERFLOW): Likewise.
2124 (FE_INEXACT): Likewise.
2125 (FE_TONEAREST): Likewise.
2126 (FE_DOWNWARD): Likewise.
2127 (FE_UPWARD): Likewise.
2128 (FE_TOWARDZERO): Likewise.
2129
105ca950
CM
21302012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2131
2132 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2133
a542b389
AS
21342012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2135
2136 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2137 commands. Quote $PWD.
2138 (blacklist_exports): Don't use remove_newlines. Replace "declare
2139 -x" by "export".
2140 (remove_newlines): Remove.
2141
f62c8abc
L
21422012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2143
2144 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2145 * stdlib/stdlib.h (atof): Moved to ...
2146 * include/bits/stdlib-float.h: Here. New file.
2147 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2148 * stdlib/bits/stdlib-float.h: New file.
2149 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2150 -mno-sse -mno-mmx.
2151 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2152 <xmmintrin.h>.
2153
0155d5b2
JM
21542012-11-02 Joseph Myers <joseph@codesourcery.com>
2155
a68d0680
JM
2156 * conform/conformtest.pl (@headers): Add fenv.h.
2157 * conform/data/fenv.h-data: New file.
2158 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2159 include of <math/fenv.h>.
2160
caf7f573
JM
2161 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2162 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2163 && !UNIX98]. Enables tests for XOPEN2K8.
2164 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2165 POSIX2008]: Likewise.
2166
6c073ad6
JM
2167 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2168 (struct rusage): Do not expect type or its members.
2169
0155d5b2
JM
2170 [BZ #3439]
2171 * math/math.h (FP_NAN): Define macro to integer constant usable in
2172 #if and use that to give value to enum constant.
2173 (FP_INFINITE): Likewise.
2174 (FP_ZERO): Likewise.
2175 (FP_SUBNORMAL): Likewise.
2176 (FP_NORMAL): Likewise.
2177
b5dcacb4
AS
21782012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2179
2180 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2181 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2182 arguments.
2183
f7934be8
RM
21842012-11-02 Roland McGrath <roland@hack.frob.com>
2185
2186 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2187 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2188 autoconf-time if not.
2189 * configure.in: Remove AC_PREREQ.
2190
d7d08bde
TMQMF
21912012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2192
2193 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2194 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2195 of the internal implementation.
2196
dcdae19a
JM
21972012-11-02 Joseph Myers <joseph@codesourcery.com>
2198
2199 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2200 except include of <misc/sys/syslog.h>.
2201
d6cffd3e
AS
22022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2203
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2205 function returns with a NULL context exit with zero.
2206
b3563932
TMQMF
22072012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2208
2209 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2210
b288a93d
L
22112012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2212
2213 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2214 (run_program_cmd): This.
2215 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2216 (tst_langinfo): New variable. Use it.
2217
a2421a68
SAS
22182012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2219
2220 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2221 floating point opcodes.
2222
6f796e1b
TS
22232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2224
7402596b
TS
2225 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2226 variable.
2227
d0d4f868
TS
2228 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2229
6f796e1b
TS
2230 * sysdeps/mach/hurd/powerpc: Remove directory.
2231 * sysdeps/mach/powerpc: Likewise.
2232
4da224a2
AS
22332012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2234
2235 * scripts/check-local-headers.sh: Ignore c++ headers.
2236
341dd673
TS
22372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2238
2239 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2240 __libc_cleanup_region_start argument.
2241
473611b2
JM
22422012-11-01 Joseph Myers <joseph@codesourcery.com>
2243
2244 [BZ #14784]
2245 [BZ #14785]
2246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2247 x * y using scaling, not as x * y + z.
2248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2250 * math/libm-test.inc (fma_test): Add more tests.
2251 (fma_test_towardzero): Likewise.
2252 (fma_test_downward): Likewise.
2253 (fma_test_upward): Likewise.
2254
4078da3d
TS
22552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2256
2257 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2258
903252aa
JM
22592012-10-31 Joseph Myers <joseph@codesourcery.com>
2260
2261 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2262 New variable.
2263
cbc818d0
TS
22642012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2265
2266 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2267
5a03cb1e
AS
22682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2269
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2271 Fix sort order.
2272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2273 Likewise.
2274
90aff2ff
TMQMF
22752012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2276
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2278 Fix the order of the list for glibc 2.17.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2280 Likewise.
2281
1818fcb7
AS
22822012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2283
2284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2285
ef82f4da
JM
22862012-10-31 Joseph Myers <joseph@codesourcery.com>
2287
16a0e2ec
JM
2288 [BZ #14610]
2289 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2290 for low part of x being zero before using __atanl (y).
2291 * math/libm-test.inc (atan2_test): Add another test.
2292
0eb69512
JM
2293 * manual/install.texi (Configuring and compiling): Document
2294 general use of test-wrapper and test-wrapper-env.
2295 * INSTALL: Regenerated.
2296
ef82f4da
JM
2297 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2298 (__fma): Do not extract and scale down low bits on after-rounding
2299 systems when result rounded to normal precision would have normal
2300 exponent.
2301 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2302 (__fmal): Do not extract and scale down low bits on after-rounding
2303 systems when result rounded to normal precision would have normal
2304 exponent.
2305 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2306 (__fmal): Do not extract and scale down low bits on after-rounding
2307 systems when result rounded to normal precision would have normal
2308 exponent.
2309 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2310 macro.
2311 (fma_test): Add more tests.
2312 (fma_test_towardzero): Likewise.
2313 (fma_test_downward): Likewise.
2314 (fma_test_upward): Likewise.
2315
954ef0d9
L
23162012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2317
2318 * sysdeps/i386/tininess.h: Renamed to ...
2319 * sysdeps/x86/tininess.h: This.
2320 * sysdeps/x86_64/tininess.h: Removed.
2321
df61ffb2
JM
23222012-10-30 Joseph Myers <joseph@codesourcery.com>
2323
2324 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2325 input. Use $(build-program-cmd).
2326 ($(objpfx)tst-array1-static.out): Likewise.
2327 ($(objpfx)tst-array2.out): Likewise.
2328 ($(objpfx)tst-array3.out): Likewise.
2329 ($(objpfx)tst-array4.out): Likewise.
2330 ($(objpfx)tst-array5.out): Likewise.
2331 ($(objpfx)tst-array5-static.out): Likewise.
2332
01767843
CM
23332012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2334
47cc1490
CM
2335 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2336 if defined.
2337
01767843
CM
2338 * nss/nsswitch.h (nss_interface_function): Provide new
2339 macro for use with NSS functions.
2340 * grp/initgroups.c: Use new macro.
2341 * nss/getXXbyYY.c: Likewise.
2342 * nss/getXXbyYY_r.c: Likewise.
2343 * nss/getXXent.c: Likewise.
2344 * nss/getXXent_r.c: Likewise.
2345 * sysdeps/posix/getaddrinfo.c: Likewise.
2346
8321aa97
AJ
23472012-10-30 Andreas Jaeger <aj@suse.de>
2348
2349 * po/ru.po: Update Russion translation from translation project.
2350
2a27fd6d
JM
23512012-10-30 Joseph Myers <joseph@codesourcery.com>
2352
8627a232
JM
2353 [BZ #14152]
2354 [BZ #14783]
2355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2356 result and shift together with sticky bit instead of replicating
2357 round-to-nearest rounding.
2358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2360 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2361 missing underflow exceptions.
2362 (fma_test_towardzero): Add more tests.
2363 (fma_test_downward): Likewise.
2364 (fma_test_upward): Likewise.
2365
2a27fd6d
JM
2366 [BZ #14047]
2367 * sysdeps/generic/tininess.h: New file.
2368 * sysdeps/i386/tininess.h: Likewise.
2369 * sysdeps/sh/tininess.h: Likewise.
2370 * sysdeps/x86_64/tininess.h: Likewise.
2371 * stdlib/tst-strtod-underflow.c: Likewise.
2372 * stdlib/tst-tininess.c: Likewise.
2373 * stdlib/strtod_l.c: Include <tininess.h>.
2374 (round_and_return): Do not set errno for exact underflow cases.
2375 Force an underflow exception when setting errno for underflow.
2376 Determine underflow based on rounding to normal precision if
2377 TININESS_AFTER_ROUNDING.
2378 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2379 ERANGE for exact underflow cases.
2380 * stdlib/Makefile (tests): Add tst-tininess and
2381 tst-strtod-underflow.
2382 ($(objpfx)tst-tininess): Use $(link-libm).
2383 ($(objpfx)tst-strtod-underflow): Likewise.
2384
e7170363
AJ
23852012-10-30 Andreas Jaeger <aj@suse.de>
2386
e5088dc6
AJ
2387 [BZ#14767]
2388 * elf/Makefile (tests): Remove conditional for have-initfini-array
2389 since this is now always required and the variable does not exist
2390 anymore.
2391 (tests-static): Likewise.
2392 (modules-names): Likewise.
2393
e7170363 2394 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2395
2396 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2397 merged with constructor/destructor.
2398 (init_array): Likewise.
2399 * elf/tst-array2dep.c (fini_array): Likewise.
2400 (init_array): Likewise.
2401
60457d8a
MF
24022012-10-29 Mike Frysinger <vapier@gentoo.org>
2403
2404 * manual/message.texi: Delete @cartouche tags.
2405
8bece752
PT
24062012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2407
94ce799f
PT
2408 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2409 EOPNOTSUPP.
2410 * sysdeps/mach/hurd/fsync.c: Likewise.
2411
8bece752
PT
2412 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2413 [_POSIX_REALTIME_SIGNALS]: Change condition to
2414 [_POSIX_REALTIME_SIGNALS > 0].
2415
86ebe6b1
AJ
24162012-10-27 Andreas Jaeger <aj@suse.de>
2417
2418 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2419 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2421 [__WORDSIZE != 64]: Likewise.
2422
54399c08
L
24232012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2424
2425 * iconvdata/tst-table.sh: Remove ${SHELL}.
2426 * iconvdata/tst-tables.sh: Likewise.
2427
e2211bed
DM
24282012-10-25 David S. Miller <davem@davemloft.net>
2429
2430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2431 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2432 of strtoull.
2433
f303f97c
DM
2434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2435 ifunc-impl-list.c
2436 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2437 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2438 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2439 file.
2440
1e9d84cd
RM
24412012-10-25 Roland McGrath <roland@hack.frob.com>
2442
2443 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2444 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2445 __getdirentries.
2446
df381762
JM
24472012-10-25 Joseph Myers <joseph@codesourcery.com>
2448 Jim Blandy <jimb@codesourcery.com>
2449
2450 * scripts/cross-test-ssh.sh: New file.
2451 * manual/install.texi (Configuring and compiling): Document use of
2452 cross-test-ssh.sh.
2453 * INSTALL: Regenerated.
2454
bff64913
PT
24552012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2456
2457 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2458 EOPNOTSUPP.
2459
25fe8932
JM
24602012-10-25 Joseph Myers <joseph@codesourcery.com>
2461
2462 * Makeconfig (run-program-prefix): Fix comment.
2463
cc1290d0
JM
24642012-10-24 Joseph Myers <joseph@codesourcery.com>
2465 Jim Blandy <jimb@codesourcery.com>
2466
2467 * Makeconfig (test-wrapper): New variable,
2468 (test-wrapper-env): Likewise.
2469 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2470 (run-built-tests): Define to yes.
2471 (run-program-prefix): Use $(test-wrapper).
2472 (built-program-cmd): Likewise.
2473 * Rules (make-test-out): Use $(test-wrapper-env) and
2474 $(host-built-program-cmd).
2475 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2476 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2477 tst-pathopt.sh.
2478 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2479 $(test-wrapper-env) to tst-rtld-load-self.sh.
2480 ($(objpfx)order2.out): Use $(test-wrapper).
2481 ($(objpfx)tst-initorder.out): Likewise.
2482 ($(objpfx)tst-initorder2.out): Likewise.
2483 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2484 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2485 (test_wrapper_env): New variable. Use it to run ld.so.
2486 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2487 Use it to run ld.so.
2488 (test_wrapper_env): Likewise.
2489 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2490 $(test-wrapper) to run-iconv-test.sh.
2491 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2492 (ICONV): Use $test_wrapper.
2493 * posix/Makefile ($(objpfx)globtest.out): Pass
2494 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2495 globtest.sh, not $(run-program-prefix).
2496 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2497 (test_wrapper): Likewise.
2498 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2499 set together with run_via_rtld_prefix.
2500 (run_program_prefix): Define in terms of test_wrapper and
2501 run_via_rtld_prefix.
2502
6e6249d0
RM
25032012-10-24 Roland McGrath <roland@hack.frob.com>
2504
2505 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2506 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2507 Targets removed.
2508
2509 [BZ #14743]
2510 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2511 Declare __clock_getres, __clock_gettime, __clock_settime,
2512 __clock_nanosleep, and __clock_getcpuclockid.
2513 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2514 Remove librt_hidden_def (clock_gettime).
2515 * sysdeps/unix/clock_gettime.c: Likewise.
2516 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2517 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2518 * rt/clock_getres.c: Define __clock_getres as an alias.
2519 * sysdeps/posix/clock_getres.c: Likewise.
2520 * rt/clock_settime.c: Define __clock_settime as an alias.
2521 * sysdeps/unix/clock_settime.c: Likewise.
2522 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2523 * sysdeps/unix/clock_nanosleep.c: Likewise.
2524 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2525 * rt/clock-compat.c: New file.
2526 * rt/Makefile (librt-routines): Add clock-compat and move
2527 $(clock-routines) to ...
2528 (routines): ... here, new variable.
2529 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2530 Don't add get_clockfreq here.
2531 * rt/Versions (libc: GLIBC_2.17): New version set.
2532 Add clock_* symbols here.
2533 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2535 (GLIBC_2.17): Add clock_* symbols.
2536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2540 Likewise.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2542 Likewise.
2543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2547 * NEWS: Mention the move.
2548
2549 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2550 Use __open, __read, __close rather than their public counterparts.
2551 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2552 (__get_clockfreq_via_cpuinfo): Likewise.
2553 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2554 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2555
2556 * config.h.in (HAVE_IFUNC): New #undef.
2557 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2558 was successful.
2559 * configure: Regenerated.
2560
0cae3f4b
MF
25612012-10-24 Mike Frysinger <vapier@gentoo.org>
2562
2563 * configure.in: Move READELF check to start of file.
2564 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2565 libc_cv_asm_gnu_indirect_function in the process.
2566 * configure: Regenerated.
2567
8175a253
MF
25682012-10-24 Mike Frysinger <vapier@gentoo.org>
2569
2570 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2571 send the output to /dev/null.
2572 (libc_cv_cc_with_libunwind): Likewise.
2573 (libc_cv_as_noexecstack): Likewise.
2574 * configure: Regenerate.
2575
0708a7d1
JM
25762012-10-24 Joseph Myers <joseph@codesourcery.com>
2577
10b40d85
JM
2578 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2579
0708a7d1
JM
2580 * posix/globtest.sh (TMPDIR): Do not set.
2581 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2582 (testout): Likewise.
2583
9fddec1a
AJ
25842012-10-24 Andreas Jaeger <aj@suse.de>
2585
3a8db22f
AJ
2586 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2587 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2588 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2589 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2590 posix_fadvise64, posix_fallocate64.
2591
9fddec1a
AJ
2592 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2593 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2594 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2595 Likewise.
2596 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2597 Likewise.
2598 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2599
2600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2601 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2602 <bits/fcntl-linux.h>.
2603 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2604
2605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2606 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2607 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2608 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2609 [__WORDSIZE != 64]: Likewise.
2610
ebfd1bbd
JM
26112012-10-23 Joseph Myers <joseph@codesourcery.com>
2612
03ac099f
JM
2613 * Makeconfig (run-built-tests): New variable.
2614 * Rules [$(cross-compiling) = yes]: Change condition to
2615 [$(run-built-tests) = no].
2616 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2617 to [$(run-built-tests) = yes].
2618 * elf/Makefile [$(cross-compiling) = no]: Likewise
2619 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2620 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2621 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2622 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2623 * io/Makefile [$(cross-compiling) = no]: Likewise.
2624 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2625 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2626 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2627 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2628 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2629 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2630 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2631 * string/Makefile [$(cross-compiling) = no]: Likewise.
2632
ebfd1bbd
JM
2633 * posix/Makefile ($(objpfx)globtest.out): Pass
2634 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2635 $(rtld-installed-name).
2636 * posix/globtest.sh (elf_objpfx): Remove variable.
2637 (rtld_installed_name): Likewise.
2638 (library_path): Likewise.
2639 (run_program_prefix): New variable. Use for running globtest
2640 binary.
2641
166bca24
JB
26422012-10-23 Jim Blandy <jimb@codesourcery.com>
2643 Joseph Myers <joseph@codesourcery.com>
2644
2645 * Makeconfig (host-built-program-cmd): New variable.
2646 * elf/Makefile (tst-stackguard1-ARGS): Use
2647 $(host-built-program-cmd).
2648 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2649 (tst-spawn-ARGS): Likewise.
2650 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2651
88866099
JM
26522012-10-23 Joseph Myers <joseph@codesourcery.com>
2653 Jim Blandy <jimb@codesourcery.com>
2654
2655 * Makeconfig (run-via-rtld-prefix): New variable.
2656 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2657 (built-program-cmd): Likewise.
2658
b4b4c296
AJ
26592012-10-22 Andreas Jaeger <aj@suse.de>
2660
2661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2662 __O_RSYNC if it exists, otherwise to O_SYNC.
2663
6fb54a22
JB
26642012-10-22 Jim Blandy <jimb@codesourcery.com>
2665 Joseph Myers <joseph@codesourcery.com>
2666
2667 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2668 /dev/null.
2669 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2670 from /dev/null
2671 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2672 /dev/null.
2673
481b90b9
AJ
26742012-10-22 Andreas Jaeger <aj@suse.de>
2675
2a0e2669
AJ
2676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2677 Define always.
2678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2679
76e38f9a
AJ
2680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2681 bits/fcntl-linux.h.
2682
7cd37b43
AJ
2683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2684 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2685
481b90b9
AJ
2686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2687 to __O_LARGEFILE.
2688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2689 to __O_LARGEFILE.
2690
aba75984
JB
26912012-10-21 Jim Blandy <jimb@codesourcery.com>
2692 Joseph Myers <joseph@codesourcery.com>
2693
2694 * config.make.in (NM): New variable.
2695
88d4247f
AJ
26962012-10-21 Andreas Jaeger <aj@suse.de>
2697
2698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2699 definitions and declarations that are provided by
2700 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2701
f2eed205
L
27022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2703
2704 [BZ #14683]
2705 * elf/Makefile (tests-static): Add tst-leaks1-static.
2706 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2707 ($(objpfx)tst-leaks1-static): New rule.
2708 ($(objpfx)tst-leaks1-static-mem): Likewise.
2709 (tst-leaks1-static-ENV): New macro.
2710 * elf/dl-open.c (dl_open_worker): Check the main application
2711 only if SHARED is defined.
2712 * elf/tst-leaks1-static.c: New file.
2713
335e6931
AJ
27142012-10-20 Andreas Jaeger <aj@suse.de>
2715
2716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2717 generic values for Linux.
2718 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2719 and declarations that are provided by <bits/fcntl-linux.h> and
2720 include <bits/fcntl-linux.h>.
2721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2723
ac5c94d3
RM
27242012-10-20 Roland McGrath <roland@hack.frob.com>
2725
2726 * io/fcntl.h: Move include of <bits/types.h> to the top and
2727 include it unconditionally.
2728
de54b33a
L
27292012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2730
228cfb01
L
2731 * wcsmbs/Makefile (tests-ifunc): New variable.
2732 (tests): Add $(tests-ifunc).
2733 * wcsmbs/test-wcschr-ifunc.c: New file.
2734 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2735 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2736 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2737 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2738 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2739
69f07e5f
L
2740 * string/Makefile (tests-ifunc): New variable.
2741 (tests): Add $(tests-ifunc).
2742 * string/test-memccpy.c (TEST_NAME): New macro.
2743 * string/test-memchr.c (TEST_NAME): Likewise.
2744 * string/test-memcmp.c (TEST_NAME): Likewise.
2745 * string/test-memcpy.c (TEST_NAME): Likewise.
2746 * string/test-memmem.c (TEST_NAME): Likewise.
2747 * string/test-memmove.c (TEST_NAME): Likewise.
2748 * string/test-memset.c (TEST_NAME): Likewise.
2749 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2750 * string/test-stpcpy.c (TEST_NAME): Likewise.
2751 * string/test-stpncpy.c (TEST_NAME): Likewise.
2752 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2753 * string/test-strcasestr.c (TEST_NAME): Likewise.
2754 * string/test-strcat.c (TEST_NAME): Likewise.
2755 * string/test-strchr.c (TEST_NAME): Likewise.
2756 * string/test-strcmp.c(TEST_NAME): Likewise.
2757 * string/test-strcpy.c (TEST_NAME): Likewise.
2758 * string/test-strcspn.c (TEST_NAME): Likewise.
2759 * string/test-strlen.c (TEST_NAME): Likewise.
2760 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2761 * string/test-strncmp.c (TEST_NAME): Likewise.
2762 * string/test-strncpy.c (TEST_NAME): Likewise.
2763 * string/test-strnlen.c (TEST_NAME): Likewise.
2764 * string/test-strpbrk.c (TEST_NAME): Likewise.
2765 * string/test-strrchr.c (TEST_NAME): Likewise.
2766 * string/test-strspn.c (TEST_NAME): Likewise.
2767 * string/test-strstr.c (TEST_NAME): Likewise.
2768 * string/test-bcopy-ifunc.c: New file.
2769 * string/test-bzero-ifunc.c: Likewise.
2770 * string/test-memccpy-ifunc.c: Likewise.
2771 * string/test-memchr-ifunc.c: Likewise.
2772 * string/test-memcmp-ifunc.c: Likewise.
2773 * string/test-memcpy-ifunc.c: Likewise.
2774 * string/test-memmem-ifunc.c: Likewise.
2775 * string/test-memmove-ifunc.c: Likewise.
2776 * string/test-mempcpy-ifunc.c: Likewise.
2777 * string/test-memset-ifunc.c: Likewise.
2778 * string/test-rawmemchr-ifunc.c: Likewise.
2779 * string/test-stpcpy-ifunc.c: Likewise.
2780 * string/test-stpncpy-ifunc.c: Likewise.
2781 * string/test-strcasecmp-ifunc.c: Likewise.
2782 * string/test-strcasestr-ifunc.c: Likewise.
2783 * string/test-strcat-ifunc.c: Likewise.
2784 * string/test-strchr-ifunc.c: Likewise.
2785 * string/test-strchrnul-ifunc.c: Likewise.
2786 * string/test-strcmp-ifunc.c: Likewise.
2787 * string/test-strcpy-ifunc.c: Likewise.
2788 * string/test-strcspn-ifunc.c: Likewise.
2789 * string/test-strlen-ifunc.c: Likewise.
2790 * string/test-strncasecmp-ifunc.c: Likewise.
2791 * string/test-strncat-ifunc.c: Likewise.
2792 * string/test-strncmp-ifunc.c: Likewise.
2793 * string/test-strncpy-ifunc.c: Likewise.
2794 * string/test-strnlen-ifunc.c: Likewise.
2795 * string/test-strpbrk-ifunc.c: Likewise.
2796 * string/test-strrchr-ifunc.c: Likewise.
2797 * string/test-strspn-ifunc.c: Likewise.
2798 * string/test-strstr-ifunc.c: Likewise.
2799
de54b33a
L
2800 * debug/Makefile (tests-ifunc): New variable.
2801 (tests): Add $(tests-ifunc).
2802 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2803 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2804 * debug/test-stpcpy_chk-ifunc.c: New file.
2805 * debug/test-strcpy_chk-ifunc.c: Likewise.
2806
88481c16
SP
28072012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2808
2809 [BZ #13601]
2810 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2811 header is not read in.
2812
135948bd
JM
28132012-10-19 Joseph Myers <joseph@codesourcery.com>
2814
89f1c388
JM
2815 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2816 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2817 directly. Pass built executable to script as
2818 $(built-program-cmd).
2819 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2820 $testprogram without using LD_LIBRARY_PATH and $ldso.
2821
e40a0d21
JM
2822 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2823 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2824 $(rtld-installed-name).
2825 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2826 (rtld_installed_name): Likewise.
2827 (library_path): Likewise.
2828 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2829 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2830 $(run-program-prefix) to tst-tables.sh.
2831 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2832 it to run tst-table-from and tst-table-to.
2833 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2834 Pass it to tst-table.sh.
2835 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2836 $(run-program-prefix) to tst-gettext.sh.
2837 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2838 tst-translit.sh.
2839 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2840 tst-gettext2.sh.
2841 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2842 to run tst-gettext.
2843 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2844 to run tst-gettext2.
2845 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2846 to run tst-translit.
2847 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2848 $(run-program-prefix) to tst-mtrace.sh.
2849 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2850 to run tst-mtrace.
2851 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2852 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2853 $(rtld-installed-name).
2854 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2855 (rtld_installed_name): Likewise.
2856 (run_program_prefix): New variable. Use it to run wordexp-test.
2857
728e272a
JM
2858 * Makeconfig (ARCH): Remove all definitions.
2859 (machine): Likewise.
2860 [ARCH]: Remove conditional code.
2861 [!objdir]: Give error.
2862 [!objdir] (objpfx): Remove.
2863 [!objdir] (common-objpfx): Likewise.
2864 [!objdir] (common-objdir): Likewise.
2865 * configure.in (config_makefile): Remove. Hardcode Makefile in
2866 AC_CONFIG_FILES call.
2867 * configure: Regenerated.
2868
d528cdcf
JM
2869 [BZ #13888]
2870 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2871 or TMPDIR.
2872 (testout): Likewise.
2873
135948bd
JM
2874 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2875 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2876 $(rtld-installed-name).
2877 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2878 (rtld_installed_name): Likwise.
2879 (runit): Remove function.
2880 (run_getconf): New variable, Use it for running getconf binary.
2881
38c78296
L
28822012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2883
2884 [BZ #14716]
2885 * string/test-memmem.c (check_result): New function.
2886 (do_one_test): Use it.
2887 (check1): New function.
2888 (test_main): Use it.
2889
d077f65f
MT
28902012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2891
2892 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2893
ced52c71
JM
28942012-10-18 Joseph Myers <joseph@codesourcery.com>
2895
2896 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2897 (_G_LSEEK64): Likewise.
2898 (_G_MMAP64): Likewise.
2899 (_G_FSTAT64): Likewise.
2900 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2901 (_G_LSEEK64): Likewise.
2902 (_G_MMAP64): Likewise.
2903 (_G_FSTAT64): Likewise.
2904 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2905 unconditional. Call __mmap64 directly.
2906 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2907 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2908 __lseek64 directly.
2909 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2910 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2911 __mmap64 directly.
2912 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2913 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2914 __lseek64 directly.
2915 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2916 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2917 __lseek64 directly.
2918 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2919 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2920 __lseek64 directly.
2921 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2922 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2923 __fxstat64 directly.
2924 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2925 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2926 unconditional.
2927 (freopen64) [!_G_OPEN64]: Remove conditional code.
2928 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2929 unconditional.
2930 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2931 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2932 unconditional.
2933 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2934 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2935 unconditional.
2936 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2937 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2938 unconditional.
2939 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2940 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2941 unconditional.
2942 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2943 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2944 unconditional.
2945 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2946 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2947 unconditional.
2948 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2949
b741de23
SP
29502012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2951
2952 [BZ #12140]
2953 * manual/memory.texi (Malloc Tunable Parameters): Add note
2954 about free list pointers overwriting some perturb bytes.
2955 Wording suggested by Roland McGrath.
2956
f9b9d9c9
JM
29572012-10-17 Joseph Myers <joseph@codesourcery.com>
2958
2959 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2960 (lgamma_test): Likewise.
2961 (tgamma_test): Likewise.
2962
172a631a
FW
29632012-10-16 Florian Weimer <fweimer@redhat.com>
2964
2965 [BZ #14700]
2966 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2967 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2968
e9f37252
MK
29692012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2970
2971 * NEWS: Mention BZ #14716.
2972 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2973 when removing AVAILABLE1_USES_J macro.
2974
d394eb74
L
29752012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2976
2977 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2978 (__bswap_64): __uint64_t for unsigned 64-bit int.
2979
ca38dc17
AS
29802012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2981
2982 * include/string.h (memmem): Declare libc hidden alias.
2983 * string/memmem.c (memmem): Define libc hidden alias.
2984 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2985 __read, __close instead of open, read, close.
2986
9a387d1f
L
29872012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2988
ac49ecaf
L
2989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2990 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2991 global and hidden.
2992 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2993 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2994 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2995 Likewise.
2996 (__rawmemchr_sse2): Likewise.
2997 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2998 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2999 (__strchr_sse2): Likewise.
3000 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3001 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3002 (__strcasecmp_sse2): Likewise.
3003 (__strncasecmp_sse2): Likewise.
3004 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3005 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3006 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3007 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3008 (__strrchr_sse2): Likewise.
3009 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3010 ifunc-impl-list.c.
3011 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3012 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3013 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3014 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3015 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3016 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3017 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3018 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3019 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3020 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3021 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3022 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3023 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3024 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3025 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3026 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3027 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3028 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3029 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3030 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3031 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3032 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3033 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3034 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3035 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3036 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3037 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3038 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3039 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3040 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3041
b090e8ea
L
3042 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3043 global and hidden.
3044 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3045 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3046 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3047 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3048 Likewise.
3049 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3050 Likewise.
3051 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3052 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3053 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3054 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3055 ifunc-impl-list.c.
3056 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3058 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3059 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3060 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3061 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3062 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3063 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3064 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3065 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3066 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3067 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3068 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3069 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3070 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3071 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3073 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3074 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3075 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3076 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3077 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3078 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3079 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3080 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3081 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3082 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3083 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3084 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3085 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3086 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3087 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3089 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3090 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3091 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3092 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3093 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3094 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3095 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3097
11dd4af6
L
3098 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3099 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3100 * include/ifunc-impl-list.h: New file.
3101 * misc/ifunc-impl-list.c: Likewise.
3102 * misc/Makefile (routines): Add ifunc-impl-list.
3103 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3104 * string/test-string.h: Include <ifunc-impl-list.h>.
3105 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3106 impl_array): New variables.
3107 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3108 are defined.
3109 (test_init): Call __libc_ifunc_impl_list to initialize
3110 func_list if TEST_IFUNC and TEST_NAME are defined.
3111
9a387d1f
L
3112 * string/Makefile (strop-tests): Add bcopy and bzero.
3113 * string/test-bcopy.c: New file.
3114 * string/test-bzero.c: Likewise.
3115 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3116 defined.
3117 * string/test-memset.c: Support bzero test if TEST_BZERO is
3118 defined.
3119 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3120 __libc_memmove.
3121 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3122 __libc_memset.
3123 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3124 of memset.
3125
472371b9
JM
31262012-10-10 Joseph Myers <joseph@codesourcery.com>
3127
1e4a9536
JM
3128 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3129 * configure: Regenerated.
3130
d173d12e
JM
3131 * Makeconfig (+link-static-before-libc): Don't include
3132 $(link-static-libc).
3133
472371b9
JM
3134 * libio/libio.h (_IO_pos_t): Remove.
3135
89a3ad0b
AO
31362012-10-10 Alexandre Oliva <aoliva@redhat.com>
3137
3138 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3139 McGrath.
3140
e7451425
AO
31412012-10-10 Alexandre Oliva <aoliva@redhat.com>
3142
3143 * crypt/crypt-entry.c: Include fips-private.h.
3144 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3145 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3146 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3147 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3148
4ba74a35
AO
31492012-10-10 Alexandre Oliva <aoliva@redhat.com>
3150
3151 * crypt/crypt-private.h: Include stdbool.h.
3152 (_ufc_setup_salt_r): Return bool.
3153 * crypt/crypt-entry.c: Include errno.h.
3154 (__crypt_r): Return NULL with EINVAL for bad salt.
3155 * crypt/crypt_util.c (bad_for_salt): New.
3156 (_ufc_setup_salt_r): Check that salt is long enough and within
3157 the specified alphabet.
3158 * crypt/badsalttest.c: New file.
3159 * crypt/Makefile (tests): Add it.
3160 ($(objpfx)badsalttest): New.
3161
f96f1242
MK
31622012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3163
3164 * NEWS: Add entry for BZ #14602.
3165
0e8e0c1c
JM
31662012-10-09 Joseph Myers <joseph@codesourcery.com>
3167
3168 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3169 type-generic.
3170 * math/libm-test.inc: Update comment listing what functions and
3171 macros are tested.
3172 (isgreater_test): New function.
3173 (isgreaterequal_test): Likewise.
3174 (isless_test): Likewise.
3175 (islessequal_test): Likewise.
3176 (islessgreater_test): Likewise.
3177 (isunordered_test): Likewise.
3178 (main): Call the new functions.
3179
273edc5e
RM
31802012-10-09 Roland McGrath <roland@hack.frob.com>
3181
b8493de0
RM
3182 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3183 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3184 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3185 * sysdeps/i386/configure: Regenerated.
3186 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3187 * sysdeps/mach/configure: Regenerated.
3188 * sysdeps/mach/hurd/configure: Regenerated.
3189 * sysdeps/powerpc/configure: Regenerated.
3190 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3191 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3192 * sysdeps/s390/s390-32/configure: Regenerated.
3193 * sysdeps/s390/s390-64/configure: Regenerated.
3194 * sysdeps/sh/configure: Regenerated.
3195 * sysdeps/sparc/configure: Regenerated.
3196 * sysdeps/unix/sysv/linux/configure: Regenerated.
3197 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3198 * sysdeps/x86_64/configure: Regenerated.
3199
273edc5e
RM
3200 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3201 defined. Don't check if MAP is NULL.
3202
c8450f70
JM
32032012-10-09 Joseph Myers <joseph@codesourcery.com>
3204
3205 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3206 (_G_stat64): Likewise.
3207 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3208 (_G_stat64): Likewise.
3209 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3210 instead of struct _G_stat64.
3211 * libio/fileops.c (mmap_remap_check): Likewise.
3212 (decide_maybe_mmap): Likewise.
3213 (_IO_new_file_seekoff): Likewise.
3214 (_IO_file_stat): Likewise.
3215 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3216 _G_off64_t.
3217 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3218 instead of struct _G_stat64.
3219 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3220
57e605ba
MK
32212012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3222
3223 [BZ #14602]
3224 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3225 Replace with ...
3226 (CHECK_EOL): New macro.
3227 (two_way_short_needle): Check beginning of haystack for EOL. Use
3228 CHECK_EOL.
3229 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3230 Replace with CHECK_EOL.
3231 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3232 Replace with CHECK_EOL.
3233
ef1bb361
JM
32342012-10-08 Joseph Myers <joseph@codesourcery.com>
3235
3236 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3237 type-generic.
3238 * math/libm-test.inc: Update comment listing what functions and
3239 macros are tested.
3240 (finite_test): New function.
3241 (isinf_test): Likewise.
3242 (isnan_test): Likewise.
3243 (fpclassify_test): Test subnormal input.
3244 (isfinite_test): Likewise.
3245 (isnormal_test): Likewise.
3246 (main): Call the new functions.
3247
55f11534
JN
32482012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3249
3250 [BZ #14660]
3251 * Makerules (%.dynsym): Force C locale when running
3252 $(OBJDUMP) --dynamic-syms.
3253
1ab29350
AS
32542012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3255
3256 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3257 <stdint.h>.
3258
f1ecb7ef
DM
32592012-10-06 David S. Miller <davem@davemloft.net>
3260
3261 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3262 upper 32-bits of the length value in %o2 since we use branch-on-register
3263 tests which consider the entire 64-bit register.
3264
5d41d91a
L
32652012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3266
3267 * string/test-strstr.c (check2): Add a test for page boundary.
3268
3baddb72
DM
32692012-10-05 David S. Miller <davem@davemloft.net>
3270
3271 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3272 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3273 file.
3274 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3275 sysdep_routines.
3276 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3277 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3278 and bzero when HWCAP_SPARC_CRYPTO is present.
3279
9cee5585
L
32802012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3281
d7e0dab9
L
3282 [BZ #14602]
3283 * string/test-strstr.c (check2): New function.
3284 (test_main): Call check2.
3285
03759f47
L
3286 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3287 and bug-strchr1.
3288 * string/bug-strcasestr1.c (do_test): Moved to ...
3289 * string/test-strcasestr.c (check1): Here. New function.
3290 (do_one_test): Break out result checking code into ...
3291 (check_result): This. New function.
3292 (do_one_test): Call check_result.
3293 (test_main): Call check1.
3294 * string/bug-strchr1.c (do_test): Moved to ...
3295 * string/test-strchr.c (check1): Here. New function.
3296 (do_one_test): Break out result checking code into ...
3297 (check_result): This. New function.
3298 (do_one_test): Call check_result.
3299 (test_main): Call check1.
3300 * string/bug-strstr1.c (main): Moved to ...
3301 * string/test-strchr.c (check1): Here. New function.
3302 (do_one_test): Break out result checking code into ...
3303 (check_result): This. New function.
3304 (do_one_test): Call check_result.
3305 (test_main): Call check1.
3306 * string/bug-strcasestr1.c: Removed.
3307 * string/bug-strchr1.c: Likewise.
3308 * string/bug-strstr1.c: Likewise.
3309
53cea63e
L
3310 * elf/Makefile (dl-routines): Add hwcaps.
3311 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3312 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3313 (_dl_important_hwcaps): Moved to ...
3314 * elf/dl-hwcaps.c: Here. New file.
3315 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3316
9cee5585 3317 [BZ #14557]
bb859b06
L
3318 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3319 if IS_IN_rtld isn't defined.
3320
9cee5585
L
3321 * elf/dl-support.c (_dl_sysinfo_map): New.
3322 Include "get-dynamic-info.h" and "setup-vdso.h".
3323 (_dl_non_dynamic_init): Call setup_vdso.
3324 * elf/dynamic-link.h: Don't include <assert.h>.
3325 (elf_get_dynamic_info): Moved to ...
3326 * elf/get-dynamic-info.h: Here. New file.
3327 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3328 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3329 * elf/setup-vdso.h: Here. New file.
3330 * elf/rtld.c: Include "setup-vdso.h".
3331 (dl_main): Call setup_vdso.
3332
23c31b76
JM
33332012-10-05 Joseph Myers <joseph@codesourcery.com>
3334
28234b07
JM
3335 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3336 creal in comment listing functions tested. List finite, isinf,
3337 isnan, isless, islessequal, isgreater, isgreaterequal,
3338 islessgreater, isunordered, lgamma_r and pow10 as functions and
3339 macros not tested. Mention which functions not tested are aliases
3340 for other functions. Fix typo. Note that signs of NaNs are not
3341 tested.
3342
23c31b76
JM
3343 * scripts/config.guess: Update from config.git.
3344 * scripts/config.sub: Likewise.
3345
9043e228
RM
33462012-10-04 Roland McGrath <roland@hack.frob.com>
3347
3348 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3349 * misc/madvise.c (madvise): Renamed to __madvise.
3350 Make madvise a weak alias.
3351 * include/sys/mman.h: Declare __madvise.
3352 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3353 * sysdeps/unix/syscalls.list
3354 (madvise): Make __madvise the strong name, and madvise a weak alias.
3355 * sysdeps/unix/sysv/linux/syscalls.list
3356 (madvise, mmap): Remove redundant entries.
3357 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3358 * malloc/malloc.c (mtrim): Likewise.
3359 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3360
f57f8055
RM
33612012-10-03 Roland McGrath <roland@hack.frob.com>
3362
3363 * sysdeps/mach/hurd/dl-cache.c: File removed.
3364 * config.h.in (USE_LDCONFIG): New #undef.
3365 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3366 * configure: Regenerated.
3367 * elf/Makefile (dl-routines): Add dl-cache only under
3368 [$(use-ldconfig) = yes].
3369 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3370 cache on [USE_LDCONFIG].
3371 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3372 [USE_LDCONFIG].
3373 * elf/rtld.c (dl_main): Likewise.
3374
5bb0c10a
PT
33752012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3376
3377 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3378 _SC_LEVEL4_CACHE_LINESIZE.
3379
010188c6
RM
33802012-10-03 Roland McGrath <roland@hack.frob.com>
3381
3382 * sysdeps/unix/bsd/confstr.h: File removed.
3383
b6c5ec07
AO
33842012-10-02 Alexandre Oliva <aoliva@redhat.com>
3385
3386 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3387 sys/sdt-config.h.
3388
408223d4
RM
33892012-10-02 Roland McGrath <roland@hack.frob.com>
3390
3391 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3392 Make 'mapoff' field ElfW(Off) rather than off_t.
3393
bb9510dc
DL
33942012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3395
fc997c6e
DL
3396 * nscd/Makefile: Remove nscd-cflags and all its users.
3397 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3398 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3399
bb9510dc
DL
3400 [BZ #10631]
3401 * malloc.c (malloc_printerr): Clarify error message.
3402
05699367
L
34032012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3404
3405 [BZ #14648]
3406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3407 Set bit_FMA_Usable if FMA is supported.
3408 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3409 macro.
3410 (bit_FMA4_Usable): Updated.
3411 (index_FMA_Usable): New macro.
3412 (CPUID_FMA): Likewise
3413 (HAS_FMA): Defined with bit_FMA_Usable.
3414
51367701
RM
34152012-10-01 Roland McGrath <roland@hack.frob.com>
3416
3417 * bits/types.h (__swblk_t): Type removed.
3418 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3419 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3421 (__SWBLK_T_TYPE): Likewise.
3422 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3423 (__SWBLK_T_TYPE): Likewise.
3424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3425 (__SWBLK_T_TYPE): Likewise.
3426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3427 (__SWBLK_T_TYPE): Likewise.
3428
4d57bf63 34292012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3430 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3431
3432 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3433 (xdr_mapname): Use YPMAXMAP as maxsize.
3434 (xdr_peername): Use YPMAXPEER as maxsize.
3435 (xdr_keydat): Use YPAXRECORD as maxsize.
3436 (xdr_valdat): Use YPMAXRECORD as maxsize.
3437
93c65d43
RM
34382012-10-01 Roland McGrath <roland@hack.frob.com>
3439
497a03d6
RM
3440 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3441
93c65d43
RM
3442 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3443 * csu/init-first.c: ... here.
3444 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3445 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3446 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3447 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3448 * sysdeps/i386/init-first.c: File removed.
3449 * sysdeps/sh/init-first.c: File removed.
3450
bec749fd
JM
34512012-10-01 Joseph Myers <joseph@codesourcery.com>
3452
3453 [BZ #14645]
3454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3455 if x * y might underflow to zero and z is zero.
3456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3457 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3458 * math/libm-test.inc (min_subnorm_value): New variable.
3459 (fma_test): Add more tests.
3460 (fma_test_towardzero): Likewise.
3461 (fma_test_downward): Likewise
3462 (fma_test_upward): Likewise.
3463 (initialize): Set min_subnorm_value.
3464
8ec5b013
JM
34652012-09-29 Joseph Myers <joseph@codesourcery.com>
3466
3467 [BZ #14638]
3468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3469 0 + 0.
3470 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3471 mode for addition resulting in exact zero.
3472 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3474 exact 0 + 0.
3475 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3477 * math/libm-test.inc (fma_test): Add more tests.
3478 (fma_test_towardzero): New function.
3479 (fma_test_downward): Likewise.
3480 (fma_test_upward): Likewise.
3481 (main): Call the new functions.
3482
b1fa802e
DM
34832012-09-28 David S. Miller <davem@davemloft.net>
3484
3485 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3486
d3b9fd9e
RM
34872012-09-28 Roland McGrath <roland@hack.frob.com>
3488
ea4d37b3
RM
3489 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3490 instead of SIGALRM.
3491
ac51c949
RM
3492 * sysdeps/gnu/_G_config.h: Moved to ...
3493 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3494 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3495 * sysdeps/generic/_G_config.h: ... here.
3496
28c195f7
RM
3497 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3498
848917f9
RM
3499 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3500
6bacf05b
RM
3501 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3502 Conditionalize target on [libnss_test1.so-version].
3503
91363dbb
RM
3504 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3505
cc87f7d8
RM
3506 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3507 (elfobjdir): Move out of conditionals.
3508
b1c608fe
RM
3509 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3510 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3511 (__nss_lookup_function): Conditionalize label remove_from_tree on
3512 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3513
1d9a6d96
DM
35142012-09-28 David S. Miller <davem@davemloft.net>
3515
3516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3517 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3518 file.
3519 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3520 sysdep_routines.
3521 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3523 when HWCAP_SPARC_CRYPTO is present.
3524
72581615
PT
35252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3526
3527 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3528
715a900c
JL
35292012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3530
3531 [BZ #6530]
3532 * stdio-common/vfprintf.c (process_string_arg): Revert
3533 2000-07-22 change.
3534
35352011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3536
3537 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3538 for testcase.
3539 * stdio-common/tst-sprintf.c: Include <locale.h>
3540 (main): Test sprintf's handling of incomplete multibyte
3541 characters.
3542
9bac1d86
L
35432012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3544
3545 * elf/dl-runtime.c (VERSYMIDX): Removed.
3546 * elf/dl-version.c (VERSYMIDX): Likewise.
3547 * elf/do-rel.h (VERSYMIDX): Likewise.
3548 (VALIDX): Likewise.
3549 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3550 * elf/rtld.c (VALIDX): Likewise.
3551 (ADDRIDX): Likewise.
9bac1d86
L
3552 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3553 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3554 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3555 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3556 (VALIDX): Likewise.
3557 (ADDRIDX): Likewise.
9bac1d86 3558
b31606c0
PT
35592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3560
3561 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3562
11541177
JL
35632012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3564
3565 [BZ #11438]
3566 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3567 to global scope.
3568 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3569 addresses are in the same scope as 192.0.2/24.
3570 * posix/gai.conf: Document new scope table defaults.
3571
adb26fae
SP
35722012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3573
3574 [BZ #5298]
3575 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3576 for ftell. Compute offsets from write pointers instead.
3577 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3578
4573c6b0
SP
35792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3580
3581 [BZ #14543]
3582 * libio/Makefile (tests): New test case tst-fseek.
3583 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3584 combination works in wide mode.
3585 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3586 state when the external buffer state changes.
3587
aa9bbfe6
DM
35882012-09-27 David S. Miller <davem@davemloft.net>
3589
3590 [BZ #14376]
3591 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3592 pass reloc->r_addend in as the 'high' argument to
3593 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3594
784421e7
DM
3595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3596
c39bc8b8
PT
35972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3598
3599 * rt/tst-aio2.c: Include <pthread.h>.
3600 * rt/tst-aio3.c: Likewise.
3601
1ccc2399
SE
36022012-09-27 Steve Ellcey <sellcey@mips.com>
3603
3604 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3605
31ed4153
L
36062012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3607
25f5f885
L
3608 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3609 contents on [SHARED].
31ed4153 3610
b7bfe116
MP
36112012-09-26 Marek Polacek <polacek@redhat.com>
3612
3613 [BZ #14530]
3614 [BZ #13741]
3615 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3616 for C++ and GCC <4.3 as well as for non GCC compilers.
3617
43c4edba
MT
36182012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3619
3620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3621
6a1bf82f
RM
36222012-09-25 Roland McGrath <roland@hack.frob.com>
3623
3624 * Makefile.in (all, install): Declare with .PHONY.
3625 Reported by Michael Hope <michael.hope@linaro.org>.
3626
8ad11b9a
TMQMF
36272012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3628
3629 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3630 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3631 system header.
3632 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3633 Likewise.
3634 (sydep_routines): Add the new and the internal functions.
3635 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3636 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3638 (GLIBC_2.17): Add the new function.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3640 (GLIBC_2.17): Likewise.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3642 (GLIBC_2.17): Likewise.
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3644 (GLIBC_2.17): Likewise.
3645 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3646
7e2fca8d
AM
36472012-09-25 Alan Modra <amodra@gmail.com>
3648
3649 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3650 Add release barrier before setting once_control to say
3651 initialisation is done. Add hints on lwarx. Use macro in
3652 place of isync.
3653 (clear_once_control): Add release barrier.
3654
b87c4b24
JM
36552012-09-25 Joseph Myers <joseph@codesourcery.com>
3656
d032e0d2
JM
3657 [BZ #13629]
3658 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3659 specially.
3660 * math/s_clog10.c (__clog10): Likewise.
3661 * math/s_clog10f.c (__clog10f): Likewise.
3662 * math/s_clog10l.c (__clog10l): Likewise.
3663 * math/s_clogf.c (__clogf): Likewise.
3664 * math/s_clogl.c (__clogl): Likewise.
3665 * math/Makefile (libm-calls): Add x2y2m1.
3666 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3667 (__x2y2m1): Likewise.
3668 (__x2y2m1l): Likewise.
3669 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3670 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3673 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3674 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3675 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3676 * sysdeps/i386/fpu/libm-test-ulps: Update.
3677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3678
b87c4b24
JM
3679 [BZ #14621]
3680 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3681 int as type of variable DEPTH.
3682 (glob): Use size_t instead of int as type of variables NEWCOUNT
3683 and OLD_PATHC.
3684
6d3bf199
LD
36852012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3686
22bf5c17
LD
3687 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3688 Add s_sincosf-sse2.
3689 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3690 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3691 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3692 macros for using routine as __sincosf_ia32.
3693 Use macro for function declaration and weak_alias.
3694 * sysdeps/i386/fpu/libm-test-ulps: Update.
3695
3696 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3698
3699 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3700 subnormal argument.
3701 * math/s_cexpf.c (__cexpf): Likewise.
3702 * math/s_csinf.c (__csinf): Likewise.
3703 * math/s_csinhf.c (__csinhf): Likewise.
3704 * math/s_ctanf.c (__ctanf): Likewise.
3705 * math/s_ctanhf.c (__ctanhf): Likewise.
3706 * math/s_ccosh.c (__ccoshf): Likewise.
3707 * math/s_cexp.c (__cexpl): Likewise.
3708 * math/s_csin.c (__csin): Likewise.
3709 * math/s_csinh.c (__csinh): Likewise.
3710 * math/s_ctan.c (__ctan): Likewise.
3711 * math/s_ctanh.c (ctanh): Likewise.
3712 * math/s_ccoshl.c (__ccoshl): Likewise.
3713 * math/s_cexpl.c (__cexpl): Likewise.
3714 * math/s_csinl.c (__csinl): Likewise.
3715 * math/s_csinhl.c (__csinhl): Likewise.
3716 * math/s_ctanl.c (__ctanl): Likewise.
3717 * math/s_ctanhl.c (__ctanhl): Likewise.
3718
203e5603
JM
37192012-09-25 Joseph Myers <joseph@codesourcery.com>
3720
3721 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3722 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3723 (_IO_off_t): Define to __off_t, not _G_off_t.
3724 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3725 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3726 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3727 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3728 type of __dummy and __dummy2 fields.
3729 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3730 (_G_ssize_t): Likewise.
3731 (_G_off_t): Likewise.
3732 (_G_pid_t): Likewise.
3733 (_G_uid_t): Likewise.
3734 (_G_wchar_t): Likewise.
3735 (_G_wint_t): Likewise.
3736 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3737 (_G_ssize_t): Likewise.
3738 (_G_off_t): Likewise.
3739 (_G_pid_t): Likewise.
3740 (_G_uid_t): Likewise.
3741 (_G_wchar_t): Likewise.
3742 (_G_wint_t): Likewise.
3743 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3744 (_G_ssize_t): Likewise.
3745 (_G_off_t): Likewise.
3746 (_G_pid_t): Likewise.
3747 (_G_uid_t): Likewise.
3748 (_G_wchar_t): Likewise.
3749 (_G_wint_t): Likewise.
3750
9fab36eb
SP
37512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3752
3753 * malloc/arena.c: Include malloc-sysdep.h.
3754 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3755 is sufficient to shrink the heap or an unmap is needed.
3756 * sysdeps/generic/malloc-sysdep.h: New file. Define
3757 new function check_may_shrink_heap.
3758 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3759 new function check_may_shrink_heap.
3760
2b4f00d1
SP
37612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3762
3763 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3764 comments.
3765
9a9028b1
DL
37662012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3767
57c69bef
DL
3768 * catgets/test-gencat.sh: Add "set -e".
3769 * elf/tst-pathopt.sh: Likewise.
3770 * grp/tst_fgetgrent.sh: Likewise.
3771 * iconvdata/run-iconv-test.sh: Likewise.
3772 * intl/tst-gettext.sh: Likewise.
3773 * intl/tst-gettext2.sh: Likewise.
3774 * intl/tst-gettext4.sh: Likewise.
3775 * intl/tst-gettext6.sh: Likewise.
3776 * intl/tst-translit.sh: Likewise.
3777 * io/ftwtest-sh: Likewise.
3778 * libio/test-freopen.sh: Likewise.
3779 * malloc/tst-mtrace.sh: Likewise.
3780 * posix/globtest.sh: Likewise.
3781 * posix/tst-getconf.sh: Likewise.
3782 * posix/wordexp-tst.sh: Likewise.
3783 * stdio-common/tst-printf.sh: Likewise.
3784 * stdio-common/tst-unbputc.sh: Likewise.
3785 * stdlib/tst-fmtmsg.sh: Likewise.
3786 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3787 * catgets/Makefile: Do not specify -e option when running
3788 testsuite shell scripts.
3789 * elf/Makefile: Likewise.
3790 * grp/Makefile: Likewise.
3791 * iconvdata/Makefile: Likewise.
3792 * intl/Makefile: Likewise.
3793 * io/Makefile: Likewise.
3794 * libio/Makefile: Likewise.
3795 * malloc/Makefile: Likewise.
3796 * posix/Makefile: Likewise.
3797 * stdio-common/Makefile: Likewise.
3798 * stdlib/Makefile: Likewise.
3799 * sysdeps/x86_64/Makefile: Likewise.
3800
9a9028b1
DL
3801 * io/ftwtest-sh: Add copyright header.
3802 * posix/globtest.sh: Likewise.
3803 * posix/tst-getconf.sh: Likewise.
3804 * posix/wordexp-tst.sh: Likewise.
3805 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3806
ced6f16e
L
38072012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3808
94b32c39
L
3809 [BZ #13679]
3810 * Makeconfig (+link): Defined as $(+link-static) if
3811 $(build-shared) isn't yes.
3812 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3813 isn't yes.
3814 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3815
189e935b
L
3816 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3817
ced6f16e
L
3818 [BZ #14562]
3819 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3820 new chunk size with MALLOC_ALIGN_MASK.
3821
a9f8e53a
JM
38222012-09-24 Joseph Myers <joseph@codesourcery.com>
3823
3824 [BZ #5044]
3825 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3826 <rounding-mode.h>.
3827 (__printf_fphex): Determine rounding using get_rounding_mode and
3828 round_away.
3829 * stdio-common/tst-printf-round.c (struct hex_test): New
3830 structure.
3831 (hex_tests): New variable.
3832 (test_hex_in_one_mode): New function.
3833 (do_test): Also run tests for hex float output.
3834
43153109
JM
38352012-09-21 Joseph Myers <joseph@codesourcery.com>
3836
3837 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3838 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3839 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3840 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3841 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3842 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3843 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3844 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3845
8a26625d
JM
38462012-09-20 Joseph Myers <joseph@codesourcery.com>
3847
3848 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3849 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3850 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3851 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3852
f3fd569c
DL
38532012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3854
3855 [BZ #14579]
3856 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3857 mode only.
3858 * elf/tst-rtld-load-self.sh: New test.
3859 * elf/Makefile: Run it.
3860
63bbedd4
JM
38612012-09-18 Joseph Myers <joseph@codesourcery.com>
3862
3863 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3864 (tst-writev-ENV): Remove.
3865 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3866
626f8b6a
CM
38672012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3868
3869 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3870
b7aaa4d6
JM
38712012-09-17 Joseph Myers <joseph@codesourcery.com>
3872
3873 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3874 unconditional.
3875 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3876 Likewise.
3877 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3878 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3879 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3880 Likewise.
3881
65513990
L
38822012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3883
3884 [BZ #14587]
3885 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3886 * config.make.in (have-cpp-asm-debuginfo): Removed.
3887 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3888 * configure: Regenerated.
3889
784761be
JM
38902012-09-14 Joseph Myers <joseph@codesourcery.com>
3891
3892 [BZ #5044]
3893 * stdio-common/printf_fp.c: Include <stdbool.h> and
3894 <rounding-mode.h>.
3895 (___printf_fp): Determine rounding using get_rounding_mode and
3896 round_away.
3897 * stdio-common/tst-printf-round.c: New file.
3898 * stdio-common/Makefile (tests): Add tst-printf-round.
3899 (link-libm): New variable.
3900 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3901
9503345f
L
39022012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3903
3904 [BZ #14576]
3905 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3906 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3907 Likewise.
3908 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3909 Likewise.
3910
ad35fc00
JM
39112012-09-13 Joseph Myers <joseph@codesourcery.com>
3912
3913 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3914 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3915 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3916 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3917
6c9b0f68
JM
39182012-09-12 Joseph Myers <joseph@codesourcery.com>
3919
3920 [BZ #14518]
3921 * include/rounding-mode.h: New file.
3922 * sysdeps/generic/get-rounding-mode.h: Likewise.
3923 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3924 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3925 (MAX_VALUE): New macro.
3926 (MIN_VALUE): Likewise.
3927 (overflow_value): New function.
3928 (underflow_value): Likewise.
3929 (round_and_return): Use overflow_value and underflow_value to
3930 determine return values in overflow and underflow cases. Use
3931 round_away to determine rounding depending on rounding mode.
3932 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3933 determine return values in overflow and underflow cases.
3934 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3935 (struct test_results): New structure.
3936 (struct test): Use struct test_results to store expected results
3937 for all rounding modes.
3938 (TEST): Include expected results for all rounding modes.
3939 (test_in_one_mode): New function.
3940 (do_test): Use test_in_one_mode to compute and check results.
3941 Check results for all rounding modes.
3942 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3943 $(link-libm).
3944
19fcedd5
AM
39452012-12-09 Allan McRae <allan@archlinux.org>
3946
1e9d84cd 3947 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3948
8bbfd2f1
JM
39492012-09-11 Joseph Myers <joseph@codesourcery.com>
3950
3951 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3952 (_G_int32_t): Likewise.
3953 (_G_uint16_t): Likewise.
3954 (_G_uint32_t): Likewise.
3955 (_G_HAVE_BOOL): Likewise.
3956 (_G_HAVE_ATEXIT): Likewise.
3957 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3958 (_G_HAVE_IO_FILE_OPEN): Likewise.
3959 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3960 (_G_int32_t): Likewise.
3961 (_G_uint16_t): Likewise.
3962 (_G_uint32_t): Likewise.
3963 (_G_HAVE_BOOL): Likewise.
3964 (_G_HAVE_ATEXIT): Likewise.
3965 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3966 (_G_HAVE_IO_FILE_OPEN): Likewise.
3967 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3968 (_G_int32_t): Likewise.
3969 (_G_uint16_t): Likewise.
3970 (_G_uint32_t): Likewise.
3971 (_G_HAVE_BOOL): Likewise.
3972 (_G_HAVE_ATEXIT): Likewise.
3973 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3974 (_G_HAVE_IO_FILE_OPEN): Likewise.
3975
b1dc5912
L
39762012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 * csu/libc-tls.c: Update copyright years.
3979
0e886ef9
JM
39802012-09-10 Joseph Myers <joseph@codesourcery.com>
3981
28361c5e
JM
3982 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3983 [!_G_USING_THUNKS]: Remove conditional code.
3984 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3985 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3986
0e886ef9
JM
3987 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3988 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3989 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3990 (_G_VTABLE_LABEL_PREFIX): Likewise.
3991 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3992 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3993 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3994 (_G_VTABLE_LABEL_PREFIX): Likewise.
3995 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3996 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3997 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3998 (_G_VTABLE_LABEL_PREFIX): Likewise.
3999 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4000
bcba7aa2
L
40012012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * libio/Makefile: Include ../Makeconfig before tests.
4004 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4005 only if $(build-shared) is yes.
4006
06585ee8
L
4007 * iconv/gconv_db.c: Update copyright years.
4008
80ccd52c
LD
40092012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4010
4011 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4012 unwind info if defined PIC. Fix special cases description.
4013 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4014
4015 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4016 DP_HI_MASK entry.
4017 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4018
691bc9c1
L
40192012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4020
3d9b46b3
L
4021 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4022
de2139a9
L
4023 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4024 is NULL.
4025
5ca78dd0
L
4026 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4027 (LDLIBS-tst-chk4): This.
4028 (LDFLAGS-tst-chk5): Renamed to ...
4029 (LDLIBS-tst-chk5): This.
4030 (LDFLAGS-tst-chk6): Renamed to ...
4031 (LDLIBS-tst-chk6): This.
4032 (LDFLAGS-tst-lfschk4): Renamed to ...
4033 (LDLIBS-tst-lfschk4): This.
4034 (LDFLAGS-tst-lfschk5): Renamed to ...
4035 (LDLIBS-tst-lfschk5): This.
4036 (LDFLAGS-tst-lfschk6): Renamed to ...
4037 (LDLIBS-tst-lfschk6): This.
4038
691bc9c1
L
4039 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4040 on $(common-objpfx)soversions.mk.
4041
65cafb1c
JM
40422012-09-07 Joseph Myers <joseph@codesourcery.com>
4043
4044 [BZ #10014]
4045 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4046 example host name.
4047
c78ab094
SP
40482012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4049
4050 * malloc/arena.c (arena_get_retry): New function that gets
4051 another arena for the caller to try its request on.
4052 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4053 current arena cannot fulfill the request.
4054 (__libc_memalign): Likewise.
4055 (__libc_memalign): Likewise.
4056 (__libc_pvalloc): Likewise.
4057 (__libc_calloc): Likewise.
4058
01f49f59
JT
40592012-09-05 John Tobey <john.tobey@gmail.com>
4060
4061 [BZ #13542]
4062 * manual/arith.texi (Operations on Complex): Fix description
4063 of carg branch cut.
4064
4c23fed5
JM
40652012-09-06 Joseph Myers <joseph@codesourcery.com>
4066
1d3c8572
JM
4067 [BZ #10014]
4068 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4069 host name.
4070
4c23fed5
JM
4071 [BZ #10038]
4072 * manual/memory.texi (Memory): Make order of menu items match
4073 order of sections.
4074
04570aaa
L
40752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4076
4077 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4078 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4079 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4080
b80af2f4
L
40812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4082
4083 * csu/libc-tls.c (static_dtv): Renamed to ...
4084 (_dl_static_dtv): This. Make it global.
4085 (_dl_initial_dtv): Removed.
4086 (__libc_setup_tls): Updated.
4087 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4088 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4089 DL_INITIAL_DTV.
4090
2abe9f15
PM
40912012-09-06 Petr Machata <pmachata@redhat.com>
4092
4093 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4094 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4095 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4096 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4097
0948c3af
L
40982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 [BZ #14545]
4101 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4102 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4103 freeing dtv[-1].
4104
a5055ad1
L
41052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4106
4107 [BZ #14544]
4108 * Makeconfig (link-static-before-libc): Replace $(+prector)
4109 with $(+prectorT).
4110 (link-static-after-libc): Replace $(+postctor) with
4111 $(+postctorT).
4112 (link-bounded): Replace $(+prector)/$(+postctor) with
4113 $(+prectorT)/$(+postctorT).
4114 (+prectorT): New macro.
4115 (+postctorT): Likewise.
4116
ed8c2ecd
JM
41172012-09-06 Joseph Myers <joseph@codesourcery.com>
4118
4119 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4120 (round_str): Handle values above the maximum for IBM long double
4121 as inexact.
4122 * stdlib/tst-strtod-round.c (tests): Regenerated.
4123
14c996c8
AK
41242012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4125
4126 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4127 assembler flag.
4128 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4129 zarch_nohighgprs around the zarch optimized routines.
4130 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4131 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4132 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4133 for zarch.
4134
430d6ce6
DM
41352012-09-05 David S. Miller <davem@davemloft.net>
4136
4137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4138
ff04dda4
DM
4139 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4140 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4141 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4142 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4143 entries.
4144
24d4e01b
AO
41452012-09-05 Alexandre Oliva <aoliva@redhat.com>
4146
4147 * malloc/arena.c: Fold copyright years.
4148 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4149
61d58174
AO
41502012-09-05 Alexandre Oliva <aoliva@redhat.com>
4151
4152 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4153
20196a5e
AO
41542012-09-05 Alexandre Oliva <aoliva@redhat.com>
4155
4156 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4157
5c447383
AO
41582012-09-05 Alexandre Oliva <aoliva@redhat.com>
4159
4160 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4161 change internal state upon failure.
4162
fad64255
AO
41632012-09-05 Alexandre Oliva <aoliva@redhat.com>
4164
4165 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4166 * malloc/memusage.c (mmap): Likewise.
4167 (mmap64, mremap): Likewise. Adjust name in comment.
4168
1ffb8c90
SP
41692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4170
4171 * libio/fileops.c: Fix typos in comments.
4172 * libio/oldfileops.c: Likewise.
4173 * libio/wfileops.c: Likewise.
4174
6ef9cc37
SP
41752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4176
4177 [BZ #1349]
4178 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4179 (tst-malloc-usable-ENV): Set environment for test case.
4180 * malloc/hooks.c (malloc_check_get_size): New function to get
4181 requested size.
4182 * malloc/malloc.c (musable): Use malloc_check_get_size.
4183 * malloc/tst-malloc-usable.c: New test case.
4184
4d038ae3
AS
41852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4186
4187 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4188
c4e85184
AM
41892012-09-05 Allan McRae <allan@archlinux.org>
4190
b9dafc56 4191 [BZ #13966]
c4e85184
AM
4192 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4193 determine header location.
4194 * configure: Regenerated.
4195
e1343020
AS
41962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4197
4198 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4199 float format.
4200 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4201 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4202 format.
e1343020
AS
4203 (test): Regenerate.
4204
0a9f1987
DM
42052012-09-04 David S. Miller <davem@davemloft.net>
4206
4207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4209 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4210
29237804
FW
42112012-09-04 Florian Weimer <fweimer@redhat.com>
4212
4213 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4214 failures.
4215
edb3cb88
FW
4216 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4217
60160d83
JM
42182012-09-04 Joseph Myers <joseph@codesourcery.com>
4219
4220 [BZ #9914]
4221 * libio/iogetdelim.c: Include <limits.h>.
4222 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4223 + len + 1 would overflow.
4224
bcd6c8dc
AJ
42252012-09-03 Andreas Jaeger <aj@suse.de>
4226
4227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4228 * sysdeps/i386/fpu/libm-test-ulps: Update.
4229
4ffffbd2
LD
42302012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4231
4232 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4233 Add s_sinf-sse2, s_conf-sse2.
4234
4235 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4236 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4237 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4238 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4239
4240 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4241 for using routine as __sinf_ia32.
4242 Use macro for function declaration and weak_alias.
4243 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4244 for using routine as __cosf_ia32.
4245 Use macro for function declaration and weak_alias.
4246
4247 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4248 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4249
4250 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4251 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4253
4254 * math/libm-test.inc (cos_test): Add more test cases.
4255 (sin_test): Likewise.
4256 (sincos_test): Likewise.
4257
511fa286
AK
42582012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4259
4260 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4261 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4262 hidden.
4263 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4264
5f30cfec
L
42652012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4266
4267 [BZ #14538]
4268 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4269 first element of the GOT.
4270 (elf_machine_load_address): Return the difference between
4271 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4272
0786794f
AM
42732012-09-01 Allan McRae <allan@archlinux.org>
4274
5f30cfec
L
4275 [BZ #13412]
4276 * configure.in (AWK): Require gawk version 3.0 or later.
4277 * configure: Regenerated.
0786794f 4278
26889eac
JM
42792012-09-01 Joseph Myers <joseph@codesourcery.com>
4280
4281 * sysdeps/unix/sysv/linux/kernel-features.h
4282 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4283 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4284 [__NR_clock_getres]: Make code unconditional.
4285 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4286 (clock_getcpuclockid): Remove code left unreachable by removal of
4287 conditionals.
4288 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4289 code unconditional.
4290 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4291 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4292 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4293 Make code unconditional.
4294 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4295 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4296 * sysdeps/unix/sysv/linux/clock_settime.c
4297 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4298 conditional code.
4299 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4300 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4301
d22e28b0
L
43022012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4303
4304 [BZ #14476]
4305 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4306 scripts/test-installation.pl.
4307
4308 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4309 and $ld_so_version if it is set.
4310
050af9c4
SP
43112012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4312
4313 [BZ #14516]
4314 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4315 failure if reading from procfs failed.
4316 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4317
ad845c0b
JM
43182012-08-27 Joseph Myers <joseph@codesourcery.com>
4319
4320 * sysdeps/unix/sysv/linux/kernel-features.h
4321 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4322 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4323 Remove conditional code.
4324 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4325 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4326 Remove conditional code.
4327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4328 * sysdeps/unix/sysv/linux/i386/fxstat.c
4329 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4330 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4331 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4332 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4334 * sysdeps/unix/sysv/linux/i386/lxstat.c
4335 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4337 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4338 Remove conditional code.
4339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4340 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4341 Remove conditional code.
4342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4343 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4344 <kernel-features.h>.
4345 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4346 Remove.
4347 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4348 Remove conditional code.
4349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4350 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4351 Remove conditional.
4352
5dbf56af
MF
43532012-08-27 Mike Frysinger <vapier@gentoo.org>
4354
4355 [BZ #5400]
4356 * NEWS: Add fixed bug number.
4357
d6e70f43
JM
43582012-08-27 Joseph Myers <joseph@codesourcery.com>
4359
7efb4737
JM
4360 [BZ #14519]
4361 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4362 underflowing exponent in case of negative sign.
4363 * stdlib/tst-strtod-round-data: Add more tests.
4364 * stdlib/tst-strtod-round.c (tests): Regenerated.
4365
af92131a
JM
4366 [BZ #3479]
4367 * stdlib/strtod_l.c (NDIG): Remove.
4368 (HEXNDIG): Likewise.
4369 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4370 smallest representable value.
4371 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4372 lie within an exact representation of 1/2 ulp of the result.
4373 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4374 unconditionally.
4375 (TENS_P9_IDX): Define unconditionally.
4376 (TENS_P9_SIZE): Likewise.
4377 (TENS_P10_IDX): Likewise.
4378 (TENS_P10_SIZE): Likewise.
4379 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4380 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4381 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4382 entries for 10^2^13 and 10^2^14.
4383 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4384 (TENS_P13_IDX): Define.
4385 (TENS_P13_SIZE): Likewise.
4386 (TENS_P14_IDX): Likewise.
4387 (TENS_P14_SIZE): Likewise.
4388 (_fpioconst_pow10): Change array size to
4389 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4390 unconditional.
4391 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4392 1024]: Add entries for 10^2^13 and 10^2^14.
4393 [LAST_POW10 > _LAST_POW10]: Remove #error.
4394 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4395 (_fpioconst_pow10): Change array size to
4396 FPIOCONST_POW10_ARRAY_SIZE.
4397 * stdlib/gen-fpioconst.c: New file.
4398 * stdlib/gen-tst-strtod-round.c: Likewise.
4399 * stdlib/tst-strtod-round-data: Likewise.
4400 * stdlib/tst-strtod-round.c: Likewise.
4401 * stdlib/Makefile (tests): Add tst-strtod-round.
4402
d6e70f43
JM
4403 [BZ #14459]
4404 * stdlib/strtod_l.c: Include <stdint.h>.
4405 (NDEBUG): Do not define.
4406 (round_and_return): Change EXPONENT parameter to type intmax_t.
4407 Rearrange calculations to avoid internal overflow possibilities.
4408 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4409 Rearrange calculations to avoid internal overflow possibilities.
4410 Assert that number fits inside MPNSIZE limbs.
4411 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4412 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4413 calculations and add assertions to avoid internal overflow
4414 possibilities. Add casts to avoid signed/unsigned operations.
4415 * stdlib/tst-strtod-overflow.c: New file.
4416 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4417
1f529f7d
MP
44182012-08-25 Marek Polacek <polacek@redhat.com>
4419
4420 * time/time.h: Fix some typos in comments.
4421
59a629f1
RM
44222012-08-23 Roland McGrath <roland@hack.frob.com>
4423
4424 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4425 * posix/tst-rfc3484-2.c: Likewise.
4426 * posix/tst-rfc3484-3.c: Likewise.
4427
d3bafbc9
SM
44282012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4429
4430 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4431 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4432
4efcc022
JM
44332012-08-23 Joseph Myers <joseph@codesourcery.com>
4434
4435 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4436 #include of fxstatat64.c.
4437
3cc3ef96
RM
44382012-08-22 Roland McGrath <roland@hack.frob.com>
4439
f04e2132
RM
4440 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4441 * shadow/getspent_r.c: Likewise.
4442 * shadow/getspnam.c: Likewise.
4443 * shadow/getspnam_r.c: Likewise.
4444 * gshadow/getsgent.c: Likewise.
4445 * gshadow/getsgent_r.c: Likewise.
4446 * gshadow/getsgnam.c: Likewise.
4447 * gshadow/getsgnam_r.c: Likewise.
4448 * inet/getnetbyad.c: Likewise.
4449 * inet/getnetbyad_r.c: Likewise.
4450 * inet/getnetbynm.c: Likewise.
4451 * inet/getnetbynm_r.c: Likewise.
4452 * inet/getnetent.c: Likewise.
4453 * inet/getnetent_r.c: Likewise.
4454 * inet/getproto.c: Likewise.
4455 * inet/getproto_r.c: Likewise.
4456 * inet/getprtent.c: Likewise.
4457 * inet/getprtent_r.c: Likewise.
4458 * inet/getprtname.c: Likewise.
4459 * inet/getprtname_r.c: Likewise.
4460 * inet/getrpcbyname.c: Likewise.
4461 * inet/getrpcbyname_r.c: Likewise.
4462 * inet/getrpcbynumber.c: Likewise.
4463 * inet/getrpcbynumber_r.c: Likewise.
4464 * inet/getrpcent.c: Likewise.
4465 * inet/getrpcent_r.c: Likewise.
4466 * inet/getaliasent.c: Likewise.
4467 * inet/getaliasent_r.c: Likewise.
4468 * inet/getaliasname.c: Likewise.
4469 * inet/getaliasname_r.c: Likewise.
4470 * nscd/getgrgid_r.c: Likewise.
4471 * nscd/getgrnam_r.c: Likewise.
4472 * nscd/gethstbyad_r.c: Likewise.
4473 * nscd/gethstbynm3_r.c: Likewise.
4474 * nscd/getpwnam_r.c: Likewise.
4475 * nscd/getpwuid_r.c: Likewise.
4476 * nscd/getsrvbynm_r.c: Likewise.
4477 * nscd/getsrvbypt_r.c: Likewise.
4478 * nscd/gai.c: Likewise.
4479
c53d909c
RM
4480 * configure.in (build_nscd): New substituted variable, set
4481 by --disable-build-nscd and defaults to $use_nscd.
4482 * configure: Regenerated.
4483 * config.make.in (build-nscd): New substituted variable.
4484 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4485 Change conditional to require [$(build-nscd) = yes] as well.
4486 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4487
3cc3ef96
RM
4488 [BZ# 13696]
4489 * configure.in (use_nscd): New substituted variable, set by
4490 --disable-nscd. If enabled, define USE_NSCD.
4491 * configure: Regenerated.
4492 * config.h.in: Add USE_NSCD.
4493 * config.make.in (use-nscd): New substituted variable.
4494 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4495 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4496 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4497 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4498 (CFLAGS-getgrnam_r.c): Likewise.
4499 (CFLAGS-initgroups.c): Likewise.
4500 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4501 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4502 Variables removed.
4503 * inet/getnetgrent_r.c
4504 (nscd_setnetgrent): New function, broken out of ...
4505 (setnetgrent): ... here. Call it.
4506 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4507 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4508 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4509 * nscd/Makefile (routines, aux): Move definitions after include of
4510 Makeconfig. Conditionalize on [$(use-nscd) != no].
4511 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4512 Conditionalize on [USE_NSCD].
4513 (is_nscd, nscd_init_cb): Likewise.
4514 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4515 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4516 * nss/nss_db/db-init.c: Likewise.
4517 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4518 [USE_NSCD].
4519 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4520 (make_request): Use it.
4521 (cache_valid_p): New function.
4522 (__check_pf): Use it.
4523 * NEWS: Add item for --disable-nscd.
4524
07e51550
DL
45252012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4526
4527 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4528 to support sed >= 4.2.1-20-ga9bf076.
4529 * configure: Regenerated.
4530
35a5b08b
RM
45312012-08-22 Roland McGrath <roland@hack.frob.com>
4532
4533 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4534 Conditionalize whole body on [IREL].
4535
8479f23a
JL
45362012-08-22 Jeff Law <law@redhat.com>
4537
4538 [BZ #14505]
4539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4540 if the family is PF_UNSPEC.
4541
48da0b21
MF
45422012-08-22 Mike Frysinger <vapier@gentoo.org>
4543
4544 * Makerules (lib-version): Rename from V.
4545 (install-lib-nosubdir): Change V to lib-version.
4546
15d0da8c
WS
45472012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4548
4549 [BZ #14252]
4550 * powerpc32/power6/wcschr.c: New file.
4551 * powerpc32/power6/wcscpy.c: New file.
4552 * powerpc32/power6/wcsrchr.c: New file.
4553 * powerpc64/power6/wcschr.c: New file.
4554 * powerpc64/power6/wcscpy.c: New file.
4555 * powerpc64/power6/wcsrchr.c: New file.
4556
bcca0895
MK
45572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4558
4559 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4560 (two_way_short_needle): Use it.
5a4aaa33
RM
4561 * string/strstr.c (AVAILABLE1_USES_J): Define.
4562 * string/strcasestr.c: Likewise.
99677e57
MK
4563
4564 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4565 array references.
4566 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4567
400726de
MK
4568 [BZ #11607]
4569 * NEWS: Add an entry.
4570 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4571 define their defaults.
4572 (two_way_short_needle): Detect end-of-string on-the-fly.
4573 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4574 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4575 * string/bug-strcasestr1.c: New test.
4576 * string/Makefile: Run it.
4577
20a71f2c
MK
45782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4579
4580 [BZ #11607]
4581 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4582 the first character.
4583
21ad0558
RM
45842012-08-21 Roland McGrath <roland@hack.frob.com>
4585
4586 * csu/elf-init.c (__libc_csu_irel): Function removed.
4587 * csu/libc-start.c (apply_irel): New function.
4588 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4589
0e1d9911
JM
45902012-08-21 Joseph Myers <joseph@codesourcery.com>
4591
4592 * sysdeps/unix/sysv/linux/kernel-features.h
4593 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4594 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4595 <kernel-features.h>.
4596 [__NR_fadvise64_64]: Make code unconditional.
4597 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4598 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4599 !__NR_fadvise64_64)]: Likewise.
4600 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4601 !__NR_fadvise64_64))]: Likewise.
4602 [__NR_fadvise64]: Make code unconditional.
4603 [!__NR_fadvise64]: Remove conditional code.
4604 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4605 <kernel-features.h>.
4606 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4607 unconditional.
4608 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4609 conditional code.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4611 not include <kernel-features.h>.
4612 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4613 unconditional.
4614 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4615 conditional code.
4616 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4617 include <kernel-features.h>.
4618 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4619 unconditional.
4620 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4621 conditional code.
4622
14a50c9d
WS
46232012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4624
4625 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4626 slight instruction rearrangements per scrollpipe analysis.
4627 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4628
c0f4faf0
RM
46292012-08-20 Roland McGrath <roland@hack.frob.com>
4630
696da859
RM
4631 * manual/syslog.texi (syslog; vsyslog, closelog):
4632 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4633 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4634
c0f4faf0
RM
4635 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4636 DSOCAPS to match condition on defining it.
4637
348363b2
JM
46382012-08-20 Joseph Myers <joseph@codesourcery.com>
4639
a35cbf28
JM
4640 * sysdeps/unix/sysv/linux/kernel-features.h
4641 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4643 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4644 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4646 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4647 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4649 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4650 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4651
445f7ecd
JM
4652 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4653 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4654
348363b2
JM
4655 * sysdeps/unix/sysv/linux/kernel-features.h
4656 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4657 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4658 unconditional.
4659 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4660 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4661 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4662 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4663 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4664 Make code unconditional.
4665 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4666 (__mmap64) [!__NR_mmap2]: Likewise.
4667 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4668 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4669 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4670 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4671 [__NR_mmap2]: Make code unconditional.
4672 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4673 (__mmap64) [!__NR_mmap2]: Likewise.
4674
bc5bc0e5
AK
46752012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4676
4677 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4678
88d506de
AJ
46792012-08-18 Andreas Jaeger <aj@suse.de>
4680
4681 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4682
493387d2
MF
46832012-08-18 Mike Frysinger <vapier@gentoo.org>
4684
4685 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4686 * include/unistd.h (__have_sock_cloexec): Likewise.
4687 (__have_pipe2): Likewise.
4688 (__have_dup3): Likewise.
4689
a277af22
MF
46902012-08-18 Mike Frysinger <vapier@gentoo.org>
4691
4692 [BZ #9685]
4693 * include/unistd.h (__have_pipe2): Change define into an extern int.
4694 (__have_dup3): Likewise.
4695 * socket/have_sock_cloexec.c: Include fcntl.h.
4696 (__have_pipe2): New variable.
4697 (__have_dup3): Likewise.
4698
fdab8fd3
MF
46992012-08-17 Mike Frysinger <vapier@gentoo.org>
4700
4701 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4702
31035e80
MP
47032012-08-17 Marek Polacek <polacek@redhat.com>
4704
4705 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4706 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4707
3bd9e993
RM
47082012-08-17 Roland McGrath <roland@hack.frob.com>
4709
c91c505f
RM
4710 * configure.in: Add AC_SUBST for sysheaders.
4711 * configure: Regenerated.
4712 * config.make.in (sysheaders): New substituted variable.
4713
7c6f9d53
RM
4714 * sysdeps/unix/mkfifo.c: Moved ...
4715 * sysdeps/posix/mkfifo.c: ... here.
4716 * sysdeps/unix/mkfifoat.c: Moved ...
4717 * sysdeps/posix/mkfifoat.c: ... here.
4718
4719 * sysdeps/unix/utime.c: Moved ...
4720 * sysdeps/posix/utime.c: ... here.
4721
4722 * sysdeps/unix/time.c: Moved ...
4723 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4724 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4725 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4726
4727 * sysdeps/unix/nice.c: Moved ...
4728 * sysdeps/posix/nice.c: ... here.
4729
4730 * sysdeps/unix/alarm.c: Moved ...
4731 * sysdeps/posix/alarm.c: ... here.
4732
3bd9e993
RM
4733 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4734
d1f09384
JL
47352012-08-17 Jeff Law <law@redhat.com>
4736
4737 * intl/Makefile (codeset_mo): New variable.
4738 ($(codeset_mo)): New target.
4739 (tst-codeset.out): Depend on that. Remove explicit rule.
4740 (tst-gettext3.out, tst-gettext5.out): Likewise.
4741 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4742 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4743 * intl/tst-codeset.sh: Remove.
4744 * intl/tst-gettext3.sh: Likewise.
4745 * intl/tst-gettext5.sh: Likewise.
4746
2ae1ae5c
RM
47472012-08-17 Roland McGrath <roland@hack.frob.com>
4748
c31fdb83
RM
4749 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4750 * sysdeps/unix/syscalls.list: ... here.
4751
a0844057
RM
4752 * sysdeps/posix/getaddrinfo.c
4753 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4754 (gaiconf_init, gaiconf_reload): Use them.
4755 [!_STATBUF_ST_NSEC]
4756 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4757 Define using time_t rather than struct timespec.
4758
750c1f2a
RM
4759 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4760 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4761 Macros removed.
4762 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4763 [!NO_THREADS].
4764 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4765 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4766 Likewise.
4767
2ae1ae5c
RM
4768 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4769 __libc_cleanup_push argument.
4770
e66a42f5
RM
4771 * bits/param.h: New file.
4772 * misc/sys/param.h: New file.
4773 * include/sys/param.h: New file.
4774 * misc/Makefile (headers): Add bits/param.h.
4775 * sysdeps/generic/sys/param.h: File removed.
4776 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4777 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4778 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4779 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4780
b7c08a66
RM
4781 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4782 last change.
4783
b2e1c562
RM
4784 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4785 [_IO_MTSAFE_IO].
4786 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4787 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4788 New macros.
4789
c75ccd4c
RM
4790 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4791 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4792 rather than -D_IO_MTSAFE_IO conditionally.
4793 * stdio-common/Makefile (CPPFLAGS): Likewise.
4794 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4795 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4796 Use $(libio-mtsafe).
4797 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4798 of -D_IO_MTSAFE_IO.
4799 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4800 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4801 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4802 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4803 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4804 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4805 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4806 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4807 (CFLAGS-fread_u_chk.c): Likewise.
4808 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4809 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4810 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4811 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4812 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4813 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4814 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4815 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4816 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4817
4818 * libio/Makefile: Test [$(libc-reentrant) = yes]
4819 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4820
4821 * Makeconfig
4822 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4823 * sysdeps/pthread/configure: File removed.
4824 * sysdeps/pthread/Makeconfig: New file.
4825 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4826 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4827
d9195db8
GB
48282012-08-16 Gary Benson <gbenson@redhat.com>
4829
4830 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4831 unmapping the first object in a namespace.
4832
86466cd9
RM
48332012-08-16 Roland McGrath <roland@hack.frob.com>
4834
4835 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4836 (__internal_setnetgrent): ... this. Add internal_function to
4837 definition. Add libc_hidden_def.
4838 (setnetgrent): Update caller.
4839 (internal_endnetgrent): Renamed to ...
4840 (__internal_endnetgrent): ... this. Add internal_function to
4841 definition. Add libc_hidden_def.
4842 (endnetgrent): Update caller.
4843 (internal_getnetgrent_r): Renamed to ...
4844 (__internal_getnetgrent_r): ... this. Add internal_function to
4845 definition. Add libc_hidden_def.
4846 (__getnetgrent_r): Update caller.
4847 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4848
c3c8283c
JM
48492012-08-16 Joseph Myers <joseph@codesourcery.com>
4850
4851 * stdlib/longlong.h: Update from GCC.
4852
db1ee0a8
RM
48532012-08-16 Roland McGrath <roland@hack.frob.com>
4854
4855 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4856 on _QL, which is set by umul_ppmm but never used.
4857 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4858 variables, which are set by GMP macros but never used.
4859 * stdio-common/_itowa.c (_itowa): Likewise.
4860 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4861 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4862
30f69637
CD
48632012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4864
4865 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4866 struct La_sh_regs is not constant.
4867 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4868 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4869 and struct La_sparc64_regs are not constant.
4870
93a78ac4
JM
48712012-08-16 Joseph Myers <joseph@codesourcery.com>
4872
4873 * sysdeps/unix/sysv/linux/kernel-features.h
4874 (__ASSUME_POSIX_TIMERS): Remove.
4875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4876 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4877 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4878 Make code unconditional.
4879 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4880 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4881 Make code unconditional.
4882 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4883 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4884 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4886 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4887 Make code unconditional.
4888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4889 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4890 (__libc_missing_posix_timers): Remove.
4891
dd924cd7
RM
48922012-08-15 Roland McGrath <roland@hack.frob.com>
4893
4b4f2771
RM
4894 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4895 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4896
601c888b
RM
4897 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4898
176790a7
RM
4899 * elf/dl-sym.c: Include <stdlib.h>.
4900
329bc018
RM
4901 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4902 constants, which avoids warnings in 32-bit builds.
4903
e04e272d
RM
4904 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4905 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4906
952bf94a
RM
4907 * misc/lseek.c: File moved to ...
4908 * io/lseek.c: ... here.
4909
7c99b50a
RM
4910 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4911
dd924cd7
RM
4912 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4913 shifting LEN more than 31 bits at once.
4914
b3f479a8
LD
49152012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4916
4917 [BZ #14195]
8c4ae0d4
RM
4918 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4919 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4920 * string/test-strncasecmp.c (check1): Renamed to...
4921 (bz12205): ...this.
4922 (bz14195): Add new testcase for two empty input strings and N > 0.
4923 (test_main): Call new testcase, adapt for renamed function.
4924
9c55864e
AJ
49252012-08-15 Andreas Jaeger <aj@suse.de>
4926
4927 [BZ #14090]
4928 * crypt/md5test2.c: New test, based on test supplied by Serge
4929 Belyshev <belyshev@depni.sinp.msu.ru>.
4930 * crypt/Makefile (xtests): Add md5test-giant..
4931 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4932
02dcb6c5
PE
49332012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4934
4935 [BZ #14090]
4936 * crypt/md5.c (md5_process_block): Don't assume the buffer
4937 length is less than 2**32.
4938 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4939 length is less than 2**64.
4940
a3f95dcc
RM
49412012-08-15 Roland McGrath <roland@hack.frob.com>
4942
be75d758
RM
4943 * string/str-two-way.h: Include <sys/param.h>.
4944 (MAX): Macro removed.
4945
7312ca90
RM
4946 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4947 Move #define and #undef of memmove to just before and after
4948 including <string.h>.
4949
9a0a5486
RM
4950 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4951 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4952 and after including <string.h>. Move declarations of
4953 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4954 to before #include "string/memmove.c".
4955
67cc348d
RM
4956 * include/dirent.h: Declare __getdirentries.
4957
a3f95dcc
RM
4958 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4959 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4960
ca98e171
MF
49612012-08-14 Mike Frysinger <vapier@gentoo.org>
4962
4963 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4964 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4965 * sysdeps/i386/configure: Regenerated.
4966 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4967 STABS_CURRENT_FILE, and STABS_FUN.
4968 (END): Remove call to STABS_FUN_END.
4969 (STABS_CURRENT_FILE1): Delete.
4970 (STABS_CURRENT_FILE): Likewise.
4971 (STABS_FUN): Likewise.
4972 (STABS_FUN_END): Likewise.
4973 (STABS_FUN2): Likewise.
4974 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4975 * sysdeps/x86_64/configure: Regenerated.
4976
5908bf46
RM
49772012-08-14 Roland McGrath <roland@hack.frob.com>
4978
4979 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4980 * elf/dl-lookup.c: Likewise.
5908bf46 4981
f2c05b9e
JM
49822012-08-14 Joseph Myers <joseph@codesourcery.com>
4983
4984 * sysdeps/unix/sysv/linux/kernel-features.h
4985 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4986 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4987 unconditionally.
4988 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4989 unconditionally.
4990 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4991 condition on __ASSUME_CLONE_THREAD_FLAGS.
4992
e11f5155
AJ
49932012-08-14 Andreas Jaeger <aj@suse.de>
4994
4995 * sysdeps/i386/fpu/libm-test-ulps: Update.
4996
51a9ba86
MK
49972012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4998
2fdd4f78
AJ
4999 * include/atomic.h (atomic_exchange_and_add): Split into ...
5000 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5001 New atomic macros.
51a9ba86 5002
ba6cba9e
MT
50032012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5004
5005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5006
42443a47
JL
50072012-08-13 Jeff Law <law@redhat.com>
5008
5009 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5010 null byte in the output string.
5011
121dce05
JM
50122012-08-10 Joseph Myers <joseph@codesourcery.com>
5013
5014 * sysdeps/unix/sysv/linux/kernel-features.h
5015 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5016 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5017 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5018 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5019 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5020 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5021 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5022
bf51f568
JL
50232012-08-09 Jeff Law <law@redhat.com>
5024
5025 [BZ #13939]
5026 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5027 When avoid_arena is set, don't retry in the that arena. Pick the
5028 next one, whatever it might be.
5029 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5030 (arena_lock): Pass in new parameter to arena_get2.
5031 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5032 arena_get2.
5033 (__libc_malloc): Unify retrying after main arena failure with
5034 __libc_memalign version.
5035 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5036
f85fa270
L
50372012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5038
5039 [BZ #14166]
5040 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5041 to __redirect_strstr.
5042 (__strstr_sse42): Use typeof __redirect_strstr.
5043 (__strstr_ia32): Likewise.
5044 (__libc_strstr): New prototype.
5045 (strstr): Renamed to ...
5046 (__libc_strstr): This.
5047 (strstr): New strong alias of __libc_strstr.
5048 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5049 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5050 __redirect_time.
5051 Include <time.h>.
5052 (__libc_time): New prototype.
5053 (time_ifunc): Replace time with __libc_time.
5054 (time): New strong alias and hidden definition of __libc_time.
5055 (__GI_time): Remove strong alias.
5056 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5057 Include <stddef.h>.
5058 (memmove): Redefined to __redirect_memmove.
5059 (__memmove_sse2): Use typeof __redirect_memmove.
5060 (__memmove_ssse3): Likewise.
5061 (__memmove_ssse3_back): Likewise.
5062 (__libc_memmove): New prototype.
5063 (memmove): Renamed to ...
5064 (__libc_memmove): This.
5065 (memmove): New strong alias of __libc_memmove.
5066
33b4a91e
MS
50672012-08-08 Mark Salter <msalter@redhat.com>
5068
5069 * elf/elf.h
5070 (R_MN10300_TLS_GD): Define.
5071 (R_MN10300_TLS_LD): Likewise.
5072 (R_MN10300_TLS_LDO): Likewise.
5073 (R_MN10300_TLS_GOTIE): Likewise.
5074 (R_MN10300_TLS_IE): Likewise.
5075 (R_MN10300_TLS_LE): Likewise.
5076 (R_MN10300_TLS_DTPMOD): Likewise.
5077 (R_MN10300_TLS_DTPOFF): Likewise.
5078 (R_MN10300_TLS_TPOFF): Likewise.
5079 (R_MN10300_SYM_DIFF): Likewise.
5080 (R_MN10300_ALIGN): Likewise.
5081 (R_MN10300_NUM): Update.
5082
b36137f1
JM
50832012-08-08 Joseph Myers <joseph@codesourcery.com>
5084
5085 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5086 Remove.
5087
cdd915fd
RM
50882012-08-08 Roland McGrath <roland@hack.frob.com>
5089
a2433aac
RM
5090 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5091
cdd915fd
RM
5092 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5093 sysdeps/unix -> sysdeps/posix move.
5094 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5095
bf9b740a
AM
50962012-08-07 Allan McRae <allan@archlinux.org>
5097
5098 [BZ #14303]
5099 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5100 (SUNOS_CPP): Likewise.
5101 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5102 not found.
5103 (open_input): Call CPP using execvp.
5104
93df14ee
JM
51052012-08-07 Joseph Myers <joseph@codesourcery.com>
5106
5107 * sysdeps/unix/sysv/linux/kernel-features.h
5108 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5109 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5110 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5111 (__ASSUME_WAITID_SYSCALL): Likewise.
5112 * sysdeps/unix/sysv/linux/dl-execstack.c
5113 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5114 code unconditional.
5115 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5116 conditional code.
5117 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5118 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5119 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5120 code.
5121 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5122 unconditional.
5123 [__ASSUME_WAITID_SYSCALL]: Likewise.
5124 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5125
d34689de
RM
51262012-08-07 Roland McGrath <roland@hack.frob.com>
5127
a281decc
RM
5128 * sysdeps/unix/closedir.c: Renamed to ...
5129 * sysdeps/posix/closedir.c: ... here.
5130 * sysdeps/unix/dirfd.c: Renamed to ...
5131 * sysdeps/posix/dirfd.c: ... here.
5132 * sysdeps/unix/dirstream.h: Renamed to ...
5133 * sysdeps/posix/dirstream.h: ... here.
5134 * sysdeps/unix/fdopendir.c: Renamed to ...
5135 * sysdeps/posix/fdopendir.c: ... here.
5136 * sysdeps/unix/opendir.c: Renamed to ...
5137 * sysdeps/posix/opendir.c: ... here.
5138 * sysdeps/unix/readdir.c: Renamed to ...
5139 * sysdeps/posix/readdir.c: ... here.
5140 * sysdeps/unix/readdir_r.c: Renamed to ...
5141 * sysdeps/posix/readdir_r.c: ... here.
5142 * sysdeps/unix/rewinddir.c: Renamed to ...
5143 * sysdeps/posix/rewinddir.c: ... here.
5144 * sysdeps/unix/seekdir.c: Renamed to ...
5145 * sysdeps/posix/seekdir.c: ... here.
5146 * sysdeps/unix/telldir.c: Renamed to ...
5147 * sysdeps/posix/telldir.c: ... here.
5148 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5149 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5150 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5151 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5152
22895b47
RM
5153 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5154 * bits/fcntl.h: ... here.
5155
707a53b6
RM
5156 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5157 not 0.
5158 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5159 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5160 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5161 (struct flock): Move l_start, l_len to the beginning.
5162 Use __pid_t for l_pid.
5163 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5164 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5165 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5166 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5167 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5168 [__USE_LARGEFILE64] (struct flock64): New type.
5169 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5170
f0bd3e25
RM
5171 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5172 * bits/dirent.h: ... here.
5173
d34689de
RM
5174 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5175 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5176
6dad2c06
JM
51772012-08-07 Joseph Myers <joseph@codesourcery.com>
5178
5179 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5180 Change from 2.6.0 to 2.6.16.
5181 * sysdeps/unix/sysv/linux/configure: Regenerated.
5182 * sysdeps/unix/sysv/linux/kernel-features.h
5183 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5184 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5185 version.
5186 (__ASSUME_UTIMES): Likewise.
5187 (__ASSUME_CLONE_STOPPED): Remove.
5188 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5189 architectures, not kernel version.
5190 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5191 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5192 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5193 (__ASSUME_WAITID_SYSCALL): Likewise.
5194 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5195 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5196 * README: State 2.6.16 as minimum Linux kernel version. Do not
5197 refer to older versions.
5198
03af9520
RM
51992012-08-06 Roland McGrath <roland@hack.frob.com>
5200
8e49df1d
RM
5201 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5202 Define alphasort64 as an alias.
5203 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5204 Define versionsort64 as an alias.
5205 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5206 Define scandir64 as an alias.
5207 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5208 Define scandirat64 as an alias.
5209 * dirent/alphasort64.c (alphasort64):
5210 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5211 * dirent/versionsort64.c: Likewise.
5212 * dirent/scandir64.c: Likewise.
5213 * dirent/scandirat64.c: Likewise.
5214 * sysdeps/wordsize-64/alphasort.c: File removed.
5215 * sysdeps/wordsize-64/alphasort64.c: File removed.
5216 * sysdeps/wordsize-64/scandir.c: File removed.
5217 * sysdeps/wordsize-64/scandir64.c: File removed.
5218 * sysdeps/wordsize-64/scandirat.c: File removed.
5219 * sysdeps/wordsize-64/scandirat64.c: File removed.
5220 * sysdeps/wordsize-64/versionsort.c: File removed.
5221 * sysdeps/wordsize-64/versionsort64.c: File removed.
5222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5224 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5225 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5226 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5227 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5229 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5230
5231 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5233 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5235 [defined __arch64__ || defined __sparcv9]
5236 (__INO_T_MATCHES_INO64_T): New macro.
5237 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5238 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5239 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5240 * sysdeps/unix/sysv/linux/bits/dirent.h
5241 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5242 (_DIRENT_MATCHES_DIRENT64): New macro.
5243
03af9520
RM
5244 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5245 Define lockf64 as an alias.
5246 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5247 Define fseeko64 as an alias.
5248 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5249 Define ftello64 as an alias.
5250 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5251 Define _IO_fgetpos64 and fgetpos64 as aliases.
5252 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5253 Define _IO_fsetpos64 and fsetpos64 as aliases.
5254 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5255 Conditionalize body on this.
5256 * libio/fseeko64.c: Likewise.
5257 * libio/ftello64.c: Likewise.
5258 * libio/iofgetpos64.c: Likewise.
5259 * libio/iofsetpos64.c: Likewise.
5260 * sysdeps/wordsize-64/lockf.c: File removed.
5261 * sysdeps/wordsize-64/lockf64.c: File removed.
5262 * sysdeps/wordsize-64/fseeko.c: File removed.
5263 * sysdeps/wordsize-64/fseeko64.c: File removed.
5264 * sysdeps/wordsize-64/ftello.c: File removed.
5265 * sysdeps/wordsize-64/ftello64.c: File removed.
5266 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5267 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5268 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5269 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5271 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5277 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5280
5281 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5283 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5285 [defined __arch64__ || defined __sparcv9]
5286 (__OFF_T_MATCHES_OFF64_T): New macro.
5287 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5288 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5289 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5290 (__OFF_T_MATCHES_OFF64_T): New macro.
5291
c5757acd
L
52922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5293
5294 * stdlib/secure-getenv.c (__secure_getenv): Replace
5295 GLIBC_2_16 with GLIBC_2_17.
5296
3a31811e
L
52972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5298
5299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5301
faa2bccb
DM
53022012-08-03 David S. Miller <davem@davemloft.net>
5303
5304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5305
85fe1997
JM
53062012-08-03 Joseph Myers <joseph@codesourcery.com>
5307
5308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5309 Remove.
5310 (__ASSUME_CORRECT_SI_PID): Likewise.
5311 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5312 (__ASSUME_TMPFS_NAME): Likewise.
5313 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5314 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5315 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5316 (HAVE_AUX_SECURE): Make definition unconditional.
5317 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5318 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5319
4f75b7a0
RM
53202012-08-03 Roland McGrath <roland@hack.frob.com>
5321
5322 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5323 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5324 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5325 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5326 __eloop_threshold instead of SYMLOOP_MAX.
5327
5328 * sysdeps/generic/eloop-threshold.h: New file.
5329 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5330 of MAXSYMLINKS.
5331 * elf/chroot_canon.c (chroot_canon): Likewise.
5332
7aab07e4
JM
53332012-08-03 Joseph Myers <joseph@codesourcery.com>
5334
5335 [BZ #13717]
5336 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5337 Change to 2.6.0 everywhere.
5338 * sysdeps/unix/sysv/linux/configure: Regenerated.
5339 * sysdeps/unix/sysv/linux/kernel-features.h
5340 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5341 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5342 kernel versions.
5343 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5344 (__ASSUME_FUTEX_REQUEUE): Remove.
5345 (__ASSUME_STATFS64): Define unconditionally.
5346 (__ASSUME_AT_SECURE): Likewise.
5347 (__ASSUME_CORRECT_SI_PID): Likewise.
5348 (__ASSUME_TGKILL): Define without depending on kernel version for
5349 i386.
5350 (__ASSUME_UTIMES): Likewise.
5351 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5352 kernel version.
5353 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5354 (__ASSUME_TMPFS_NAME): Likewise.
5355 * README: Update reference to Linux kernel versions.
5356
b67e9372
MP
53572012-08-02 Marek Polacek <polacek@redhat.com>
5358
1f529f7d 5359 [BZ# 14150]
b67e9372
MP
5360 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5361 libc_cv_asm_type_prefix with %.
5362 * configure: Regenerated.
d2441631
RM
5363 * include/libc-symbols.h: Remove comment about
5364 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5365 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5366 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5367 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5368 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5369 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5370 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5371 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5372 * elf/tst-unique2mod1.c: Likewise.
5373 * elf/tst-unique1mod2.c: Likewise.
5374 * elf/tst-unique1mod1.c: Likewise.
5375 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5376 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5377 Replace ASM_TYPE_DIRECTIVE with .type.
5378 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5379 * sysdeps/i386/sysdep.h: Likewise.
5380 * sysdeps/x86_64/sysdep.h: Likewise.
5381 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5383 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5384 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5385 * sysdeps/powerpc/powerpc32/sysdep.h:
5386 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5387 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5388 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5389 * sysdeps/i386/fpu/e_powf.S: Likewise.
5390 * sysdeps/i386/fpu/e_expl.S: Likewise.
5391 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5392 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5393 * sysdeps/i386/fpu/e_pow.S: Likewise.
5394 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5395 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5396 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5397 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5398 * sysdeps/i386/fpu/e_log2.S: Likewise.
5399 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5400 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5401 * sysdeps/i386/fpu/e_powl.S: Likewise.
5402 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5403 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5404 * sysdeps/i386/fpu/e_logl.S: Likewise.
5405 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5406 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5407 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5408 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5409 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5410 * sysdeps/i386/fpu/e_log.S: Likewise.
5411 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5412 * sysdeps/i386/fpu/e_logf.S: Likewise.
5413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5414 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5415 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5416 * sysdeps/i386/fpu/e_log10.S: Likewise.
5417 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5419 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5420 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5421 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5422 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5423 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5424 * sysdeps/i386/i686/strtok.S: Likewise.
5425 * sysdeps/i386/i386-mcount.S: Likewise.
5426 * sysdeps/i386/strtok.S: Likewise.
5427 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5428 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5429 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5430 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5431 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5432 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5433 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5434 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5436 * sysdeps/x86_64/_mcount.S: Likewise.
5437 * sysdeps/x86_64/strtok.S: Likewise.
5438 * sysdeps/sh/_mcount.S: Likewise.
5439
2747bf9a
RM
54402012-08-01 Roland McGrath <roland@hack.frob.com>
5441
5442 * libio/iofopen.c: Include <fcntl.h>.
5443 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5444 (_IO_fopen64, fopen64): Define as aliases.
5445 * libio/iofopen64.c: Include <fcntl.h>.
5446 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5447 Conditionalize body on this.
5448 * sysdeps/wordsize-64/iofopen.c: File removed.
5449 * sysdeps/wordsize-64/iofopen64.c: File removed.
5450
3fb791b8
MP
54512012-08-01 Marek Polacek <polacek@redhat.com>
5452
5453 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5454 Use dlfcn directly instead of a variable.
5455 (binfmt-subdir): Do not define.
5456 (dlfcn): Likewise.
5457
a9f1039f
JM
54582012-08-01 Joseph Myers <joseph@codesourcery.com>
5459
23bddc06
JM
5460 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5461 Remove all definitions.
5462 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5463 <kernel-features.h>.
5464 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5465 (miss_F_GETOWN_EX): Remove all definitions.
5466 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5467 macro definition.
5468 [!__ASSUME_FCNTL64]: Remove conditional code.
5469 [__ASSUME_FCNTL64]: Make code unconditional.
5470 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5471 <kernel-features.h>.
5472 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5473 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5474 (lockf64) [__NR_fcntl64]: Make code unconditional.
5475 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5476
a9f1039f
JM
5477 * sysdeps/unix/sysv/linux/kernel-features.h
5478 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5479 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5480 Make code unconditional.
5481 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5482 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5484 [__NR_vfork]: Make code unconditional.
5485 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5486 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5488 [__NR_vfork]: Make code unconditional.
5489 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5490 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5491
09c0ee5f
RM
54922012-08-01 Roland McGrath <roland@hack.frob.com>
5493
48aec5b9
RM
5494 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5495 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5496
cd97c966
RM
5497 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5498 Define mkstemp64 as an alias.
3f55550c
RM
5499 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5500 Define mkstemps64 as an alias.
cd97c966
RM
5501 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5502 Define mkostemp64 as an alias.
b8625cfc
RM
5503 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5504 Define mkostemps64 as an alias.
cd97c966
RM
5505 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5506 Conditionalize body on this.
5507 * misc/mkostemp64.c: Likewise.
b8625cfc 5508 * misc/mkostemps64.c: Likewise.
3f55550c 5509 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5510 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5511 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5512 * sysdeps/wordsize-64/mkostemp.c: File removed.
5513 * sysdeps/wordsize-64/mkstemp.c: File removed.
5514 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5518
09c0ee5f
RM
5519 [BZ #14138]
5520 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5521 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5522 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5523 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5524
5525 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5526 compat_symbol macros from <shlib-compat.h> rather than the underlying
5527 default_symbol_version and symbol_version macros, so that DEFAULT
5528 lines in shlib-versions are respected.
5529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5530
7e66ee51
FW
55312012-08-01 Florian Weimer <fweimer@redhat.com>
5532
5533 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5534 Declare with warn_unused_result.
5535 (setgid, setregid, setegid, setresgid): Likewise.
5536 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5537 Likewise.
5538 * WUR-REPORT: Remove set*id functions.
5539
d2a54255
PT
55402012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5541
5542 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5543
7ecdb005
RM
55442012-07-31 Roland McGrath <roland@hack.frob.com>
5545
789bd351
RM
5546 * include/sys/socket.h (__libc_accept, __libc_accept4):
5547 Add attribute_hidden.
5548 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5549
40ce302d
RM
5550 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5551 use of PTR_MANGLE.
5552 * inet/getnetgrent_r.c (setup): Likewise.
5553
7ecdb005
RM
5554 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5555
e2eabb2c
DM
55562012-07-31 David S. Miller <davem@davemloft.net>
5557
5558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5559
d0419dbf
JM
55602012-07-31 Joseph Myers <joseph@codesourcery.com>
5561
5562 [BZ #13629]
5563 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5564 value between 1.0 and 2.0 and smaller part has absolute value less
5565 than 1.0.
5566 * math/s_clog10.c (__clog10): Likewise.
5567 * math/s_clog10f.c (__clog10f): Likewise.
5568 * math/s_clog10l.c (__clog10l): Likewise.
5569 * math/s_clogf.c (__clogf): Likewise.
5570 * math/s_clogl.c (__clogl): Likewise.
5571 * math/libm-test.inc (clog_test): Add more tests.
5572 (clog10_test): Likewise.
5573 * sysdeps/i386/fpu/libm-test-ulps: Update.
5574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5575
2bc13872
FW
55762012-07-31 Florian Weimer <fweimer@redhat.com>
5577
5578 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5579 Exit with zero in case no suitable GID is found, and write a
5580 message to standard error.
5581
bea9b193
RM
55822012-07-30 Roland McGrath <roland@hack.frob.com>
5583
5584 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5585 rather than to 1.
5586 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5587 (MAXPATHLEN): Removed.
5588 (NOGROUP, NODEV): New macros.
5589 (setbit, clrbit, isset, isclr): New macros.
5590 (howmany, roundup, powerof2): New macros.
5591 (DEV_BSIZE): New macro.
5592
5593 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5594 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5595
5596 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5597 definition on [!__NO_LONG_DOUBLE_MATH].
5598
5599 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5600 PTR_MANGLE and PTR_DEMANGLE.
5601
5602 * socket/accept4.c (accept4): Rename to __libc_accept4.
5603 Define accept4 as a weak alias.
5604
5605 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5606 on [_DIRENT_HAVE_D_TYPE].
5607 * io/ftw.c (ftw_dir): Likewise.
5608
5609 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5610
5611 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5612
5613 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5614 Use the BSD numbers rather than the arbitrary ones we had.
5615 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5616 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5617 (SIGXCPU, SIGXFSZ): New macros.
5618 (_NSIG): Now 32.
5619
5620 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5621 initializer on [_LIBC_REENTRANT].
5622
5623 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5624 definitions inside [_POSIX_MAPPED_FILES].
5625
5626 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5627
5628 * dirent/opendir.c: Include <fcntl.h>.
5629
5630 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5631 (__libc_getspecific): Likewise.
5632 (__libc_key_create): Likewise.
5633
5634 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5635 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5636 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5637 (tmpfile64): Define as alias.
5638 * sysdeps/wordsize-64/tmpfile.c: File removed.
5639 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5641 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5642
5643 * stdio-common/vfscanf.c: Include <stdbool.h>.
5644 * nss/makedb.c: Likewise.
5645 * stdio-common/_i18n_number.h: Likewise.
5646 * argp/argp-help.c: Likewise.
5647 * posix/wordexp.c: Likewise.
5648 * sysdeps/posix/spawni.c: Likewise.
5649 * nss/nss_files/files-initgroups.c: Likewise.
5650 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5651 * nss/nss_files/files-initgroups.c: Likewise.
5652 * nss/nss_db/db-netgrp.c: Likewise.
5653 * nss/nss_db/db-initgroups.c: Likewise.
5654 * io/fchmodat.c: Include <sys/stat.h>.
5655
5656 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5657 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5658
5659 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5660 [HAVE_MMAP].
5661
5662 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5663 Add multiple inclusion protection.
5664
e5abc686
DM
56652012-07-27 David S. Miller <davem@davemloft.net>
5666
5667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5668
815e6fa3
GB
56692012-07-27 Gary Benson <gbenson@redhat.com>
5670
5671 [BZ #14298]
5672 * elf/rtld.c: Include <stap-probe.h>.
5673 (dl_main): Added static probes "init_start" and "init_complete".
5674 * elf/dl-load.c: Include <stap-probe.h>.
5675 (lose): Take new parameter "nsid".
5676 Added static probe "map_failed".
5677 (_dl_map_object_from_fd): Pass namespace id to lose.
5678 Added static probe "map_start".
5679 (open_verify): Pass namespace id to lose.
5680 * elf/dl-open.c: Include <stap-probe.h>.
5681 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5682 and "reloc_complete".
5683 * elf/dl-close.c: Include <stap-probe.h>.
5684 (_dl_close_worker): Added static probes "unmap_start" and
5685 "unmap_complete".
5686 * elf/rtld-debugger-interface.txt: New file documenting the above.
5687
9f98c16c
RM
56882012-07-26 Roland McGrath <roland@hack.frob.com>
5689
5690 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5691 rather than a string variable.
5692 * sunrpc/rpc_main.c (h_output): Likewise.
5693 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5694
f3c22df3
PT
56952012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5696
5697 * inet/check_native.c: New file.
5698
3129cfc6
JM
56992012-07-26 Joseph Myers <joseph@codesourcery.com>
5700
da865e95
JM
5701 [BZ #13629]
5702 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5703 if larger part has absolute value 1.0.
5704 * math/s_clog10.c (__clog10): Likewise.
5705 * math/s_clog10f.c (__clog10f): Likewise.
5706 * math/s_clog10l.c (__clog10l): Likewise.
5707 * math/s_clogf.c (__clogf): Likewise.
5708 * math/s_clogl.c (__clogl): Likewise.
5709 * math/libm-test.inc (clog_test): Add more tests.
5710 (clog10_test): Likewise.
5711 * sysdeps/i386/fpu/libm-test-ulps: Update.
5712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5713
3129cfc6
JM
5714 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5715 (pltexit): Likewise.
5716 (La_regs): Likewise.
5717 (La_retval): Likewise.
5718 (int_retval): Likewise.
5719 Update #error for removed macros to refer only to definitions in
5720 tst-audit.h.
5721 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5722 macro.
5723 (pltexit): Likewise.
5724 (La_regs): Likewise.
5725 (La_retval): Likewise.
5726 (int_retval): Likewise.
5727 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5728 macro.
5729 (pltexit): Likewise.
5730 (La_regs): Likewise.
5731 (La_retval): Likewise.
5732 (int_retval): Likewise.
5733 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5734 macro.
5735 (pltexit): Likewise.
5736 (La_regs): Likewise.
5737 (La_retval): Likewise.
5738 (int_retval): Likewise.
5739 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5740 macro.
5741 (pltexit): Likewise.
5742 (La_regs): Likewise.
5743 (La_retval): Likewise.
5744 (int_retval): Likewise.
5745 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5746 macro.
5747 (pltexit): Likewise.
5748 (La_regs): Likewise.
5749 (La_retval): Likewise.
5750 (int_retval): Likewise.
5751 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5752 macro.
5753 (pltexit): Likewise.
5754 (La_regs): Likewise.
5755 (La_retval): Likewise.
5756 (int_retval): Likewise.
5757 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5758 macro definitions in tst-audit.h.
5759 * sysdeps/i386/tst-audit.h: New file.
5760 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5761 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5762 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5763 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5764 * sysdeps/sh/tst-audit.h: Likewise.
5765 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5766 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5767 * sysdeps/x86_64/tst-audit.h: Likewise.
5768
bfc07087
AJ
57692012-07-26 Andreas Jaeger <aj@suse.de>
5770
b1b2aaf8
AJ
5771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5772 ptrace.
5773
5774 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5775 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5776 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5777 PTRACE_O_MASK.
5778 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5779 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5780 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5781
bfc07087
AJ
5782 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5783 value.
5784
5785 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5786 _sigsys.
5787 (si_call_addr, si_syscall, si_arch): Define new macro.
5788 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5789 _sigsys.
5790 (si_call_addr, si_syscall, si_arch): Define new marcro.
5791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5792 _sigsys.
5793 (si_call_addr, si_syscall, si_arch): Define new macro.
5794 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5795 _sigsys.
5796 (si_call_addr, si_syscall, si_arch): Define new macro.
5797
89b4b02f
JM
57982012-07-25 Joseph Myers <joseph@codesourcery.com>
5799
5800 [BZ #13717]
5801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5802 Change to 2.4.21 where previously 2.4.1.
5803 * sysdeps/unix/sysv/linux/configure: Regenerated.
5804 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5805 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5806 Linux kernel version.
5807 (__ASSUME_STD_AUXV): Remove.
5808 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5809 kernel version.
5810 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5811 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5812 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5813 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5814 (__ASSUME_NETLINK_SUPPORT): Likewise.
5815 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5816 (__no_netlink_support): Remove conditional definition.
5817 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5818 Remove.
5819 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5820 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5821 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5822 (if_nameindex_ioctl): Remove.
5823 (if_nameindex_netlink): Do not handle __no_netlink_support.
5824 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5825 code.
5826 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5827 Remove conditional code.
5828 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5829 code.
5830 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5831 unconditional.
5832 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5833 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5834 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5835 Remove.
5836 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5837 [!__ASSUME_STD_AUXV]: Remove conditional code.
5838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5839 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5840 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5842 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5843 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5844 code.
5845 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5847 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5848 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5849 conditional code.
5850 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5852 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5853 code.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5855 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5856 conditional code.
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5858 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5859 code unconditional.
5860 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5861 conditional code.
5862 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5863 unconditional.
5864 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5865 conditional code.
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5867 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5868 unconditional.
5869 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5870 conditional code.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5872 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5873 code unconditional.
5874 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5875 conditional code.
5876 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5877 unconditional.
5878 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5879 conditional code.
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5881 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5882 code unconditional.
5883 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5884 conditional code.
5885 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5886 unconditional.
5887 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5888 conditional code.
5889
842a39cd
AS
58902012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5891
5892 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5893 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5894 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5895 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5896 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5897 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5898 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5899 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5900 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5901 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5902 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5903 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5904 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5905 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5907 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5908 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5909 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5910 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5911 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5912 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5913 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5914 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5915
84b3fd84
FW
59162012-07-25 Florian Weimer <fweimer@redhat.com>
5917
5918 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5919 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5920 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5921 Introduce __libc_secure_getenv.
0c7936d5
FW
5922 * stdlib/Versions (2.17): Add secure_getenv
5923 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5924 * stdlib/secure-getenv.c: Rename __secure_getenv to
5925 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5926 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5927 * stdlib/tst-secure-getenv.c: New.
5928 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5929 * manual/startup.texi (Environment Access): Document
5930 secure_getenv.
84b3fd84
FW
5931 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5932 __libc_secure_getenv.
5933 * inet/ruserpass.c (ruserpass): Likewise.
5934 * malloc/mtrace.c (mtrace): Likewise.
5935 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5936 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5937 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5938 * sysdeps/posix/tempname.c: Likewise. Evaluate
5939 HAVE_SECURE_GETENV.
5940 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5941 __secure_getenv to __libc_secure_getenv.
84b3fd84 5942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5944 Likewise.
5945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5946 Likewise.
5947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5954
56e49b71
JM
59552012-07-25 Joseph Myers <joseph@codesourcery.com>
5956
5957 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5958 (struct La_i86_retval): Likewise.
5959 (struct La_x86_64_regs): Likewise.
5960 (struct La_x86_64_retval): Likewise.
5961 (struct La_x32_regs): Likewise.
5962 (struct La_x32_retval): Likewise.
5963 (struct La_ppc32_regs): Likewise.
5964 (struct La_ppc32_retval): Likewise.
5965 (struct La_ppc64_regs): Likewise.
5966 (struct La_ppc64_retval): Likewise.
5967 (struct La_sh_regs): Likewise.
5968 (struct La_sh_retval): Likewise.
5969 (struct La_s390_32_regs): Likewise.
5970 (struct La_s390_32_retval): Likewise.
5971 (struct La_s390_64_regs): Likewise.
5972 (struct La_s390_64_retval): Likewise.
5973 (struct La_sparc32_regs): Likewise.
5974 (struct La_sparc32_retval): Likewise.
5975 (struct La_sparc64_regs): Likewise.
5976 (struct La_sparc64_retval): Likewise.
5977 (struct audit_ifaces): Remove architecture-specific pltenter and
5978 pltexit members.
5979 * sysdeps/i386/ldsodefs.h: New file.
5980 * sysdeps/powerpc/ldsodefs.h: Likewise.
5981 * sysdeps/s390/ldsodefs.h: Likewise.
5982 * sysdeps/sh/ldsodefs.h: Likewise.
5983 * sysdeps/sparc/ldsodefs.h: Likewise.
5984 * sysdeps/x86_64/ldsodefs.h: Likewise.
5985
354691b7
MP
59862012-07-25 Marek Polacek <polacek@redhat.com>
5987
5988 [BZ #6808]
5989 * math/libm-test.inc (yn_test): Add another test.
5990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5991 to ERANGE when the result is +-Inf.
5992 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5993 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5994 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5995 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5996
bf9e2071
JM
59972012-07-24 Joseph Myers <joseph@codesourcery.com>
5998
5999 * conform/data/time.h-data (NULL): Use macro-constant. Require
6000 equal to 0.
6001 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6002 clock_t.
6003 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6004
57633811
TS
60052012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6006
6007 * configure.in <sysdeps resolving>: Correct printing
6008 Implies_before.
6009 * configure: Regenerate.
6010
c23c33b0
TS
60112012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6012
6013 * math/w_ilogb.c: Include <limits.h>.
6014 * math/w_ilogbl.c: Likewise.
6015
b5982523
JM
60162012-07-20 Joseph Myers <joseph@codesourcery.com>
6017
6018 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6019 va_copy. Document allowing for unavailable va_copy only as
6020 pre-C99 compatibility.
6021 * manual/string.texi (Copying and Concatenation): Use va_copy
6022 instead of __va_copy in concat example.
6023
ac4ea442
PT
60242012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6025
6026 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6027 (__sendto): Use create_address_port. Initialize APORT and deallocate
6028 it if not null.
6029
f98eafbd
PT
6030 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6031 with O_NOLINK passed to __file_name_lookup.
6032
898c7aab
PT
6033 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6034 with O_NOLINK passed to __file_name_lookup.
6035
0ced335a
PT
6036 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6037 negative N or less than NGIDS.
6038
b3404dbd
PT
6039 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6040 type to string_t. Set ERANGE as errno and return it if NAME is not big
6041 enough. Use memcpy instead of strncpy.
6042
0f48659e
JM
60432012-07-20 Joseph Myers <joseph@codesourcery.com>
6044
6045 * elf/Makefile (check-data): Remove.
6046 (localplt.data): New vpath directive.
6047 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6048 instead of $(check-data).
6049 * scripts/data/localplt-generic.data: Move to ...
6050 * sysdeps/generic/localplt.data: ... here.
6051 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6052 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6053 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6055 ... here.
6056 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6058 ... here.
6059 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6061 ... here.
6062 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6064 ... here.
6065 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6067 ... here.
6068 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6070 ... here.
6071
d37cbdaa
AZ
60722012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6073
6074 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6075 PPC32 and PPC64 files.
6076 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6077 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6078
46f85fc2
AK
60792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6080
6081 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6082 __makecontext_ret to ...
6083 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6084 ... here and call exit if uc_link is NULL. New file.
6085 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6086 __makecontext_ret.S.
6087 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6088 __makecontext_ret to ...
6089 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6090 ... here and call exit if uc_link is NULL. New file.
6091 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6092 __makecontext_ret.S.
6093
08f43f9b
AK
60942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6095
6096 * elf/elf.h (R_390_IRELATIVE): New definition.
6097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6098 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6099 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6101 (elf_machine_lazy_rel): Likewise.
6102 * sysdeps/s390/dl-irel.h: New file.
6103 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6104 * sysdeps/s390/s390-64/memset.S: New asm code.
6105 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6106 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6108 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6109 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6110 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6111 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6112 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6113 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6114 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6115 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6116 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6117 * sysdeps/s390/s390-32/memset.S: New asm code.
6118 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6119
3b05db33
MP
61202012-07-17 Marek Polacek <polacek@redhat.com>
6121
6122 [BZ #14349]
6123 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6124 * sysdeps/s390/s390-64/configure.in: Likewise.
6125 * sysdeps/sparc/configure.in: Likewise.
6126 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6127 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6128 * sysdeps/i386/configure.in: Likewise.
6129 * sysdeps/x86_64/configure.in: Likewise.
6130 * sysdeps/sh/configure.in: Likewise.
6131 * sysdeps/s390/s390-32/configure: Regenerated.
6132 * sysdeps/s390/s390-64/configure: Likewise.
6133 * sysdeps/x86_64/configure: Likewise.
6134 * sysdeps/sh/configure: Likewise.
6135 * sysdeps/powerpc/powerpc64/configure: Likewise.
6136 * sysdeps/powerpc/powerpc32/configure: Likewise.
6137 * sysdeps/sparc/configure: Likwise.
6138 * sysdeps/i386/configure: Likewise.
6139
a66877c6
MP
6140 * elf/dl-open.c: Comment fixes.
6141
cfc82fd8
JM
61422012-07-17 Joseph Myers <joseph@codesourcery.com>
6143
bd29910a
JM
6144 * Makefile [CXX] (check-data): Remove.
6145 [CXX] (c++-types.data): New vpath directive.
6146 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6147 vpath. Do not allow for C++ type data being missing.
6148 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6149 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6150 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6151 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6152 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6153 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6154 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6156 ... here.
6157 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6159 ... here.
6160 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6162 ... here.
6163 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6165 ... here.
6166 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6168 ... here.
6169 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6171 ... here.
6172 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6174 ... here.
6175 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6177
cfc82fd8
JM
6178 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6179 definitions to architecture-specific files.
6180 (TLS_IE): Likewise.
6181 (TLS_LD): Likewise.
6182 (TLS_GD): Likewise.
6183 * sysdeps/i386/tls-macros.h: New file.
6184 * sysdeps/powerpc/tls-macros.h: Likewise.
6185 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6186 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6187 * sysdeps/sh/tls-macros.h: Likewise.
6188 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6189 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6190 * sysdeps/x86_64/tls-macros.h: Likewise.
6191
f7db3170
TS
61922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6193
07cbfc23
TS
6194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6195 zero value for regular exit case.
6196
f7db3170
TS
6197 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6198 (__start_context): Preserve zero value for regular exit case.
6199
dc97c227
TS
62002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6201 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6202
6203 * manual/setjmp.texi (setcontext): Clarify normal process
6204 termination when uc_link is the null pointer.
6205 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6206 exit call.
6207
d0cd7d02
AS
62082012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6209
6210 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6211 preprocessor. Test for each exception mask separately.
6212
dd318934
AJ
62132012-07-16 Andreas Jaeger <aj@suse.de>
6214
6215 * po/ru.po: Update from translation team.
6216
8048311a
JM
62172012-07-15 Joseph Myers <joseph@codesourcery.com>
6218
6219 * conform/data/string.h-data (NULL): Use macro-constant. Require
6220 equal to 0.
6221 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6222 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6223 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6224 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6226
b637d46e
AJ
62272012-07-13 Andreas Jaeger <aj@suse.de>
6228
6229 * po/fr.po: Update from translation team.
6230
541428fe
MP
62312012-07-12 Marek Polacek <polacek@redhat.com>
6232
6233 [BZ #14173]
6234 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6236 loop condition.
6237
ec332e94
JM
62382012-07-12 Joseph Myers <joseph@codesourcery.com>
6239
6240 [BZ #13717]
6241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6242 Change to 2.4.1 where previously 2.4.0.
6243 * sysdeps/unix/sysv/linux/configure: Regenerated.
6244 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6245 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6246 version.
6247 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6248 (__ASSUME_AT_CLKTCK): Remove.
6249 (__ASSUME_AT_PAGESIZE): Likewise.
6250 (__ASSUME_AT_XID): Likewise.
6251 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6252 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6253 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6254 unconditionally.
6255 (HAVE_AUX_PAGESIZE): Likewise.
6256 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6257 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6258 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6259
7b6e99be
JB
62602012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6261
6262 [BZ #14307]
6263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6264 the temporary buffer used to invoke __gethostbyname2_r,
6265 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6266 host_data / struct gaih_addrtuple.
6267 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6268 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6269 header file nss/nsswitch.h.
6270 * nss/nsswitch.h (global scope): Add definition of implementation
6271 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6272 resolv/nss_dns/dns-host.c).
6273
608404eb
AJ
62742012-07-11 Andreas Jaeger <aj@suse.de>
6275
6276 * po/fr.po: Update from translation team.
6277
71220aca
AJ
6278 * po/sv.po: Update from translation team
6279 * po/fr.po: Another update from translation team.
6280
28cfe843
AZ
62812012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282
6283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6284 for subnormals or multiply small sinh result by itself.
6285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6287
6b90f981
DM
62882012-07-11 David S. Miller <davem@davemloft.net>
6289
6290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6291
c6825772
AS
62922012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6293
6294 [BZ #14347]
6295 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6296 (INTERNAL_MARK): Shift it here.
6297
7b8e0d49
MP
62982012-07-10 Marek Polacek <polacek@redhat.com>
6299
6300 [BZ #14151]
6301 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6302 libc_cv_asm_global_directive with .globl.
6303 * configure: Regenerated.
6304 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6305 with .globl.
6306 * sysdeps/i386/configure: Regenerated.
6307 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6308 with .globl.
6309 * sysdeps/x86_64/configure: Regenerated.
6310 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6311 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6312 * elf/tst-unique2mod2.c: Likewise.
6313 * elf/tst-unique2mod1.c: Likewise.
6314 * elf/tst-unique1mod2.c: Likewise.
6315 * elf/tst-unique1mod1.c: Likewise.
6316 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6317 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6319 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6320 * sysdeps/mach/sysdep.h: Likewise.
6321 * sysdeps/i386/sysdep.h: Likewise.
6322 * sysdeps/i386/i386-mcount.S: Likewise.
6323 * sysdeps/x86_64/_mcount.S: Likewise.
6324 * sysdeps/x86_64/sysdep.h: Likewise.
6325 * sysdeps/sh/_mcount.S: Likewise.
6326 * sysdeps/sh/sysdep.h: Likewise.
6327 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6328 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6329 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6330 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6331 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6332 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6333 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6334 * locale/localeinfo.h: Likewise.
6335 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6336 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6337
6c55cda3
RM
63382012-07-09 Roland McGrath <roland@hack.frob.com>
6339
6340 [BZ #14336]
6341 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6342 system".
6343 * manual/message.texi (The Uniforum approach): Likewise.
6344 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6345 (glibc iconv Implementation): Likewise.
6346
638a572e
JM
63472012-07-09 Joseph Myers <joseph@codesourcery.com>
6348
6349 [BZ #14337]
6350 * math/s_clog.c (__clog): Avoid scaling a value down where that
6351 could result in underflow.
6352 * math/s_clog10.c (__clog10): Likewise.
6353 * math/s_clog10f.c (__clog10f): Likewise.
6354 * math/s_clog10l.c (__clog10l): Likewise.
6355 * math/s_clogf.c (__clogf): Likewise.
6356 * math/s_clogl.c (__clogl): Likewise.
6357 * math/libm-test.inc (clog_test): Add more tests.
6358 (clog10_test): Likewise.
6359 * sysdeps/i386/fpu/libm-test-ulps: Update.
6360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6361
261f4859
AS
63622012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6363
0abaf3e4
AS
6364 [BZ #14283]
6365 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6366 by 7 not 8 to examine high bit of fractional part.
6367
261f4859
AS
6368 [BZ #14042]
6369 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6370 for call to __mcount_internal.
6371 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6372 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6373 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6374
f17ac40d
JM
63752012-07-06 Joseph Myers <joseph@codesourcery.com>
6376
9ad63c23
JM
6377 [BZ #14154]
6378 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6379 approximation for values within 0x1p-13f of an odd multiple of
6380 pi/4.
6381 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6382 exception. Add more tests.
6383 * sysdeps/i386/fpu/libm-test-ulps: Update.
6384
f17ac40d
JM
6385 [BZ #6778]
6386 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6387 inputs and return -1 for them. Do not check for +Inf in case not
6388 reachable for +Inf.
6389 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6390 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6392 and return -1 for them. Do not check for +Inf in case not
6393 reachable for +Inf.
6394 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6395 define.
6396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6397 and return -1 for them. Do not check for +Inf in case not
6398 reachable for +Inf.
6399 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6400 spurious underflow.
6401 * sysdeps/i386/fpu/libm-test-ulps: Update.
6402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6403
fb21f89b
MF
64042012-07-06 Mike Frysinger <vapier@gentoo.org>
6405
6406 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6407
cdfe2c5e
JM
64082012-07-05 Joseph Myers <joseph@codesourcery.com>
6409
6410 [BZ #14157]
6411 [BZ #14331]
6412 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6413 could result in spurious underflow. Scale down values above
6414 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6415 * math/s_csqrtf.c (__csqrtf): Likewise.
6416 * math/s_csqrtl.c (__csqrtl): Likewise.
6417 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6418 spurious underflow.
6419 * sysdeps/i386/fpu/libm-test-ulps: Update.
6420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6421
70d35b67
AS
64222012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6423
704bc459
AS
6424 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6425 xopen-msg.sed.
6426 * catgets/xopen-msg.awk: New file.
6427 * catgets/xopen-msg.sed: Removed.
6428
70d35b67
AS
6429 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6430 po2text.sed.
6431 * intl/po2test.awk: New file.
6432 * intl/po2test.sed: Removed.
6433
ca61cf32
JM
64342012-07-04 Joseph Myers <joseph@codesourcery.com>
6435
6436 [BZ #14328]
6437 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6438 or multiply small sinh result by itself.
6439 * math/s_ctanf.c (__ctanf): Likewise.
6440 * math/s_ctanh.c (__ctanh): Likewise.
6441 * math/s_ctanhf.c (__ctanhf): Likewise.
6442 * math/s_ctanhl.c (__ctanhl): Likewise.
6443 * math/s_ctanl.c (__ctanl): Likewise.
6444 * math/libm-test.inc (ctan_test_tonearest): New function.
6445 (ctan_test_towardzero): Likewise.
6446 (ctan_test_downward): Likewise.
6447 (ctan_test_upward): Likewise.
6448 (ctanh_test_tonearest): Likewise.
6449 (ctanh_test_towardzero): Likewise.
6450 (ctanh_test_downward): Likewise.
6451 (ctanh_test_upward): Likewise.
6452 (main): Call these new functions.
6453 * sysdeps/i386/fpu/libm-test-ulps: Update.
6454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6455
ca48a46a
MF
64562012-07-03 Mike Frysinger <vapier@gentoo.org>
6457
6458 * .gitignore: Delete /ports entry.
6459
9d63d37d
AJ
64602012-07-03 Andreas Jaeger <aj@suse.de>
6461
6462 * po/bg.po: Update from translation team.
6463 * po/cs.po: Likewise.
6464 * po/de.po: Likewise.
6465 * po/hr.po: Likewise.
6466 * po/nl.pl: Likewise.
6467 * po/pl.po: Likewise.
6468 * po/vi.po: Likewise.
6469
370ca3d2
JM
64702012-07-03 Joseph Myers <joseph@codesourcery.com>
6471
95f5a9a8
JM
6472 * Makeconfig [!+link] (+link-before-libc): New variable.
6473 [!+link] (+link-after-libc): Likewise.
6474 [!+link] (+link-tests): Likewise.
6475 [!+link] (+link): Define in terms of $(+link-before-libc) and
6476 $(+link-after-libc).
6477 [!+link-static] (+link-static-before-libc): New variable.
6478 [!+link-static] (+link-static-after-libc): Likewise.
6479 [!+link-static] (+link-static-tests): Likewise.
6480 [!+link-static] (+link-static): Define in terms of
6481 $(+link-static-before-libc) and $(+link-static-after-libc).
6482 [build-shared] (link-libc-before-gnulib): New variable.
6483 [build-shared] (link-libc-tests): Likewise.
6484 [build-shared] (link-libc): Define in terms of
6485 $(link-libc-before-gnulib).
6486 [!build-shared] (link-libc-tests): New variable.
6487 (link-libc-static-tests): New variable.
6488 [!gnulib] (gnulib-arch): New variable.
6489 [!gnulib] (gnulib-tests): Likewise.
6490 [!gnulib] (static-gnulib-arch): Likewise.
6491 [!gnulib] (static-gnulib-tests): Likewise.
6492 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6493 Define with "=" instead of ":=".
6494 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6495 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6496 * Rules (binaries-all-notests): New variable.
6497 (binaries-all-tests): Likewise.
6498 (binaries-static-notests): Likewise.
6499 (binaries-static-tests): Likewise.
6500 (binaries-all): Define using $(binaries-all-notests) and
6501 $(binaries-all-tests).
6502 (binaries-static): Define using $(binaries-static-notests) and
6503 $(binaries-static-tests).
6504 (binaries-shared-tests): New variable.
6505 (binaries-shared-notests): Likewise.
6506 (binaries-shared): Remove variable.
6507 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6508 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6509 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6510 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6511 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6512 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6513 * elf/Makefile (sln-modules): New variable.
6514 (extra-objs): Add $(sln-modules:=.o).
6515 (ldconfig-modules): Add static-stubs.
6516 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6517 * elf/static-stubs.c: New file.
6518
7a845b2c
JM
6519 [BZ #14283]
6520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6521 by 7 not 8 to examine high bit of fractional part. Use volatile
6522 variables when splitting into final array of floats if
6523 __FLT_EVAL_METHOD__ != 0.
6524 * math/libm-test.inc (cos_test): Add another test.
6525 (sin_test): Likewise.
6526 * sysdeps/i386/fpu/libm-test-ulps: Update.
6527
e2283f38
JM
6528 [BZ #14273]
6529 * math/libm-test.inc (cosh_test): Add more tests.
6530
370ca3d2
JM
6531 * version.h (RELEASE): Set to "development".
6532 (VERSION): Set to "2.16.90".
6533
ee9247c3
CD
65342012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6535
6536 * NEWS: Update copyright. Remove last-updated date.
6537 Mention math library bug fixes and timezone data changes.
6538 * README: Mention GNU/Hurd, x32, and HPPA support status.
6539
4648c381
TS
65402012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6541
6542 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6543
aac78a43
AJ
65442012-06-27 Andreas Jaeger <aj@suse.de>
6545
6546 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6547
ed3dbfad
AJ
65482012-06-25 Andreas Jaeger <aj@suse.de>
6549
6550 * sysdeps/s390/fpu/libm-test-ulps: Update.
6551
4d0ee855
AS
65522012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6553 Thomas Schwinge <thomas@codesourcery.com>
6554
6555 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6556 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6558 fanotify_mark.
6559
af1bce34
TS
65602012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6561
a9fa33ba
TS
6562 * sysdeps/mach/start.c: Remove file.
6563 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6564 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6565 * sysdeps/sh/init-first.c: Likewise.
6566
58f902b8
TS
6567 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6568 registers for frame unwinding purposes, add CFI directives.
6569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6571 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6572 Likewise.
6573
1518f58b
TS
6574 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6575 __fortify_fail returning.
6576 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6577
db9b5059
TS
6578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6579 sysdeps/sh/____longjmp_chk.S.
6580 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6581 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6582 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6583 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6584
967705fe
TS
6585 * sysdeps/sh/abort-instr.h: New file.
6586 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6587 process in case exit returns.
6588
a9def8c4
TS
6589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6590 initialize the GOT register before use.
6591
2a649725
TS
6592 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6593 calculation of ARGC > 4.
6594
af1bce34
TS
6595 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6596 meaningful names to some local labels.
6597
d230f50a
KK
65982012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6599 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6600
6601 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6602 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6603 (__arch_compare_and_exchange_val_16_acq): Likewise.
6604 (__arch_compare_and_exchange_val_32_acq): Likewise.
6605 (atomic_exchange_and_add): Fix gUSA sequence.
6606 (atomic_add): Likewise.
6607 (atomic_add_negative): Likewise.
6608 (atomic_add_zero): Likewise.
6609 (atomic_bit_test_set): Likewise.
6610
0479b305
AS
66112012-06-22 Andreas Schwab <schwab@redhat.com>
6612
6613 [BZ #13579]
6614 * include/link.h (struct link_map): Add l_free_initfini.
6615 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6616 l_initfini.
6617 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6618 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6619 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6620 set.
6621
0e3933b9
CD
66222012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6623
6624 * configure.in: Use AC_LANG_SOURCE.
6625 * configure: Regenerate.
6626
4248b1b1
RM
66272012-06-22 Roland McGrath <roland@hack.frob.com>
6628
6629 * configure.in (libc_cv_localstatedir): New substituted variable.
6630 * configure: Regenerated.
6631 * config.make.in (localstatedir): New variable, substituted from
6632 libc_cv_localstatedir.
6633 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6634 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6635 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6636 * sysdeps/gnu/configure: Regenerated.
6637
006dd861
JL
66382012-06-21 Jeff Law <law@redhat.com>
6639
6640 [BZ #14277]
6641 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6642 free. Simplify list management for _LIBC case.
6643
79662d42
JM
66442012-06-21 Joseph Myers <joseph@codesourcery.com>
6645
b7abb4bf
JM
6646 [BZ #14273]
6647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6648 Clear sign bit of 64-bit integer value before comparing against
6649 overflow value.
6650
79662d42
JM
6651 * sysdeps/mach/configure: Regenerated.
6652
1f150908
L
66532012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6654
6655 [BZ #14278]
6656 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6657
28363bbf
JL
66582012-06-21 Jeff Law <law@redhat.com>
6659
6660 [BZ #13882]
6661 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6662 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6663 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6664 * elf/dl-open.c (dl_open_worker): Likewise.
6665
09615db4
CD
66662012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6667
6668 * scripts/list-sources.sh: Scan PORTS for translations.
6669 * po/libc.pot: Regenerated.
6670
2174c6dd
AJ
66712012-06-21 Andreas Jaeger <aj@suse.de>
6672
6673 [BZ #12194]
6674 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6675 warning.
6676 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6677 * bits/byteswap-16.h (__bswap_16): Likewise.
6678 * bits/byteswap.h (__bswap_constant_16): Likewise.
6679
3ee947b1
L
66802012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6681
6682 [BZ #14117]
a2f34833
L
6683 * sysdeps/i386/fpu_control.h: Removed.
6684 * sysdeps/x86_64/fpu_control.h: Moved to ...
6685 * sysdeps/x86/fpu_control.h: Here.
6686
3ee947b1
L
6687 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6688 (_FPU_SETCW): Likewise.
6689
ed1825f8
L
66902012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6691
25f1282a
L
6692 [BZ #14117]
6693 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6694 * sysdeps/x86/fpu/bits/mathinline.h: This.
6695 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6696
ed1825f8
L
6697 [BZ #14050]
6698 [BZ #14117]
6699 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6700 functions if __x86_64__ is defined.
6701
36d54b74
CLT
67022012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6703
6704 * string/endian.h: Add !__ASSEMBLER__ condition for including
6705 conversion interfaces.
6706
10285c21
JM
67072012-06-15 Joseph Myers <joseph@codesourcery.com>
6708
6709 [BZ #14241]
6710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6711 of ABS(x) in calculating zero to negative powers other than odd
6712 integers.
6713 * math/libm-test.inc (pow_test): Add more tests.
6714
06c5abbd
AJ
67152012-06-15 Andreas Jaeger <aj@suse.de>
6716
6717 * manual/contrib.texi (Contributors): Update entry of Liubov
6718 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6719 Machado Filho.
6720
a3aeac40
CH
67212012-06-15 Cyril Hrubis <metan@ucw.cz>
6722
6723 * string/string.h: Add __wur to GNU version of strerror_r.
6724
49bdf4c1
L
67252012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6726
6727 [BZ #14229]
6728 * string/Makefile (tests): Add tst-strtok_r.
6729 * string/tst-strtok_r.c: New file.
6730 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6731 RAX_LP/RDX_LP on SAVE_PTR.
6732
834f9b8d
RM
67332012-06-14 Roland McGrath <roland@hack.frob.com>
6734
6735 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6736
75fa1921
JM
67372012-06-14 Joseph Myers <joseph@codesourcery.com>
6738
6739 * libm_test.inc (csqrt_test): Allow more spurious underflow
6740 exceptions.
6741 (j0_test): Likewise.
6742 (j1_test): Likewise.
6743 (y0_test): Likewise.
6744 (y1_test): Likewise.
6745
771766df
CD
67462012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6747
6748 * po/Makefile (libc.pot): Use UTF-8 charset.
6749
ceb9e56b
PP
67502012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6751
6752 [BZ #14210]
6753 Suppress sign-conversion warning from FD_SET.
6754 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6755 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6756 not unsigned long int.
6757 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6758
ddb28975
L
67592012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6760
6761 [BZ #14050]
6762 [BZ #14117]
6763 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6764 __extern_always_inline instead of __extern_inline.
6765 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6766 (__signbit): Likewise.
6767 (__signbitl): Support C++ namespace.
6768 (lrintf): New inline function.
6769 (lrint): Likewise.
6770 (llrintf): Likewise.
6771 (llrint): Likewise.
6772 (fmaxf): Likewise.
6773 (fmax): Likewise.
6774 (fminf): Likewise.
6775 (fmin): Likewise.
6776 (rint): Likewise.
6777 (rintf): Likewise.
6778 (ceil): Likewise.
6779 (ceilf): Likewise.
6780 (floor): Likewise.
6781 (floorf): Likewise.
6782 (nearbyint): Likewise.
6783 (nearbyintf): Likewise.
6784
d7b4fb26
TS
67852012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6786
6787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6788 non-default versions.
6789
eb55f5c2
RM
67902012-06-11 Roland McGrath <roland@hack.frob.com>
6791
6792 [BZ #14218]
6793 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6794
366af02c
TS
67952012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6796
99ff6e5c
TS
6797 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6798 (FE_UPWARD, FE_DOWNWARD): Don't define.
6799 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6800 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6801
366af02c
TS
6802 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6803 reading it.
6804 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6805 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6806
793ea851
KK
68072012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6808
6809 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6811 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6812 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6813
a728a38f
L
68142012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6815
6816 [BZ #14117]
c08010c7
L
6817 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6818 * sysdeps/i386/fpu/Implies: New file.
6819 * sysdeps/x86_64/fpu/Implies: Likewise.
6820 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6821 * sysdeps/x86/fpu/bits/fenv.h: This.
6822
a728a38f
L
6823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6824 __SSE_MATH__.
6825
6e230d11
SP
68262012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6827
6828 [BZ #14134]
6829 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6830 character 0xffff that matches the last element of the
6831 conversion table.
6832
1b671feb
AZ
68332012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6834
6835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6836 fmodl commit.
6837
6043738b
AZ
68382012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6839
6840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6841 values higher than 25.6283.
6842
34ae0b32
AZ
68432012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6844
6845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6846 subnormal exponent extraction and add some __builtin_expect.
6847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6848 Fix for subnormal mantissa calculation.
6849
1214ec8f
MF
68502012-06-04 Mike Frysinger <vapier@gentoo.org>
6851
6852 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6853 cpu2 is -1 and errno is not ENOSYS.
6854
f3d1f93c
L
68552012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6856
6857 [BZ #14117]
0e4a3cd7
L
6858 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6859 * sysdeps/x86/bits/string.h: This.
6860 * sysdeps/x86_64/bits/string.h: Removed.
6861
6704c645
L
6862 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6863 if not compiling for x86-64, but compiling for >= i486.
6864
48495318
L
6865 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6866 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6867
14adcbfc
L
6868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6869 New macro from Linux kernel 3.4.0.
6870 (FP_XSTATE_MAGIC2): Likewise.
6871 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6872 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6873 (struct _fpx_sw_bytes): New struct.
6874 (struct _xsave_hdr): Likewise.
6875 (struct _ymmh_state): Likewise.
6876 (struct _xstate): Likewise.
6877
68e408ab
L
6878 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6879 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6880 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6881 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6882 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6883 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6884
f3d1f93c
L
6885 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6886 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6887 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6888 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6889 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6890 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6891
d9dc34cd
TMQMF
68922012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6893
6894 [BZ #13743]
6895 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6896 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6897 (sysdep_headers): Include sys/platform/ppc.h.
6898 * sysdeps/powerpc/test-gettimebase.c: Test for
6899 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6900 * manual/Makefile (appendices): Include platform.texi.
6901 * manual/contrib.texi (Contributors): Update @node pointers.
6902 * manual/maint.texi (Maintenance): Likewise.
6903 (Platform): New node.
6904 * manual/platform.texi: New file. Document the new features.
6905
4af3879c
SP
69062012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6907 Jakub Jelinek <jakub@redhat.com>
6908
6909 [BZ #14188]
6910 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6911 where __builtin_expect is unavailable.
6912
2fd6ff13
DM
69132012-06-03 David S. Miller <davem@davemloft.net>
6914
6915 * stdlib/longlong.h: Updated from GCC.
6916
173f7220
AS
69172012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6918
6919 [BZ #14042]
6920 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6921 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6922 __mcount_internal.
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6924 (GLIBC_2.16): Likewise.
6925
f34a1c6f
L
69262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6927
6928 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6929
88a4576f
JM
69302012-06-01 Joseph Myers <joseph@codesourcery.com>
6931
ea32bcdd
JM
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6933 (default-abi): New variable.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6936 variable.
6937 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6938 Likewise.
6939 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6940 Likewise.
6941 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6942 Likewise.
6943
88a4576f
JM
6944 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6945 definition. Document in comment.
6946
402fe938
DM
69472012-06-01 David S. Miller <davem@davemloft.net>
6948
6949 * stdlib/longlong.h: Updated from GCC.
6950
3553723f
L
69512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6952
6953 [BZ #14117]
3bd872c4
L
6954 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6955 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6956 sys/debugreg.h sys/io.h here.
6957 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6958 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6959 sys/io.h.
6960 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6961 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6962 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6963 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6964 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6965 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6966
3553723f
L
6967 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6968 Define only if __x86_64__ is defined.
6969
4842e4fe
JM
69702012-06-01 Joseph Myers <joseph@codesourcery.com>
6971
c5bfe3d5
JM
6972 [BZ #14048]
6973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6974 Use int64_t for variable i.
6975 * math/libm-test.inc (fmod_test): Add more tests.
6976
4842e4fe
JM
6977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6978 z computation is not scheduled after fetestexcept.
6979 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6980 Use math_force_eval instead of asm to ensure calculation scheduled
6981 before exception test.
6982 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6983 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6984
efb73488
AJ
69852012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6986
6987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6988 computation is not scheduled after fetestexcept.
6989
29bcce7c
L
69902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6991
6992 [BZ #14117]
6993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6994 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6995
73a68f94
AZ
69962012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6997
6998 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6999 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7000
67b6df78
L
70012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7002
edf2933a 7003 [BZ #14117]
ebc64a18
L
7004 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7005 <bits/wordsize.h>.
7006 (__WCHAR_MIN): Support __WORDSIZE == 64.
7007 (__WCHAR_MAX): Likewise.
7008
edf2933a
L
7009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7010 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7011
57c6cf40
L
7012 [BZ #14183]
7013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7014 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7015
67b6df78 7016 [BZ #14117]
8eb6281e
L
7017 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7019
aac639f4
L
7020 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7021 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7022
67b6df78
L
7023 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7024 Defined to 1 if __x86_64__ isn't defined.
7025 (_STAT_VER_LINUX_OLD): New.
7026 (st_atime): Remove duplicate.
7027 (st_mtime): Likewise.
7028 (st_ctime): Likewise.
7029
1c2cfe81
DM
70302012-05-31 David S. Miller <davem@davemloft.net>
7031
7032 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7033 entries.
7034
5be8418c
AS
70352012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7036
e7725326
AS
7037 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7038 gen-libm-test.pl.
7039
5be8418c
AS
7040 [BZ #14132]
7041 * elf/dl-reloc.c: Include <_itoa.h>.
7042 (_dl_reloc_bad_type): Remove use of INTUSE.
7043 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7044 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7045 * stdio-common/psiginfo.c (psiginfo): Likewise.
7046 * stdio-common/psignal.c (psignal): Likewise.
7047 * string/strsignal.c (strsignal): Likewise.
7048 * include/signal.h (_sys_siglist): Declare hidden proto.
7049 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7050 INTVARDEF with libc_hidden_data_def.
7051 * stdio-common/itoa-udigits.c: Likewise.
7052 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7053 (_itoa_lower_digits_internal): Remove declaration.
7054 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7055 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7056 (_sys_sigabbrev_internal): Remove aliases.
7057 (_sys_siglist): Define hidden alias.
7058
507352f1
MT
70592012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7060
7061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7062 bits/sysctl.h.
7063
42bbb1c3
L
70642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7065
7066 [BZ #14117]
6bd784b6
L
7067 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7068 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7069
8bca20f0
L
7070 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7071 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7072 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7073 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7075 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7076
f9e890a9
L
7077 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7079 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7080
471101a1
L
7081 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7082 with __addr.
7083 (insw): Likewise.
7084 (insl): Likewise.
7085 (outsb): Likewise.
7086 (outsw): Likewise.
7087 (outsl): Likewise.
7088
6451c862
L
7089 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7090 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7091 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7092
a254b8c9
L
7093 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7094 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7096 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7097 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7098 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7099
b8dfdd92
L
7100 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7101 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7102
578cd270
L
7103 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7104 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7105
de662f5f
L
7106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7109
25653439
L
7110 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7111 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7112 to ...
7113 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7114
6bad24a0
L
7115 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7116 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7117 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7118
42bbb1c3
L
7119 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7120 for x86-64.
7121 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7122
2d10d547
JM
71232012-05-31 Joseph Myers <joseph@codesourcery.com>
7124
7125 * math/math.h (M_El): Use two more decimal places.
7126 (M_LOG2El): Likewise.
7127 (M_LOG10El): Likewise.
7128 (M_LN2l): Likewise.
7129 (M_LN10l): Likewise.
7130 (M_PIl): Likewise.
7131 (M_PI_2l): Likewise.
7132 (M_PI_4l): Likewise.
7133 (M_1_PIl): Likewise.
7134 (M_2_PIl): Likewise.
7135 (M_2_SQRTPIl): Likewise.
7136 (M_SQRT2l): Likewise.
7137 (M_SQRT1_2l): Likewise.
7138
f230c29b
DM
71392012-05-31 David S. Miller <davem@davemloft.net>
7140
7141 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7142 values between float registers.
7143 * sysdeps/sparc/sparc64/memset.S: Likewise.
7144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7145
fed806c3
MF
71462012-05-31 Mike Frysinger <vapier@gentoo.org>
7147
7148 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7149 -D_FORTIFY_SOURCE=1.
7150 (CPPFLAGS-tst-longjmp_chk.c): Define.
7151 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7152 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7153 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7154 CFLAGS-tst-wchar-h.c.
7155
30917259
MP
71562012-05-31 Marek Polacek <polacek@redhat.com>
7157
7158 [BZ #14132]
7159 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7160 __endmntent_internal): Remove declaration.
7161 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7162 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7163 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7164
1c58d5dc
DM
71652012-05-30 David S. Miller <davem@davemloft.net>
7166
7167 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7168 (___Q_simulate_exceptions): Use real FP ops rather than writing
7169 into the %fsr.
7170 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7171 Likewise.
7172
7dc00e0d
L
71732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7174
7175 [BZ #14117]
0bd53985
L
7176 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7177 * sysdeps/x86/bits/xtitypes.h: This.
7178
3a257e66
L
7179 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7180 * sysdeps/x86/bits/wordsize.h: This.
7181
62f62904
L
7182 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7183 * sysdeps/x86/bits/huge_vall.h: This.
7184
404fe9d9
L
7185 * sysdeps/i386/bits/select.h: Removed.
7186 * sysdeps/x86_64/bits/select.h: Renamed to ...
7187 * sysdeps/x86/bits/select.h: This.
7188
d48d0446
L
7189 * sysdeps/i386/bits/setjmp.h: Removed.
7190 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7191 * sysdeps/x86/bits/setjmp.h: This.
7192
7dc00e0d
L
7193 * sysdeps/i386/bits/mathdef.h: Removed.
7194 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7195 * sysdeps/x86/bits/mathdef.h: This.
7196
03277f8f
AS
71972012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7198
7199 [BZ #14132]
7200 * include/sys/socket.h (__connect_internal)
7201 (__libc_sa_len_internal): Remove declaration.
7202 (__connect, __libc_sa_len): Declare hidden_proto.
7203 (SA_LEN): Remove use of INTUSE.
7204 * socket/connect.c: Add libc_hidden_def.
7205 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7206 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7207 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7208 alias.
7209 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7211 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7212 of adding _internal alias.
7213
13764867
L
72142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7215
7216 [BZ #14117]
6bd97696
L
7217 * sysdeps/i386/bits/link.h: Removed.
7218 * sysdeps/i386/bits/linkmap.h: Likewise.
7219 * sysdeps/x86_64/bits/link.h: Renamed to ...
7220 * sysdeps/x86/bits/link.h: This.
7221 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7222 * sysdeps/x86/bits/linkmap.h: This.
7223
f726f0bb
L
7224 * sysdeps/i386/bits/endian.h: Removed.
7225 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7226 * sysdeps/x86/bits/endian.h: This.
7227
13764867
L
7228 * sysdeps/i386/bits/byteswap.h: Removed.
7229 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7230 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7231 * sysdeps/x86/bits/byteswap.h: This.
7232 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7233 * sysdeps/x86/bits/byteswap-16.h: This.
7234 * sysdeps/i386/Implies: Add x86.
7235 * sysdeps/x86_64/Implies: Likewise.
7236
ae251b0b
DM
72372012-05-30 David S. Miller <davem@davemloft.net>
7238
7239 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7240 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7241 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7242 (FP_TRAPPING_EXCEPTIONS): Define.
7243 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7244 (FP_TRAPPING_EXCEPTIONS): Define.
7245 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7246 subnormals only when inexact has been signalled or underflow
7247 exceptions are enabled.
7248 (_FP_PACK_CANONICAL): Likewise.
7249
d5c90867
L
72502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7251
7252 [BZ #14183]
7253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7254 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7255
63f1549e
RH
72562012-05-30 Richard Henderson <rth@twiddle.net>
7257
8d8f2279
RH
7258 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7259 with #ifndef NOT_IN_libc.
7260
63f1549e
RH
7261 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7262 marked to avoid plt entry.
7263
0ab0291b
L
72642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7265
7266 [BZ #14112]
7267 * Makeconfig (default-abi): New macro.
7268 (abi-includes): Likewise.
7269 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7270 $(abi-$(default-abi)-lib-soname) for soname if defined.
7271 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7272 abi-variants.
7273 * Makefile (installed-stubs): Likewise.
7274 * include/stubs-biarch.h: Removed.
7275 * scripts/lib-names.awk: Only handle one library at a time.
7276 * scripts/soversions.awk: Remove WORDSIZE support.
7277 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7278 entries.
7279 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7280 Removed.
7281 (syscall-list-default-condition): Likewise.
7282 (syscall-list-default-condition): Likewise.
7283 (syscall-list-includes): Likewise.
7284 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7285 syscall-list-* with abi-*. Handle undefined abi-variants.
7286 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7287 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7288 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7289 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7290 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7291 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7292 Removed.
7293 (syscall-list-32-options): Likewise.
7294 (syscall-list-32-condition): Likewise.
7295 (syscall-list-64-options): Likewise.
7296 (syscall-list-64-condition): Likewise.
7297 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7298 macro.
7299 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7300 Renamed to ...
7301 (abi-*): This.
7302 (abi-64-ld-soname): New macro.
7303 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7304 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7305 Renamed to ...
7306 (abi-*): This.
7307 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7308 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7309
4da0431d
JM
73102012-05-30 Joseph Myers <joseph@codesourcery.com>
7311
3a85279c
JM
7312 * sysdeps/unix/sysv/linux/kernel-features.h
7313 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7314 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7315 include <kernel-features.h>.
7316 [!__NR_ftruncate64]: Remove conditional code.
7317 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7318 [__NR_ftruncate64]: Make code unconditional.
7319 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7320 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7321 include <kernel-features.h>.
7322 [!__NR_ftruncate64]: Remove conditional code.
7323 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7324 [__NR_ftruncate64]: Make code unconditional.
7325 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7327 include <kernel-features.h>.
7328 [!__NR_ftruncate64]: Remove conditional code.
7329 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7330 [__NR_ftruncate64]: Make code unconditional.
7331 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7333 include <kernel-features.h>.
7334 [!__NR_ftruncate64]: Remove conditional code.
7335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7336 [__NR_ftruncate64]: Make code unconditional.
7337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7338
4da0431d
JM
7339 * configure.in (libc_cv_fpie): Weaken to a compile test using
7340 LIBC_TRY_CC_OPTION.
7341 * configure: Regenerated.
7342
11ef492c
AK
73432012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7344
7345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7349 Refreshed.
7350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7356 Refreshed.
7357
d66ef399
DM
73582012-05-27 David S. Miller <davem@davemloft.net>
7359
7360 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7361 (___Q_zero): New.
7362 (__Q_simulate_exceptions): Return void. Change to simulate
7363 exceptions by writing into the %fsr.
7364 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7365 (__Qp_handle_exceptions): Likewise.
7366 (numbers): Delete.
7367 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7368 __Qp_handle_exceptions.
7369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7370 __Qp_handle_exceptions.
7371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7372 as unused and give dummy FP_RND_NEAREST initializer.
7373 (FP_INHIBIT_RESULTS): Define.
7374 (___Q_simulate_exceptions): Update declaration.
7375 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7376 formatting.
7377 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7378 as unused and give dummy FP_RND_NEAREST initializer.
7379 (__Qp_handle_exceptions): Update declaration.
7380 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7381 formatting.
7382
04fb54b5
TS
73832012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7384
7385 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7386 the temporary FPU control word.
7387 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7388 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7389 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7390 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7391 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7392 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7393 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7394 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7395 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7396 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7397 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7398
3f99608f
KK
73992012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7400
7401 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7402 fields.
7403
65a4de4e
CLT
74042012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7405
7406 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7407 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7408 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7409 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7410 Likewise.
7411 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7412 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7413 Likewise.
7414
15749d40
UD
74152012-05-27 Ulrich Drepper <drepper@gmail.com>
7416
7417 * po/h.po: Update from translation team.
7418
25dbcb27
AS
74192012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7420
3d3f8e55
AS
7421 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7422
25dbcb27
AS
7423 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7424 handling of denormals.
7425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7426 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7427 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7428 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7432 Likewise.
7433
7ad47a80 74342012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7435
7436 [BZ #14152]
7437 * math/libm-test.inc (fma_test): Don't always expect underflow
7438 exception.
7439
9c6ea9fa
SP
74402012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7441
7442 [BZ #12416]
7443 * elf/tst-execstack.c: Include stackinfo.h.
7444 (do_test): Adjust test case to ensure that pthread_getattr_np
7445 behaviour remains the same after marking stack executable.
7446
a8239222
JM
74472012-05-25 Joseph Myers <joseph@codesourcery.com>
7448
7449 * sysdeps/unix/sysv/linux/kernel-features.h
7450 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7451 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7452 kernel-features.h.
7453 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7454 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7455 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7456 kernel-features.h.
7457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7459
918b5606
L
74602012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7461
7462 * configure.in: Define the default includes to being none.
7463 * configure: Regenerated.
7464
3a097cc7
RM
74652012-05-25 Roland McGrath <roland@hack.frob.com>
7466
8422c9a5
RM
7467 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7468 * sysdeps/x86_64/setjmp.S: Likewise.
7469 * sysdeps/i386/bsd-setjmp.S: Likewise.
7470 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7471 * sysdeps/i386/setjmp.S: Likewise.
7472 * sysdeps/i386/__longjmp.S: Likewise.
7473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7475
3a097cc7
RM
7476 * include/stap-probe.h: New file.
7477 * configure.in: Handle --enable-systemtap.
7478 * configure: Regenerated.
7479 * config.h.in (USE_STAP_PROBE): New #undef.
7480 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7481 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7482 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7483
21708942
JM
74842012-05-25 Joseph Myers <joseph@codesourcery.com>
7485
7486 [BZ #13717]
7487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7488 to 2.4.0 where earlier.
7489 * sysdeps/unix/sysv/linux/configure: Regenerated.
7490 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7491 <kernel-features.h>.
7492 [__ASSUME_32BITUIDS]: Make code unconditional.
7493 [!__ASSUME_32BITUIDS]: Remove conditional code.
7494 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7495 <kernel-features.h>.
7496 [__ASSUME_32BITUIDS]: Make code unconditional.
7497 [!__ASSUME_32BITUIDS]: Remove conditional code.
7498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7499 [__ASSUME_32BITUIDS]: Make code unconditional.
7500 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7501 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7502 <kernel-features.h>.
7503 [__ASSUME_32BITUIDS]: Make code unconditional.
7504 [!__ASSUME_32BITUIDS]: Remove conditional code.
7505 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7506 <kernel-features.h>.
7507 [__ASSUME_32BITUIDS]: Make code unconditional.
7508 [!__ASSUME_32BITUIDS]: Remove conditional code.
7509 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7510 <kernel-features.h>.
7511 [__ASSUME_32BITUIDS]: Make code unconditional.
7512 [!__ASSUME_32BITUIDS]: Remove conditional code.
7513 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7514 <kernel-features.h>.
7515 [__ASSUME_32BITUIDS]: Make code unconditional.
7516 [!__ASSUME_32BITUIDS]: Remove conditional code.
7517 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7518 <kernel-features.h>.
7519 [__ASSUME_32BITUIDS]: Make code unconditional.
7520 [!__ASSUME_32BITUIDS]: Remove conditional code.
7521 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7522 <kernel-features.h>.
7523 [__ASSUME_32BITUIDS]: Make code unconditional.
7524 [!__ASSUME_32BITUIDS]: Remove conditional code.
7525 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7526 <kernel-features.h>.
7527 [__ASSUME_32BITUIDS]: Make code unconditional.
7528 [!__ASSUME_32BITUIDS]: Remove conditional code.
7529 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7530 <kernel-features.h>.
7531 [__ASSUME_32BITUIDS]: Make code unconditional.
7532 [!__ASSUME_32BITUIDS]: Remove conditional code.
7533 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7534 <kernel-features.h>.
7535 [__ASSUME_32BITUIDS]: Make code unconditional.
7536 [!__ASSUME_32BITUIDS]: Remove conditional code.
7537 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7538 <kernel-features.h>.
7539 [__ASSUME_32BITUIDS]: Make code unconditional.
7540 [!__ASSUME_32BITUIDS]: Remove conditional code.
7541 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7542 <kernel-features.h>.
7543 [__NR_setresgid] (__setresgid): Do not declare.
7544 [__ASSUME_32BITUIDS]: Make code unconditional.
7545 [!__ASSUME_32BITUIDS]: Remove conditional code.
7546 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7547 <kernel-features.h>.
7548 [__NR_setresuid] (__setresuid): Do not declare.
7549 [__ASSUME_32BITUIDS]: Make code unconditional.
7550 [!__ASSUME_32BITUIDS]: Remove conditional code.
7551 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7552 <kernel-features.h>.
7553 [__ASSUME_32BITUIDS]: Make code unconditional.
7554 [!__ASSUME_32BITUIDS]: Remove conditional code.
7555 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7556 <kernel-features.h>.
7557 [__ASSUME_32BITUIDS]: Make code unconditional.
7558 [!__ASSUME_32BITUIDS]: Remove conditional code.
7559 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7560 <kernel-features.h>.
7561 [__ASSUME_32BITUIDS]: Make code unconditional.
7562 [!__ASSUME_32BITUIDS]: Remove conditional code.
7563 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7564 <kernel-features.h>.
7565 [__ASSUME_32BITUIDS]: Make code unconditional.
7566 [!__ASSUME_32BITUIDS]: Remove conditional code.
7567 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7568 <kernel-features.h>.
7569 [__ASSUME_32BITUIDS]: Make code unconditional.
7570 [!__ASSUME_32BITUIDS]: Remove conditional code.
7571 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7572 <kernel-features.h>.
7573 [__ASSUME_32BITUIDS]: Make code unconditional.
7574 [!__ASSUME_32BITUIDS]: Remove conditional code.
7575 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7576 <kernel-features.h>.
7577 [__ASSUME_32BITUIDS]: Make code unconditional.
7578 [!__ASSUME_32BITUIDS]: Remove conditional code.
7579 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7580 <kernel-features.h>.
7581 [__ASSUME_32BITUIDS]: Make code unconditional.
7582 [!__ASSUME_32BITUIDS]: Remove conditional code.
7583 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7584 <kernel-features.h>.
7585 [__ASSUME_32BITUIDS]: Make code unconditional.
7586 [!__ASSUME_32BITUIDS]: Remove conditional code.
7587 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7588 <kernel-features.h>.
7589 [__ASSUME_32BITUIDS]: Make code unconditional.
7590 [!__ASSUME_32BITUIDS]: Remove conditional code.
7591 * sysdeps/unix/sysv/linux/kernel-features.h
7592 (__ASSUME_SETRESUID_SYSCALL): Remove.
7593 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7594 (__ASSUME_32BITUIDS): Likewise.
7595 (__ASSUME_LDT_WORKS): Likewise.
7596 (__ASSUME_O_DIRECTORY): Likewise.
7597 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7598 architecture but not kernel version.
7599 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7600 (__ASSUME_MMAP2_SYSCALL): Likewise.
7601 (__ASSUME_STAT64_SYSCALL): Likewise.
7602 (__ASSUME_IPC64): Likewise.
7603 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7604 <kernel-features.h>.
7605 [__ASSUME_32BITUIDS]: Make code unconditional.
7606 [!__ASSUME_32BITUIDS]: Remove conditional code.
7607 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7608 <kernel-features.h>.
7609 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7610 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7611 132096]: Remove conditional code.
7612 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7613 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7614 <kernel-features.h>.
7615 [__ASSUME_32BITUIDS]: Make code unconditional.
7616 [!__ASSUME_32BITUIDS]: Remove conditional code.
7617 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7618 <kernel-features.h>.
7619 [__ASSUME_32BITUIDS]: Make code unconditional.
7620 [!__ASSUME_32BITUIDS]: Remove conditional code.
7621 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7622 <kernel-features.h>.
7623 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7624 unconditional.
7625 (__setresgid): Do not declare.
7626 [__ASSUME_32BITUIDS]: Make code unconditional.
7627 [!__ASSUME_32BITUIDS]: Remove conditional code.
7628 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7629 <kernel-features.h>.
7630 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7631 unconditional.
7632 (__setresuid): Do not declare.
7633 [__ASSUME_32BITUIDS]: Make code unconditional.
7634 [!__ASSUME_32BITUIDS]: Remove conditional code.
7635 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7636 <kernel-features.h>.
7637 [__ASSUME_32BITUIDS]: Make code unconditional.
7638 [!__ASSUME_32BITUIDS]: Remove conditional code.
7639 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7640 <kernel-features.h>.
7641 [__ASSUME_32BITUIDS]: Make code unconditional.
7642 [!__ASSUME_32BITUIDS]: Remove conditional code.
7643
a386f1cc
RH
76442012-05-25 Richard Henderson <rth@twiddle.net>
7645
7646 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7647 dl_hwcap to ifunc resolver.
7648 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7649 elf_ifunc_invoke.
7650 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7651 dl_hwcap to ifunc resolver.
7652 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7653
b6550497
JM
76542012-05-24 Joseph Myers <joseph@codesourcery.com>
7655
7656 [BZ #14153]
7657 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7658 for |x| <= 2**-26, not 2**-57.
7659 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7660 exception.
7661
b0bc23a1
JL
76622012-05-24 Jeff Law <law@redhat.com>
7663
7664 * stdio-common/Makefile (tests): Add bug25.
7665 * stdio-common/bug25.c: New test.
7666
347c92e9
L
76672012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7668
7669 [BZ #13576]
7670 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7671 multiple of MALLOC_ALIGNMENT in size.
7672 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7673
6bcc8b3f
JM
76742012-05-24 Joseph Myers <joseph@codesourcery.com>
7675
7676 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7677 Require >= 256.
7678 (FILENAME_MAX): Use macro-int-constant.
7679 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7680 (_IOFBF): Use macro-int-constant.
7681 (_IOLBF): Likewise.
7682 (_IONBF): Likewise.
7683 (SEEK_CUR): Likewise.
7684 (SEEK_END): Likewise.
7685 (SEEK_SET): Likewise.
7686 (TMP_MAX): Likewise.
7687 (EOF): Use macro-int-constant. Require < 0.
7688 (NULL): Use macro-constant. Require == 0.
7689 (stdin): Require type to be FILE *.
7690 (stdout): Likewise.
7691 (stderr): Likewise.
7692 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7693 macro-int-constant.
7694 (EXIT_SUCCESS): Likewise.
7695 (NULL): Use macro-constant. Require == 0.
7696 (RAND_MAX): Use macro-int-constant.
7697 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7698 [C99-based standards] (strtof): Require function.
7699 [C99-based standards] (strtold): Likewise.
7700 [C99-based standards] (strtoll): Likewise.
7701 [C99-based standards] (strtoull): Likewise.
7702 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7703 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7704 [ISO || ISO99 || ISO11] (math.h): Likewise.
7705 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7708
d18ea0c5
AS
77092012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7710
7711 [BZ #14132]
56d25bb8
AS
7712 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7713 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7714 * intl/dgettext.c (DCGETTEXT): Likewise.
7715 * intl/gettext.c (DCGETTEXT): Likewise.
7716 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7717 * posix/regex_internal.h (gettext): Likewise.
7718 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7719 Remove declaration.
7720 * include/argz.h (__argz_count_internal)
7721 (__argz_stringify_internal): Remove declaration.
7722 (__argz_count, __argz_stringify): Declare hidden proto.
7723 * intl/dcgettext.c: Remove use of INTDEF.
7724 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7725 * string/argz-stringify.c: Likewise.
7726 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7727 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7728 Declare hidden proto.
d18ea0c5
AS
7729 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7730 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7731 Declare hidden proto.
7732 * include/stdio.h (__asprintf_internal): Don't declare.
7733 (__asprintf): Don't define as macro. Declare hidden proto.
7734 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7735 (__fsetlocking): Declare hidden proto.
7736 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7737 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7738 hidden proto.
7739 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7740 (_IO_setlinebuf): Remove use of INTUSE.
7741 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7742 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7743 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7744 Remove declaration.
7745 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7746 (_IO_do_flush): Remove use of INTUSE.
7747 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7748 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7749 (_IO_adjust_column, _IO_least_wmarker)
7750 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7751 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7752 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7753 (_IO_default_doallocate, _IO_wdefault_doallocate)
7754 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7755 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7756 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7757 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7758 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7759 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7760 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7761 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7762 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7763 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7764 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7765 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7766 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7767 proto.
7768 (_IO_flush_all_internal, _IO_adjust_column_internal)
7769 (_IO_default_uflow_internal, _IO_default_finish_internal)
7770 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7771 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7772 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7773 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7774 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7775 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7776 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7777 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7778 (_IO_file_close_internal, _IO_file_close_it_internal)
7779 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7780 (_IO_file_init_internal, _IO_file_attach_internal)
7781 (_IO_file_fopen_internal, _IO_file_read_internal)
7782 (_IO_file_sync_internal, _IO_file_seek_internal)
7783 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7784 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7785 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7786 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7787 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7788 (_IO_list_all_internal, _IO_link_in_internal)
7789 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7790 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7791 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7792 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7793 (_IO_do_write_internal, _IO_padn_internal)
7794 (_IO_getline_info_internal, _IO_getline_internal)
7795 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7796 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7797 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7798 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7799 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7800 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7801 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7802 with libc_hidden_ver, remove use of INTUSE.
7803 * libio/genops.c: Likewise.
7804 * libio/freopen.c: Likewise.
7805 * libio/freopen64.c: Likewise.
7806 * libio/iofclose.c: Likewise.
7807 * libio/iofdopen.c: Likewise.
7808 * libio/iofflush.c: Likewise.
7809 * libio/iofflush_u.c: Likewise.
7810 * libio/iofgets.c: Likewise.
7811 * libio/iofgets_u.c: Likewise.
7812 * libio/iofopen.c: Likewise.
7813 * libio/iofopncook.c: Likewise.
7814 * libio/iofread.c: Likewise.
7815 * libio/iofread_u.c: Likewise.
7816 * libio/ioftell.c: Likewise.
7817 * libio/iofwrite.c: Likewise.
7818 * libio/iogetline.c: Likewise.
7819 * libio/iogets.c: Likewise.
7820 * libio/iogetwline.c: Likewise.
7821 * libio/iopadn.c: Likewise.
7822 * libio/iopopen.c: Likewise.
7823 * libio/ioseekoff.c: Likewise.
7824 * libio/ioseekpos.c: Likewise.
7825 * libio/iosetbuffer.c: Likewise.
7826 * libio/iosetvbuf.c: Likewise.
7827 * libio/ioungetc.c: Likewise.
7828 * libio/ioungetwc.c: Likewise.
7829 * libio/iovdprintf.c: Likewise.
7830 * libio/iovsprintf.c: Likewise.
7831 * libio/iovsscanf.c: Likewise.
7832 * libio/memstream.c: Likewise.
7833 * libio/obprintf.c: Likewise.
7834 * libio/oldfileops.c: Likewise.
7835 * libio/oldiofclose.c: Likewise.
7836 * libio/oldiofdopen.c: Likewise.
7837 * libio/oldiofopen.c: Likewise.
7838 * libio/oldiopopen.c: Likewise.
7839 * libio/oldstdfiles.c: Likewise.
7840 * libio/putc.c: Likewise.
7841 * libio/setbuf.c: Likewise.
7842 * libio/setlinebuf.c: Likewise.
7843 * libio/stdfiles.c: Likewise.
7844 * libio/strops.c: Likewise.
7845 * libio/vasprintf.c: Likewise.
7846 * libio/vscanf.c: Likewise.
7847 * libio/vsnprintf.c: Likewise.
7848 * libio/vswprintf.c: Likewise.
7849 * libio/wfiledoalloc.c: Likewise.
7850 * libio/wfileops.c: Likewise.
7851 * libio/wgenops.c: Likewise.
7852 * libio/wmemstream.c: Likewise.
7853 * libio/wstrops.c: Likewise.
7854 * libio/__fpurge.c: Likewise.
7855 * libio/__fsetlocking.c: Likewise.
7856 * assert/assert.c: Likewise.
7857 * debug/fgets_chk.c: Likewise.
7858 * debug/fgets_u_chk.c: Likewise.
7859 * debug/fread_chk.c: Likewise.
7860 * debug/fread_u_chk.c: Likewise.
7861 * debug/gets_chk.c: Likewise.
7862 * debug/obprintf_chk.c: Likewise.
7863 * debug/vasprintf_chk.c: Likewise.
7864 * debug/vdprintf_chk.c: Likewise.
7865 * debug/vsnprintf_chk.c: Likewise.
7866 * debug/vsprintf_chk.c: Likewise.
7867 * malloc/mtrace.c: Likewise.
7868 * misc/error.c: Likewise.
7869 * misc/syslog.c: Likewise.
7870 * stdio-common/asprintf.c: Likewise.
7871 * stdio-common/fxprintf.c: Likewise.
7872 * stdio-common/getw.c: Likewise.
7873 * stdio-common/isoc99_fscanf.c: Likewise.
7874 * stdio-common/isoc99_scanf.c: Likewise.
7875 * stdio-common/isoc99_vfscanf.c: Likewise.
7876 * stdio-common/isoc99_vscanf.c: Likewise.
7877 * stdio-common/isoc99_vsscanf.c: Likewise.
7878 * stdio-common/printf-prs.c: Likewise.
7879 * stdio-common/printf_fp.c: Likewise.
7880 * stdio-common/printf_fphex.c: Likewise.
7881 * stdio-common/printf_size.c: Likewise.
7882 * stdio-common/putw.c: Likewise.
7883 * stdio-common/scanf.c: Likewise.
7884 * stdio-common/sprintf.c: Likewise.
7885 * stdio-common/tmpfile.c: Likewise.
7886 * stdio-common/vfprintf.c: Likewise.
7887 * stdio-common/vfscanf.c: Likewise.
7888 * stdlib/strfmon_l.c: Likewise.
7889 * sunrpc/openchild.c: Likewise.
7890 * sunrpc/xdr_stdio.c: Likewise.
7891 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7892 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7893
d6c33fda
RM
78942012-05-24 Roland McGrath <roland@hack.frob.com>
7895
c1487492
RM
7896 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7897
7898 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7899 in the third column, to generate for the shared library an IFUNC
7900 that uses _dl_vdso_vsym.
7901 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7902 * Makeconfig (object-suffixes-noshared): New variable.
7903
7904 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7905 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7906 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7907 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7908
d6c33fda
RM
7909 [BZ #14132]
7910 * include/sys/time.h (__gettimeofday): Remove macro.
7911 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7912 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7913 Remove INTDEF.
7914 (__gettimeofday): Add libc_hidden_def.
7915 (gettimeofday): Add libc_hidden_weak.
7916 * sysdeps/mach/gettimeofday.c: Likewise.
7917 * sysdeps/posix/gettimeofday.c: Likewise.
7918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7919 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7921 (__gettimeofday_internal): Remove strong_alias.
7922 (__gettimeofday): Add libc_hidden_def.
7923 (gettimeofday): Add libc_hidden_weak.
7924 * sysdeps/unix/syscalls.list (gettimeofday):
7925 Remove __gettimeofday_internal alias.
7926
b5a2bbe6
L
79272012-05-24 Daniel Jacobowitz <drow@false.org>
7928 H.J. Lu <hongjiu.lu@intel.com>
7929
7930 [BZ #12495]
7931 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7932 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7933 (largebin_index_32_big): New.
7934 (largebin_index): Use it for 16-byte alignment.
7935 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7936 correction with front_misalign.
7937
cfba4fda
L
79382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7939
7f907421
L
7940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7942 Likewise.
7943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7944 Likewise.
7945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7946 Likewise.
7947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7948 Likewise.
7949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7950 Likewise.
7951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7952 Likewise.
7953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7954 Likewise.
7955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7956 Likewise.
7957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7958 Likewise.
7959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7960 Likewise.
7961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7962 Likewise.
7963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7964 Likewise.
7965
cfba4fda
L
7966 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7967 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7968
80bad0cc
JM
79692012-05-24 Joseph Myers <joseph@codesourcery.com>
7970
7a25eb06
JM
7971 [BZ #10846]
7972 [BZ #14036]
7973 * math/libm-test.inc (exp_test): Add test from bug 14036.
7974 (pow_test): Add test from bug 10846.
7975
795405f9
JM
7976 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7977 and other flags.
7978 (special_function): Do not include flags in test name.
7979 (parse_args): Likewise.
7980 * sysdeps/i386/fpu/libm-test-ulps: Update.
7981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7982 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7983 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7985
80bad0cc
JM
7986 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7987 exceptions.
7988 * math/libm-test.inc ("Philosophy"): Update comment about
7989 exception testing.
7990 (UNDERFLOW_EXCEPTION): New macro.
7991 (UNDERFLOW_EXCEPTION_OK): Likewise.
7992 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7993 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7994 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7995 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7996 (INVALID_EXCEPTION_OK): Update value.
7997 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7998 (OVERFLOW_EXCEPTION_OK): Likewise.
7999 (IGNORE_ZERO_INF_SIGN): Likewise.
8000 (test_exceptions): Handle underflow exceptions.
8001 (acos_test): Update for underflow exception expectations.
8002 (cexp_test): Likewise.
8003 (clog_test): Likewise.
8004 (clog10_test): Likewise.
8005 (csqrt_test): Likewise.
8006 (ctan_test): Likewise.
8007 (ctanh_test): Likewise.
8008 (exp_test): Likewise.
8009 (exp10_test): Likewise.
8010 (exp2_test): Likewise.
8011 (expm1_test): Likewise.
8012 (fma_test): Likewise.
8013 (j0_test): Likewise.
8014 (jn_test): Likewise.
8015 (nexttoward_test): Likewise.
8016 (pow_test): Likewise.
8017 (scalbn_test): Likewise.
8018 (scalbln_test): Likewise.
8019 (tan_test): Likewise.
8020 (y1_test): Likewise.
8021 * sysdeps/i386/fpu/libm-test-ulps: Update.
8022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8023
9e0e3d0b
DM
80242012-05-23 David S. Miller <davem@davemloft.net>
8025
8026 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8027 (__libc_sigaction): Remove unused local variables.
8028
ccd0a08f
L
80292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8030
8031 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8032
62bdf9a6
PE
80332012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8034
f8591f80
PE
8035 mktime: avoid signed integer overflow
8036 * time/mktime.c (__mktime_internal): Do not mishandle the case
8037 where diff == INT_MIN.
8038
94c7d826
PE
8039 mktime: simplify computation of average
8040 * time/mktime.c (ranged_convert): Use new time_t_avg function
8041 instead of rolling our own (probably-slower) code.
8042
ce73d683
PE
8043 mktime: do not assume signed right shift propagates sign bit
8044 * time/mktime.c (isdst_differ): New static function.
8045 (__mktime_internal): No need to normalize tm_isdst now.
8046 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8047 tm_isdst values.
8048
72a22e59
PE
8049 mktime: merge another wrapv change from gnulib
8050 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8051 from some compilers.
8052
68605433
PE
8053 mktime: remove incorrect attempt at unusual arithmetics
8054 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8055 The code didn't really work on such machines anyway.
8056 (TYPE_MINIMUM): Assume two's complement.
8057 (twos_complement_arithmetic): Verify that long_int and time_t
8058 are two's complement (or unsigned, in the latter case).
8059
03cf7fe3
PE
8060 mktime: check signed shifts on long_int and time_t, too
8061 * time/mktime.c (SHR): Check that shifts work as desired
8062 on the types long_int and time_t too, as SHR is used on
8063 such types.
8064
f04dfbc2
PE
8065 mktime: do not assume 'long' is wide enough
8066 * time/mktime.c (verify): Move decl up.
8067 (long_int): New type.
8068 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8069 to remove assumption in the code that 'long' is wide enough to
8070 store year values. This assumption is not true on x32 and on
8071 some non-glibc platforms.
8072
62bdf9a6
PE
8073 mktime: merge wrapv change from gnulib
8074 * time/mktime.c (WRAPV): New macro.
8075 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8076 (guess_time_tm, __mktime_internal): Do not assume that signed
8077 integer overflow wraps around; modern compilers generate code
8078 where this assumption is no longer valid.
8079
5e292e4f
L
80802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8081
8082 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8083 Replace "jmp L(pseudo_end)" with "ret".
8084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8085 Likewise.
8086
8caf8c87
AJ
80872012-05-23 Andreas Jaeger <aj@suse.de>
8088
8089 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8090 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8091
1a09dc56
AJ
80922012-05-23 Andreas Jaeger <aj@suse.de>
8093 Maximilian Attems <max@stro.at>
8094
8095 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8096 New macros.
8097
1c87aba0
L
80982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8099
8100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8101 code so that pseudo_end is just ret and the stack pointer is
8102 correct also for static library in error case.
8103
40e45bd5
JM
81042012-05-23 Joseph Myers <joseph@codesourcery.com>
8105
c2670533
JM
8106 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8107 move to syscalls.list.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8112
40e45bd5
JM
8113 * manual/install.texi (Running make install): Do not mention Linux
8114 kernel version for which pt_chown is not needed.
8115 (Linux): Do not mention problems with nscd with 2.0 kernels.
8116 * INSTALL: Regenerated.
8117
be08eda5
AJ
81182012-05-23 Andreas Jaeger <aj@suse.de>
8119
8120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8121 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8122 macro.
8123 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8124 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8125 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8127 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8131 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8133 * sysdeps/unix/sysv/linux/bits/in.h
8134 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8135
a6a056bb
RM
81362012-05-22 Roland McGrath <roland@hack.frob.com>
8137
8138 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8139 (PREPARE_VERSION): Just use assert instead, it will be elided
8140 under [NDEBUG] anyway.
8141
c9009328
L
81422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8143
8144 * sysdeps/unix/sysv/linux/Makefile: Include
8145 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8146 (sysdep_routines): Remove sysctl.
c9009328
L
8147 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8148 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8149 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8150 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8151 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8152
73338355
AJ
81532012-05-22 Andreas Jaeger <aj@suse.de>
8154
8155 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8156 that pseudo_end is just ret and the stack pointer is correct also
8157 for static library in error case.
8158
d44638b0
PP
81592012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8160
8161 [BZ #14122]
8162 * nss/nsswitch.c (defconfig_entries): New variable.
8163 (__nss_database_lookup): Don't leak defconfig entries.
8164 (nss_parse_service_list): Don't leak on error paths.
8165 (free_database_entries): New function.
8166 (free_defconfig): New function.
8167 (free_mem): Move common code to free_database_entries.
8168
31a39bd8
L
81692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8170
da0331a8
L
8171 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8172 Add arch_prctl.
8173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8174
31a39bd8
L
8175 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8176 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8178 New macro.
8179 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8180 (INTERNAL_SYSCALL_TYPES): Likewise.
8181 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8182 (LOAD_REGS_TYPES_[1-6]): Likewise.
8183 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8184 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8185
45470df3
AZ
81862012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8187
8188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8189 copysignl for GLIBC_2_0.
8190 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8191 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8193 logbl for GLIBC_2_0.
8194 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8195 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8196
98a61bcb
L
81972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8198
a4f6e481
L
8199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8200 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8201
f63d5db6
L
8202 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8203 Use "neg %eax".
8204
98a61bcb
L
8205 * time/mktime.c: Update copyright years.
8206
95770f14
PE
82072012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8208
6226efbd
PE
8209 mktime: merge comment-quoting-style change from gnulib
8210 * time/mktime.c: Quote 'like this' in comments.
8211 The GNU coding standards suggest that we no longer quote `like this',
8212 as "`" and "'" are typically rendered asymmetrically nowadays.
8213 The typical gnulib style is to quote 'like this' when quoting
8214 code, and "like this" when quoting English.
8215
b99e4f78
PE
8216 * time/mktime.c (compile-command): Add "-I.".
8217
643e01e6
PE
8218 mktime: merge mktime-internal.h change from gnulib
8219 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8220
2554247d
PE
8221 mktime: merge time_r change from gnulib
8222 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8223
826dd0ab
PE
8224 mktime: merge DEBUG change from gnulib
8225 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8226 case system <time.h> has a #define.
8227
bd83aabe
PE
8228 mktime: merge <sys/types.h> change from gnulib
8229 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8230 since <time.t> is now guaranteed to define time_t.
8231
95770f14
PE
8232 mktime: merge HAVE_CONFIG_H change from gnulib
8233 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8234
5e1a27a9
L
82352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8236
0e44a77e
L
8237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8238 Use "neg %eax".
8239
5e1a27a9
L
8240 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8241 __rlim_t cast.
8242 (struct rusage): Use anonymous union to pad each field to
8243 __syscall_slong_t.
8244
46259bec
DM
82452012-05-21 David S. Miller <davem@davemloft.net>
8246
8247 * Makefules (o-iterator): Remove .s cases.
8248 (compile-command.s): Delete.
8249 (COMPILE.s): Delete.
8250 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8251
59f0c22e
JM
82522012-05-21 Joseph Myers <joseph@codesourcery.com>
8253
8254 * configure.in (libc_cv_predef_stack_protector): Only consider
8255 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8256 * configure: Regenerated.
8257
20c07380
L
82582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8259
bbb3154b
L
8260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8261 New macro. Use R*LP on int and pointer.
8262 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8263 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8264 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8265 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8266
20c07380
L
8267 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8268 [__WORDSIZE_TIME64_COMPAT32] instead of
8269 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8270 (struct utmp): Likewise.
8271 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8272 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8273 Renamed to ...
8274 (__WORDSIZE_TIME64_COMPAT32): This.
8275 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8276 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8277 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8278 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8279 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8280 (__WORDSIZE_TIME64_COMPAT32): New macro.
8281
d8d1017e
AJ
82822012-05-21 Andreas Jaeger <aj@suse.de>
8283
8284 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8285 only if [SHARED]. Add prototype for __wcschr_ia32.
8286
6c7fb145
RM
82872012-05-21 Roland McGrath <roland@hack.frob.com>
8288
8289 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8290 of %rbp unmolested in the jmp_buf while mangling the low bits.
8291 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8292 unmolested high bits of %rbp while demangling the low bits.
8293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8294
66274218
AJ
82952012-05-21 Andreas Jaeger <aj@suse.de>
8296
07c58f8f
AJ
8297 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8298 * sunrpc/svc_simple.c: Use it for registerrpc.
8299 * sunrpc/xcrypt.c: Use it for passwd2des.
8300
66274218
AJ
8301 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8302
61f65140
L
83032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8304
8305 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8306 Don't define if [__SYSCALL_WORDSIZE != 32].
8307 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8308 New macro.
8309
5fefb436
AJ
83102012-05-21 Bruno Haible <bruno@clisp.org>
8311 Andreas Jaeger <aj@suse.de>
8312
8313 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8314 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8315 inptr and inend for must_buffer_ch.
8316 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8317 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8318 * stdio-common/Makefile (tests): Remove bug15.
8319 (bug15-ENV): Remove macro.
8320 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8321 anymore.
8322
d8e272ab
AJ
83232012-05-19 Andreas Jaeger <aj@suse.de>
8324 Roland McGrath <roland@hack.frob.com>
8325
8326 * manual/contrib.texi: Completely rewritten. It contains now an
8327 alphabetical list of contributors and their contributions.
8328
4a56a162
RH
83292012-05-21 Richard Henderson <rth@twiddle.net>
8330
8331 * misc/getauxval.c (__getauxval): Use unsigned long int.
8332 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8333 (getauxval): Use unsigned long int.
8334
d024d23c
L
83352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8336
8337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8338
cbc00a03
RM
83392012-05-21 Roland McGrath <roland@hack.frob.com>
8340
8341 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8342 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8343 __alignof__ (long double).
8344
478143fa
AZ
83452012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8346
8347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8348
c7683a6d
RH
83492012-05-20 Richard Henderson <rth@twiddle.net>
8350
8351 * misc/getauxval.c: New file.
8352 * misc/sys/auxv.h: New file.
8353 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8354 (routines): Add getauxval.
8355 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8356 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8357 * elf/dl-sysdep.c (_dl_auxv): Remove.
8358 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8359 * elf/dl-support.c (_dl_auxv): New variable.
8360 (_dl_aux_init): Initialize it.
8361 * manual/startup.texi (Auxiliary Vector): New node.
8362 * sysdeps/generic/bits/hwcap.h: New file.
8363 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8364 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8365 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8366 * sysdeps/sparc/sysdep.h: ... here. Include it.
8367 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8370 Update.
c7683a6d
RH
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8379
a6f1845d
AZ
83802012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8381
8382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8383
cbcbe830
DM
83842012-05-19 David S. Miller <davem@davemloft.net>
8385
8386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8387
e0b16cc2
JM
83882012-05-19 Joseph Myers <joseph@codesourcery.com>
8389
8390 [BZ #14123]
8391 * math/s_ccosh.c: Include <float.h>
8392 (__ccosh): Avoid internal overflow calculating sinh and cosh
8393 values before multiplying by sin and cos values.
8394 * math/s_ccoshf.c: Likewise.
8395 * math/s_ccoshl.c: Likewise.
8396 * math/s_csin.c: Likewise.
8397 * math/s_csinf.c: Likewise.
8398 * math/s_csinl.c: Likewise.
8399 * math/s_csinh.c: Likewise.
8400 * math/s_csinhf.c: Likewise.
8401 * math/s_csinhl.c: Likewise.
8402 * math/libm-test.inc (ccos_test): Add more tests.
8403 (ccosh_test): Likewise.
8404 (csin_test): Likewise.
8405 (csinh_test): Likewise.
8406 * sysdeps/i386/fpu/libm-test-ulps: Update.
8407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8408
6ad13e08
L
84092012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8410
f66f0ce8
L
8411 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8412 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8413
6ad13e08
L
8414 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8415
b1d072a7
JM
84162012-05-19 Joseph Myers <joseph@codesourcery.com>
8417
8418 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8419 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8420 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8421 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8422 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8423 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8424 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8425 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8426 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8427 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8428 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8429 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8430 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8431 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8432 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8433 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8434 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8435 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8436 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8437 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8438 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8439 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8440 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8441 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8442 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8443 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8444 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8445 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8446 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8447 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8448 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8449
9eae47cb
AJ
84502012-05-18 Andreas Jaeger <aj@suse.de>
8451
8452 * csu/.gitignore: Delete.
8453
bb07f69f
L
84542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8455
8456 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8457 (timex): Use __syscall_slong_t.
8458
e6bdb741
AJ
84592012-05-18 Andreas Jaeger <aj@suse.de>
8460 Carlos O'Donell <carlos_odonell@mentor.com>
8461
8462 * manual/install.texi (Configuring and compiling): Update
8463 description about files modified in the source directory.
d6c33fda 8464 * INSTALL: Regenerated.
e6bdb741 8465
1b74487e
L
84662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8467
8468 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8469 value. Use "or" to set return value to -1.
8470 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8471 negate return value.
8472
a88b64b9
TMQMF
84732012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8474
8475 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8476 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8477 failure if the compiler has Graphite support disabled.
8478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8479 Likewise.
8480 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8481 CFLAGS-memmove.c): Likewise.
8482 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8483 Likewise.
8484
3707636e
L
84852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8486
610b8622
L
8487 * sysdeps/x86_64/x32/_itoa.h: New file.
8488
7cd195df
L
8489 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8490 getdents system call only if kernel and user dirents have the
8491 same d_ino and d_off.
8492
94b07d20
L
8493 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8494 LLONG_MAX != LONG_MAX.
8495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8496 (_fitoa_word): Likewise.
8497
18298070
L
8498 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8499 years.
8500 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8501 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8502 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8503
553c7ea4
L
8504 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8505 include <bits/wordsize.h>. Check __x86_64__ instead of
8506 __WORDSIZE.
8507 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8508 if __x86_64__ is defined. Use anonymous union on fpstate.
8509
3707636e
L
8510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8511 anonymous union.
8512
b53ef01a
AS
85132012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8514
37fb1dc0
AS
8515 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8516 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8517 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8518 Refer to _rtld_local_ro instead of _rtld_global_ro.
8519 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8520 Likewise.
8521 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8522 Likewise.
8523 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8524 Likewise.
8525 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8526 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8527 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8528
b53ef01a
AS
8529 * sysdeps/powerpc/powerpc32/dl-machine.c
8530 (__elf_machine_runtime_setup) [PROF]: Don't reference
8531 _dl_prof_resolve.
8532
7a185db2
AJ
85332012-05-18 Andreas Jaeger <aj@suse.de>
8534
8535 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8536 function only available for GCCs before 3.4 since GCC 3.4
8537 introduced a builtin.
8538 (lrint): Likewise.
8539 (llrintf): Likewise.
8540 (llrint): Likewise.
8541 (fmaxf): Likewise.
8542 (fmax): Likewise.
8543 (fminf): Likewise.
8544 (fmin): Likewise.
8545 (rint): Likewise.
8546 (rintf): Likewise.
8547 (nearbyint): Likewise.
8548 (nearbyintf): Likewise.
8549 (ceil): Likewise.
8550 (ceilf): Likewise.
8551 (floor): Likewise.
8552 (floorf): Likewise.
8553
3e5aef87
L
85542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8555
428bd707
L
8556 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8557 on both fields and cast pointer to __syscall_ulong_t.
8558
3e5aef87
L
8559 * bits/types.h (__fsword_t): New type.
8560 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8561 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8562 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8563 (__FSWORD_T_TYPE): Likewise.
8564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8565 (__FSWORD_T_TYPE): Likewise.
8566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8567 (__FSWORD_T_TYPE): Likewise.
8568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8569 (__FSWORD_T_TYPE): Likewise.
8570 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8571 __SWORD_TYPE with __fsword_t.
8572 (statfs64): Likewise.
8573
1ba7c3dc
DM
85742012-05-17 David S. Miller <davem@davemloft.net>
8575
8576 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8577
59910343
AJ
85782012-05-17 Andreas Jaeger <aj@suse.de>
8579
8580 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8581 warning.
8582
2e4c1e9e
L
85832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8584
8585 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8586
de7f5ce7
AJ
85872012-05-17 Andreas Jaeger <aj@suse.de>
8588
8589 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8590 when it is used.
8591
286abc3d
CM
85922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8593
8594 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8595
477cc68e
L
85962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8597
8598 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8599 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8600
1a0994f5
CD
86012012-05-17 Andreas Jaeger <aj@suse.de>
8602 Carlos O'Donell <carlos_odonell@mentor.com>
8603
8604 [BZ #14059]
8605 * sysdeps/x86_64/multiarch/init-arch.h
8606 (bit_YMM_Usable): Rename to...
8607 (bit_AVX_Usable): ... this.
8608 (bit_FMA4_Usable): New macro.
8609 (bit_XMM_state): New macro.
8610 (bit_YMM_state): New macro.
8611 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8612 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8613 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8614 (CPUID_OSXSAVE): New macro.
8615 (CPUID_AVX): New macro.
8616 (CPUID_FMA4): New macro.
8617 (index_YMM_Usable): Rename to...
8618 (index_AVX_Usable): ... this.
8619 (HAS_AVX): Use HAS_ARCH_FEATURE.
8620 (HAS_FMA4): Likewise.
8621 (HAS_YMM_USABLE): Remove.
8622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8623 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8624 are present.
8625 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8626 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8627 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8628 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8629 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8630
0af797de
CM
86312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8632
8633 * math/libm-test.c: Support platforms without multiple rounding modes.
8634 * math/bug-nextafter.c: Support platforms without FP exceptions.
8635 * math/bug-nexttoward.c: Likewise.
8636 * math/test-fenv.c: Likewise.
8637 * math/test-misc.c: Likewise.
8638 * stdlib/bug-getcontext.c: Likewise.
8639
e39745ff
AJ
86402012-05-17 Andreas Jaeger <aj@suse.de>
8641
8642 * manual/examples/search.c (critter_cmp): Change signature to
8643 avoid warnings.
8644 * manual/string.texi (Collation Functions): Likewise.
8645
48970aba
L
86462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8647
8648 * bits/types.h: Fold copyright years.
8649 * bits/typesizes.h: Likewise.
8650 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8654 * time/time.h: Likewise.
8655
bedee953
PP
86562012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8657
8658 [BZ #208]
8659 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8660 in instead of returning them. Return void.
8661 (__libc_mallinfo): Accumulate over all arenas.
8662 (__malloc_stats): Adjust for change in int_mallinfo interface.
8663
61653dfb
RM
86642012-05-16 Roland McGrath <roland@hack.frob.com>
8665
30b99d79
RM
8666 [BZ #10375]
8667 * configure.in (NM): Add AC_CHECK_TOOL for it.
8668 (libc_extra_cflags): New substituted variable.
8669 Check for -fstack-protector being used implicitly.
8670 * configure: Regenerated.
8671 * config.make.in (config-extra-cflags): New variable,
8672 gets @libc_extra_cflags@.
8673 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8674
61653dfb
RM
8675 [BZ #10375]
8676 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8677 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8678 * configure: Regenerated.
8679 * config.make.in (CPPUNDEFS): New substituted variable.
8680 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8681 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8682 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8683
661768bb
L
86842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8685
8686 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8687 (mq_attr): Use __syscall_slong_t.
8688
d4261567
L
86892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8690
8691 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8692 Check __x86_64__ instead of __WORDSIZE.
8693 (_STAT_VER_LINUX): Likewise.
8694 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8695 __syscall_ulong_t and __syscall_slong_t.
8696 (stat64): Likewise.
8697
cf3ff365
L
86982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8699
8700 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8701
76cf3e4d
L
87022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8703
8704 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8705
a637753a
L
87062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8707
8708 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8709 __syscall_ulong_t.
8710
d5e05119
L
8711 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8712 include <bits/wordsize.h>. Check __x86_64__ instead of
8713 __WORDSIZE.
8714 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8715 defined.
8716 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8717
f62ee380
L
8718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8719 include <bits/wordsize.h>. Check __x86_64__ instead of
8720 __WORDSIZE.
8721 (user_regs_struct): Use "__extension__ unsigned long long"
8722 instead of "unsigned long" if __x86_64__ is defined.
8723 (user): Likewise. Pad after pointer field if __ILP32__ is
8724 defined.
8725
4e124ced
JM
87262012-05-16 Joseph Myers <joseph@codesourcery.com>
8727
6a3951a0
JM
8728 * configure.in (makeinfo): Require version 4.5 or later. Allow
8729 versions 5 to 9.
8730 * configure: Regenerated.
8731 * manual/install.texi (texinfo): Increase version requirement to
8732 4.5 or later.
8733 * INSTALL: Regenerated.
8734
4e124ced
JM
8735 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8736
953ca31a
L
87372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8738
8739 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8740
617aca05
L
8741 * sysdeps/x86_64/x32/ffs.c: New file.
8742
5762f7ae
L
8743 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8744 __syscall_ulong_t.
8745 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8746 defined. Use __syscall_ulong_t.
8747 (shminfo): Use __syscall_ulong_t.
8748 (shm_info): Likewise.
8749
a26b6856
L
8750 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8751 __syscall_ulong_t.
8752
cb2b9ef7
L
8753 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8754 <bits/wordsize.h>.
8755 (msgqnum_t): Use __syscall_ulong_t.
8756 (msglen_t): Likewise.
8757 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8758 __syscall_ulong_t.
8759
34683bb0
L
8760 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8762
84a68786
L
8763 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8764
48baa5f1
L
8765 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8766 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8767
180be88b
L
8768 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8769 __syscall_slong_t.
8770
5e90c8ad
L
8771 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8772 include <bits/wordsize.h>. Check __x86_64__ instead of
8773 __WORDSIZE.
8774
23dfb58b
L
8775 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8776 "unsigned long long int" if __x86_64__ is defined.
8777 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8778
ce5d54b0
L
8779 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8781 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8782
13dc9eac
L
8783 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8784 <stdint.h>.
8785 (GET_PC): Cast to uintptr_t first.
8786 (GET_FRAME): Likewise.
8787 (GET_STACK): Likewise.
8788
a7895d15
L
8789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8790 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8792 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8794 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8795 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8796 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8797 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8798 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8799 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8803 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8809 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8810 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8811 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8812 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8813 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8814 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8815 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8817 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8818
656416c9
AS
88192012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8820
5bd66283
AS
8821 * Makerules (+depfiles): Also collect depfiles from .oS in
8822 $(extra-objs).
8823 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8824 .oS, $(libnldbl-routines)).
8825
656416c9
AS
8826 * Makerules (native-compile-mkdep-flags): Define.
8827 * sunrpc/Makefile (extra-objs): Add $(addprefix
8828 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8829 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8830 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8831 calling $(make-target-directory).
8832
a46f2169
L
88332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8834
8835 * bits/types.h (__snseconds_t): Removed.
8836 * time/time.h (struct timespec): Replace __snseconds_t with
8837 __syscall_slong_t.
8838 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8839 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8840 Likewise.
8841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8842 (__SNSECONDS_T_TYPE): Likewise.
8843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8844 (__SNSECONDS_T_TYPE): Likewise.
8845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8846 (__SNSECONDS_T_TYPE): Likewise.
8847
6af6528b
L
88482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8849
8850 * sysdeps/mach/hurd/bits/typesizes.h
8851 (__SYSCALL_SLONG_TYPE): New macro.
8852 (__SYSCALL_ULONG_TYPE): Likewise.
8853
de986b56
L
88542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8855
8856 * bits/types.h (__syscall_slong_t): New type.
8857 (__syscall_ulong_t): Likewise.
8858
8859 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8860 (__SYSCALL_ULONG_TYPE): Likewise.
8861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8862 (__SYSCALL_SLONG_TYPE): Likewise.
8863 (__SYSCALL_ULONG_TYPE): Likewise.
8864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8865 (__SYSCALL_SLONG_TYPE): Likewise.
8866 (__SYSCALL_ULONG_TYPE): Likewise.
8867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8868 (__SYSCALL_SLONG_TYPE): Likewise.
8869 (__SYSCALL_ULONG_TYPE): Likewise.
8870
85736dc7
L
88712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8872
8873 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8874 Add sigaltstack-offsets.sym.
8875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8876 <sigaltstack-offsets.h>.
8877 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8878 longjmp_msg pointer.
8879 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8880 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8881 signal stack.
8882 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8883
cc03b296
JM
88842012-05-15 Joseph Myers <joseph@codesourcery.com>
8885
a9538892
JM
8886 * elf/stackguard-macros.h: Remove file.
8887 * sysdeps/generic/stackguard-macros.h: New file.
8888 * sysdeps/i386/stackguard-macros.h: Likewise.
8889 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8890 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8891 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8892 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8893 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8894 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8895 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8896 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8897 <elf/stackguard-macros.h>.
8898
cc03b296
JM
8899 [BZ #14109]
8900 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8901 __aligned__ in attribute.
8902 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8903 (gregset_t): Likewise.
8904
93171016
L
89052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8906
8907 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8908 * sysdeps/x86_64/64/Implies-after: Here. New file.
8909 * sysdeps/x86_64/x32/Implies-after: New file.
8910
d86813a0
L
89112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8912
8913 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8914 and access return value for _dl_profile_fixup. Use R10_LP to
8915 load frame size.
8916
2953ec75
L
89172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8918
8919 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8920
3b550e9e
L
89212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8922
8923 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8924 * sysdeps/x86_64/x32/sysdep.h: New file.
8925
eda41706
L
89262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8929 * sysdeps/x86_64/setjmp.S: Likewise.
8930
9ea01d93
AZ
89312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8932
8933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8935 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8937 remove unused global constant.
8938
02a91938
CM
89392012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8940
8941 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8942 include of <not-cancel.h>.
8943
6540185f
RM
89442012-05-15 Roland McGrath <roland@hack.frob.com>
8945
8946 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8947
509072a0
AJ
89482012-05-15 Jeff Law <law@redhat.com>
8949 Andreas Jaeger <aj@suse.de>
8950
8951 [BZ #13594]
8952 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8953 out from...
8954 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8955 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8956 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8957 code changing __hst_map_handle.map.
8958
ba75122d
RM
89592012-05-15 Roland McGrath <roland@hack.frob.com>
8960
8961 * configure.in (sysnames): Look for Implies-before and Implies-after
8962 files.
8963 * configure: Regenerated.
8964
890d8bd8
L
89652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8966
8967 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8968 8-byte data alignment with LP_SIZE alignment.
8969
f6ee6623
L
89702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8971
8972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8973 into R10_LP.
8974
ea2626f6
L
89752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8976
8977 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8978
085f715e
L
89792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8980
8981 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8982 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8984 Likewise.
8985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8986
be8498fc
L
89872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8988
8989 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8990 (stackinfo_sub_sp): Likewise.
8991
70bc83b9
L
89922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8993
8994 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8995 RAX_LP.
8996
9bc0b730
L
89972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8998
8999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9000 into R*_LP.
9001
6d2850e7
L
90022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9003
9004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9005 sizes into R*_LP.
9006
3cb84561
L
90072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9008
9009 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9010
54e2ed81
L
90112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9012
9013 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9014 into R11_LP and load __x86_64_shared_cache_size_half into
9015 R8_LP.
9016
8a17f349
L
90172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9018
9019 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9020 R8_LP.
9021
777b1eea
AZ
90222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9023
9024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9025 logb for POWER7.
9026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9027 logbf for POWER7.
9028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9029 logbl for POWER7.
9030 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9031 powerpc32/power7/fpu/s_logb.c via #include.
9032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9033 powerpc32/power7/fpu/s_logbf.c via #include.
9034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9035 powerpc32/power7/fpu/s_logbl.c via #include.
9036
d20d4ac2
JM
90372012-05-15 Joseph Myers <joseph@codesourcery.com>
9038
9039 * README.libm: Remove file.
9040
6cdef1ab
L
90412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9042
9043 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9044 count for x32. Use R*_LP and omit operand-size suffix.
9045
0b254d8f
L
90462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9047
9048 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9049 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9050 * sysdeps/x86_64/x32/shlib-versions: New file.
9051
ceb809dc
RM
90522012-05-14 Roland McGrath <roland@hack.frob.com>
9053
9054 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9055 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9056 Use _dl_fatal_printf instead.
9057
37f1abd4
JM
90582012-05-14 Joseph Myers <joseph@codesourcery.com>
9059
9060 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9061 set if not set by the user. Do not allow for being unset.
9062 * sysdeps/unix/sysv/linux/configure: Regenerated.
9063
11de3a33
L
90642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9065
9066 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9067 the `q' suffix from lea and replace .quad with ASM_ADDR.
9068
e02f153a
L
90692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9070
9071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9072 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9073 instead of $17.
9074 (PTR_DEMANGLE): Likewise.
9075
520ae0fd
L
90762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9077
9078 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9079 (LP_OP): Likewise.
9080 (ASM_ADDR): Likewise.
9081 (RAX_LP): Likewise.
9082 (RBP_LP): Likewise.
9083 (RBX_LP): Likewise.
9084 (RCX_LP): Likewise.
9085 (RDI_LP): Likewise.
9086 (RSI_LP): Likewise.
9087 (RSP_LP): Likewise.
9088 (R8_LP): Likewise.
9089 (R9_LP): Likewise.
9090 (R10_LP): Likewise.
9091 (R10_LP): Likewise.
9092 (R11_LP): Likewise.
9093 (R12_LP): Likewise.
9094 (R13_LP): Likewise.
9095 (R14_LP): Likewise.
9096 (R15_LP): Likewise.
9097
b985be81
L
90982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9099
9100 * sysdeps/x86_64/x32/dl-machine.h: New file.
9101
6a4888ff
AJ
91022012-05-14 Andreas Jaeger <aj@suse.de>
9103
9104 * manual/Makefile (subdir): Remove export of subdir.
9105 (all): Remove target.
9106 (.PHONY): Remove all from list.
9107 (mkinstalldirs): Remove.
9108 (.PHONY): Remove installdirs from list.
9109 ($(inst_infodir)/libc.info): Use make-target-directory.
9110 (installdirs): Remove.
9111 (subdir_%): Remove.
9112 (glibc-targets): Remove.
9113 (lib): Remove.
9114 (stubs): Remove.
9115 ($(objpfx)stubs ../po/manual.pot): Remove.
9116 ($(objpfx)stamp%): Remove.
9117 (make-target-directory): Remove.
9118 (subdir_install): Remove.
9119 (routines): Remove.
9120 (aux): Remove.
9121 (sources): Remove.
9122 (objects): Remove.
9123 (headers): Remove.
9124
9125 [BZ #13750]
9126 * manual/.gitignore: Remove, it's not needed anymore.
9127 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9128 all files in it.
9129 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9130 directory.
9131 (texis): Renamed to $(objpfx)texis.
9132 (texis-path): New, contains path to generated files.
9133 (chapters.%): Use texis-path for complete path, add extra argument
9134 libc-texinfo.sh.
9135 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9136 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9137 (summary,texi, stamp-summary): Use complete path of
9138 files. Generate files in build dir.
9139 (dir-add.texi): Build in build dir.
9140 (libm-err.texi,stamp-libm-err): Likewise.
9141 (version.texi, stamp-version): Likewise.
9142 (.%c.texi): Likewise.
9143 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9144 (mostlyclean): Remove target.
9145 (realclean): Remove target.
9146 (generated): Add new variable with contents from mostlyclean and
9147 realclean, remove entries duplicated in common-mostlyclean, add
9148 stamp-libm-err and stamp-version.
9149 (generated-dirs): Add libc directory.
9150 ($(inst_infodir)/libc.info): Install files from build dir.
9151
9152 * manual/install.texi (Configuring and compiling): Adjust since
9153 the info files are not part of the tar ball anymore.
9154
7ac77294
AJ
91552012-05-14 Andreas Jaeger <aj@suse.de>
9156
9157 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9158 variable.
9159
ffb7875d
JM
91602012-05-14 Joseph Myers <joseph@codesourcery.com>
9161
9162 [BZ #13717]
9163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9164 to 2.2.0 where earlier.
9165 * sysdeps/unix/sysv/linux/configure: Regenerated.
9166 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9167 Remove conditional code.
9168 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9169 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9170 Remove conditional code.
9171 [!__NR_lchown]: Likewise.
9172 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9173 [__NR_lchown]: Likewise.
9174 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9175 comment referencing __ASSUME_LCHOWN_SYSCALL.
9176 * sysdeps/unix/sysv/linux/i386/sigaction.c
9177 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9178 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9179 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9180 Remove conditional code.
9181 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9182 (__protocol_available): Remove #if 0 code.
9183 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9184 conditional code.
9185 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9186 * sysdeps/unix/sysv/linux/kernel-features.h
9187 (__ASSUME_GETCWD_SYSCALL): Don't define.
9188 (__ASSUME_REALTIME_SIGNALS): Likewise.
9189 (__ASSUME_PREAD_SYSCALL): Likewise.
9190 (__ASSUME_PWRITE_SYSCALL): Likewise.
9191 (__ASSUME_POLL_SYSCALL): Likewise.
9192 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9193 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9194 non-SPARC.
9195 (__ASSUME_SIOCGIFNAME): Don't define.
9196 (__ASSUME_MSG_NOSIGNAL): Likewise.
9197 (__ASSUME_SENDFILE): Define unconditionally.
9198 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9199 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9200 conditional code.
9201 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9202 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9203 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9204 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9205 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9206 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9207 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9209 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9215 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9221 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9232 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9233 Remove conditional code.
9234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9235 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9236 Remove conditional code.
9237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9238 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9239 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9240 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9241 Remove conditional code.
9242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9243 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9244 Remove conditional code.
9245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9246 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9247 Remove conditional code.
9248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9249 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9250 Remove conditional code.
9251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9252 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9253 Remove conditional code.
9254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9255 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9258 * sysdeps/unix/sysv/linux/sigaction.c
9259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9261 * sysdeps/unix/sysv/linux/sigpending.c
9262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9264 * sysdeps/unix/sysv/linux/sigprocmask.c
9265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9267 * sysdeps/unix/sysv/linux/sigsuspend.c
9268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9271 (__libc_missing_rt_sigs): Remove.
9272 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9273 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9274 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9275 Remove conditional code.
9276 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9277 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9278 return 1.
9279 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9280 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9281 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9282 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9283
1bfb7291
AJ
92842012-05-14 Andreas Jaeger <aj@suse.de>
9285
caae5a81
AJ
9286 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9287 it's not used in glibc.
9288 (__coshm1): Likewise.
9289 (__acosh1p): Likewise.
9290 (__sgn): Likewise.
9291
1bfb7291
AJ
9292 * manual/string.texi (Copying and Concatenation): Add missing
9293 variable in concat example.
9294 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9295
c044d724
L
92962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9297
144c5467 9298 [BZ #14103]
c044d724
L
9299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9300 __builtin_clzl with __builtin_clzll.
9301
2523c62b
L
93022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9303
9304 [BZ #14104]
9305 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9306 libc_freeres_ptr.
9307
d7bb4c42
LD
93082012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9309
9310 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9311 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9312 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9314
9dc4e1fb
MF
93152012-05-14 Mike Frysinger <vapier@gentoo.org>
9316
9317 * NEWS: Update ia64 info.
9318
c7df0112
AS
93192012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9320
9321 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9322 used as bcopy.
9323
dc70356c
TS
93242012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9325
9326 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9327 * sysdeps/unix/syscalls.list (dup3): Likewise.
9328 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9329 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9330
9fb1a21f
L
93312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9332
9333 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9334 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9335
4822a2a5
L
93362012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9337
9338 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9339 thread pointer.
9340 (TLS_IE): Use mov/add instead of movq/addq to load thread
9341 pointer.
9342 (TLS_GD_PREFIX): New.
9343 (TLS_GD): Use it.
9344
842b81d6
DM
93452012-05-11 David S. Miller <davem@davemloft.net>
9346
9347 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9348 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9349 (_FPU_SETCW): Likewise.
9350
1cf463cd
L
93512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9352
9353 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9354 is 32-byte aligned.
9355
60cc4a18
AS
93562012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9357
9358 [BZ #11837]
9359 * iconvdata/gb18030.c: Update tables.
9360 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9361 characters specially.
9362 (BODY for TO_LOOP): Add encoding of missing ranges.
9363
febb44a4
TS
93642012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9365
9366 [BZ #13673]
9367 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9368 * sysdeps/mach/hurd/dup3.c: Likewise.
9369 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9370 * sysdeps/powerpc/memmove.c:: Likewise.
9371
0a10fb9e
L
93722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9373
9374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9375 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9376
df8a552f
L
93772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9378
9379 * elf/elf.h (R_X86_64_RELATIVE64): New.
9380 (R_X86_64_NUM): Updated.
9381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9382 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9383 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9384 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9385 tst-quad1pie tst-quad2pie
9386 (modules-names): Add tst-quadmod1 tst-quadmod2.
9387 ($(objpfx)tst-quad1): New dependency.
9388 ($(objpfx)tst-quad2): Likewise.
9389 ($(objpfx)tst-quad1pie): Likewise.
9390 ($(objpfx)tst-quad2pie): Likewise.
9391 * sysdeps/x86_64/tst-quad1.c: New file.
9392 * sysdeps/x86_64/tst-quad1pie.c: New file.
9393 * sysdeps/x86_64/tst-quad2.c: Likewise.
9394 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9395 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9396 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9397 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9398 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9399
f34d6f84
ST
94002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9401
f42d41d1
ST
9402 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9403 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9404 * streams/stropts.h (t_scalar_t): Define type.
9405
3c3571fc
ST
9406 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9407 (_PATH_PRESERVE): Set to "/var/lib".
9408 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9409
61f06bd3
ST
9410 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9411 instead of int.
9412
918d4d71
ST
9413 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9414 if __dir_mkfile succeeded.
9415
f34d6f84
ST
9416 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9417 checking for _hurd_dtablesize. Unlock it right after having
9418 finished _hurd_dtable allocation.
9419
10589b4a
TS
94202012-05-10 Thomas Schwinge <thomas@schwinge.name>
9421
674cdbc7
TS
9422 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9423 * sysdeps/mach/hurd/configure: Regenerated.
9424 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9425 special-casing to...
9426 * sysdeps/gnu/configure.in: ... this new file.
9427 * sysdeps/unix/sysv/linux/configure: Regenerated.
9428 * sysdeps/gnu/configure: New generated file.
9429
8e41b99f
TS
9430 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9431 for Linux: use nsec instead of usec, as well as:
9432 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9433 members of type struct timespec.
9434 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9435 New macros.
9436 (struct stat64): Likewise.
9437 (_STATBUF_ST_NSEC): New macro.
9438 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9439
10589b4a
TS
9440 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9441 __strtoul_internal rather than strtoul.
9442
63643c85
PT
94432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9444
9445 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9446 and reject them.
9447
3faebe6a
ST
94482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9449
9450 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9451 which preserves existing values.
9452 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9453
c6474b07
PT
94542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9455
9456 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9457 TIMEOUT values. Return EINVAL for NFDS values either negative or
9458 greater than FD_SETSIZE.
9459
1043890b
ST
94602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9461
9462 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9463 allocated, call __vm_protect to finish enabling the existing space, and
9464 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9465 allocate the remainder.
9466
37ed8b9b
PT
94672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9468
9469 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9470 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9471
db653660
ST
94722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9473
37ed8b9b
PT
9474 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9475 sysdeps/mach/hurd/readlink.c.
b29d4053 9476
db653660
ST
9477 * posix/tst-sysconf.c (posix_options): Only use
9478 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9479 _POSIX_SYNCHRONIZED_IO when they are defined
9480 * sysdeps/mach/hurd/bits/posix_opt.h:
9481 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9482 (_XOPEN_REALTIME): Undefine macro.
9483 (_XOPEN_REALTIME_THREADS): Undefine macro.
9484 (_XOPEN_SHM): Undefine macro.
9485 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9486 macro to -1.
9487 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9488 macro to -1.
9489 (_POSIX_ASYNC_IO): Undefine macro.
9490 (_POSIX_PRIORITIZED_IO): Undefine macro.
9491 (_POSIX_SPIN_LOCKS): Define macro to -1.
9492
ee16e894
ST
9493 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9494 SA_NODEFER, SA_RESETHAND.
9495 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9496 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9497 F_DUPFD_CLOEXEC.
9498
6103ae3b
TS
94992012-05-10 Thomas Schwinge <thomas@schwinge.name>
9500
9501 * elf/Makefile (pldd-modules): Define unconditionally.
9502
80b4e5f3
TS
95032012-05-10 Thomas Schwinge <thomas@schwinge.name>
9504
9505 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9506
edadcbd6
ST
95072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9508
9509 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9510 Return ENOENT when name is empty.
9511 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9512
80694780
TS
95132012-05-10 Thomas Schwinge <thomas@schwinge.name>
9514
1792c087
TS
9515 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9516
80694780
TS
9517 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9518
6b645f0d
ST
95192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9520
80694780
TS
9521 Fix mlock in all cases except non-readable pages.
9522 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9523 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9524
6b645f0d
ST
9525 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9526 (__mkdir): When path is `/', just fail with EEXIST.
9527 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9528
e468f8a3
TS
95292012-05-10 Thomas Schwinge <thomas@schwinge.name>
9530
9531 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9532 <sys/uio.h> (for writev).
9533 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9534 and <sys/param.h> (for MIN).
9535
a4186cff
PT
95362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9537
9538 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9539 REQUESTED_TIME. Properly set the remaining time and return EINTR
9540 if interrupted.
9541
510bbf14
TS
95422012-05-10 Thomas Schwinge <thomas@schwinge.name>
9543
9544 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9545 Depend on against $(link-rpcuserlibs).
9546
5d5722e8
ST
95472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9548
a4186cff
PT
9549 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9550 (__libc_stack_end): Do not use attribute_relro.
9551 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9552 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9553 to libthread-provided value.
a4186cff
PT
9554 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9555 attribute_relro.
5d5722e8 9556
37233df9
TS
95572012-05-10 Thomas Schwinge <thomas@schwinge.name>
9558
be971a2b
TS
9559 [BZ #3748]
9560 * bits/libc-lock.h (__libc_once_get): New macro.
9561 * sysdeps/mach/bits/libc-lock.h: Likewise.
9562 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9563 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9564 instead of using implementation details.
9565
37233df9
TS
9566 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9567 * libio/freopen.c: Likewise.
9568 * libio/freopen64.c: Likewise.
9569 * misc/syslog.c: Likewise.
9570 * nscd/connections.c: Likewise.
9571 * nscd/netgroupcache.c: Likewise.
9572 * sysdeps/posix/getcwd.c: Likewise.
9573
38de94a5
RM
95742012-05-10 Roland McGrath <roland@hack.frob.com>
9575
9576 * math/w_ilogbf.c: Add #include <limits.h>.
9577
67530489
ST
95782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9579
a4186cff 9580 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9581 path instead of returning without unlocking.
9582
67530489
ST
9583 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9584 immediate-write ioctls.
9585 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9586
5aa3a74a
TS
95872012-05-10 Thomas Schwinge <thomas@schwinge.name>
9588
18bad2ae
TS
9589 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9590 __builtin_frame_address instead of making assumptions about the
9591 location of the return address relative to DATA. Force early load of
9592 the return address.
9593 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9594 __builtin_frame_address.
9595
5aa3a74a
TS
9596 dup3 for GNU Hurd.
9597 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9598 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9599 implement dup3 and do some further code clean-ups.
9600 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9601 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9602
ecd0de9a
ST
96032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9604
cd9fa985
ST
9605 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9606
a4186cff
PT
9607 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9608 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9609 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9610 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9611 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9612 d->port.lock.
802ca5a5 9613
a4186cff
PT
9614 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9615 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9616 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9617
bcf55240
TS
96182012-05-10 Thomas Schwinge <thomas@schwinge.name>
9619
6960eb42
TS
9620 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9621 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9622 definitions.
9623
eb43375f
TS
9624 accept4 for GNU Hurd.
9625 * include/sys/socket.h (__libc_accept4): New prototype.
9626 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9627 to implement __libc_accept4.
9628 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9629 __libc_accept4.
9630 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9631
bcf55240
TS
9632 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9633 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9634 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9635 signal-defines.sym.
9636
6178c55b
ST
96372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9638
a4186cff 9639 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9640
6f080c2f
TS
96412012-05-10 Thomas Schwinge <thomas@schwinge.name>
9642
9643 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9644 assertion on O_CLOEXEC flag.
9645 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9646 * hurd/intern-fd.c: Likewise.
9647 * hurd/port2fd.c: Likewise.
9648
bcfe3a54
ST
96492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9650
9651 [BZ #3906]
9652 * bits/in.h (IPV6_PKTINFO): Define new macro.
9653 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9654
89c9aa49
AZ
96552012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9656
9657 [BZ #13954]
9658 [BZ #13955]
9659 [BZ #13956]
9660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9661 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9662 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9663 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9665 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9666 * math/libm-test.inc (logb_test) : Additional logb tests.
9667
021db4be
AJ
96682012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9669 Andreas Jaeger <aj@suse.de>
9670
9671 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9672 * configure: Regenerated.
9673 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9674 * config.make.in (link-obsolete-rpc): New substituted variable.
9675 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9676 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9677 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9678 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9679 so that libc.a contains the symbols.
9680 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9681 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9682 * sunrpc/auth_none.c: Likewise.
9683 * sunrpc/auth_unix.c: Likewise.
9684 * sunrpc/authdes_prot.c: Likewise.
9685 * sunrpc/authuxprot.c: Likewise.
9686 * sunrpc/clnt_gen.c: Likewise.
9687 * sunrpc/clnt_perr.c: Likewise.
9688 * sunrpc/clnt_raw.c: Likewise.
9689 * sunrpc/clnt_simp.c: Likewise.
9690 * sunrpc/clnt_tcp.c: Likewise.
9691 * sunrpc/clnt_udp.c: Likewise.
9692 * sunrpc/clnt_unix.c: Likewise.
9693 * sunrpc/des_crypt.c: Likewise.
9694 * sunrpc/des_soft.c: Likewise.
9695 * sunrpc/get_myaddr.c: Likewise.
9696 * sunrpc/key_call.c: Likewise.
9697 * sunrpc/key_prot.c: Likewise.
9698 * sunrpc/netname.c: Likewise.
9699 * sunrpc/pm_getmaps.c: Likewise.
9700 * sunrpc/pm_getport.c: Likewise.
9701 * sunrpc/pmap_clnt.c: Likewise.
9702 * sunrpc/pmap_prot.c: Likewise.
9703 * sunrpc/pmap_prot2.c: Likewise.
9704 * sunrpc/pmap_rmt.c: Likewise.
9705 * sunrpc/publickey.c: Likewise.
9706 * sunrpc/rpc_cmsg.c: Likewise.
9707 * sunrpc/rpc_common.c: Likewise.
9708 * sunrpc/rpc_dtable.c: Likewise.
9709 * sunrpc/rpc_prot.c: Likewise.
9710 * sunrpc/rpc_thread.c: Likewise.
9711 * sunrpc/rtime.c: Likewise.
9712 * sunrpc/svc.c: Likewise.
9713 * sunrpc/svc_auth.c: Likewise.
9714 * sunrpc/svc_raw.c: Likewise.
9715 * sunrpc/svc_run.c: Likewise.
9716 * sunrpc/svc_tcp.c: Likewise.
9717 * sunrpc/svc_udp.c: Likewise.
9718 * sunrpc/svc_unix.c: Likewise.
9719 * sunrpc/svcauth_des.c: Likewise.
9720 * sunrpc/xcrypt.c: Likewise.
9721 * sunrpc/xdr.c: Likewise.
9722 * sunrpc/xdr_array.c: Likewise.
9723 * sunrpc/xdr_float.c: Likewise.
9724 * sunrpc/xdr_intXX_t.c: Likewise.
9725 * sunrpc/xdr_mem.c: Likewise.
9726 * sunrpc/xdr_rec.c: Likewise.
9727 * sunrpc/xdr_ref.c: Likewise.
9728 * sunrpc/xdr_sizeof.c: Likewise.
9729 * sunrpc/xdr_stdio.c: Likewise.
9730
b5c086a2
RM
97312012-05-10 Roland McGrath <roland@hack.frob.com>
9732
9733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9734 change. Update copyright years.
9735
6d74dd09
JM
97362012-05-10 Joseph Myers <joseph@codesourcery.com>
9737
9738 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9739
28e72501
MK
97402012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9741 Joseph Myers <joseph@codesourcery.com>
9742 Paul Pluzhnikov <ppluzhnikov@google.com>
9743
9744 [BZ #14012]
9745 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9746 requiring rpcgen.
9747 [cross-compiling] (extra-libs): Likewise.
9748 [cross-compiling] (extra-libs-others): Likewise.
9749 [cross-compiling] (librpcsvc-routines): Likewise.
9750 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9751 [cross-compiling] (omit-deps): Likewise.
9752 (sunrpc-CPPFLAGS): New variable.
9753 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9754 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9755 (cross-rpcgen-objs): New variable.
9756 (extra-objs): Append $(cross-rpcgen-objs).
9757 ($(cross-rpcgen-objs)): New rule.
9758 ($(objpfx)cross-rpcgen): Likewise.
9759 (rpcgen-cmd): Define to use $(built-program-file). Expand
9760 comment.
9761 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9762 ($(objpfx)x%.stmp): Likewise.
9763 * sunrpc/proto.h [IS_IN_build] (_): Define.
9764 [IS_IN_build] (_libc_intl_domainname): Likewise.
9765
c8c59454
L
97662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9767
9768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9769 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9770 and R_X86_64_TPOFF64.
9771
6f27cd16
JM
97722012-05-10 Joseph Myers <joseph@codesourcery.com>
9773
9774 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9775 sysdeps/unix/sysv/syscalls.list.
9776 (stime): Likewise.
9777 (utime): Likewise.
9778 * sysdeps/unix/sysv/syscalls.list: Remove file.
9779
02467e1c
PE
97802012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9781
9782 [BZ #3440]
9783 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9784 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9785 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9786 (__LC_IDENTIFICATION): Make these macros useful in #if
9787 expressions, as required by C99.
9788
da392631
AS
97892012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9790
9791 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9792 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9793 after this.
9794
8115f29b
L
97952012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9796
9797 * stdlib/longlong.h: Updated from GCC.
9798
bdd74070
AJ
97992012-05-09 Andreas Jaeger <aj@suse.de>
9800
edfe0dbe
AJ
9801 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9802 default is first entry.
9803 (run_mode): Set type.
9804 (main): Remove informal message about syslog.
9805 (options): Fix typo.
9806
bcfe3a54
ST
9807 [BZ #14053]
9808 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9809 to asm.
bcfe3a54
ST
9810 (lrint): Likewise.
9811 (llrintf): Likewise.
9812 (llrint): Likewise.
9813 (rint): Likewise.
9814 (rintf): Likewise.
9815 (nearbyint): Likewise.
9816 (nearbyintf): Likewise.
bdd74070 9817
91d8d69e
AJ
98182012-05-09 Andreas Jaeger <aj@suse.de>
9819 Pedro Alves <palves@redhat.com>
9820
9821 * nscd/nscd.c (run_mode): Use enum.
9822 (main): Cleanup coding style issue.
9823
bb90b80b
AJ
98242012-05-09 Alexandre Oliva <aoliva@redhat.com>
9825 Andreas Jaeger <aj@suse.de>
9826
bcfe3a54
ST
9827 * nscd/nscd.c (go_background): Replaced with...
9828 (run_mode): ... this.
bb90b80b 9829 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9830 (options): Add -F --foreground.
9831 (main): Implement it.
9832 (parse_opt): Parse it.
bb90b80b 9833
1a4b75a1
AJ
98342012-05-09 Andreas Jaeger <aj@suse.de>
9835
9836 [BZ #14083]
9837 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9838 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9839 -Wconversion warning.
9840 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9841 Likewise.
9842
b1cc2472
JM
98432012-05-09 Joseph Myers <joseph@codesourcery.com>
9844
9845 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9846 == 0.
9847 (LC_ALL): Use macro-int-constant.
9848 (LC_COLLATE): Likewise.
9849 (LC_CTYPE): Likewise.
9850 (LC_MESSAGES): Likewise.
9851 (LC_MONETARY): Likewise.
9852 (LC_NUMERIC): Likewise.
9853 (LC_TIME): Likewise.
9854 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9855 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9857 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9858 Specify type.
9859 [C99-based standards] (float_t): Expect type.
9860 [C99-based standards] (double_t): Expect type.
9861 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9862 type.
9863 [C99-based standards] (HUGE_VALL): Likewise.
9864 [C99-based standards] (INFINITY): Likewise.
9865 [C99-based standards] (NAN): Likewise.
9866 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9867 [C99-based standards] (FP_NAN): Likewise.
9868 [C99-based standards] (FP_NORMAL): Likewise.
9869 [C99-based standards] (FP_SUBNORMAL): Likewise.
9870 [C99-based standards] (FP_ZERO): Likewise.
9871 [C99-based standards] (FP_FAST_FMA): Use
9872 optional-macro-int-constant. Specify type. Require == 1.
9873 [C99-based standards] (FP_FAST_FMAF): Likewise.
9874 [C99-based standards] (FP_FAST_FMAL): Likewise.
9875 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9876 [C99-based standards] (FP_ILOGBNAN): Likewise.
9877 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9878 Specify type.
9879 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9880 [C99-based standards] (math_errhandling): Specify type.
9881 [ISO99 || ISO11] (signgam): Do not allow.
9882 [non-C99-based standards] (copysignf): Do not allow.
9883 [non-C99-based standards] (exp2f): Likewise.
9884 [non-C99-based standards] (log2f): Likewise.
9885 [non-C99-based standards] (modff): Allow.
9886 [non-C99-based standards] (erff): Do not allow.
9887 [non-C99-based standards] (erfcf): Likewise.
9888 [non-C99-based standards] (gammaf): Likewise.
9889 [non-C99-based standards] (hypotf): Likewise.
9890 [non-C99-based standards] (j0f): Likewise.
9891 [non-C99-based standards] (j1f): Likewise.
9892 [non-C99-based standards] (jnf): Likewise.
9893 [non-C99-based standards] (lgammaf): Likewise.
9894 [non-C99-based standards] (tgammaf): Likewise.
9895 [non-C99-based standards] (y0f): Likewise.
9896 [non-C99-based standards] (y1f): Likewise.
9897 [non-C99-based standards] (ynf): Likewise.
9898 [non-C99-based standards] (isnanf): Likewise.
9899 [non-C99-based standards] (acoshf): Likewise.
9900 [non-C99-based standards] (asinhf): Likewise.
9901 [non-C99-based standards] (atanhf): Likewise.
9902 [non-C99-based standards] (cbrtf): Likewise.
9903 [non-C99-based standards] (expm1f): Likewise.
9904 [non-C99-based standards] (ilogbf): Likewise.
9905 [non-C99-based standards] (log1pf): Likewise.
9906 [non-C99-based standards] (logbf): Likewise.
9907 [non-C99-based standards] (nextafterf): Likewise.
9908 [non-C99-based standards] (remainderf): Likewise.
9909 [non-C99-based standards] (rintf): Likewise.
9910 [non-C99-based standards] (scalbf): Likewise.
9911 [non-C99-based standards] (copysignl): Likewise.
9912 [non-C99-based standards] (exp2l): Likewise.
9913 [non-C99-based standards] (log2l): Likewise.
9914 [non-C99-based standards] (modfl): Allow.
9915 [non-C99-based standards] (erfl): Do not allow.
9916 [non-C99-based standards] (erfcl): Likewise.
9917 [non-C99-based standards] (gammal): Likewise.
9918 [non-C99-based standards] (hypotl): Likewise.
9919 [non-C99-based standards] (j0l): Likewise.
9920 [non-C99-based standards] (j1l): Likewise.
9921 [non-C99-based standards] (jnl): Likewise.
9922 [non-C99-based standards] (lgammal): Likewise.
9923 [non-C99-based standards] (tgammal): Likewise.
9924 [non-C99-based standards] (y0l): Likewise.
9925 [non-C99-based standards] (y1l): Likewise.
9926 [non-C99-based standards] (ynl): Likewise.
9927 [non-C99-based standards] (isnanl): Likewise.
9928 [non-C99-based standards] (acoshl): Likewise.
9929 [non-C99-based standards] (asinhl): Likewise.
9930 [non-C99-based standards] (atanhl): Likewise.
9931 [non-C99-based standards] (cbrtl): Likewise.
9932 [non-C99-based standards] (expm1l): Likewise.
9933 [non-C99-based standards] (ilogbl): Likewise.
9934 [non-C99-based standards] (log1pl): Likewise.
9935 [non-C99-based standards] (logbl): Likewise.
9936 [non-C99-based standards] (nextafterl): Likewise.
9937 [non-C99-based standards] (remainderl): Likewise.
9938 [non-C99-based standards] (rintl): Likewise.
9939 [non-C99-based standards] (scalbl): Likewise.
9940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9941 [non-C99-based standards] (FP_*): Do not allow.
9942 [C99-based standards] (FP_*): Change to
9943 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9944 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9945 allow.
9946 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9947 (SIG_ERR): Likewise.
9948 [X/Open-based standards] (SIG_HOLD): Likewise.
9949 (SIG_IGN): Likewise.
9950 (SIGABRT): Use macro-int-constant. Specify type. Require
9951 positive value.
9952 (SIGFPE): Likewise.
9953 (SIGILL): Likewise.
9954 (SIGINT): Likewise.
9955 (SIGSEGV): Likewise.
9956 (SIGTER): Likewise.
9957 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9958 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9959 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9960 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9961 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9962 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9963 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9964 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9965 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9966 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9967 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9968 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9969 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9970 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9971 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9972 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9973 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9974 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9975 [X/Open-based standards] (SIGTRAP): Likewise.
9976 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9977 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9978 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9979 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9980 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9981 allow.
9982
b9f1922d
IW
99832012-05-08 Ian Wienand <ianw@vmware.com>
9984
9985 [BZ #14080]
9986 * time/tzset.c (__tzset_parse_tz): Update default rules for
9987 daylight time changes in the Energy Policy Act of 2005.
9988
1db86e88
AJ
99892012-05-09 Andreas Jaeger <aj@suse.de>
9990
9991 [BZ #13983]
9992 * elf/ldconfig.c (parse_conf): Change string to make clear that
9993 ldconfig only issued a warning if ld.so.conf does not exist.
9994
dee4a4e3
DM
99952012-05-08 David S. Miller <davem@davemloft.net>
9996
ee0db190
DM
9997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9998 movxtod instead of popping the value on the stack.
9999
dee4a4e3
DM
10000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10001
6a43ec98
CD
100022012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10003
10004 * config.h.in: Add HAVE_ARM_PCS_VFP.
10005
05c2c961
RMG
100062012-05-08 Roland Mc Grath <roland@hack.frob.com>
10007
bcfe3a54
ST
10008 [BZ #13979]
10009 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10010 checking but the checks are disabled for any reason.
05c2c961 10011
4b30f61a
L
100122012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10013
10014 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10015 and ELF64_R_TYPE with ELFW(R_TYPE).
10016
eee2bc67
JM
100172012-05-08 Joseph Myers <joseph@codesourcery.com>
10018
7ea5391a
JM
10019 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10020 (ulimit): Likewise.
10021
eee2bc67
JM
10022 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10023 (settimeofday): Likewise.
10024
abb66a67
MF
100252012-05-08 Mike Frysinger <vapier@gentoo.org>
10026
10027 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10028 a struct th_u2 inside the union, and move tu_block/tu_code into
10029 a new th_u3 union of tu_block/tu_code inside of that. Move
10030 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10031 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10032 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10033 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10034 (th_stuff): Change to th_u1.tu_stuff.
10035 (th_data): Define.
10036 (th_msg): Change to th_u1.th_u2.tu_data.
10037
7f18b530
DM
100382012-05-07 David S. Miller <davem@davemloft.net>
10039
05760585
DM
10040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10041
7f18b530
DM
10042 [BZ #14074]
10043 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10044 (SETUP_PIC_REG): Use it.
10045 (SETUP_PIC_REG_LEAF): Use it.
10046
495fd99f
JM
100472012-05-07 Joseph Myers <joseph@codesourcery.com>
10048
10049 [BZ #13885]
10050 [BZ #13923]
10051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10052 USE_AS_EXPM1L.
10053 (EXPL_FINITE): Likewise.
10054 (FLDLOG): Likewise.
10055 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10056 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10057 e_expl.S.
10058 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10059 USE_AS_EXPM1L.
10060 (EXPL_FINITE): Likewise.
10061 (FLDLOG): Likewise.
10062 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10063 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10064 e_expl.S.
10065 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10066 test of -max_value argument for long double.
10067 * sysdeps/i386/fpu/libm-test-ulps: Update.
10068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10069
6693d694
DM
100702012-05-06 David S. Miller <davem@davemloft.net>
10071
10072 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10073 quad soft-float symbols whose references which are compiler
10074 generated.
10075 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10076
6c23e11c
JM
100772012-05-06 Joseph Myers <joseph@codesourcery.com>
10078
d8b82cad
JM
10079 [BZ #13884]
10080 [BZ #13914]
10081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10082 USE_AS_EXP10L.
10083 (EXPL_FINITE): Likewise.
10084 (FLDLOG): Likewise.
10085 (c0): Likewise.
10086 (c1): Likewise.
10087 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10088 Adjust comments for base varying.
10089 (__expl_finite): Change alias to EXPL_FINITE.
10090 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10091 e_expl.S.
10092 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10093 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10095 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10096 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10097 USE_AS_EXP10L.
10098 (EXPL_FINITE): Likewise.
10099 (FLDLOG): Likewise.
10100 (c0): Likewise.
10101 (c1): Likewise.
10102 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10103 Adjust comments for base varying.
10104 (__expl_finite): Change alias to EXPL_FINITE.
10105 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10106 tests for bugs.
10107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10108
6c23e11c
JM
10109 [BZ #14064]
10110 * math/libm-test.inc (check_float_internal): Correct ulp
10111 calculation for subnormal expected results.
10112
29ba805c
AJ
101132012-05-06 Andreas Jaeger <aj@suse.de>
10114
10115 * Makeconfig (+math-flags): New, set to -frounding-math.
10116 (+cflags): Add +math-flags so that all of glibc gets compiled with
10117 it.
10118
10119 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10120
7b17aeda
JM
101212012-05-05 Joseph Myers <joseph@codesourcery.com>
10122
5779f134
JM
10123 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10124 Disable one test.
10125
41498f4d
JM
10126 [BZ #13787]
10127 [BZ #13922]
10128 [BZ #14036]
10129 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10130 (__ieee754_expl): Allow for and saturate large arguments.
10131 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10132 (u_threshold): Likewise.
10133 (__exp): Call __ieee754_exp before checking for overflow and
10134 underflow.
10135 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10136 (u_threshold): Likewise.
10137 (__expf): Call __ieee754_expf before checking for overflow and
10138 underflow.
10139 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10140 (u_threshold): Likewise.
10141 (__expl): Call __ieee754_expl before checking for overflow and
10142 underflow.
10143 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10144 (__ieee754_expl): Allow for and saturate large arguments.
10145 * math/libm-test.inc (exp_test): Add another test. Do not allow
10146 missing overflow exception on overflow.
10147 (expm1_test): Do not allow missing overflow exception on overflow.
10148
6698b8bf
JM
10149 * sysdeps/i386/fpu/e_expl.c: Move to ...
10150 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10151 rather than using inline asm.
10152 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10153 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10154 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10155
7b17aeda
JM
10156 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10157 (nice): Likewise.
10158 (poll): Likewise.
10159 (signal): Likewise.
10160 (time): Likewise.
10161 (times): Likewise.
10162
f7c85819
JM
101632012-05-04 Joseph Myers <joseph@codesourcery.com>
10164
10165 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10166 sysdeps/unix/common/syscalls.list.
10167 (fchmod): Likewise.
10168 (fchown): Likewise.
10169 (ftruncate): Likewise.
10170 (getrusage): Likewise.
10171 (gettimeofday): Likewise.
10172 (setpgid): Likewise.
10173 (setregid): Likewise.
10174 (setreuid): Likewise.
10175 (sigaction): Likewise.
10176 (truncate): Likewise.
10177 (vhangup): Likewise.
10178 * sysdeps/unix/common/syscalls.list: Remove file.
10179 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10180 * sysdeps/unix/sysv/linux/Implies: Likewise.
10181
336270d0
L
101822012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10183
10184 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10186 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10187 Moved to ...
10188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10189 Here.
10190 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10191 to ...
10192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10193 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10194 to ...
10195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10196 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10197 to ...
10198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10199 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10200 to ...
10201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10202 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10203 to ...
10204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10205 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10206 to ...
10207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10208 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10209 to ...
10210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10211 Here.
10212 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10213 to ...
10214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10215 Here.
10216 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10217 to ...
10218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10219 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10220 Moved to ...
10221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10222 Here.
10223 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10224 to ...
10225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10226
d128e450
JM
102272012-05-04 Joseph Myers <joseph@codesourcery.com>
10228
fa8ee516
JM
10229 * sysdeps/unix/common/bits/dirent.h: Remove file.
10230 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10231
d128e450
JM
10232 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10233 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10234 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10235 * sysdeps/unix/bsd/isatty.c: Likewise.
10236 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10237 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10238 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10239
ff8faaf0 102402012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10241
62881be4 10242 [BZ #13563]
31dc8730
AZ
10243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10244 long double comparison inaccuracies.
10245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10247
6fef930c
AS
102482012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10249
10250 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10252
8f203e6c
JM
102532012-05-04 Joseph Myers <joseph@codesourcery.com>
10254
10255 [BZ #14049]
10256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10257 nonzero digits before rounding a hex value.
10258 * stdlib/tst-strtod.c (tests): Add another test.
10259
5197d9c2
AK
102602012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10261
10262 * sysdeps/s390/fpu/libm-test-ulps: Update.
10263
f0c1dedf
AJ
102642012-05-03 Andreas Jaeger <aj@suse.de>
10265
10266 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10267 does not get optimized out.
10268 (malloc_opt_barrier): New.
10269
a65ef2ae 102702012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10271 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10272
2b942cb7 10273 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10274 intermediate file deletion.
2b942cb7 10275 (generated): Add .symlist files.
a65ef2ae 10276
54b71e02
JM
102772012-05-03 Joseph Myers <joseph@codesourcery.com>
10278
10279 [BZ #13775]
10280 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10281 Redirect under this condition.
10282 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10283 [__USE_GNU] (__dprintf_chk): Not under this condition.
10284 [__USE_GNU] (__vdprintf_chk): Likewise.
10285 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10286 under this condition.
10287 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10288 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10289 [__USE_XOPEN2K8] (vdprintf): Likewise.
10290 [__USE_GNU] (__dprintf_chk): Not under this condition.
10291 [__USE_GNU] (__vdprintf_chk): Likewise.
10292 [__USE_GNU] (dprintf): Likewise.
10293 [__USE_GNU] (vdprintf): Likewise.
10294
d3dfcc41
RM
102952012-05-03 Roland McGrath <roland@hack.frob.com>
10296
10297 * elf/Makefile (common-generated): Set this instead of generated for
10298 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10299 $(all-built-dso)-derived lists.
10300
7ac30cc5
AJ
103012012-05-03 Andreas Jaeger <aj@suse.de>
10302
0c51e550
AJ
10303 * sysdeps/i386/fpu/libm-test-ulps: Update.
10304
7ac30cc5
AJ
10305 * FAQ: Removed.
10306 * FAQ.in: Likewise.
10307 * scripts/gen-FAQ.pl: Likewise.
10308 * manual/install.texi (Installation): Point to online location of
10309 FAQ.
10310 * Makefile (files-for-dist): Remove FAQ.
10311 (FAQ): Remove.
10312
d4c2917f
AM
103132012-05-02 Allan McRae <allan@archlinux.org>
10314
10315 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10316 (LDFLAGS-reldepmod5.so): Likewise.
10317 (LDFLAGS-reldep6mod1.so): Likewise.
10318 (LDFLAGS-reldep6mod4.so): Likewise.
10319 (LDFLAGS-reldep8mod3.so): Likewise.
10320 (LDFLAGS-unload4mod1.so): Likewise.
10321 (LDFLAGS-unload4mod2.so): Likewise.
10322 (LDFLAGS-tst-initorder): Likewise.
10323 (LDFLAGS-tst-initordera2.so): Likewise.
10324 (LDFLAGS-tst-initordera3.so): Likewise.
10325 (LDFLAGS-tst-initordera4.so): Likewise.
10326 (LDFLAGS-tst-initorderb2.so): Likewise.
10327 (LDFLAGS-noload): Likewise.
10328 (LDFLAGS-next): Likewise.
10329 (LDFLAGS-order2mod1.so): Likewise.
10330 (LDFLAGS-order2mod2.so): Likewise.
10331 (LDFLAGS-tst-initorder2): Likewise.
10332 (LDFLAGS-tst-initorder2a.so): Likewise.
10333 (LDFLAGS-tst-initorder2b.so): Likewise.
10334 (LDFLAGS-tst-initorder2c.so): Likewise.
10335 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10336
d77f993f
DM
103372012-05-02 David S. Miller <davem@davemloft.net>
10338
10339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10340
171a70b4
PP
103412012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10342
10343 [BZ #14055]
10344 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10345
0be196ad
AJ
103462012-05-02 Andreas Jaeger <aj@suse.de>
10347
10348 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10349 since we manipulate rounding mode.
10350 (CPPFLAGS-test-idouble.c): Likewise.
10351 (CPPFLAGS-test-ifloat.c): Likewise.
10352 (CFLAGS-test-ldouble.c): Likewise.
10353 (CFLAGS-test-double.c): Likewise.
10354 (CFLAGS-test-float.c): Likewise.
10355 (CFLAGS-test-misc.c): Likewise.
10356 (CFLAGS-test-test-fenv.c): Likewise.
10357
4f9d04aa
AZ
103582012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10359
2b942cb7
RM
10360 [BZ #2550]
10361 [BZ #2570]
10362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10363 comparisons to determine direction to adjust input.
4f9d04aa 10364
82a79e7d
RM
103652012-05-01 Roland McGrath <roland@hack.frob.com>
10366
f5a01ca9
RM
10367 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10368 output to the target.
10369
90fe4186
RM
10370 * scripts/localplt.awk: New file.
10371 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10372 (check-localplt-CFLAGS): Variable removed.
10373 ($(all-built-dso:=.jmprel)): New static pattern rule.
10374 (generated): Add those targets.
10375 (localplt-built-dso): New variable.
10376 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10377
10378 * elf/check-localplt.c: File removed.
10379
82397ed6
RM
10380 * scripts/check-execstack.awk: New file.
10381 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10382 (check-execstack-CFLAGS): Variable removed.
10383 ($(objpfx)check-execstack.h): Target removed.
10384 ($(objpfx)execstack-default): New target.
10385 (generated): Add that instead of check-execstack.h.
10386 ($(all-built-dso:=.phdr)): New static pattern rule.
10387 (generated): Add those targets.
10388 * elf/check-execstack.c: File removed.
10389
82a79e7d
RM
10390 * scripts/check-textrel.awk: New file.
10391 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10392 (check-textrel-CFLAGS): Variable removed.
10393 (all-built-dso): Use := to define.o
10394 ($(all-built-dso:=.dyn)): New static pattern rule.
10395 (generated): Add those targets.
10396 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10397 * config.make.in (READELF): New substituted variable.
10398 * elf/check-textrel.c: File removed.
10399
62fde54f 104002012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10401
615605c9
JM
10402 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10403 allow.
10404 * conform/data/ctype.h-data [C99-based standards] (isblank):
10405 Expect function.
10406 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10407 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10409 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10410 Specify type. Require positive value.
10411 (EILSEQ): Likewise.
10412 (ERANGE): Likewise.
10413 [ISO || POSIX] (EILSEQ): Do not expect.
10414 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10415 Specify type. Require positive value.
10416 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10419 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10420 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10421 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10422 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10423 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10425 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10426 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10427 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10432 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10433 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10434 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10441 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10442 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10443 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10444 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10445 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10446 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10447 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10448 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10449 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10450 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10451 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10452 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10453 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10454 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10455 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10456 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10457 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10458 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10459 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10461 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10462 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10463 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10464 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10465 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10466 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10467 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10468 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10469 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10470 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10471 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10472 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10473 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10474 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10475 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10476 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10477 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10478 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10479 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10480 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10481 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10482 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10483 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10484 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10485 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10486 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10487 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10488 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10490 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10491 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10492 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10493 Require >= 2.
10494 (FLT_ROUNDS): Expect as macro, not constant.
10495 (FLT_MANT_DIG): Use macro-int-constant.
10496 (DBL_MANT_DIG): Likewise.
10497 (LDBL_MANT_DIG): Likewise.
10498 (FLT_DIG): Likewise.
10499 (DBL_DIG): Likewise.
10500 (LDBL_DIG): Likewise.
10501 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10502 (DBL_MIN_EXP): Likewise.
10503 (LDBL_MIN_EXP): Likewise.
10504 (FLT_MAX_EXP): Use macro-int-constant.
10505 (DBL_MAX_EXP): Likewise.
10506 (LDBL_MAX_EXP): Likewise.
10507 (FLT_MAX_10_EXP): Likewise.
10508 (DBL_MAX_10_EXP): Likewise.
10509 (LDBL_MAX_10_EXP): Likewise.
10510 (FLT_MAX): Use macro-constant.
10511 (DBL_MAX): Likewise.
10512 (LDBL_MAX): Likewise.
10513 (FLT_EPSILON): Use macro-constant. Give upper bound.
10514 (DBL_EPSILON): Likewise.
10515 (LDBL_EPSILON): Likewise.
10516 (FLT_MIN): Likewise.
10517 (DBL_MIN): Likewise.
10518 (LDBL_MIN): Likewise.
10519 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10520 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10521 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10522 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10523 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10524 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10525 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10526 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10527 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10528 [ISO11] (FLT_TRUE_MIN): Likewise.
10529 [ISO11] (LDBL_TRUE_MIN): Likewise.
10530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10531 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10532 (SCHAR_MIN): Use macro-int-constant. Specify type.
10533 (SCHAR_MAX): Likewise.
10534 (UCHAR_MAX): Likewise.
10535 (CHAR_MIN): Likewise.
10536 (CHAR_MAX): Likewise.
10537 (MB_LEN_MAX): Use macro-int-constant.
10538 (SHRT_MIN): Use macro-int-constant. Specify type.
10539 (SHRT_MAX): Likewise.
10540 (USHRT_MAX): Likewise.
10541 (INT_MAX): Likewise.
10542 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10543 bound negative.
10544 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10545 bound with "U".
10546 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10547 bound with "L".
10548 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10549 bound negative. Suffix upper bound with "L".
10550 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10551 bound with "UL".
10552 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10553 Specify type.
10554 [C99-based standards] (LLONG_MAX): Likewise.
10555 [C99-based standards] (ULLONG_MAX): Likewise.
10556 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10557 == 0.
10558 [ISO11] (max_align_t): Require type.
10559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10560
c9140a62
JM
10561 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10562 from $CFLAGS, without defining away __attribute__ calls.
10563 (checknamespace): Use $CFLAGS_namespace.
10564
9af0bf29
JM
10565 * conform/conformtest.pl (@keywords): Only include C99 keywords
10566 for standards based on C99 or C11.
10567
343222a2
JM
10568 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10569 Disable tests.
10570 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10571 UNIX98]: Likewise.
10572
661f8cf0
JM
10573 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10574 usability of symbols in #if.
10575
ee74b9cb
JM
10576 * conform/conformtest.pl: If macro or constant types start
10577 "promoted:", expect the symbol to be of the following type
10578 promoted by the integer promotions.
62fde54f 10579
aafc49b3
JM
10580 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10581 in one place. Also handle "macro-constant".
10582
fefdf574
JM
10583 * conform/conformtest.pl: Only accept expected macro values with
10584 "==". Parse all "macro" lines in one place.
10585 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10586
f2d922fe
JM
10587 * conform/conformtest.pl: Handle braced types on "constant" lines
10588 instead of handling "typed-constant".
10589 * conform/data/signal.h-data: Use "constant" instead of
10590 "typed-constant".
10591
d22956c9
JM
10592 * conform/conformtest.pl: Handle "optional-" at start of lines in
10593 one place rather than duplicating several cases. Handle each
10594 format of "macro" line with initial "optional-".
10595
028e2e38
JM
10596 * conform/conformtest.pl: Only accept expected constant or
10597 optional-constant values with "==". Parse all "constant" lines in
10598 one place. Parse all "optional-constant" lines in one place.
10599 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10600 * conform/data/fmtmsg.h-data: Likewise.
10601 * conform/data/netinet/in.h-data: Likewise.
10602 * conform/data/tar.h-data: Likewise.
10603 * conform/data/limits.h-data: Use "==" form on "constant" and
10604 "optional-constant" lines.
10605
1b8f2850
JM
10606 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10607 Use -std=c99 for XOPEN2K.
10608 (@knownproblems): Remove.
10609 (newtoken): Don't check %isknown.
10610
a05a144b
JM
10611 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10612 Do not expect macro.
10613 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10614 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10615 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10616 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10617 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10618 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10619 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10620 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10621 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10622 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10623 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10624 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10625 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10626 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10627 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10628 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10629 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10630 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10631 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10632 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10633 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10634 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10636 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10637 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10638 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10639 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10640 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10641 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10642 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10643 [XPG3] (acosh): Likewise.
10644 [XPG3] (asinh): Likewise.
10645 [XPG3] (atanh): Likewise.
10646 [XPG3] (cbrt): Likewise.
10647 [XPG3] (expm1): Likewise.
10648 [XPG3] (ilogb): Likewise.
10649 [XPG3] (log1p): Likewise.
10650 [XPG3] (logb): Likewise.
10651 [XPG3] (nextafter): Likewise.
10652 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10653 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10654 [XPG3] (remainder): Likewise.
10655 [XPG3] (rint): Likewise.
10656 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10657 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10658 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10659 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10660 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10663 [UNIX98 || XOPEN2K] (scalb): Expect.
10664 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10665 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10671 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10672 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10673 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10674 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10675 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10801
73c5ebe3
JM
10802 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10803 _XOPEN_SOURCE_EXTENDED for XPG4.
10804
39c33b6c
JM
10805 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10806
62fde54f
JM
10807 * Makeconfig (localtime): Remove variable.
10808 (inst_localtime-file): Likewise.
10809
0741d64c
AS
108102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10811
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10813 Update.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10815 Update.
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10817 Update.
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10819 Update.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10821 Update.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10823 Update.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10825 Update.
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10827 Update.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10829 Update.
10830
7cb029ee
JM
108312012-05-01 Joseph Myers <joseph@codesourcery.com>
10832
10833 [BZ #2550]
10834 [BZ #2570]
10835 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10836 comparisons to determine direction to adjust input.
10837 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10838 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10839 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10840 Likewise.
10841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10842 Likewise.
10843 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10844 Likewise.
10845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10847 Likewise.
10848 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10849 Likewise.
10850 * math/libm-test.inc (nexttoward_test): Add more tests.
10851
412bd966
AS
108522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10853
10854 [BZ #14040]
10855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10856 in version GLIBC_2.1, not GLIBC_2.0.
10857 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10858 Likewise.
10859
9568c0c2
JM
108602012-04-30 Joseph Myers <joseph@codesourcery.com>
10861
adfbc8ac
JM
10862 [BZ #13942]
10863 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10864 (1 - x) * (1 + x).
10865 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10866 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10867 * math/libm-test.inc (acos_test): Add more tests.
10868 (asin_test): Likewise.
10869 * sysdeps/i386/fpu/libm-test-ulps: Update.
10870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10871
5ba3cc69
JM
10872 [BZ #14034]
10873 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10874 of square root.
10875 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10876 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10877 * math/libm-test.inc (acos_test_tonearest): New function.
10878 (acos_test_towardzero): Likewise.
10879 (acos_test_downward): Likewise.
10880 (acos_test_upward): Likewise.
10881 (asin_test_tonearest): Likewise.
10882 (asin_test_towardzero): Likewise.
10883 (asin_test_downward): Likewise.
10884 (asin_test_upward): Likewise.
10885 (main): Call the new functions.
10886 * sysdeps/i386/fpu/libm-test-ulps: Update.
10887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10888
9568c0c2
JM
10889 [BZ #13884]
10890 [BZ #13924]
10891 * math/e_exp10.c: Include <float.h>.
10892 (__ieee754_exp10): Handle underflow here rather than multiplying
10893 large negative argument by M_LN10.
10894 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10895 of __ieee754_expf.
10896 * math/e_exp10l.c: Include <float.h>.
10897 (__ieee754_exp10l): Handle underflow here rather than multiplying
10898 large negative argument by M_LN10l.
10899 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10900 spurious overflow exception on underflow.
10901
5ac3ea17
MP
109022012-04-29 Marek Polacek <polacek@redhat.com>
10903
10904 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10905 (__fortify_function): New macro.
10906 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10907 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10908 __extern_always_inline.
10909 * libio/bits/stdio2.h: Likewise.
10910 * libio/bits/stdio.h: Likewise.
10911 * string/string.h: Likewise.
10912 * string/bits/string3.h: Likewise.
10913 * include/stdio.h: Likewise.
10914 * stdlib/bits/stdlib.h: Likewise.
10915 * stdlib/stdlib.h: Likewise.
10916 * rt/bits/mqueue2.h: Likewise.
10917 * rt/mqueue.h: Likewise.
10918 * posix/bits/unistd.h: Likewise.
10919 * posix/unistd.h: Likewise.
10920 * io/bits/poll2.h: Likewise.
10921 * io/bits/fcntl2.h: Likewise.
10922 * io/fcntl.h: Likewise.
10923 * io/sys/poll.h: Likewise.
10924 * misc/bits/syslog.h: Likewise.
10925 * misc/bits/syslog-ldbl.h: Likewise.
10926 * misc/sys/syslog.h: Likewise.
10927 * socket/bits/socket2.h: Likewise.
10928 * socket/sys/socket.h: Likewise.
10929 * debug/tst-chk1.c: Likewise.
10930 * wcsmbs/bits/wchar2.h: Likewise.
10931 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10932 * wcsmbs/wchar.h: Likewise.
10933
ecf0ebfb
AJ
109342012-04-29 Andreas Jaeger <aj@suse.de>
10935
10936 * Makerules (tests): Remove enable-check-abi protection.
10937 (check-abi-warn): Remove.
10938 (check-abi-%): Remove check-abi-warn usage.
10939
10940 * configure.in: Remove check-abi configure option.
10941 * configure: Regenerated.
10942 * config.make.in (enable-check-abi): Remove.
10943
6d5c57fa
AS
109442012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10945
24c5d07e 10946 [BZ #14033]
ded5180a
AS
10947 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10948 double functions to double *_finite functions.
10949
7e0d315d
AS
10950 [BZ #13941]
10951 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10952 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10953 LDBL_MIN_EXP.
10954 * stdio-common/Makefile (tests): Add tst-sprintf3.
10955 * stdio-common/tst-sprintf3.c: New file.
10956
6d5c57fa
AS
10957 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10958 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10959
0749ff8b
JM
109602012-04-28 Joseph Myers <joseph@codesourcery.com>
10961
10962 * conform/conformtest.pl: Remove duplicate typed-constant
10963 handling.
10964
8dbd5d7b
DM
109652012-04-28 David S. Miller <davem@davemloft.net>
10966
10967 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10968 (check-abi-%): Remove AWK script prerequisite and explicit
10969 abilist directory.
10970 (check-abi): Rewrite to just diff the symlist with the abilist.
10971 (config-tls, config-abi-config): Delete, no longer used.
10972 (update-abi-%): Remove AWK script and explicit abilist directory.
10973 (update-abi): Rewrite to simply compare and conditionally copy the
10974 symlist and the sysdep abilist file. Remove update-abi-config
10975 checks.
10976 * abilist/ld.abilist: Remove.
10977 * abilist/libBrokenLocale.abilist: Remove.
10978 * abilist/libanl.abilist: Remove.
10979 * abilist/libcrypt.abilist: Remove.
10980 * abilist/libdl.abilist: Remove.
10981 * abilist/librt.abilist: Remove.
10982 * abilist/libthread_db.abilist: Remove.
10983 * abilist/libutil.abilist: Remove.
10984 * scripts/extract-abilist.awk: Remove.
10985 * scripts/merge-abilist.awk: Remove.
10986 * sysdeps/generic/libcidn.abilist: New file.
10987 * sysdeps/generic/libnss_compat.abilist: New file.
10988 * sysdeps/generic/libnss_db.abilist: New file.
10989 * sysdeps/generic/libnss_dns.abilist: New file.
10990 * sysdeps/generic/libnss_files.abilist: New file.
10991 * sysdeps/generic/libnss_hesiod.abilist: New file.
10992 * sysdeps/generic/libnss_nis.abilist: New file.
10993 * sysdeps/generic/libnss_nisplus.abilist: New file.
10994 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10995 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10996 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10997 file.
10998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10999 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11000 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11001 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11002 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11003 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11004 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11005 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11006 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11007 file.
11008 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11009 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11010 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11011 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11012 file.
11013 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11014 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11015 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11016 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11017 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11018 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11019 file.
11020 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11021 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11022 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11023 file.
11024 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11026 New file.
11027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11028 New file.
11029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11030 New file.
11031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11032 New file.
11033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11034 New file.
11035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11036 New file.
11037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11038 New file.
11039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11040 New file.
11041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11042 New file.
11043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11044 New file.
11045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11046 New file.
11047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11048 New file.
11049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11050 New file.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11052 file.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11054 New file.
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11056 New file.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11058 file.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11060 New file.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11062 New file.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11064 file.
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11066 New file.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11068 New file.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11070 New file.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11072 New file.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11074 New file.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11076 New file.
11077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11079 file.
11080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11081 New file.
11082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11083 file.
11084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11085 file.
11086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11087 file.
11088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11089 file.
11090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11091 file.
11092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11093 New file.
11094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11095 file.
11096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11097 file.
11098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11099 New file.
11100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11101 file.
11102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11104 file.
11105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11106 New file.
11107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11108 file.
11109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11110 file.
11111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11112 file.
11113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11114 file.
11115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11116 file.
11117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11118 New file.
11119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11120 file.
11121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11122 file.
11123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11124 New file.
11125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11126 file.
11127 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11128 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11129 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11130 file.
11131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11132 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11133 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11135 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11136 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11137 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11138 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11139 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11140 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11143 file.
11144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11145 New file.
11146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11147 file.
11148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11149 file.
11150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11151 file.
11152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11153 file.
11154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11155 file.
11156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11157 New file.
11158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11159 New file.
11160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11161 file.
11162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11163 New file.
11164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11165 file.
11166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11168 file.
11169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11170 New file.
11171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11172 file.
11173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11174 file.
11175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11176 file.
11177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11178 file.
11179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11180 file.
11181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11182 New file.
11183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11184 New file.
11185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11186 file.
11187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11188 New file.
11189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11190 file.
11191
41d73a1b
JM
111922012-04-28 Joseph Myers <joseph@codesourcery.com>
11193
11194 * conform/conformtest.pl: Fix typo in handling typed-constant from
11195 allow-header.
11196
28aeeda4
JM
111972012-04-27 Joseph Myers <joseph@codesourcery.com>
11198
adae8f5e
JM
11199 * README: Cut down references to pre-2.6 Linux kernels and
11200 Linuxthreads. Update lists of configurations in libc and ports
11201 and sort alphabetically. Say "or newer" with Linux kernel version
11202 requirements.
11203
28aeeda4
JM
11204 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11205
a462cb63
RA
112062012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11207
11208 [BZ #887]
11209 * math/libm-test.inc (logb_test_downward): New test to expose
11210 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11211 rounding mode.
11212
6ad3493e
JM
112132012-04-27 Joseph Myers <joseph@codesourcery.com>
11214
11215 [BZ #14027]
11216 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11217 to be done.
11218 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11219 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11220
2ce4f015
JM
112212012-04-26 Joseph Myers <joseph@codesourcery.com>
11222
5aeb141a
JM
11223 * sysdeps/unix/i386/brk.S: Remove file.
11224 * sysdeps/unix/i386/dl-brk.S: Likewise.
11225 * sysdeps/unix/i386/pipe.S: Likewise.
11226 * sysdeps/unix/i386/sigreturn.S: Likewise.
11227 * sysdeps/unix/i386/syscall.S: Likewise.
11228 * sysdeps/unix/i386/vfork.S: Likewise.
11229 * sysdeps/unix/i386/wait.S: Likewise.
11230
7143acae
JM
11231 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11232 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11233
2ce4f015
JM
11234 * configure.in (arm*-none*): Do not allow without
11235 --enable-hacker-mode.
11236 (netbsd*): Remove case setting base_os.
11237 (386bsd*): Likewise.
11238 (freebsd*): Likewise.
11239 (bsdi*): Likewise.
11240 (osf*): Likewise.
11241 (sunos*): Likewise.
11242 (ultrix*): Likewise.
11243 (newsos*): Likewise.
11244 (dynix*): Likewise.
11245 (*bsd*): Likewise.
11246 (sysv*): Likewise.
11247 (isc*): Likewise.
11248 (esix*): Likewise.
11249 (sco*): Likewise.
11250 (minix*): Likewise.
11251 (irix4*): Likewise.
11252 (irix6*): Likewise.
11253 (solaris[2-9]*): Likewise.
11254 (none): Likewise.
11255 * configure: Regenerated.
11256
0ac229c8
AZ
112572012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11258
11259 [BZ #11521]
11260 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11261 overflow or cancellation in calculating denominator.
11262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11264 down expression to avoid unexpected rounding in newer GCCs.
11265 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11266
33f244f4
DM
112672012-04-26 David S. Miller <davem@davemloft.net>
11268
11269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11270 long-double compat symbols.
11271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11284
cfa1f3e8
DM
112852012-04-25 David S. Miller <davem@davemloft.net>
11286
11287 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11288 HWCAP_* values only after the memory barriers have been defined.
11289 (atomic_full_barrier): Define.
11290 (atomic_read_barrier): Define.
11291 (atomic_write_barrier): Define.
11292
6e236b92
SP
112932012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11294
11295 * shlib-versions: Add libgcc_s version information.
11296 * sysdeps/generic/libgcc_s.h: Remove.
11297 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11298 libgcc_s.h.
11299 * sysdeps/gnu/unwind-resume.c: Likewise.
11300 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11301
aab39a09
DM
113022012-04-25 David S. Miller <davem@davemloft.net>
11303
11304 * sysdeps/unix/sparc/brk.S: Delete.
11305 * sysdeps/unix/sparc/dl-brk.S: Delete.
11306 * sysdeps/unix/sparc/pipe.S: Delete.
11307 * sysdeps/unix/sparc/sysdep.S: Delete.
11308 * sysdeps/unix/sparc/sysdep.h: Delete.
11309 * sysdeps/unix/sparc/vfork.S: Delete.
11310 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11311 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11312 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11313 ret_ERRVAL, r0, r1, MOVE): Define.
11314 (JUMPTARGET): Remove.
11315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11316 sysdeps/unix/sparc/sysdep.h
11317 (ENTRY, END): Remove.
11318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11319
a3cc4f48
JM
113202012-04-25 Joseph Myers <joseph@codesourcery.com>
11321
2ed8cda2
JM
11322 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11323 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11324 -DIS_IN_build.
11325
35d76d59
JM
11326 * timezone/README: Update upstream location and email address for
11327 tzcode and tzdata.
11328 * timezone/zdump.c: Update from tzcode 2012b.
11329 * timezone/zic.c: Likewise.
11330
a3cc4f48
JM
11331 * configure.in (libc_cv_as_needed): Remove test.
11332 * configure: Regenerated.
11333 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11334 conditional definition.
11335 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11336 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11337 * config.make.in (have-as-needed): Remove variable.
11338
ceab42c3
SP
113392012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11340 Paul Pluzhnikov <ppluzhnikov@google.com>
11341
11342 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11343 strings correctly.
11344
3ce2865f
CLT
113452012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11346
11347 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11348 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11349 * sysdeps/sh/strlen.S: Likewise.
11350
f37e0d68
JM
113512012-04-24 Joseph Myers <joseph@codesourcery.com>
11352
ae186e9a
JM
11353 * sysdeps/unix/fork.S: Remove file.
11354 * sysdeps/unix/i386/fork.S: Likewise.
11355 * sysdeps/unix/sparc/fork.S: Likewise.
11356
b96914af
JM
11357 * sysdeps/unix/system.c: Remove file.
11358 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11359
f37e0d68
JM
11360 * sysdeps/unix/getegid.S: Remove file.
11361 * sysdeps/unix/geteuid.S: Likewise.
11362
87ef29ca
RM
113632012-04-24 Roland McGrath <roland@hack.frob.com>
11364
83bcd236
RM
11365 * scripts/check-localplt.awk: New file.
11366 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11367 of diff.
11368 * scripts/data/localplt-generic.data: Add a comment.
11369
87ef29ca
RM
11370 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11371 NODE when __dir_mkfile failed.
11372 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11373 Reported by Ludovic Courtès <ludo@gnu.org>.
11374
e5a6e567
AJ
113752012-04-24 Andreas Jaeger <aj@suse.de>
11376
11377 * Makerules (common-clean): Also remove gen-as-const-headers
11378 files.
11379
c1820385
JM
113802012-04-24 Joseph Myers <joseph@codesourcery.com>
11381
11382 * Makerules (native-compile): Do not change working directory for
11383 build. Use $(OUTPUT_OPTION) in command.
11384 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11385
94e02fc4
AZ
113862012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11387
11388 [BZ #13886]
11389 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11390 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11391 * math/libm-test.inc (floor_test): Add more tests.
11392 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11393
3a533ca3
JM
113942012-04-24 Joseph Myers <joseph@codesourcery.com>
11395
940ab4b3
JM
11396 * sysdeps/unix/getdents.c: Remove file.
11397 * sysdeps/unix/sysv/getdents.c: Likewise.
11398 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11399
90e037bd
JM
11400 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11401 sysdeps/unix/mman/syscalls.list.
11402 (mmap): Likewise.
11403 (mprotect): Likewise.
11404 (msync): Likewise.
11405 (munmap): Likewise.
11406 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11407 * sysdeps/unix/mman/syscalls.list: Remove.
11408 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11409
3a533ca3
JM
11410 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11411 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11412 * configure: Regenerated.
11413 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11414 $(libgcc_s_suffix).
11415 * config.make.in (libgcc_s_suffix): Remove variable.
11416
1ad743de
JM
114172012-04-23 Joseph Myers <joseph@codesourcery.com>
11418
4ad451e2
JM
11419 * sysdeps/unix/sysv/gethostname.c: Move to ...
11420 * sysdeps/posix/gethostname.c: ... here.
11421
5e37ce39
JM
11422 * sysdeps/unix/execve.S: Remove file.
11423
1ad743de
JM
11424 * sysdeps/unix/_exit.S: Remove file.
11425
4e681b5b
AJ
114262012-04-23 Andreas Jaeger <aj@suse.de>
11427
11428 [BZ #13739]
11429 * manual/Makefile: Remove make dist support, there's no
11430 need for a stand-alone documentation tar ball.
11431 (TEXI2DVI): Define always, it's not in Makeconfig.
11432 (dist): Removed.
11433 (tar-it): Removed.
11434 (edition): Removed.
11435 (glibc-doc-$(edition).tar): Removed
11436 (%.Z): Removed.
11437 (%.gz): Removed.
11438 (%.uu): Removed.
11439 (ETAGS): Remove, it's in Makeconfig.
11440 (move-if-change): Remove, it's in Makeconfig.
11441
c0baea34
PE
114422013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11443
11444 [BZ #13970]
11445 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11446 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11447 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11448 (strtod_l, strtof_l, strtold_l): Remove __wur.
11449 It is not necessarily an error to ignore strtol's return value.
11450 One can reliably look at the stored endptr to decide whether
11451 the number had valid syntax.
11452
7c0616fa
AJ
114532012-04-21 Andreas Jaeger <aj@suse.de>
11454
803cb6b7 11455 [BZ #13739]
7c0616fa
AJ
11456 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11457
b0fe253f
JM
114582012-04-21 Joseph Myers <joseph@codesourcery.com>
11459
11460 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11461 * sysdeps/unix/sysv/Versions: Remove file.
11462
8280f22d
MT
114632012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11464
11465 [BZ #13927]
11466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11467
75ce411f 114682012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11469
11470 [BZ #7064]
11471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11472 version from __vm86.
11473
097d59fa
JM
114742012-04-20 Joseph Myers <joseph@codesourcery.com>
11475
a90f3bcb
JM
11476 * sysdeps/unix/common/lxstat.c: Remove file.
11477 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11478
edc7ea78
JM
11479 * sysdeps/unix/sysv/Makefile: Remove file.
11480
cb78c221
JM
11481 * sysdeps/unix/sysv/direct.h: Remove file.
11482
efa6a45f
JM
11483 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11484 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11485 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11486 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11487 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11488 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11489 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11490
9c9f2d0c
JM
11491 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11492
4541c83b
JM
11493 * sysdeps/unix/xmknod.c: Remove file.
11494 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11495
f5d153a0
JM
11496 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11497
aa746595
JM
11498 * sysdeps/unix/sysv/i386/time.S: Remove file.
11499
cce5905e
JM
11500 * sysdeps/unix/fxstat.c: Remove file.
11501 * sysdeps/unix/xstat.c: Likewise.
11502 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11503
37fa3841
JM
11504 * sysdeps/unix/sysv/sigaction.c: Remove file.
11505
ff1962a3
JM
11506 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11507 (sysdep_headers): Remove variable.
11508 [termio.h not in sysdep_headers] (generated): Likewise.
11509 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11510 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11511 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11512 * sysdeps/unix/sysv/tcflow.c: Likewise.
11513 * sysdeps/unix/sysv/tcflush.c: Likewise.
11514 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11515 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11516 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11517 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11518 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11519
e7740d31
JM
11520 * sysdeps/unix/siglist.c: Remove file.
11521
ee06f18b
JM
11522 * sysdeps/unix/getppid.S: Remove file.
11523
097d59fa
JM
11524 * sysdeps/unix/mkdir.c: Remove file.
11525 * sysdeps/unix/rmdir.c: Likewise.
11526
ff3d51ec
AS
115272012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11528
11529 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11530 ERR_MAX value.
11531 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11532 errlist-compat value.
11533
50f81fd7
DM
115342012-04-18 David S. Miller <davem@davemloft.net>
11535
11536 * sysdeps/generic/memcopy.h (reg_char): Delete.
11537 * debug/strcat_chk.c: Use char, not reg_char.
11538 * debug/strcpy_chk.c: Likewise.
11539 * debug/strncat_chk.c: Likewise.
11540 * debug/strncpy_chk.c: Likewise.
11541 * string/memchr.c: Likewise.
11542 * string/memrchr.c: Likewise.
11543 * string/rawmemchr.c: Likewise.
11544 * string/strcat.c: Likewise.
11545 * string/strchr.c: Likewise.
11546 * string/strchrnul.c: Likewise.
11547 * string/strcmp.c: Likewise.
11548 * string/strcpy.c: Likewise.
11549 * string/strncat.c: Likewise.
11550 * string/strncmp.c: Likewise.
11551 * string/strncpy.c: Likewise.
11552
8ff41c46
WS
115532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11554
11555 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11556 __builtin_memcopy is called when src and dest ranges are known to not
11557 overlap.
11558
6b652f46
WS
115592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11560
11561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11562 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11563 fwd_align_merge macro call.
11564 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11565 bwd_align_merge macro call.
11566 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11567
b282631e
WS
115682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11569
11570 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11571 bwd_align_merge macros.
11572 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11573 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11575
95aa737c
DM
115762012-04-18 David S. Miller <davem@davemloft.net>
11577
11578 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11579
7a99a614
AJ
115802012-04-18 Andreas Jaeger <aj@suse.de>
11581
11582 [BZ# 6794]
11583 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11584 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11585 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11586
11587 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11588 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11590
11591 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11592 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11593 Adjust for changed ldbl-128 files.
11594
11595 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11596 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11598
e5270c23
DM
115992012-04-17 David S. Miller <davem@davemloft.net>
11600
11601 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11602
fb5e92c9
AS
116032012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11604
11605 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11606 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11607 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11608 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11609 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11610 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11611
76da7265
AZ
116122012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11613
11614 [BZ #6794]
11615 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11616 * math/libm-test.inc: Add ilogb errno and exception tests.
11617 * math/w_ilogb.c: New file: ilogb wrapper.
11618 * math/w_ilogbf.c: New file: ilogbf wrapper.
11619 * math/w_ilogbl.c: New file: ilogbl wrapper.
11620 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11621 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11622 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11623 exception being thrown with 0.0 as argument.
11624 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11625 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11626 exception being thrown with 0.0 as argument.
11627 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11628 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11629 exception being thrown with 0.0 as argument.
11630 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11631 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11632 exception being thrown with 0.0 as argument.
11633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11634 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11635 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11636 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11637 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11638 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11639 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11640 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11641 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11642
0396e69d
PB
116432012-04-17 Petr Baudis <pasky@ucw.cz>
11644
11645 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11646 with altivec.
11647
750b5926
MP
116482012-04-16 Marek Polacek <polacek@redhat.com>
11649
11650 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11651
751728a1
MP
116522012-04-16 Marek Polacek <polacek@redhat.com>
11653
11654 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11655 operands of fdivp instruction.
11656
34a27407
L
116572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11658
11659 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11660 * elf/tst-auditmod3b.c: Likewise.
11661 * elf/tst-auditmod4b.c: Likewise.
11662 * elf/tst-auditmod5b.c: Likewise.
11663 * elf/tst-auditmod6b.c: Likewise.
11664 * elf/tst-auditmod6c.c: Likewise.
11665 * elf/tst-auditmod7b.c: Likewise.
11666 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11667 * sysdeps/x86_64/preconfigure.in: Likewise.
11668 * sysdeps/x86_64/preconfigure: Regenerated.
11669
7e73e17d
L
116702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11671
11672 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11673 __ILP32__.
11674
c7a6ab72
AB
116752012-04-13 Antoine Balestrat <merkil33@gmail.com>
11676
11677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11678 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11679
a9e8e0e0
CL
116802012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11681
11682 [BZ #13973]
11683 * locale/iso-639.def: Fix gl language name. Spotted by
11684 Yaron Shahrabani.
11685
ec98af7d
RM
116862012-04-12 Roland McGrath <roland@hack.frob.com>
11687
11688 [BZ #2074]
11689 * libio/libio.h (__io_write_fn): Update comment.
11690
247c3ede
PB
116912012-04-12 Petr Baudis <pasky@ucw.cz>
11692
11693 [BZ #2074]
11694 * stdio.texi (Hook Functions): The user provided writer function
11695 is not allowed to return -1.
11696
55939d6d
DM
116972012-04-11 David S. Miller <davem@davemloft.net>
11698
11699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11700
90020f5a
MF
117012012-04-11 Mike Frysinger <vapier@gentoo.org>
11702
11703 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11704 Add a leading slash to rtkaio.
11705
288f9098
JM
117062012-04-11 Jim Meyering <meyering@redhat.com>
11707
90020f5a
MF
11708 [BZ #11959]
11709 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11710 It is not necessarily an error to ignore fwrite's return
11711 value. One can reliably use ferror to test for errors after
11712 the fact.
288f9098 11713
4be2b570
L
117142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11715
11716 * bits/types.h (__snseconds_t): New type.
11717 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11718
11719 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11721 (__SNSECONDS_T_TYPE): Likewise.
11722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11723 (__SNSECONDS_T_TYPE): Likewise.
11724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11725 (__SNSECONDS_T_TYPE): Likewise.
11726
288f9098 117272012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11728
11729 [BZ #2636]
11730 * manual/time.texi (Processor Time): Return type of times is
11731 elapsed real time since an arbitrary point in the past.
11732 (CPU Time): Move CLK_TCK from here...
11733 (Processor Time): ...to here. Correct description.
11734 * manual/conf.texi (Constants for Sysconf): Correct description of
11735 _SC_CLK_TCK.
11736
d7dd4413
DM
117372012-04-10 David S. Miller <davem@davemloft.net>
11738
11739 [BZ #13967]
11740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11741 where the is a gap between DT_REL(A) and DT_JMPREL.
11742
b46068fc
L
117432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11744
11745 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11746 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11747 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11748
73d65cc3
SP
117492012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11750
11751 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11752 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11753 (dl_main): Handle --inhibit-cache.
11754 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11755 _dl_inhibit_cache.
11756 * elf/dl-load.c (_dl_map_object): Use it.
11757 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11758
bcc8d661
JM
117592012-04-09 Joseph Myers <joseph@codesourcery.com>
11760
8f9a2fae
JM
11761 [BZ #13872]
11762 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11763 (__ieee754_powl): Saturate large exponents rather than testing for
11764 overflow of y*log2(x).
11765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11766 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11767 exceptions.
11768
bcc8d661
JM
11769 [BZ #11521]
11770 * math/s_ctan.c: Include <float.h>.
11771 (__ctan): Avoid internal overflow or cancellation in calculating
11772 denominator.
11773 * math/s_ctanf.c: Likewise.
11774 * math/s_ctanl.c: Likewise.
11775 * math/s_ctanh.c: Likewise.
11776 * math/s_ctanhf.c: Likewise.
11777 * math/s_ctanhl.c: Likewise.
11778 * math/libm-test.inc (ctan_test): Add more tests.
11779 (ctanh_test): Likewise.
11780 * sysdeps/i386/fpu/libm-test-ulps: Update.
11781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11782
823fbbb4
AJ
117832012-04-09 Andreas Jaeger <aj@suse.de>
11784
03879793
AJ
11785 [BZ #6894]
11786 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11787 is an optional BSD extension.
11788
823fbbb4
AJ
11789 [BZ #10254]
11790 * manual/stdio.texi (Opening Streams): Document additional fopen
11791 parameters.
11792
8de131cb
RM
117932012-04-09 Roland McGrath <roland@hack.frob.com>
11794
11795 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11796 %eax without telling the compiler.
11797
c0ed9d7d
CD
117982012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11799
11800 [BZ # 13963]
11801 * manual/install.texi: Use sourceware.org.
11802
c483f6b4
JM
118032012-04-09 Joseph Myers <joseph@codesourcery.com>
11804
d7dd9453
JM
11805 [BZ #13873]
11806 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11807 (__ieee754_pow): Generate overflow and underflow using huge*huge
11808 and tiny*tiny rather than just returning constant infinity or zero
11809 for large exponents.
11810 * math/libm-test.inc (pow_test): Require overflow exceptions for
11811 applicable cases of large exponents.
11812
c483f6b4
JM
11813 [BZ #706]
11814 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11815 (__ieee754_pow): Use iterative multiplication algorithm only for
11816 integer exponents with absolute value below 1024. Check for odd
11817 integer exponents when using algorithm for real exponents.
11818 * math/libm-test.inc (pow_test): Add more tests.
11819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11820
d2de7579
JM
118212012-04-08 Joseph Myers <joseph@codesourcery.com>
11822
11823 [BZ #13705]
11824 * math/libm-test.inc (exp_test): Do not allow overflow exception
11825 on underflow test.
11826
f77f1232
AJ
118272012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11828
11829 [BZ #13705]
11830 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11831 instead of __kernel_standard_f.
11832
3884932b
MF
118332012-04-08 Mike Frysinger <vapier@gentoo.org>
11834
11835 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11836 * sysdeps/x86_64/memset_chk.S: Likewise.
11837
54472e9c
AJ
118382012-04-08 Andreas Jaeger <aj@suse.de>
11839
6ab0fbfc
AJ
11840 [BZ #10153]
11841 * manual/startup.texi (Environment Access): Describe return value
11842 for putenv and setenv.
11843
61efba8c
AJ
11844 [BZ #6895]
11845 * manual/filesys.texi (Directory Entries): Add description for
11846 DT_LNK.
11847
95c3f29a
AJ
11848 [BZ #6890]
11849 * manual/filesys.texi (Directory Entries): Clarify that it's file
11850 system not operating system in the description of DT_UNKNOWN.
11851
54472e9c
AJ
11852 [BZ #6578]
11853 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11854
624254b1
SC
118552012-04-08 Stephen Compall <s11@member.fsf.org>
11856
11857 [BZ #6649]
11858 * manual/llio.texi (Opening and Closing Files): Add cross
11859 reference to explain mode argument.
11860
1e4920e0
MF
118612012-04-07 Mike Frysinger <vapier@gentoo.org>
11862
11863 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11864 * sysdeps/x86_64/memset_chk.S: Likewise.
11865
5ed848f3
DM
118662012-04-07 David S. Miller <davem@davemloft.net>
11867
11868 * elf/elf.h (R_SPARC_WDISP10): Define.
11869 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11870 R_SPARC_SIZE32.
11871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11872 R_SPARC_SIZE64 and R_SPARC_H34.
11873
96154cd8
CD
118742012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11875
11876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11877 conditions and remove no longer applicable assertion.
11878
9904dc47
L
118792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11880
11881 * bits/byteswap.h: Include <features.h>.
11882 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11883 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11884
f8887d0a
L
118852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11886
11887 * bits/byteswap.h (__bswap_16): Removed.
11888 Include <bits/byteswap-16.h> to get __bswap_16.
11889 * sysdeps/i386/bits/byteswap.h: Likewise.
11890 * sysdeps/s390/bits/byteswap.h: Likewise.
11891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11892 * bits/byteswap-16.h: New file.
11893 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11894 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11895 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11896 * string/Makefile (headers): Add bits/byteswap-16.h.
11897
62470f60
PP
118982012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11899
11900 [BZ #13895]
11901 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11902 extra indirection.
11903 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11904 * nss/tst-nss-static.c: New.
11905
4dad7bab
RM
119062012-04-06 Robert Millan <rmh@gnu.org>
11907
11908 [BZ #6486]
11909 * manual/llio.texi (File Position Primitive): lseek
11910 refers to WHENCE when it really means OFFSET.
11911
e9142a17
AJ
119122012-04-06 Andreas Jaeger <aj@suse.de>
11913
2c040eff
AJ
11914 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11915 strncmp declarations.
11916
e9142a17
AJ
11917 * abilist/libc.abilist: Add __poll and __ppoll.
11918
ff9f1c5f
DM
119192012-04-05 David S. Miller <davem@davemloft.net>
11920
dcd2ae90
DM
11921 * scripts/check-local-headers.sh: Accept a host triplet in the
11922 path matched by the exclude regexp.
11923
993eb054
DM
11924 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11925 definition.
11926 * sysdeps/powerpc/powerpc32/dl-machine.h
11927 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11928 * sysdeps/s390/s390-32/dl-machine.h
11929 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11930 * sysdeps/sparc/sparc32/dl-machine.h
11931 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11932 * sysdeps/sparc/sparc64/dl-machine.h
11933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11934
ff9f1c5f
DM
11935 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11936 lazy binding.
48e2e132 11937 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11938 undefined symbol errors.
11939
48e2e132 11940 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11941 DT_NEEDED entries.
11942
e80d6f94
MM
119432012-04-05 Michael Matz <matz@suse.de>
11944
11945 [BZ #13592]
11946 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11947
349fa79f
AJ
119482012-04-05 Andreas Jaeger <aj@suse.de>
11949
11950 [BZ #13908]
11951 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11952 comment.
11953
f402708f
KK
119542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11955
11956 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11957 which ROUND is no valid rounding mode.
11958
2ecccfc9
KK
119592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11960
11961 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11962 read again.
11963 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11964
8a53f50f
KK
119652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11966
11967 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11968 an exception using FPU order intentionally.
11969
119702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11971
11972 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11973 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11974 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11975 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11976
d653abb7
SJ
119772012-04-05 Simon Josefsson <simon@josefsson.org>
11978
11979 [BZ #12340]
11980 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11981 EINVAL when BUFLEN is too smal.
11982
c3b1bf7d
TS
119832012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11984
11985 [BZ #13553]
11986 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11987 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11988
b1aa60f3
AJ
119892012-04-03 Andreas Jaeger <aj@suse.de>
11990
c3b1bf7d 11991 [BZ #13938]
67f60a26
AJ
11992 * manual/setjmp.texi (System V contexts): Fix sentence.
11993
b1aa60f3
AJ
11994 [BZ #13926]
11995 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11996 New macro for this case.
11997 [!__GNUC__] (__bswap_64): New inline function for this case.
11998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11999 * bits/byteswap.h: Likewise.
12000 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12001 ull, guard with __GLIBC_HAVE_LONG_LONG.
12002
12003 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12004 __GLIBC_HAVE_LONG_LONG.
12005
12006 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12007 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12008
39c59c35
TMQMF
120092012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12010
12011 [BZ #13691]
12012 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12013 inptr and inend, rather than using last_ch.
12014
135ffda8
DM
120152012-04-02 David S. Miller <davem@davemloft.net>
12016
12017 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12018 * stdio-common/printf-parse.h (read_int): Change return type to
12019 'int', return -1 on INT_MAX overflow.
12020 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12021 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12022 overflows INT_MAX. Check for overflow of in-format-string precision
12023 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12024 SIZE_MAX not INT_MAX for integer overflow test.
12025 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12026 skip the construct in the format string but do not record anything.
12027 * stdio-common/bug22.c: Adjust to test both width/prevision
12028 INT_MAX overflow as well as total length INT_MAX overflow. Check
12029 explicitly for proper errno values.
12030
228c019e
TS
120312012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12032
302cadd3
TS
12033 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12034 CHAR_MAX.
12035 * string/test-strcmp.c [! WIDE]: Likewise.
12036 * time/tst-mktime2.c: Likewise for INT_MAX.
12037 * string/test-string.h: #include <sys/param.h> for MIN.
12038
228c019e
TS
12039 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12040 * sysdeps/i386/init-first.c (init): Likewise.
12041 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12042 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12043 * sysdeps/sh/init-first.c (init): Likewise.
12044
cfa633f5
UD
120452012-04-01 Ulrich Drepper <drepper@gmail.com>
12046
12047 * po/ru.po: Update from translation team.
d1635ef8 12048 * po/vi.po: Likewise.
cfa633f5 12049
6cd0a5ea
SP
120502012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12051
12052 * resolv/nss_dns/dns-host.c: Merge copyright years.
12053
4b43400f
LD
120542012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12055
12056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12057 Optimize memcpy with prefetch if
12058 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12059 src, dst pointers have unequal 16 byte alignments.
12060
48c41d04
SP
120612012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12062
12063 [BZ #13928]
12064 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12065 from a CNAME entry and return the minimum ttl for the query.
12066 (gaih_getanswer_slice): Likewise.
12067
b8dc394d
JL
120682012-03-30 Jeff Law <law@redhat.com>
12069
12070 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12071 due to long keys.
12072 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12073 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12074
2f5a5ed0
JL
12075 * resolv/nss_dns/dns-host.c: Update copyright year.
12076
1d39e359
UD
120772012-03-30 Ulrich Drepper <drepper@gmail.com>
12078
c030f70c 12079 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12080 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12081
1d39e359
UD
12082 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12083 comments for sendmmsg.
12084
120852012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12086
12087 [BZ #13691]
12088 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12089 with only 1 character between 0x0041 and 0x01b0.
12090 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12091 * wcsmbs/tst-mbsnrtowcs.c: New file.
12092
20fde227
DM
120932012-03-29 David S. Miller <davem@davemloft.net>
12094
12095 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12096 small copies by hand.
12097
984a4237
JL
120982012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12099
12100 [BZ #13761]
12101 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12102 _nss_compat_initgroups_dyn): Fall back to malloc/free
12103 for large group memberships.
12104
18c9d62b
DM
121052012-03-28 David S. Miller <davem@davemloft.net>
12106
88d85d4f
DM
12107 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12108 that branches into memcpy.
12109 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12112 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12114 bits.
12115 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12116 implementation too.
12117 * sysdeps/sparc/mempcpy.S: New file.
12118
e5aa83e1
DM
12119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12120 the IFUNC routine in the libc case.
12121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12122
88570753
DM
12123 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12124 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12125 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12126 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12127 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12128 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12129 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12130 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12131
249d7567
DM
12132 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12133 loop to 256 bytes instead of 64 bytes and fix test signedness.
12134
18c9d62b
DM
12135 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12136 * sysdeps/sparc/sparc32/Makefile: rather than here...
12137 * sysdeps/sparc/sparc64/Makefile: and here.
12138
05f3d1f6
UD
121392012-03-28 Ulrich Drepper <drepper@gmail.com>
12140
12141 * malloc/mallocbug.c: Avoid warnings about unused variables.
12142
86ae07a8
JL
121432012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12144
12145 [BZ #13760]
12146 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12147 in the right place. Discard and retry query if response is
12148 larger than input buffer size.
12149
41bf21a1
JM
121502012-03-28 Joseph Myers <joseph@codesourcery.com>
12151
d6270972
JM
12152 [BZ #369]
12153 [BZ #2678]
12154 [BZ #3866]
12155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12156 x for large integer exponent.
12157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12158 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12159 sign of result as needed afterwards.
12160 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12161 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12162 result for underflowing pow the same as for overflow.
12163 (__kernel_standard_l): Handle powl overflow and underflow here
12164 rather than calling __kernel_standard.
12165 * math/libm-test.inc (pow_test): Add more tests.
12166
414fca03 12167 [BZ #3868]
41bf21a1
JM
12168 [BZ #13879]
12169 [BZ #13910]
12170 [BZ #13911]
12171 [BZ #13912]
12172 [BZ #13913]
12173 [BZ #13915]
12174 [BZ #13916]
12175 [BZ #13917]
12176 [BZ #13918]
12177 [BZ #13919]
12178 [BZ #13920]
12179 [BZ #13921]
12180 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12181 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12182 (__kernel_standard_l): New function.
12183 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12184 __kernel_standard.
12185 * math/w_acosl.c (__acosl): Likewise.
12186 * math/w_asinl.c (__asinl): Likewise.
12187 * math/w_atan2l.c (__atan2l): Likewise.
12188 * math/w_atanhl.c (__atanhl): Likewise.
12189 * math/w_coshl.c (__coshl): Likewise.
12190 * math/w_exp10l.c (__exp10l): Likewise.
12191 * math/w_exp2l.c (__exp2l): Likewise.
12192 * math/w_fmodl.c (__fmodl): Likewise.
12193 * math/w_hypotl.c (__hypotl): Likewise.
12194 * math/w_j0l.c (__j0l, __y0l): Likewise.
12195 * math/w_j1l.c (__j1l, __y1l): Likewise.
12196 * math/w_jnl.c (__jnl, __ynl): Likewise.
12197 * math/w_lgammal.c (__lgammal): Likewise.
12198 * math/w_log10l.c (__log10l): Likewise.
12199 * math/w_log2l.c (__log2l): Likewise.
12200 * math/w_logl.c (__logl): Likewise.
12201 * math/w_powl.c (__powl): Likewise.
12202 * math/w_remainderl.c (__remainderl): Likewise.
12203 * math/w_scalbl.c (sysv_scalbl): Likewise.
12204 * math/w_sinhl.c (__sinhl): Likewise.
12205 * math/w_sqrtl.c (__sqrtl): Likewise.
12206 * math/w_tgammal.c (__tgammal): Likewise.
12207 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12208 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12209 * math/libm-test.inc (acos_test): Add more tests.
12210 (acosh_test): Likewise.
12211 (asin_test): Likewise.
12212 (atanh_test): Likewise.
12213 (exp_test): Likewise.
12214 (exp10_test): Likewise.
12215 (exp2_test): Likewise.
12216 (expm1_test): Likewise.
12217 (lgamma_test): Likewise.
12218 (log_test): Likewise.
12219 (log10_test): Likewise.
12220 (log1p_test): Likewise.
12221 (log2_test): Likewise.
12222 (pow_test): Do not allow some spurious overflow exceptions.
12223 (sqrt_test): Add more tests.
12224 (tgamma_test): Likewise.
12225 (y0_test): Likewise.
12226 (y1_test): Likewise.
12227 (yn_test): Likewise.
12228
dd62fda6
AB
122292012-03-27 Anton Blanchard <anton@samba.org>
12230
12231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12232 MAP_HUGETLB.
12233 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12234 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12236
1e3cdfda
AJ
122372012-03-27 David S. Miller <davem@davemloft.net>
12238
b855ab85
DM
12239 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12240
1e3cdfda
AJ
12241 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12242 have-as-vis3 check.
12243
122442012-03-27 Andreas Jaeger <aj@suse.de>
12245
12246 * sysdeps/x86_64/elf/configure.in: Moved to ...
12247 * sysdeps/x86_64/configure.in: ... here.
12248 * sysdeps/x86_64/elf/start.S: Moved to ...
12249 * sysdeps/x86_64/start.S: ... here.
12250 * sysdeps/x86_64/elf/configure: Delete.
12251
12252 * sysdeps/x86_64/configure.in: Merge contents from
12253 sysdeps/i386/configure.in (without i686 check).
12254
12255 * sysdeps/i386/elf/Versions: Merge into ...
12256 * sysdeps/i386/Versions: ... this.
12257 * sysdeps/i386/elf/Versions: Delete file.
12258 * sysdeps/i386/elf/start.S: Moved to ...
12259 * sysdeps/i386/start.S: ...here.
12260 * sysdeps/i386/elf/configure.in: Merge into...
12261 * sysdeps/i386/configure.in: ...here.
12262 * sysdeps/i386/elf/configure.in: Delete file.
12263 * sysdeps/i386/elf/configure: Delete file.
12264
12265 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12266 * debug/backtracesyms.c: ... here.
12267 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12268 * debug/backtracesymsfd.c: ... here.
12269 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12270 * sysdeps/generic/ifunc-sel.h: ... here.
12271
12272 * sysdeps/unix/i386/start.c: Delete file.
12273 * sysdeps/unix/sparc/start.c: Delete file.
12274 * sysdeps/unix/start.c: Delete file.
12275
12276 * sysdeps/sh/elf/configure.in: Moved to ...
12277 * sysdeps/sh/configure.in: ... here.
12278 * sysdeps/sh/elf/start.S: Moved to ...
12279 * sysdeps/sh/start.S: ... here.
12280 * sysdeps/sh/elf/configure: Delete file.
12281
12282 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12283 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12284 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12285 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12286 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12287 * sysdeps/powerpc/powerpc64/start.S: here.
12288 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12289 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12290 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12291 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12292 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12293
12294 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12295 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12296 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12297 * sysdeps/powerpc/powerpc32/start.S: ... here.
12298 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12299 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12300 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12301
12302 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12303 * sysdeps/powerpc/ifunc-sel.h: ... here.
12304 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12305 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12306
12307 * sysdeps/sparc/elf/configure.in: Moved to ...
12308 * sysdeps/sparc/configure.in: ... here.
12309 * sysdeps/sparc/elf/configure: Delete file.
12310 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12311 * sysdeps/sparc/sparc32/start.S: ... here.
12312 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12313 * sysdeps/sparc/sparc64/start.S: ... here.
12314 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12315 * sysdeps/sparc/sparc32/Makefile: ... this.
12316 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12317 * sysdeps/sparc/sparc64/Makefile: ... this.
12318
12319 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12320 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12321 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12322 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12323 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12324 * sysdeps/s390/s390-32/setjmp.S: ... here.
12325 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12326 * sysdeps/s390/s390-32/configure.in: ... here.
12327 * sysdeps/s390/s390-32/elf/configure: Delete file.
12328 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12329 * sysdeps/s390/s390-32/start.S: ... here.
12330
12331 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12332 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12333 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12334 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12335 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12336 * sysdeps/s390/s390-64/setjmp.S: ... here.
12337 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12338 * sysdeps/s390/s390-64/configure.in: ... here
12339 * sysdeps/s390/s390-64/elf/configure: Delete file.
12340 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12341 * sysdeps/s390/s390-64/start.S: ... here.
12342 * sysdeps/s390/s390-64/elf/configure: Delete.
12343
12344 * configure.in: Remove support for elf directories in sysdeps.
12345
12346 * configure: Regenerated.
12347 * sysdeps/i386/configure: Regenerated.
12348 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12349 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12350 * sysdeps/s390/s390-32/configure: Regenerated.
12351 * sysdeps/s390/s390-64/configure: Regenerated.
12352 * sysdeps/sh/configure: Regenerated.
12353 * sysdeps/sparc/configure: Regenerated.
12354 * sysdeps/x86_64/configure: Regenerated.
12355
a3f61311
AS
123562012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12357
c876e002
AS
12358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12359
a3f61311
AS
12360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12361 denormal result into account.
12362
ac4c54f0
RM
123632012-03-25 Roland McGrath <roland@hack.frob.com>
12364
12365 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12366 Reported by Allan McRae <allan@archlinux.org>.
12367
6a9b9c02
JL
123682012-03-23 Jeff Law <law@redhat.com>
12369
12370 * nss/getnssent.c (__nss_getent): Fix typo.
12371
4c42a0c1
DM
123722012-03-23 David S. Miller <davem@davemloft.net>
12373
12374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12375
1532c7ac
L
123762012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12377
12378 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12379 to pad to uint64_t for each field.
12380 (dl_tls_index): Replace unsigned long with uint64_t.
12381
3ff42526
PP
123822012-03-23 Daniel Jacobowitz <dmj@google.com>
12383 Paul Pluzhnikov <ppluzhnikov@google.com>
12384
12385 [BZ #6528]
12386 * grp/Makefile (otherlibs): Don't set it.
12387 * inet/Makefile (otherlibs): Likewise.
12388 * login/Makefile (otherlibs): Likewise.
12389 * nscd/Makefile (otherlibs): Likewise.
12390 * posix/Makefile (otherlibs): Likewise.
12391 * pwd/Makefile (otherlibs): Likewise.
12392 * rt/Makefile (otherlibs): Likewise.
12393 * sunrpc/Makefile (otherlibs): Likewise.
12394 * nss/Makefile (otherlibs): Likewise.
12395 Add libnss_files to routines and static-only-routines.
12396 ($(objpfx)getent): Remove rule.
12397 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12398 static-only-routines.
12399
7c69cd14
JM
124002012-03-22 Joseph Myers <joseph@codesourcery.com>
12401
12402 [BZ #13892]
12403 * math/s_cexp.c: Include <float.h>.
12404 (__cexp): Handle exp result overflowing not necessarily
12405 overflowing both real and imaginary parts of result.
12406 * math/s_cexpf.c: Likewise.
12407 * math/s_cexpl.c: Likewise.
12408 * math/libm-test.inc (cexp_test): Add more tests.
12409 * sysdeps/i386/fpu/libm-test-ulps: Update.
12410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12411
81b035fe
L
124122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12413
12414 * include/link.h (ELFW): New macro.
12415 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12416 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12417
1da7940c
L
124182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12419
12420 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12421 with uint64_t.
12422
b749dbb9
L
124232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12424
12425 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12426 declaration.
12427 (struct La_x32_retval): Likewise.
12428
2ff87f3f
L
124292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12430
12431 * sysdeps/x86_64/preconfigure.in: New file.
12432 * sysdeps/x86_64/preconfigure: New generated file.
12433
c0df8e69
JM
124342012-03-22 Joseph Myers <joseph@codesourcery.com>
12435
48e44791
JM
12436 [BZ #13824]
12437 * math/e_exp2l.c: Include <float.h>.
12438 (__ieee754_exp2l): Handle overflow and underflow cases
12439 separately. Only pass fractional part of argument to
12440 __ieee754_expl.
12441 * math/libm-test.inc (exp2_test): Add more tests.
12442
c0df8e69
JM
12443 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12444 negating x to take absolute value.
12445 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12446 Likewise.
12447 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12448 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12449 Likewise.
12450 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12451 computing low part if x was negated.
12452 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12453
c8e43ba7
L
124542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12457 la_x32_gnu_pltexit.
12458 (pltexit): Cast int_retval to ptrdiff_t.
12459 * elf/tst-auditmod3b.c: Likewise.
12460 * elf/tst-auditmod4b.c: Likewise.
12461 * elf/tst-auditmod5b.c: Likewise.
12462 * elf/tst-auditmod6b.c: Likewise.
12463 * elf/tst-auditmod6c.c: Likewise.
12464 * elf/tst-auditmod7b.c: Likewise.
12465
12466 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12467 and x32_gnu_pltexit.
12468
12469 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12470 __ELF_NATIVE_CLASS.
12471 (La_x32_regs): New macro.
12472 (La_x32_retval): Likewise.
12473 (la_x32_gnu_pltenter): New function prototype.
12474 (la_x32_gnu_pltexit): Likewise.
12475
7998fa78
AS
124762012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12477
dcb33988
AS
12478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12479 exponent.
12480
233fc563
AS
12481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12482
7998fa78
AS
12483 * configure.in (libc_cv_cc_nofma): Check for option to disable
12484 generation of FMA instructions.
12485 * configure: Regenerate.
12486 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12487 * sysdeps/ieee754/dbl-64/Makefile: New file.
12488 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12489 Remove brandred-fma4.
12490 (CFLAGS-brandred-fma4.c): Remove.
12491 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12493 define.
12494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12495 define.
12496
8e95c99a
L
124972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12498
12499 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12500 LLONG_MAX != LONG_MAX.
12501 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12502 (_fitoa_word): Likewise.
12503 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12504 LLONG_MAX != LONG_MAX.
12505 * stdio-common/_itowa.h: Include <_itoa.h>.
12506 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12507 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12508 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12509 only if not defined.
12510 (_ITOA_WORD_TYPE): Likewise.
12511 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12512 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12513
6f4db457
DM
125142012-03-21 David S. Miller <davem@davemloft.net>
12515
12516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12517
7785fe5a
L
125182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12519
12520 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12521 of x86_64 when setting libc_cv_slibdir, libdir and
12522 libc_cv_localedir.
12523 * sysdeps/unix/sysv/linux/configure: Regenerated.
12524
4535cd55
JM
125252012-03-21 Joseph Myers <joseph@codesourcery.com>
12526
12527 * manual/lang.texi (Old Varargs): Remove section.
12528 (How Variadic): Update menu.
12529 (va_start): Do not mention varargs.h.
12530
17228132
TS
125312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12532 Joseph Myers <joseph@codesourcery.com>
12533
12534 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12535 link test.
12536 * configure: Regenerated.
12537
8149f976
TS
125382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12539
05f3d1f6
UD
12540 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12541 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12542 conformtest.pl
8149f976 12543
1a4ac776
JM
125442012-03-21 Joseph Myers <joseph@codesourcery.com>
12545
be22ce65
JM
12546 * NOTES: Remove.
12547 * Makefile (files-for-dist): Remove NOTES.
12548 (NOTES): Remove rule.
12549 * README: Don't refer to NOTES.
12550 * manual/creature.texi: Don't include macros.texi.
12551 * manual/intro.texi (creature.texi): Remove comment referring to
12552 NOTES.
12553
40b601fb
JM
12554 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12555 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12556 * configure: Regenerated.
12557 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12558 LIBC_TRY_CC_OPTION.
12559 (libc_cv_as_i686): Likewise.
12560 (libc_cv_cc_avx): Likewise.
12561 (libc_cv_cc_sse2avx): Likewise.
12562 (libc_cv_cc_fma4): Likewise.
12563 (libc_cv_cc_novzeroupper): Likewise.
12564 * sysdeps/i386/configure: Regenerated.
12565
1a4ac776
JM
12566 [BZ #13883]
12567 * sysdeps/i386/fpu/s_cexp.S: Remove.
12568 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12569 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12570 * math/libm-test.inc (cexp_test): Add more tests.
12571 * sysdeps/i386/fpu/libm-test-ulps: Update.
12572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12573
a458e7fe
AM
125742012-03-21 Allan McRae <allan@archlinux.org>
12575
12576 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12577
0cb7efc5
JM
125782012-03-21 Joseph Myers <joseph@codesourcery.com>
12579
12580 [BZ #13871]
12581 * math/w_exp2.c: Do not include <float.h>.
12582 (o_threshold, u_threshold): Remove.
12583 (__exp2): Calculate result before checking finiteness and calling
12584 __kernel_standard.
12585 * math/w_exp2f.c: Likewise.
12586 * math/w_exp2l.c: Likewise.
12587 * math/libm-test.inc (exp2_test): Require overflow exception for
12588 1e6 input.
2460d3aa
JM
12589
12590 [BZ #3866]
12591 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12592 range of signed 64-bit integers before using fistpll. Remove
12593 checks for whether integers fit in mantissa bits.
12594 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12595 the range of signed 32-bit integers before using fistpl. Remove
12596 checks for whether integers fit in mantissa bits.
12597 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12598 (__ieee754_powl): Test for y outside the range of signed 64-bit
12599 integers before using fistpll. Reduce 64-bit values to 63-bit
12600 ones as needed.
12601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12602 divide-by-zero is raised for zero to large negative powers.
12603 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12604 (__ieee754_powl): Test for y outside the range of signed 64-bit
12605 integers before using fistpll. Reduce 64-bit values to 63-bit
12606 ones as needed.
12607 * math/libm-test.inc (pow_test): Add more tests.
12608
eb96ffb0
L
126092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12610
12611 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12612 <stdio-common/_itoa.h>.
12613 * debug/segfault.c: Likewise.
12614 * elf/dl-cache.c: Likewise.
12615 * elf/dl-minimal.c: Likewise.
12616 * elf/dl-misc.c: Likewise.
12617 * elf/dl-sysdep.c: Likewise.
12618 * elf/dl-version.c: Likewise.
12619 * elf/rtld.c: Likewise.
12620 * hurd/hurdsock.c: Likewise.
12621 * hurd/lookup-retry.c: Likewise.
12622 * malloc/malloc.c: Likewise.
12623 * malloc/mtrace.c: Likewise.
12624 * nscd/nscd_getgr_r.c: Likewise.
12625 * nscd/nscd_getpw_r.c: Likewise.
12626 * nscd/nscd_getserv_r.c: Likewise.
12627 * posix/getopt_init.c: Likewise.
12628 * posix/wordexp.c: Likewise.
12629 * stdio-common/_itoa.c: Likewise.
12630 * stdio-common/printf_fphex.c: Likewise.
12631 * stdio-common/vfprintf.c: Likewise.
12632 * string/_strerror.c: Likewise.
12633 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12634 * sysdeps/i386/i686/hp-timing.h: Likewise.
12635 * sysdeps/mach/_strerror.c: Likewise.
12636 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12637 * sysdeps/mach/hurd/sethostid.c: Likewise.
12638 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12639 * sysdeps/mach/xpg-strerror.c: Likewise.
12640 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12642 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12643 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12644 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12645 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12646 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12647 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12648 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12649 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12650 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12651 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12652 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12653 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12654 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12655 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12656 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12657 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12658 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12659 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12660 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12661
12662 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12663
12664 * stdio-common/_itoa.h: Moved to ...
12665 * sysdeps/generic/_itoa.h: Here.
12666
12667 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12668
12669 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12670 instead of "_itoa.h" and "_itowa.h".
12671 * stdio-common/vfprintf.: Likewise.
12672
d1af992d
L
126732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12676 <bits/wordsize.h>.
12677 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12678 (__signbit): Likwise.
12679 (llrintf): Likwise.
12680 (llrint): Likwise.
12681
114883e0
L
126822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12683
12684 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12685 __WORDSIZE != 64.
12686
c135cc1b
JM
126872012-03-20 Joseph Myers <joseph@codesourcery.com>
12688
12689 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12690 OVERFLOW_EXCEPTION_OK.
12691 * math/libm-test.inc ("Philosophy"): Update comment about
12692 exception testing.
12693 (OVERFLOW_EXCEPTION): Define.
12694 (OVERFLOW_EXCEPTION_OK): Likewise.
12695 (INVALID_EXCEPTION_OK): Renumber.
12696 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12697 (IGNORE_ZERO_INF_SIGN): Likewise.
12698 (test_exceptions): Handle FE_OVERFLOW.
12699 (exp10_test): Expect overflow exceptions.
12700 (exp2_test): Likewise.
12701 (expm1_test): Likewise.
12702 (nextafter_test): Likewise.
12703 (pow_test): Likewise.
12704 (scalbn_test): Likewise.
12705 (scalbln_test): Likewise.
12706
95443d88
L
127072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12708
12709 * sysdeps/x86_64/bits/atomic.h
12710 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12711 64bit integer.
12712 (atomic_exchange_acq): Likewise.
12713 (__arch_exchange_and_add_body): Likewise.
12714 (__arch_add_body): Likewise.
12715 (atomic_add_negative): Likewise.
12716 (atomic_add_zero): Likewise.
12717
490df6c4
L
127182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12719
c2722551 12720 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12721 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12722
5e52b189
L
127232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12724
12725 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12726 Check __x86_64__ instead of __WORDSIZE.
12727
a9879d4c
L
127282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12729
12730 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12731
5df98260
DM
127322012-03-19 David S. Miller <davem@davemloft.net>
12733
e1497744
DM
12734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12735
5df98260
DM
12736 * sysdeps/sparc/fpu/fenv_private.h: New file.
12737 * sysdeps/sparc/fpu/math_private.h: Use it.
12738 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12739 Remove.
12740 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12741 (libc_feholdexcept_setroundl): Remove.
12742 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12743 Remove.
12744 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12745 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12746
b4c35121
L
127472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12748
12749 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12750 int64_t instead of long int.
12751 (INSERT_WORDS64): Likwise.
12752
56965fd7
L
127532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12754
12755 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12756 _Unwind_GetCFA return to _Unwind_Ptr first.
12757
83d1aec8
JM
127582012-03-19 Joseph Myers <joseph@codesourcery.com>
12759
1897ad44
JM
12760 [BZ #13629]
12761 * math/s_clog.c: Include <float.h>.
12762 (__clog): Scale large or subnormal inputs.
12763 * math/s_clogf.c: Likewise.
12764 * math/s_clogl.c: Likewise.
12765 * math/s_clog10.c: Include <float.h>.
12766 (M_LOG10_2): Define.
12767 (__clog10): Scale large or subnormal inputs.
12768 * math/s_clog10f.c: Likewise.
12769 * math/s_clog10l.c: Likewise.
12770 * math/libm-test.inc (clog_test): Add more tests.
12771 (clog10_test): Likewise.
12772 * sysdeps/i386/fpu/libm-test-ulps: Update.
12773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12774
7726d6a9
JM
12775 [BZ #11451]
12776 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12777 x and y.
12778 * math/libm-test.inc (atan2_test): Add another test.
12779
83d1aec8
JM
12780 * Makerules (common-objdir-compile): Remove.
12781 * sysdeps/unix/Makefile (config-generated): Do not add
12782 $(unix-generated) to variable.
12783 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12784 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12785 Remove rule.
12786 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12787 Likewise.
12788 [generic bits/local_lim.h] (before-compile): Do not append to
12789 variable.
12790 [generic bits/local_lim.h] (common-generated): Likewise.
12791 [generic sys/param.h] (before-compile): Do not append to variable.
12792 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12793 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12794 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12795 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12796 include.
12797 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12798 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12799 [generic sys/param.h] ($(addprefix
12800 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12801 [generic sys/param.h] (common-generated): Do not append to
12802 variable.
12803 [generic sys/param.h] (sysdep_headers): Likewise.
12804 [generic bits/errno.h] (before-compile): Do not append to
12805 variable.
12806 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12807 rule.
12808 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12809 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12810 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12811 [generic bits/errno.h] (common-generated): Do not append to
12812 variable.
12813 [generic bits/ioctls.h] (before-compile): Do not append to
12814 variable.
12815 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12816 rule.
12817 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12818 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12819 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12820 rule.
12821 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12822 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12823 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12824 [generic bits/ioctls.h] (common-generated): Do not append to
12825 variable.
12826 [generic sys/syscall.h] (syscall.h): Remove variable.
12827 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12828 rule.
12829 [generic sys/syscall.h] (before-compile): Do not append to
12830 variable.
12831 [generic sys/syscall.h] (common-generated): Likewise.
12832 * sysdeps/unix/errnos-tmpl.c: Remove file.
12833 * sysdeps/unix/errnos.awk: Likewise.
12834 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12835 * sysdeps/unix/ioctls.awk: Likewise.
12836 * sysdeps/unix/mk-local_lim.c: Likewise.
12837 * sysdeps/unix/snarf-ioctls: Likewise.
12838
4851a949
RH
128392012-03-19 Richard Henderson <rth@twiddle.net>
12840
bd37f2ee
RH
12841 * sysdeps/i386/fpu/fenv_private.h: New file.
12842 * sysdeps/i386/fpu/math_private.h: Use it.
12843 (math_opt_barrier, math_force_eval): Remove.
12844 (libc_feholdexcept_setround_53bit): Remove.
12845 (libc_feupdateenv_53bit): Remove.
12846 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12847 (math_opt_barrier, math_force_eval): Remove.
12848 (libc_feholdexcept): Remove.
12849 (libc_feholdexcept_setround): Remove.
12850 (libc_fetestexcept, libc_fesetenv): Remove.
12851 (libc_feupdateenv_test): Remove.
12852 (libc_feupdateenv, libc_feholdsetround): Remove.
12853 (libc_feresetround): Remove.
12854
d0adc922
RH
12855 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12856 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12857
0fe0f1f8
RH
12858 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12859 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12860 (libc_feupdateenv_testl): New.
12861 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12862 (libc_feupdateenv_testf): New.
12863 (libc_feupdateenv): Use libc_feupdateenv_test.
12864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12866
eb92c487
RH
12867 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12868 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12869 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12870 (libc_feresetround_noex): New.
12871 (libc_feresetround_noexf): New.
12872 (libc_feresetround_noexl): New.
12873 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12874 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12875 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12876 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12877 SET_RESTORE_ROUND.
12878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12880 (__cos): Likewise.
12881 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12882 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12883 SET_RESTORE_ROUND_NOEX.
12884 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12885 SET_RESTORE_ROUND_NOEXF.
12886 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12887 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12888 (libc_feholdsetroundf): New.
12889 (libc_feresetround, libc_feresetroundf): New.
12890
7d2e8012
RH
12891 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12892 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12893 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12894
b4dabbb4
RH
12895 * sysdeps/generic/math_private.h: Include <fenv.h>.
12896 (default_libc_feholdexcept): New.
12897 (default_libc_feholdexcept_setround): New.
12898 (default_libc_fesetenv, default_libc_feupdateenv): New.
12899 (libc_feholdexcept): Only define if undefined.
12900 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12901 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12902 (libc_feholdexcept_setroundl): Likewise.
12903 (libc_feholdexcept_setround_53bit): Likewise.
12904 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12905 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12906 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12907 (libc_feupdateenv_53bit): Likewise.
12908 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12909 (libc_feholdexcept): Convert from macro to inline function.
12910 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12911 (libc_fesetenv, libc_feupdateenv): Likewise.
12912
4851a949
RH
12913 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12914 not previously defined.
12915 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12916 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12917 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12918 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12919 * sysdeps/ieee754/flt-32/math_private.h: New file.
12920 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12921 math_private.h below SET_FLOAT_WORD.
12922 (__isnan, __isinf_ns, __finite): Remove.
12923 (__isnanf, __isinf_nsf, __finitef): Remove.
12924
e79d442e
AS
129252012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12926
12927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12928
90b80344
DM
129292012-03-17 David S. Miller <davem@davemloft.net>
12930
12931 [BZ #6471]
12932 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12933 for 2.16.
12934
edc21804
DM
129352012-03-16 David S. Miller <davem@davemloft.net>
12936
77e927af
DM
12937 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12938 warnings.
12939
374976dd
DM
12940 [BZ #6471]
12941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12942 properly.
12943 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12944 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12945 sysdep_routines when subdir is sysvipc.
12946 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12947 __getshmlba helper.
12948
edc21804
DM
12949 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12950
473c3ef3
L
129512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12952
12953 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12954 [__LP64__].
12955
eb0f39b6
L
129562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12957
12958 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12959 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12960 (__lround): Renamed to ...
12961 (__llround): This. Replace long int with long long int.
12962 Define lround functions as aliases of llround functions.
12963 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12964
6b6cd74b
L
129652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12966
12967 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12968 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12969 adresses to uintptr_t. Replace "long int" and "unsigned long
12970 int" with "greg_t" on va_arg.
12971
f1a77b01
L
129722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12973
12974 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12975 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12976
12977 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12978 Move e_machine check before EI_CLASS check. Handle x32
12979 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12980 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12981 SKIP_EM_IA_64 and include
12982 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12983
12984 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12985 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12986 (add_system_dir): New macro.
12987
12988 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12989 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12990
11b90b9f
JM
129912012-03-16 Joseph Myers <joseph@codesourcery.com>
12992
c36e1d23
JM
12993 [BZ #2551]
12994 [BZ #2552]
12995 [BZ #2553]
12996 [BZ #2554]
12997 [BZ #2562]
12998 [BZ #2563]
12999 [BZ #2565]
13000 [BZ #2566]
13001 [BZ #2576]
13002 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13003 (y0): Likewise.
13004 * math/w_j0f.c (j0f): Likewise.
13005 (y0f): Likewise.
13006 * math/w_j0l.c (__j0l): Likewise.
13007 (__y0l): Likewise.
13008 * math/w_j1.c (j1): Likewise.
13009 (y1): Likewise.
13010 * math/w_j1f.c (j1f): Likewise.
13011 (y1f): Likewise.
13012 * math/w_j1l.c (__j1l): Likewise.
13013 (__y1l): Likewise.
13014 * math/w_jn.c (jn): Likewise.
13015 (yn): Likewise.
13016 * math/w_jnf.c (jnf): Likewise.
13017 (ynf): Likewise.
13018 * math/w_jnl.c (__jnl): Likewise.
13019 (__ynl): Likewise.
13020 * math/libm-test.inc (j0_test): Add more tests.
13021 (j1_test): Likewise.
13022 (jn_test): Likewise. Add trailing semicolon to existing test.
13023 (y0_test): Likewise.
13024 (y1_test): Likewise.
13025 * sysdeps/i386/fpu/libm-test-ulps: Update.
13026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13027
11b90b9f
JM
13028 [BZ #13851]
13029 [BZ #13854]
13030 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13031 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13032 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13033 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13034 (__tanl): Set errno for infinite argument.
13035 * sysdeps/i386/fpu/mptan.c: Remove.
13036 * sysdeps/i386/fpu/s_tan.S: Likewise.
13037 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13038 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13039 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13040 * math/libm-test.inc (tan_test): Add more tests and enable more
13041 tests for double and long double.
13042 * sysdeps/i386/fpu/libm-test-ulps: Update.
13043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13044
6a1bd2a1
JK
130452012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13046
13047 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13048 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13049
10a803e0
RM
130502012-03-16 Roland McGrath <roland@hack.frob.com>
13051
13052 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13053 * configure.in: Use it for both main tree and add-ons.
13054 * configure: Regenerated.
13055
f196c7f7
L
130562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13057
13058 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13059
8848d99d
JM
130602012-03-16 Joseph Myers <joseph@codesourcery.com>
13061
96cbe7f4
JM
13062 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13063 in comment.
13064
8848d99d
JM
13065 [BZ #13851]
13066 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13067 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13071 infinite argument.
13072 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13073 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13074 != 0 for prec == 2.
13075 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13076 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13077 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13078 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13079 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13080 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13081 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13082 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13083 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13084 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13085 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13086 * math/libm-test.inc (cos_test): Add more tests and enable more
13087 tests for long double.
13088 (sin_test): Likewise.
13089 (sincos_test): Likewise.
13090 * sysdeps/i386/fpu/libm-test-ulps: Update.
13091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13092
dd7f4703
DM
130932012-03-16 David S. Miller <davem@davemloft.net>
13094
13095 * sysdeps/sparc/fpu/math_private.h: New file.
13096
006f1daa
DM
130972012-03-15 David S. Miller <davem@davemloft.net>
13098
c0c83bc8
DM
13099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13100 file.
e6a62e18 13101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13103 file.
e6a62e18
DM
13104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13110 sysdep routines.
13111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13112
88cb87d9
DM
13113 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13114 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13115
006f1daa 13116 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13118 sparc-ifunc.h
006f1daa 13119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13121 Likewise.
13122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13123 Likewise.
006f1daa
DM
13124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13128 Likewise.
006f1daa
DM
13129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13134 Likewise.
13135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13136 Likewise.
006f1daa
DM
13137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13161
11e0098e
AS
131622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13163
13164 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13165 scaling.
13166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13167
e85b09d0
AJ
131682012-03-15 Andreas Jaeger <aj@suse.de>
13169
13170 [BZ #13852]
13171 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13172 ieee754/flt-32 implementation for sin, cos and sincos.
13173 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13174 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13175 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13176 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13177 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13178 ieee754/flt-32 implementation for tan.
13179
13180 * math/libm-test.inc (cos_test): Enable some large input tests for
13181 float as well
13182 (sin_test): Likewise.
13183 (sincos_test): Likewise.
13184 (tan_test): Add tests for large input.
13185
13186 * sysdeps/i386/fpu/libm-test-ulps: Update.
13187
81c64153
AJ
131882012-03-15 Andreas Jaeger <aj@suse.de>
13189
13190 [BZ #13658]
13191 * math/libm-test.inc (cos_test): Add more test cases.
13192 (sin_test): Likewise.
13193 (sincos_test): Likewise.
13194
7bbfa5c6
AJ
131952012-03-15 Andreas Jaeger <aj@suse.de>
13196
13197 [BZ #13837]
13198 * math/libm-test.inc (cos_test): Add a test case for large input
13199 value.
13200 (sin_test): Likewise.
13201 (sincos_test): Likewise.
13202
132032012-03-15 Andreas Jaeger <aj@suse.de>,
13204 Joseph Myers <joseph@codesourcery.com>
13205
13206 [BZ #13658]
0671f479 13207 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13208 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13209 * sysdeps/i386/fpu/branred.c: Likewise.
13210 * sysdeps/i386/fpu/dosincos.c: Likewise.
13211 * sysdeps/i386/fpu/mpa.c: Likewise.
13212 * sysdeps/i386/fpu/s_cos.S: Likewise.
13213 * sysdeps/i386/fpu/s_sin.S: Likewise.
13214 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13215 * sysdeps/i386/fpu/sincos32.c: Likewise.
13216
13217 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13218 Define.
13219 (libc_feupdateenv_53bit): Define.
13220 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13221 Define.
13222 (libc_feupdateenv_53bit): Define.
13223
13224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13225 53 bit (without extend i386 double precision).
13226
13227 * math/libm-test.inc (sincos_test): Add tests for large input.
13228 (sin): Likewise.
13229 (cos): Likewise.
13230
13231 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13232
9cad04ea
AS
132332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13234
13235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13236
f7062b9a
DM
132372012-03-15 David S. Miller <davem@davemloft.net>
13238
13239 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13240 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13241 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13242 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13255 file.
f7062b9a 13256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13258 file.
f7062b9a 13259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13261 file.
f7062b9a 13262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13264 file.
f7062b9a
DM
13265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13267 fmin/fmax sysdep routines.
13268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13269
7bd951ff
DM
132702012-03-14 David S. Miller <davem@davemloft.net>
13271
559398ab
DM
13272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13301 routines.
13302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13303 file.
559398ab 13304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13306 file.
559398ab 13307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13309 file.
559398ab 13310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13312 file.
559398ab 13313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13315 file.
559398ab 13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13318 file.
13319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13320 file.
13321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13322 file.
13323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13324 file.
13325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13326 New file.
13327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13328 file.
13329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13330 file.
559398ab 13331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13333 file.
559398ab 13334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13336 file.
559398ab 13337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13339 file.
559398ab 13340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13342 VIS3 routines.
559398ab
DM
13343
13344 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13345 New file.
13346
5a1c1e32
DM
13347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13348
eae47a36
DM
13349 * sysdeps/sparc/configure.in: New file.
13350 * sysdeps/sparc/configure: Generate.
13351 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13352 * configure: Regenerate.
13353 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13354 * config.make.in (have-as-vis3): New.
13355 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13356 available use -Av9d instead of -Av9a.
13357 * sysdeps/sparc/sparc64/Makefile: Likewise.
13358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13360 New file.
13361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13362 file.
13363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13364 New file.
13365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13366 file.
eae47a36
DM
13367 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13372
c0c83bc8
DM
13373 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13374 fzeros/fnegs to load 0x80000000 into a float register instead of
13375 using the stack.
7bd951ff
DM
13376 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13377
bd951ccb
JM
133782012-03-14 Joseph Myers <joseph@codesourcery.com>
13379
13380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13381 bits/syscall.h.
13382 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13383 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13384 ($(inst_includedir)/bits/syscall.h): Remove rule.
13385 ($(objpfx)bits/syscall.d): Include instead of
13386 $(objpfx)syscall-list.d.
13387 (generated): Change syscall-list.h and syscall-list.d to
13388 bits/syscall.h and bits/syscall.d.
13389
bb4e6db2
RM
133902012-03-14 Roland McGrath <roland@hack.frob.com>
13391
13392 [BZ #13846]
13393 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13394
aa4a2ae1
JM
133952012-03-14 Joseph Myers <joseph@codesourcery.com>
13396
e456826d
JM
13397 [BZ #13841]
13398 * math/s_csqrt.c: Include <float.h>.
13399 (__csqrt): Scale large or subnormal inputs.
13400 * math/s_csqrtf.c: Likewise.
13401 * math/s_csqrtl.c: Likewise.
13402 * math/libm-test.inc (csqrt_test): Add more tests.
13403 * sysdeps/i386/fpu/libm-test-ulps: Update.
13404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13405
aa4a2ae1
JM
13406 [BZ #13840]
13407 * math/libm-test.inc (hypot_test): Add more tests.
13408
7c10fd35
DM
134092012-03-13 David S. Miller <davem@davemloft.net>
13410
13411 [BZ #13840]
13412 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13413 double-precision for the calculation instead of scaling.
13414
f453b98b
JM
134152012-03-13 Joseph Myers <joseph@codesourcery.com>
13416
13417 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13418 manipulate bits before adding and subtracting TWO52[sx].
13419 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13420 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13421 Likewise.
13422 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13423
09a3453f
DM
134242012-03-13 David S. Miller <davem@davemloft.net>
13425
8e59da90
DM
13426 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13427 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13429 rtld-global-offsets.h
13430 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13431
2a8ab7f2
DM
13432 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13433 large parameters.
13434
10f62770
DM
13435 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13436
5f0bdb18
DM
13437 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13438 'err' in the ifdef scope in which it is actually used.
13439
09a3453f
DM
13440 * nss/nss_db/db-init.c: Include string.h
13441
b4b2eb5e
DM
134422012-03-12 David S. Miller <davem@davemloft.net>
13443
98bb2f1c
DM
13444 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13445 masking out of the most significant byte of random value used.
13446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13447 Fix coding style in previous change.
13448
b4b2eb5e
DM
13449 * sysdeps/unix/sysv/linux/kernel-features.h
13450 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13451 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13452 expression.
13453 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13454 later.
13455
6e226b09
DM
134562012-03-11 David S. Miller <davem@davemloft.net>
13457
a1bcbd40
DM
13458 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13459 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13461 for 'resultvar' otherwise things get truncated on 64-bit.
13462
cb9d6174
DM
13463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13464 Fix masking out of the most significant byte of random value used.
13465
6e226b09
DM
13466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13467
058c132d
AS
134682012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13469
13470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13471
2d2cd515
DM
134722012-03-09 David S. Miller <davem@davemloft.net>
13473
13474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13475 variables with appropriate CPP guards.
13476 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13477 frame pointer, not the stack pointer. Correct layout comments. Fix test
13478 on resulting framesize and the management of the outregs buffer for pltexit.
13479 Preserve floating point return values across _dl_call_pltexit call.
13480 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13481 framesize and the management of the outregs buffer for pltexit.
13482 Preserve floating point return values across _dl_call_pltexit
13483 call.
13484 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13485 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13486 (print_exit): Fix format string for return register value.
13487
9a07f9d0
JM
134882012-03-10 Joseph Myers <joseph@codesourcery.com>
13489
13490 * sunrpc/Makefile (others): Add rpcgen.
13491 ($(objpfx)rpcgen): Remove special build rule and dependency on
13492 libc.
13493 * sunrpc/rpcgen.c: New file.
13494
547b5e30
PE
134952012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13496
c524201a
PE
13497 [BZ #13673]
13498 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13499 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13500 * sysdeps/i386/crti.S: Likewise.
13501 * sysdeps/i386/crtn.S: Likewise.
13502 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13503 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13504 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13505 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13506 * sysdeps/sh/crti.S: Likewise.
13507 * sysdeps/sh/crtn.S: Likewise.
13508 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13509
7b6235f2
PE
13510 [BZ #13673]
13511 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13512 with URL.
13513 * locale/programs/locfile-kw.gperf: Likewise.
13514 * locale/programs/charmap-kw.h: Regenerated.
13515 * locale/programs/locfile-kw.h: Likewise.
13516
547b5e30
PE
13517 [BZ #13673]
13518 * intl/plural.y: Replace FSF snail mail address with URL.
13519 * intl/plural.c: Regenerated.
13520
5f0a5dae
RH
135212012-03-09 Richard Henderson <rth@twiddle.net>
13522
13523 * include/math_private.h: Remove file.
13524 * math/math_private.h: Move file ...
13525 * sysdeps/generic/math_private.h: ... here.
13526
b8c03620
RH
13527 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13528 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13529 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13530
4e234f5d 13531 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13532 and <math_private.h>.
13533 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13534 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13535 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13536 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13537 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13621 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13622 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13623 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13624 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13625 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13626 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13627 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13628 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13629 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13630 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13631 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13632 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13633 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13634 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13635 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13636 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13637 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13638 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13639 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13640 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13641 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13642 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13643 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13644 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13645 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13646 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13647 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13648 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13649 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13650 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13651 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13652 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13653 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13654 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13655 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13656 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13657 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13658 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13659 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13660 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13661 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13662 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13663 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13664 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13665 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13666 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13667 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13668 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13669 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13670 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13671 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13672 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13673 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13674 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13675 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13676 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13677 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13679 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13681 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13682 * sysdeps/ieee754/k_standard.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13798 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13802 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13803 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13805 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13810 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13815 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13831 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13832 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13833 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13843 * sysdeps/ieee754/s_lib_version.c: Likewise.
13844 * sysdeps/ieee754/s_matherr.c: Likewise.
13845 * sysdeps/ieee754/s_signgam.c: Likewise.
13846 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13847 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13848 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13849 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13850 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13851 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13852 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13853 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13854 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13855 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13856 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13857 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13858 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13859 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13860 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13861 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13862 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13863 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13864 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13866 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13867
1991fa03
JM
138682012-03-09 Joseph Myers <joseph@codesourcery.com>
13869
13870 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13871 * sunrpc/rpc_main.c: Likewise.
13872 * sunrpc/rpc_svcout.c: Likewise.
13873
60d6f5a6
DM
138742012-03-09 David S. Miller <davem@davemloft.net>
13875
13876 * include/math_private.h: New file.
13877
4962050e
JM
138782012-03-09 Joseph Myers <joseph@codesourcery.com>
13879
02a6f887
JM
13880 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13881 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13882 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13883 from <bits/socket_type.h>.
13884 (enum __socket_type): Don't define here.
13885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13887 bits/socket_type.h.
13888
c6e013c1
JM
13889 [BZ #13566]
13890 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13891 checking __USE_GNU.
13892
4962050e
JM
13893 * Makerules ($(inst_includedir)/%.h): New rule.
13894 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13895 (install-others): Remove variable setting.
13896 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13897
38842f45
RH
138982012-03-08 Richard Henderson <rth@twiddle.net>
13899
67bb6da6
RH
13900 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13901 from macro to inline function; merge with the
13902 !__LIBC_INTERNAL_MATH_INLINES version.
13903 (__ieee754_sqrtf): Likewise.
13904
15194b4b
RH
13905 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13906 to inline function.
13907 (__rintf, __floor, __floorf): Likewise.
13908
64e21ede
RH
13909 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13910 macro to inline function.
13911 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13912
38842f45
RH
13913 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13914 not <math/math_private.h>.
13915
c64bf5fe
DM
139162012-03-08 David S. Miller <davem@davemloft.net>
13917
13918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13919 copyright year.
13920 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13921
82d86f28
TS
139222012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13923
13924 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13925 normalization.
13926 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13927 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13928
aea5d727
UD
139292012-03-08 Ulrich Drepper <drepper@gmail.com>
13930
13931 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13932 be defined individually, they must be defined as a block. Define
13933 S for printing a string instead of hidint the different by using a
13934 macro for adding the 'l'.
13935 * stdio-common/tst-fphex-wide.c: Adjust.
13936
70bca0a3
MP
139372012-03-07 Marek Polacek <polacek@redhat.com>
13938
13939 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13940
65b81130
MP
139412012-03-08 Marek Polacek <polacek@redhat.com>
13942
13943 [BZ #13806]
13944 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13945 * stdio-common/tst-fphex.c: Define a few macros to make the
13946 test reusable. Use them.
13947 * stdio-common/tst-fphex-wide.c: New file.
13948
07037eeb
JM
139492012-03-08 Joseph Myers <joseph@codesourcery.com>
13950
a7a93d50
JM
13951 [BZ #6911]
13952 * manual/macros.texi (gnusystems): New macro.
13953 (nongnusystems): Likewise.
13954 (gnulinuxhurdsystems): Likewise.
13955 (gnuhurdsystems): Likewise..
13956 (gnulinuxsystems): Likewise.
13957 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13958 variants of the GNU system, not "GNU system".
13959 * manual/conf.texi: Likewise.
13960 * manual/errno.texi: Likewise. Update example of errno macro
13961 expansion.
13962 * manual/filesys.texi: Likewise.
13963 (getumask): Document as specific to GNU/Hurd.
13964 * manual/install.texi: Likewise. Reword some references to
13965 GNU/Linux.
13966 * manual/intro.texi: Likewise.
13967 * manual/io.texi: Likewise.
13968 (File Name Portability): Detail which constraints are inapplicable
13969 to all GNU systems and which are only inapplicable to GNU/Hurd.
13970 * manual/job.texi: Likewise.
13971 * manual/llio.texi: Likewise.
13972 (O_NOCTTY): Document as present on GNU/Linux.
13973 * manual/maint.texi: Likewise.
13974 * manual/memory.texi: Likewise.
13975 * manual/pattern.texi: Likewise.
13976 * manual/pipe.texi: Likewise.
13977 * manual/process.texi: Likewise.
13978 * manual/resource.texi: Likewise.
13979 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13980 child on GNU/Hurd.
13981 * manual/setjmp.texi: Likewise.
13982 * manual/signal.texi: Likewise.
13983 * manual/startup.texi: Likewise.
13984 * manual/stdio.texi: Likewise.
13985 * manual/terminal.texi: Likewise.
13986 (ONLCR): Document as POSIX.
13987 (OXTABS): Document availability on GNU/Linux as XTABS.
13988 (ONOEOT): Document availability separately from other bits.
13989 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13990 * manual/time.texi: Likewise.
13991 * manual/users.texi: Likewise.
13992 * INSTALL: Regenerated.
13993 * sysdeps/gnu/errlist.c: Regenerated.
13994
07037eeb
JM
13995 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13996 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13997 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13998 puts.
13999 * configure: Regenerated.
14000
d1d3431a
JM
140012012-03-07 Joseph Myers <joseph@codesourcery.com>
14002
af6a1e37
JM
14003 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14004 default includes instead of AC_HEADER_CHECK.
14005 * sysdeps/i386/configure: Regenerated.
14006
d1d3431a
JM
14007 [BZ #10716]
14008 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14009 * math/s_cacoshf.c (__cacoshf): Likewise.
14010 * math/s_cacoshl.c (__cacoshl): Likewise.
14011 * math/s_casinh.c (__casinh): Set signs of result from argument.
14012 * math/s_casinhf.c (__casinhf): Likewise.
14013 * math/s_casinhl.c (__casinhl): Likewise.
14014 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14015 (casinh_test): Add more tests.
14016 * sysdeps/i386/fpu/libm-test-ulps: Update.
14017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14018
482ff4da
UD
140192012-03-07 Ulrich Drepper <drepper@gmail.com>
14020
872fda05
UD
14021 * po/zh_TW.po: Update from translation team.
14022
a4300c7a
UD
14023 * login/Makefile (distribute): Remove variable.
14024 * catgets/Makefile: Likewise.
14025 * mach/Makefile: Likewise.
14026 * malloc/Makefile: Likewise.
14027 * misc/Makefile: Likewise.
14028 * iconv/Makefile: Likewise.
14029 * nscd/Makefile: Likewise.
14030 * hurd/Makefile: Likewise.
14031 * manual/Makefile: Likewise.
14032 * locale/Makefile: Likewise.
14033 * intl/Makefile: Likewise.
14034 * conform/Makefile: Likewise.
14035 * nss/Makefile: Likewise.
14036 * time/Makefile: Likewise.
14037 * soft-fp/Makefile: Likewise.
14038 * dirent/Makefile: Likewise.
14039 * gmon/Makefile: Likewise.
14040 * po/Makefile: Likewise.
14041 * rt/Makefile: Likewise.
14042 * socket/Makefile: Likewise.
14043 * math/Makefile: Likewise.
14044 * signal/Makefile: Likewise.
14045 * debug/Makefile: Likewise.
14046 * elf/Makefile: Likewise.
14047 * timezone/Makefile: Likewise.
14048 * stdlib/Makefile: Likewise.
14049 * iconvdata/Makefile: Likewise.
14050 * sunrpc/Makefile: Likewise.
14051 * io/Makefile: Likewise.
14052 * argp/Makefile: Likewise.
14053 * inet/Makefile: Likewise.
14054 * hesiod/Makefile: Likewise.
14055 * grp/Makefile: Likewise.
14056 * csu/Makefile: Likewise.
14057 * wctype/Makefile: Likewise.
14058 * crypt/Makefile: Likewise.
14059 * libio/Makefile: Likewise.
14060 * string/Makefile: Likewise.
14061 * nis/Makefile: Likewise.
14062 * resolv/Makefile: Likewise.
14063 * stdio-common/Makefile: Likewise.
14064 * wcsmbs/Makefile: Likewise.
14065 * dlfcn/Makefile: Likewise.
14066 * posix/Makefile: Likewise.
14067
3b7c4e74 14068 [BZ #6959]
482ff4da
UD
14069 * timezone/Makefile: Don't install timezone files, just the programs
14070 and scripts.
14071
f72ed77d
UD
140722012-03-06 Ulrich Drepper <drepper@gmail.com>
14073
a000466f
UD
14074 * nss/databases.def: Add missing gshadow entry.
14075
f72ed77d
UD
14076 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14077
a53b7a4e
MP
140782012-03-06 Marek Polacek <polacek@redhat.com>
14079
14080 [BZ #13726]
14081 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14082 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14083 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14084 * stdio-common/tst-long-dbl-fphex.c: New file.
14085
e9258400
DM
140862012-03-06 David S. Miller <davem@davemloft.net>
14087
14088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14089 (set_obp_int): New function.
14090 (get_obp_int): New function.
14091 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14093 Avoid unused variable warnings on 'val' and use builtin_expect.
14094 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14095 __builtin_expect.
e9258400
DM
14096 (INLINE_CLONE_SYSCALL): Likewise.
14097
3bd2c723
DM
140982012-03-05 David S. Miller <davem@davemloft.net>
14099
14100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14101
bbb78d03
AS
141022012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14103
884c5db4
AS
14104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14105
bbb78d03
AS
14106 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14107 only for |x| >= 40.
14108 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14109
1c9f702a 141102012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14111
14112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14113 Replace gettimeofday with __vdso_gettimeofday.
14114
7be16f82
RM
14115 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14116 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14117 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14118
14119 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14120 time with __vdso_time.
14121
ed58a00f
JM
141222012-03-05 Joseph Myers <joseph@codesourcery.com>
14123
14124 * manual/lang.texi (size_t): Note types to which size_t may be
14125 equivalent with the GNU C Library, but do not describe when
14126 differences between them are significant.
14127
30ee4ced
AJ
141282012-03-05 Andreas Jaeger <aj@suse.de>
14129
14130 * sysdeps/i386/fpu/libm-test-ulps: Update.
14131
b7cd39e8
JM
141322012-03-05 Joseph Myers <joseph@codesourcery.com>
14133
14134 [BZ #3976]
14135 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14136 (__ieee754_pow): Save and restore rounding mode and use
14137 round-to-nearest for main computations.
14138 * math/libm-test.inc (pow_test_tonearest): New function.
14139 (pow_test_towardzero): Likewise.
14140 (pow_test_downward): Likewise.
14141 (pow_test_upward): Likewise.
14142 (main): Call the new functions.
14143 * sysdeps/i386/fpu/libm-test-ulps: Update.
14144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14145
14146 [BZ #3976]
14147 * math/libm-test.inc (cosh_test_tonearest): New function.
14148 (cosh_test_towardzero): Likewise.
14149 (cosh_test_downward): Likewise.
14150 (cosh_test_upward): Likewise.
14151 (sinh_test_tonearest): Likewise.
14152 (sinh_test_towardzero): Likewise.
14153 (sinh_test_downward): Likewise.
14154 (sinh_test_upward): Likewise.
14155 (main): Call the new functions.
14156 * sysdeps/i386/fpu/libm-test-ulps: Update.
14157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14158
6c6a98c9
TV
141592012-03-05 Tom de Vries <tom@codesourcery.com>
14160
14161 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14162 default stack guard is set in last bytes.
14163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14164
21bb2d2e 141652012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14166
21bb2d2e 14167 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14168
21bb2d2e
AJ
14169 [BZ #13656]
14170 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14171 possibly allocate from heap instead of stack.
14172 * stdio-common/bug-vfprintf-nargs.c: New file.
14173 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14174
c6922934
AS
141752012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14176
14177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14178
bc957d53
MP
141792012-03-03 Marek Polacek <polacek@redhat.com>
14180
14181 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14182 * math/math_private.h: Likewise.
14183 * stdlib/tst-strtod.c: Likewise.
14184 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14185 * sysdeps/x86_64/bits/atomic.h: Likewise.
14186
6358490d
DM
141872012-03-02 David S. Miller <davem@davemloft.net>
14188
14189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14193 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14194 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14195 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14196 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14197
01ae168d
RM
141982012-03-02 Roland McGrath <roland@hack.frob.com>
14199
d9a17c07
RM
14200 [BZ #13792]
14201 * manual/examples/README: New file, says the example source files
14202 can be used under GPL>=2.
14203 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14204 line containing just "*/".
14205 * manual/examples/add.c: Add copyright header (GPL>=2).
14206 * manual/examples/argp-ex1.c: Likewise.
14207 * manual/examples/argp-ex2.c: Likewise.
14208 * manual/examples/argp-ex3.c: Likewise.
14209 * manual/examples/argp-ex4.c: Likewise.
14210 * manual/examples/atexit.c: Likewise.
14211 * manual/examples/db.c: Likewise.
14212 * manual/examples/dir.c: Likewise.
14213 * manual/examples/dir2.c: Likewise.
14214 * manual/examples/execinfo.c: Likewise.
14215 * manual/examples/filecli.c: Likewise.
14216 * manual/examples/filesrv.c: Likewise.
14217 * manual/examples/fmtmsgexpl.c: Likewise.
14218 * manual/examples/genpass.c: Likewise.
14219 * manual/examples/inetcli.c: Likewise.
14220 * manual/examples/inetsrv.c: Likewise.
14221 * manual/examples/isockad.c: Likewise.
14222 * manual/examples/longopt.c: Likewise.
14223 * manual/examples/memopen.c: Likewise.
14224 * manual/examples/memstrm.c: Likewise.
14225 * manual/examples/mkfsock.c: Likewise.
14226 * manual/examples/mkisock.c: Likewise.
14227 * manual/examples/mygetpass.c: Likewise.
14228 * manual/examples/pipe.c: Likewise.
14229 * manual/examples/popen.c: Likewise.
14230 * manual/examples/rprintf.c: Likewise.
14231 * manual/examples/search.c: Likewise.
14232 * manual/examples/select.c: Likewise.
14233 * manual/examples/setjmp.c: Likewise.
14234 * manual/examples/sigh1.c: Likewise.
14235 * manual/examples/sigusr.c: Likewise.
14236 * manual/examples/stpcpy.c: Likewise.
14237 * manual/examples/strdupa.c: Likewise.
14238 * manual/examples/strftim.c: Likewise.
14239 * manual/examples/strncat.c: Likewise.
14240 * manual/examples/subopt.c: Likewise.
14241 * manual/examples/swapcontext.c: Likewise.
14242 * manual/examples/termios.c: Likewise.
14243 * manual/examples/testopt.c: Likewise.
14244 * manual/examples/testpass.c: Likewise.
14245 * manual/examples/timeval_subtract.c: Likewise.
14246
01ae168d
RM
14247 [BZ #13792]
14248 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14249 function to ...
14250 * manual/timeval_subtract.c.texi: ... here, new file.
14251
49efa33d
DM
142522012-03-02 David S. Miller <davem@davemloft.net>
14253
14254 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14255
28afd92d
JM
142562012-03-02 Joseph Myers <joseph@codesourcery.com>
14257
804360ed
JM
14258 [BZ #3976]
14259 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14260 (__sin): Save and restore rounding mode and use round-to-nearest
14261 for all computations.
14262 (__cos): Save and restore rounding mode and use round-to-nearest
14263 for all computations.
14264 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14265 <fenv.h>.
14266 (tan): Save and restore rounding mode and use round-to-nearest for
14267 all computations.
14268 * math/libm-test.inc (cos_test_tonearest): New function.
14269 (cos_test_towardzero): Likewise.
14270 (cos_test_downward): Likewise.
14271 (cos_test_upward): Likewise.
14272 (sin_test_tonearest): Likewise.
14273 (sin_test_towardzero): Likewise.
14274 (sin_test_downward): Likewise.
14275 (sin_test_upward): Likewise.
14276 (tan_test_tonearest): Likewise.
14277 (tan_test_towardzero): Likewise.
14278 (tan_test_downward): Likewise.
14279 (tan_test_upward): Likewise.
14280 (main): Call the new functions.
14281 * sysdeps/i386/fpu/libm-test-ulps: Update.
14282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14283
a6d06d7b
JM
14284 [BZ #10135]
14285 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14286 small n, then large n, before computing and testing k+n.
14287 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14288 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14289 Likewise.
14290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14291 Likewise.
14292 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14293 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14294 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14295 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14298 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14299 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14300 * math/libm-test.inc (scalbn_test): Add more tests.
14301 (scalbln_test): Likewise.
14302
07e12bb3
JM
14303 * manual/filesys.texi (mode_t): Describe constraints on size and
14304 signedness, not exact equivalence to a particular type.
14305 (ino_t): Likewise.
14306 (ino64_t): Likewise.
14307 (dev_t): Likewise.
14308 (nlink_t): Likewise.
14309 (blkcnt_t): Likewise.
14310 (blkcnt64_t): Likewise.
14311 * manual/llio.texi (off_t): Likewise.
14312
28afd92d
JM
14313 [BZ #3976]
14314 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14315 (__ieee754_exp): Save and restore rounding mode and use
14316 round-to-nearest for all computations.
14317 * math/libm-test.inc (exp_test_tonearest): New function.
14318 (exp_test_towardzero): Likewise.
14319 (exp_test_downward): Likewise.
14320 (exp_test_upward): Likewise.
14321 (main): Call the new functions.
14322 * sysdeps/i386/fpu/libm-test-ulps: Update.
14323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14324
b1eeb65d
CD
143252012-03-01 Chris Demetriou <cgd@google.com>
14326
14327 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14328 have predictable order.
14329
53362a4b
DM
143302012-03-01 David S. Miller <davem@davemloft.net>
14331
3c969083
DM
14332 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14333
759707de
DM
14334 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14335 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14336 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14337 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14338
dfdb8ff2
DM
14339 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14340 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14341 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14343 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14344 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14345 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14346 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14347 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14348
ead89f96
DM
14349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14350
7f66bd07
DM
14351 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14352 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14353 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14354
53362a4b
DM
14355 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14356 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14357 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14358 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14359 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14361 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14362 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14363 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14364 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14365 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14368 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14369 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14371 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14372 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14373 * sysdeps/sparc/elf/configure: Regenerated.
14374
7b1902cb
JM
143752012-03-01 Joseph Myers <joseph@codesourcery.com>
14376
bec039bc
JM
14377 * configure.in (AS, LD): Require binutils 2.20 or later.
14378 * configure: Regenerated.
14379 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14380 as required minimum version.
14381 * INSTALL: Regenerated.
14382
7b1902cb
JM
14383 [BZ #2541]
14384 [BZ #4108]
14385 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14386 before squaring exponent.
14387 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14388 bottom long double and 27 bits of top long double before squaring
14389 exponent.
14390 * math/libm-test.inc (erfc_test): Add more tests.
14391 * sysdeps/i386/fpu/libm-test-ulps: Update.
14392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14394
f775c276
KT
143952012-03-01 Kai Tietz <ktietz@redhat.com>
14396
14397 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14398 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14399 containing bit-fields.
14400 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14401 * soft-fp/single.h (_FP_UNION_S): Likewise.
14402 * soft-fp/double.h (_FP_UNION_D): Likewise.
14403
5b8a4d4a
JM
144042012-02-29 Joseph Myers <joseph@codesourcery.com>
14405
0bab47b6
JM
14406 [BZ #13786]
14407 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14408 not include ../strcmp.S.
14409 [USE_AS_STRNCASECMP_L]: Likewise.
14410 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14411 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14412 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14413 (__strncasecmp_l_ia32): Define as alias to
14414 __strncasecmp_l_nonascii.
14415
0fcad3e2
JM
14416 [BZ #5794]
14417 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14418 * sysdeps/i386/fpu/libm-test-ulps: Update.
14419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14420
5b8a4d4a
JM
14421 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14423
8fdceb2e
JL
144242012-02-29 Jeff Law <law@redhat.com>
14425
14426 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14427 out of bounds read.
14428
1f393a11
MP
144292012-02-29 Marek Polacek <polacek@redhat.com>
14430
14431 [BZ #13706]
14432 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14433 * elf/Makefile: Add rules to run tst-unused-dep.out.
14434
8847f037
DM
144352012-02-28 David S. Miller <davem@davemloft.net>
14436
14437 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14438 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14439 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14440 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14441 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14442 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14443
169d7f11
JM
144442012-02-29 Joseph Myers <joseph@codesourcery.com>
14445
14446 * math/libm-test.inc (llround_test): Move one test from
14447 lround_test. Use TEST_f_L in moved test.
14448 (lround_test): Move misplaced test to llround_test. Add testcase
14449 from bug 2561.
14450
39adf059
UD
144512012-02-28 Ulrich Drepper <drepper@gmail.com>
14452
14453 * sysdeps/x86_64/fpu/e_expf.S: New file.
14454 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14455
71b5d1c5
SB
144562012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14457
14458 [BZ #13637]
14459 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14460 of remain_len that may cause incomplete multi-byte character and
14461 false match.
14462 * posix/bug-regex33.c: New file.
14463 * posix/Makefile (tests): Add bug-regex33.
14464
1f77f049
JM
144652012-02-28 Joseph Myers <joseph@codesourcery.com>
14466
14467 * manual/macros.texi: New file.
14468 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14469 * manual/libc.texinfo: Include macros.texi.
14470 * manual/creatute.texi: Likewise.
14471 * manual/install.texi: Likewise.
14472 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14473 @glibcadj{} in references to the GNU C Library.
14474 * manual/charset.texi: Likewise.
14475 * manual/conf.texi: Likewise.
14476 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14477 when not using those macros.
14478 * manual/creature.texi: Likewise.
14479 * manual/crypt.texi: Likewise.
14480 * manual/errno.texi: Likewise.
14481 * manual/filesys.texi: Likewise.
14482 * manual/header.texi: Likewise.
14483 * manual/install.texi: Likewise.
14484 * manual/intro.texi: Likewise.
14485 * manual/io.texi: Likewise.
14486 * manual/job.texi: Likewise.
14487 * manual/lang.texi: Likewise.
14488 * manual/libc.texiinfo: Likewise.
14489 * manual/llio.texi: Likewise.
14490 * manual/locale.texi: Likewise.
14491 * manual/maint.texi: Likewise.
14492 * manual/math.texi: Likewise.
14493 * manual/memory.texi: Likewise.
14494 * manual/message.texi: Likewise.
14495 * manual/nss.texi: Likewise.
14496 * manual/pattern.texi: Likewise.
14497 * manual/process.texi: Likewise.
14498 * manual/resource.texi: Likewise.
14499 * manual/search.texi: Likewise.
14500 * manual/setjmp.texi: Likewise.
14501 * manual/signal.texi: Likewise.
14502 * manual/socket.texi: Likewise.
14503 * manual/startup.texi: Likewise.
14504 * manual/stdio.texi: Likewise.
14505 * manual/string.texi: Likewise.
14506 * manual/sysinfo.texi: Likewise.
14507 * manual/syslog.texi: Likewise.
14508 * manual/terminal.texi: Likewise.
14509 * manual/time.texi: Likewise.
14510 * manual/users.texi: Likewise.
14511 * INSTALL: Regenerated.
14512 * NOTES: Regenerated.
d40c5d54 14513 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14514
450bf206
AS
145152012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14516
14517 * include/dirent.h: Include <dirstream.h> before
14518 <dirent/dirent.h>.
14519
741a235b
DM
145202012-02-28 David S. Miller <davem@davemloft.net>
14521
14522 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14523 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14524 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14525 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14526
d6b5aa58
DM
145272012-02-27 David S. Miller <davem@davemloft.net>
14528
1aff59a3
DM
14529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14531 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14532 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14533
d6b5aa58
DM
14534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14535 frame pointer instead of stack pointer relative arg slot.
14536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14537 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14538 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14539
433f48bf
CD
145402012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14541
14542 [BZ #3992]
14543 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14544
d674b76d
DM
145452012-02-27 David S. Miller <davem@davemloft.net>
14546
14547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14553 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14555
0e7727f7
JM
145562012-02-27 Joseph Myers <joseph@codesourcery.com>
14557
14558 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14559 later. Allow versions 5-9.
43be4ca2 14560 * configure: Regenerated.
0e7727f7
JM
14561 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14562 required minimum version and 4.6 as recommended version. Do not
14563 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14564 * INSTALL: Regenerated.
0e7727f7 14565
a78bc654
DM
145662012-02-27 David S. Miller <davem@davemloft.net>
14567
428d5830
DM
14568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14572 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14573 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14574 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14575 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14576
a78bc654
DM
14577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14578 manipulate bits before adding and subtracting TWO112[sx].
14579 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14580
4579f81c
RM
145812012-02-27 Roland McGrath <roland@hack.frob.com>
14582
36c8acb4
RM
14583 [BZ #13775]
14584 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14585 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14586 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14587 being in POSIX, because they are in 1003.1-2008.
14588
84ad622b
RM
14589 * rt/tst-aio.c: Include <fcntl.h>.
14590 * rt/tst-aio7.c: Likewise.
14591 * rt/tst-aio64.c: Likewise.
14592
4579f81c
RM
14593 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14594
abd923db
JM
145952012-02-27 Joseph Myers <joseph@codesourcery.com>
14596
14597 * manual/install.texi (--with-headers): Describe headers as
14598 interface headers, not private headers.
14599 (Specific advice for GNU/Linux systems): Describe use of headers
14600 from "make headers_install", not private headers from older
14601 kernels.
43be4ca2 14602 * INSTALL: Regenerated.
abd923db
JM
14603 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14604 Change to 2.6.19.
14605 * sysdeps/unix/sysv/linux/configure: Regenerated.
14606
6664049b
JM
14607 * manual/llio.texi (fclean): Remove documentation.
14608
bb8b6697
JM
14609 * manual/Makefile (libc-texi-generated): New variable. Include
14610 version.texi.
14611 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14612 $(libc-texi-generated), not duplicated list of files.
14613 (version.texi, stamp-version): New rules.
14614 (realclean): Remove $(libc-texi-generated), not individual files
14615 from that list. Do not remove dir-add.texinfo.
14616 * manual/libc.texinfo: Comment out uses of edition numbers and
14617 references to printed manual. Remove last-updated dates.
14618 (EDITION): Comment out.
14619 (ISBN): Likewise.
14620 (VERSION, UPDATED): Remove.
14621 (version.texi): Include.
14622
12e5c3b9
AS
146232012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14624
14625 * sysdeps/posix/spawni.c: Include <signal.h>.
14626 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14627 * sysdeps/pthread/aio_fsync.c: Likewise.
14628
4efeffc1 146292012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14630
ba63ba08
UD
14631 * conform/Makefile (tests): Run only when not cross-compiling and
14632 when fast-check is not defined.
14633
d94a4670
UD
14634 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14635 * conform/data/limits.h-data: Fixes for POSIX2008.
14636 * conform/run-conformtest.sh: Run all tests.
14637 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14638 headers.
14639 * include/bits/dlfcn.h: Likewise.
14640 * include/langinfo.h: Likewise.
14641 * include/monetary.h: Likewise.
14642 * include/sys/poll.h: Likewise.
14643
14644 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14645 for __USE_GNU.
14646 * posix/spawn.h: Define __need_sigset_t.
14647 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14648 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14649 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14650 to get sigevent_t only.
14651 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14652 only for __USE_GNU.
14653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14654 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14655 process_vm_writev only for __USE_GNU.
14656 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14657
14658 * conform/Makefile: For now ignore errors from run-conformtest.
14659 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14660 POSIX to avoid namespace pollution. Don't prepend headers.
14661 * conform/data/aio.h-data: Fixes for POSIX testing.
14662 * conform/data/fcntl.h-data: Likewise.
14663 * conform/data/glob.h-data: Likewise.
14664 * conform/data/grp.h-data: Likewise.
14665 * conform/data/pthread.h-data: Likewise.
14666 * conform/data/pwd.h-data: Likewise.
14667 * conform/data/signal.h-data: Likewise.
14668 * conform/data/spawn.h-data: Likewise.
14669 * conform/data/stdio.h-data: Likewise.
14670 * conform/data/stdlib.h-data: Likewise.
14671 * conform/data/stropts.h-data: Likewise.
14672 * conform/data/sys/mman.h-data: Likewise.
14673 * conform/data/sys/stat.h-data: Likewise.
14674 * conform/data/sys/types.h-data: Likewise.
14675 * conform/data/sys/wait.h-data: Likewise.
14676 * conform/data/time.h-data: Likewise.
14677 * conform/data/unistd.h-data: Likewise.
14678 * conform/data/utime.h-data: Likewise.
14679
14680 * io/sys/stat.h: fchmod was always in POSIX.
14681 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14682 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14683 * rt/aio.h: Define __need_timespec before including <time.h>.
14684 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14685 struct. Add forward declaration of pthread_attr_t and use it in
14686 sigevent.
14687 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14688 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14689 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14690 always remove CLK_TCK definition.
14691
c20105c3
AS
146922012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14693
14694 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14695
7a270350
UD
146962012-02-25 Ulrich Drepper <drepper@gmail.com>
14697
31341567
UD
14698 * conform/run-conformtest.sh: New file.
14699 * conform/Makefile: Run run-conformtest for tests.
14700 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14701 support.
14702
14703 * conform/data/uchar.h-data: New file.
14704 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14705 * conform/data/arpa/inet.h-data: Likewise.
14706 * conform/data/assert.h-data: Likewise.
14707 * conform/data/complex.h-data: Likewise.
14708 * conform/data/cpio.h-data: Likewise.
14709 * conform/data/ctype.h-data: Likewise.
14710 * conform/data/dirent.h-data: Likewise.
14711 * conform/data/dlfcn.h-data: Likewise.
14712 * conform/data/errno.h-data: Likewise.
14713 * conform/data/fcntl.h-data: Likewise.
14714 * conform/data/float.h-data: Likewise.
14715 * conform/data/fmtmsg.h-data: Likewise.
14716 * conform/data/fnmatch.h-data: Likewise.
14717 * conform/data/ftw.h-data: Likewise.
14718 * conform/data/glob.h-data: Likewise.
14719 * conform/data/grp.h-data: Likewise.
14720 * conform/data/iconv.h-data: Likewise.
14721 * conform/data/inttypes.h-data: Likewise.
14722 * conform/data/langinfo.h-data: Likewise.
14723 * conform/data/libgen.h-data: Likewise.
14724 * conform/data/limits.h-data: Likewise.
14725 * conform/data/locale.h-data: Likewise.
14726 * conform/data/math.h-data: Likewise.
14727 * conform/data/monetary.h-data: Likewise.
14728 * conform/data/mqueue.h-data: Likewise.
14729 * conform/data/ndbm.h-data: Likewise.
14730 * conform/data/net/if.h-data: Likewise.
14731 * conform/data/netdb.h-data: Likewise.
14732 * conform/data/netinet/in.h-data: Likewise.
14733 * conform/data/nl_types.h-data: Likewise.
14734 * conform/data/poll.h-data: Likewise.
14735 * conform/data/pthread.h-data: Likewise.
14736 * conform/data/pwd.h-data: Likewise.
14737 * conform/data/regex.h-data: Likewise.
14738 * conform/data/sched.h-data: Likewise.
14739 * conform/data/search.h-data: Likewise.
14740 * conform/data/semaphore.h-data: Likewise.
14741 * conform/data/setjmp.h-data: Likewise.
14742 * conform/data/signal.h-data: Likewise.
14743 * conform/data/spawn.h-data: Likewise.
14744 * conform/data/stdarg.h-data: Likewise.
14745 * conform/data/stdio.h-data: Likewise.
14746 * conform/data/stdlib.h-data: Likewise.
14747 * conform/data/string.h-data: Likewise.
14748 * conform/data/strings.h-data: Likewise.
14749 * conform/data/stropts.h-data: Likewise.
14750 * conform/data/sys/ipc.h-data: Likewise.
14751 * conform/data/sys/mman.h-data: Likewise.
14752 * conform/data/sys/msg.h-data: Likewise.
14753 * conform/data/sys/resource.h-data: Likewise.
14754 * conform/data/sys/select.h-data: Likewise.
14755 * conform/data/sys/sem.h-data: Likewise.
14756 * conform/data/sys/shm.h-data: Likewise.
14757 * conform/data/sys/socket.h-data: Likewise.
14758 * conform/data/sys/stat.h-data: Likewise.
14759 * conform/data/sys/statvfs.h-data: Likewise.
14760 * conform/data/sys/time.h-data: Likewise.
14761 * conform/data/sys/timeb.h-data: Likewise.
14762 * conform/data/sys/times.h-data: Likewise.
14763 * conform/data/sys/types.h-data: Likewise.
14764 * conform/data/sys/uio.h-data: Likewise.
14765 * conform/data/sys/un.h-data: Likewise.
14766 * conform/data/sys/utsname.h-data: Likewise.
14767 * conform/data/sys/wait.h-data: Likewise.
14768 * conform/data/syslog.h-data: Likewise.
14769 * conform/data/tar.h-data: Likewise.
14770 * conform/data/termios.h-data: Likewise.
14771 * conform/data/utime.h-data: Likewise.
14772 * conform/data/utmpx.h-data: Likewise.
14773 * conform/data/varargs.h-data: Likewise.
14774 * conform/data/wchar.h-data: Likewise.
14775 * conform/data/wctype.h-data: Likewise.
14776 * conform/data/wordexp.h-data: Likewise.
14777
14778 * include/stropts.h: New file.
14779 * include/uchar.h: New file.
14780 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14781 * include/assert.h: Likewise.
14782 * include/ctype.h: Likewise.
14783 * include/dirent.h: Likewise.
14784 * include/dlfcn.h: Likewise.
14785 * include/fcntl.h: Likewise.
14786 * include/fnmatch.h: Likewise.
14787 * include/glob.h: Likewise.
14788 * include/grp.h: Likewise.
14789 * include/libio.h: Likewise.
14790 * include/locale.h: Likewise.
14791 * include/math.h: Likewise.
14792 * include/net/if.h: Likewise.
14793 * include/netdb.h: Likewise.
14794 * include/netinet/in.h: Likewise.
14795 * include/pthread.h: Likewise.
14796 * include/pwd.h: Likewise.
14797 * include/regex.h: Likewise.
14798 * include/sched.h: Likewise.
14799 * include/search.h: Likewise.
14800 * include/setjmp.h: Likewise.
14801 * include/signal.h: Likewise.
14802 * include/stdio.h: Likewise.
14803 * include/stdlib.h: Likewise.
14804 * include/string.h: Likewise.
14805 * include/sys/cdefs.h: Likewise.
14806 * include/sys/mman.h: Likewise.
14807 * include/sys/msg.h: Likewise.
14808 * include/sys/resource.h: Likewise.
14809 * include/sys/select.h: Likewise.
14810 * include/sys/socket.h: Likewise.
14811 * include/sys/stat.h: Likewise.
14812 * include/sys/statvfs.h: Likewise.
14813 * include/sys/time.h: Likewise.
14814 * include/sys/times.h: Likewise.
14815 * include/sys/uio.h: Likewise.
14816 * include/sys/utsname.h: Likewise.
14817 * include/sys/wait.h: Likewise.
14818 * include/termios.h: Likewise.
14819 * include/time.h: Likewise.
14820 * include/ulimit.h: Likewise.
14821 * include/unistd.h: Likewise.
14822 * include/utime.h: Likewise.
14823 * include/wchar.h: Likewise.
14824 * include/wctype.h: Likewise.
14825 * include/wordexp.h: Likewise.
14826
14827 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14828
7a270350
UD
14829 * time/time.h: TIME_UTC must be a macro.
14830 Make timespec_get available for ISO C11 only as well.
14831
7724defc
UD
148322012-02-24 Ulrich Drepper <drepper@gmail.com>
14833
14834 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14835 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14836
6b1d1d46
JM
148372012-02-24 Joseph Myers <joseph@codesourcery.com>
14838
14839 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14840
0f8bbd69
JM
148412012-02-24 Joseph Myers <joseph@codesourcery.com>
14842
14843 * manual/texinfo.tex: Update to version 2012-01-19.16.
14844
66ab80bc
JM
148452012-02-24 Joseph Myers <joseph@codesourcery.com>
14846
14847 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14848
74981cc5
RM
148492012-02-24 Roland McGrath <roland@hack.frob.com>
14850
ee968201
RM
14851 [BZ #13738]
14852 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14853 * manual/fdl-1.3.texi: New file.
14854 * manual/fdl-1.1.texi: File removed.
14855
74981cc5
RM
14856 [BZ #13738]
14857 * manual/libc.texinfo (FDL_VERSION): New @set.
14858 Use it for mention of FDL in cover text.
14859 (Documentation License): Use it in @include file name.
14860
7bb764bc
JM
148612012-02-22 Joseph Myers <joseph@codesourcery.com>
14862 Roland McGrath <roland@hack.frob.com>
14863
14864 [BZ #5461]
14865 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14866 not LONG_LONG_MAX and LONG_LONG_MIN.
14867 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14868 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14869 name.
14870 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14871
6cbeae47
JM
148722012-02-22 Joseph Myers <joseph@codesourcery.com>
14873
14874 [BZ #2547]
14875 [BZ #11365]
14876 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14877 manipulate bits before adding and subtracting TWO23[sx].
14878 * math/libm-test.inc (nearbyint_test): Add more tests.
14879
fe45ce09
JM
148802012-02-22 Joseph Myers <joseph@codesourcery.com>
14881
14882 [BZ #2548]
14883 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14884 bits before adding and subtracting TWO23[sx].
14885 * math/libm-test.inc (rint_test): Add more tests.
14886 (rint_test_tonearest): Likewise.
14887 (rint_test_towardzero): Likewise.
14888 (rint_test_downward): Likewise.
14889 (rint_test_upward: Likewise.
14890
ff3b3d82
JM
148912012-02-22 Joseph Myers <joseph@codesourcery.com>
14892
14893 [BZ #10110]
14894 * include/stdc-predef.h: New file. Extracted from features.h.
14895 * include/features.h: Include stdc-predef.h.
14896 * Makefile (headers): Add stdc-predef.h.
14897 * CONFORMANCE (Compiler limitations): Update.
14898
ef0aab35
JM
148992012-02-22 Joseph Myers <joseph@codesourcery.com>
14900
14901 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14902
58639409
DM
149032012-02-21 David S. Miller <davem@davemloft.net>
14904
14905 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14906 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14907
c0e70b25
DM
149082012-02-20 David S. Miller <davem@davemloft.net>
14909
14910 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14911 using a normal save/restore sequence, rather than allocating a
14912 dummy stack frame just to store a frame pointer and restore.
14913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14914
fb06851d
JM
149152012-02-21 Joseph Myers <joseph@codesourcery.com>
14916
14917 * manual/install.texi: Fix stray word in line-wrapped comment.
14918
7a8b71c3
DM
149192012-02-20 David S. Miller <davem@davemloft.net>
14920
d510c123
DM
14921 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14922 both binutils and gcc support GOTDATA.
14923
0722d7c2
DM
14924 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14925 "rd %pc" in the PIC register setup sequences.
14926
3d2b3019
DM
14927 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14928 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14929 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14930 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14931 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14933 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14935 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14936 (SYSCALL_ERROR_HANDLER): Likewise.
14937 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14938 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14940 (SYSCALL_ERROR_HANDLER): Likewise.
14941
c80098a9
DM
14942 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14943 (HAVE_GCC_GOTDATA): New.
14944 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14945 relocation support in both binutils and gcc.
14946 * sysdeps/sparc/elf/configure: Regenerate.
14947
3a2545a0
DM
14948 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14949 * sysdeps/sparc/sparc32/elf/configure: Delete.
14950 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14951 * sysdeps/sparc/sparc64/elf/configure: Delete.
14952 * sysdeps/sparc/elf/configure.in: New file.
14953 * sysdeps/sparc/elf/configure: Generate.
14954
7a8b71c3
DM
14955 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14956 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14957 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14958 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14959 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14960
f1e86fca
JM
149612012-02-21 Joseph Myers <joseph@codesourcery.com>
14962
14963 * manual/install.texi: Do not mention specific glibc version
14964 numbers.
14965 * manual/libc.texinfo (VERSION, UPDATED): Update.
14966 (@copying): Use @copyright{} and range of years.
14967
0e7dfaef
JM
149682012-02-21 Joseph Myers <joseph@codesourcery.com>
14969
14970 [BZ #13695]
14971 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14972 [crti.S not in sysdirs] (generated): Do not append.
14973 [crti.S not in sysdirs] (omit-deps): Likewise.
14974 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14975 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14976 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14977 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14978 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14979 Likewise.
14980 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14981 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14982 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14983 * csu/defs.awk: Remove file.
14984 * sysdeps/generic/initfini.c: Likewise.
14985 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14986 variable.
14987 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14988 Likewise.
14989
599af3ca
JM
149902012-02-20 Joseph Myers <joseph@codesourcery.com>
14991
14992 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14993 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14994 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14995 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14996 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14997 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14998 <bits/epoll.h>.
14999 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15000 (__EPOLL_PACKED): Define to empty if not defined by
15001 <bits/epoll.h>.
15002 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15004 bits/epoll.h.
15005
0e499750
JM
150062012-02-20 Joseph Myers <joseph@codesourcery.com>
15007
15008 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15009 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15010 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15011 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15012 <bits/timerfd.h>.
15013 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15015 bits/timerfd.h.
15016
5ad91f6e
JM
150172012-02-20 Joseph Myers <joseph@codesourcery.com>
15018
15019 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15020 in C locale.
15021 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15022 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15025
06b99b02
AJ
150262012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15027
15028 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15029 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15030
7638c0fd
AS
150312012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15032
15033 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15034 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15035 defined.
15036 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15037 Likewise.
15038 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15039 entry for 2.16.
15040
92221550
AJ
150412012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15042
15043 * math/w_acos.c: Use non-signaling floating-point comparisons.
15044 * math/w_acosf.c: Likewise.
15045 * math/w_acosh.c: Likewise.
15046 * math/w_acoshf.c: Likewise.
15047 * math/w_acoshl.c: Likewise.
15048 * math/w_acosl.c: Likewise.
15049 * math/w_asin.c: Likewise.
15050 * math/w_asinf.c: Likewise.
15051 * math/w_asinl.c: Likewise.
15052 * math/w_atanh.c: Likewise.
15053 * math/w_atanhf.c: Likewise.
15054 * math/w_atanhl.c: Likewise.
15055 * math/w_exp2.c: Likewise.
15056 * math/w_exp2f.c: Likewise.
15057 * math/w_exp2l.c: Likewise.
15058 * math/w_j0.c: Likewise.
15059 * math/w_j0f.c: Likewise.
15060 * math/w_j0l.c: Likewise.
15061 * math/w_j1.c: Likewise.
15062 * math/w_j1f.c: Likewise.
15063 * math/w_j1l.c: Likewise.
15064 * math/w_jn.c: Likewise.
15065 * math/w_jnf.c: Likewise.
15066 * math/w_log.c: Likewise.
15067 * math/w_log10.c: Likewise.
15068 * math/w_log10f.c: Likewise.
15069 * math/w_log10l.c: Likewise.
15070 * math/w_log2.c: Likewise.
15071 * math/w_log2f.c: Likewise.
15072 * math/w_log2l.c: Likewise.
15073 * math/w_logf.c: Likewise.
15074 * math/w_logl.c: Likewise.
15075 * math/w_sqrt.c: Likewise.
15076 * math/w_sqrtf.c: Likewise.
15077 * math/w_sqrtl.c: Likewise.
15078 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15080 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15081 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15082 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15083
ebaf36eb
JM
150842012-02-19 Joseph Myers <joseph@codesourcery.com>
15085
15086 [BZ #9739]
15087 * manual/string.texi (strnlen): Use correct parameter name in
15088 equivalent expression.
15089
71c254a6
JM
150902012-02-19 Joseph Myers <joseph@codesourcery.com>
15091
15092 [BZ #11174]
15093 * manual/users.texi (seteuid): Consistently use neweuid for
15094 argument name.
15095
16d2c631
JM
150962012-02-19 Joseph Myers <joseph@codesourcery.com>
15097
15098 [BZ #13704]
15099 * manual/nss.texi (Services in the NSS configuration): Correct
15100 list of services in example configuration file.
15101
cd837b09
NB
151022012-02-19 Nick Bowler <nbowler@draconx.ca>
15103
15104 [BZ #11322]
15105 * manual/arith.texi: Remove statements about negative zero
15106 behaving identically to zero.
15107
02c4bbad
JM
151082012-02-18 Joseph Myers <joseph@codesourcery.com>
15109
15110 [BZ #5993]
15111 * manual/install.texi: Do not document upgrading from libc5.
15112
366842e7
JM
151132012-02-18 Joseph Myers <joseph@codesourcery.com>
15114
15115 [BZ #4596]
15116 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15117
dd54084d
DM
151182012-02-18 David S. Miller <davem@davemloft.net>
15119
15120 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15121 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15122 %o7 across the call.
15123 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15124 instead.
15125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15126 SETUP_PIC_REG_LEAF.
15127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15128 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15129 * sysdeps/sparc/crtn.S: Likewise.
15130
2bcc53a3
UD
151312012-02-17 Ulrich Drepper <drepper@gmail.com>
15132
15133 * aout/Makefile: Remove.
15134
09c093b5
RK
151352012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15136
15137 [BZ #13058]
15138 * manual/examples/argp-ex1.c (main): Format definition in GNU
15139 style.
15140 * manual/examples/argp-ex2.c (main): Likewise.
15141 * manual/examples/argp-ex3.c (main): Likewise.
15142 * manual/examples/argp-ex4.c (main): Likewise.
15143 * manual/examples/longopt.c (main): Use new-style prototype
15144 definition.
15145 * manual/examples/strncat.c (main): Specify return type and use
15146 (void) for arguments.
15147 * manual/examples/subopt.c (main): Use char **argv argument.
15148
2ee633a2
JM
151492012-02-17 Joseph Myers <joseph@codesourcery.com>
15150
15151 [BZ #5077]
15152 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15153 rounding modes.
15154
0520adde
FB
151552012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15156
15157 [BZ #6907]
15158 * manual/string.texi (strchr): Change when strchrnul is
15159 recommended.
15160
3f4081cd
DGM
151612012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15162
15163 [BZ #174]
15164 * manual/locale.texi (setlocale): Document LOCPATH.
15165
d1b10e78
JM
151662012-02-17 Joseph Myers <joseph@codesourcery.com>
15167
15168 [BZ #10210]
15169 * manual/process.texi (execle): Move @dots{} before last argument.
15170
79c6869c
PB
151712012-02-17 Paul Bolle <pebolle@tiscali.nl>
15172
15173 [BZ #12047]
15174 * manual/charset.texi (Generic Charset Conversion): Fix typo
15175 (LC_TYPE -> LC_CTYPE).
15176
cc6e48bc
NB
151772012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15178
15179 [BZ #5805]
15180 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15181 (scalbnf): Likewise.
15182 (scalbnl): Likewise.
15183 (scalbln): Likewise.
15184 (scalblnf): Likewise.
15185 (scalblnl): Likewise.
15186 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15187 (vwarnx): Likewise.
15188 (verr): Likewise.
15189 (verrx): Likewise.
15190 * manual/filesys.texi (telldir): Use braces around return type.
15191 * manual/llio.texi (mmap): Add space after comma.
15192 (mmap64): Likewise.
15193 * manual/math.texi (jn): Use @var{} on parameter names.
15194 (jnf): Likewise.
15195 (jnl): Likewise.
15196 (yn): Likewise.
15197 (ynf): Likewise.
15198 (ynl): Likewise.
15199 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15200 line.
15201 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15202 "...".
15203 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15204 (sched_get_priority_max): Likewise.
15205 * manual/signal.texi (sigvec): Add space after comma.
15206 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15207 names.
15208 (if_indextoname): Likewise.
15209 (if_freenameindex): Likewise.
15210 (sendto): Use ',' instead of '.' in prototype.
15211 * manual/startup.texi (syscall): Use @dots{} instead of literal
15212 "...".
15213 * manual/stdio.texi (__fpending): Separate initial words of
15214 paragraph from @deftypefun line.
15215 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15216 "...".
15217 (vsyslog): Use @var{} on parameter names.
15218 * manual/terminal.texi (stty): Use @var{} on parameter names.
15219 * manual/users.texi (getutmp): Use @var{} on parameter names.
15220 (getutmpx): Likewise.
15221
5b23062f
JM
152222012-02-17 Joseph Myers <joseph@codesourcery.com>
15223
15224 [BZ #6884]
15225 * manual/stdio.texi (fopen): Fix typos in description of
15226 ",ccs=STRING".
15227
8dee4833
AJ
152282012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15229
15230 [BZ #4026]
15231 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15232 get clock_id definition.
15233
9078ce93
TS
152342012-02-17 Thomas Schwinge <thomas@schwinge.name>
15235
15236 [BZ #4822]
15237 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15238 (madvise): Cast every argument to void on its own.
15239
3835c55f
JM
152402012-02-17 Joseph Myers <joseph@codesourcery.com>
15241
15242 [BZ #9902]
15243 * manual/startup.texi (Exit Status): Fix typo.
15244
35c47e37
JM
152452012-02-17 Joseph Myers <joseph@codesourcery.com>
15246
15247 [BZ #10140]
15248 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15249 * manual/examples/argp-ex2.c: Likewise.
15250 * manual/examples/argp-ex3.c: Likewise.
15251
e3b69ca7
RH
152522012-02-16 Richard Henderson <rth@redhat.com>
15253
15254 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15255 * sysdeps/s390/s390-32/initfini.c: Remove.
15256 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15257 * sysdeps/s390/s390-64/initfini.c: Remove.
15258
df83af67
KK
152592012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15260
15261 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15262 compiler output for sysdeps/generic/initfini.c.
15263 * sysdeps/sh/elf/initfini.c: Remove file.
15264
f63f3380
DM
152652012-02-16 David S. Miller <davem@davemloft.net>
15266
fb59b3a4
DM
15267 [BZ #11494]
15268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15269
f63f3380
DM
15270 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15271 * sysdeps/sparc/crti.S: New file.
15272 * sysdeps/sparc/crtn.S: New file.
15273 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15274 * sysdeps/sparc/sparc64/Makefile: Likewise.
15275
df6a4a4a
MF
152762012-02-15 Mike Frysinger <vapier@gentoo.org>
15277
6dd8f3dc 15278 [BZ #3335]
df6a4a4a
MF
15279 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15280
1cac7236
RM
152812012-02-15 Roland McGrath <roland@hack.frob.com>
15282
d2c736f8
RM
15283 [BZ #4822]
15284 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15285
1cac7236
RM
15286 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15287 (write, read, close): Likewise.
15288 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15289
8e475601
JM
152902012-02-15 Joseph Myers <joseph@codesourcery.com>
15291
15292 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15293 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15294 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15295 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15296 <bits/signalfd.h>.
15297 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15299 bits/signalfd.h.
15300
ed656b40
MP
153012012-02-14 Marek Polacek <polacek@redhat.com>
15302
15303 * sysdeps/x86_64/crti.S: New file.
15304 * sysdeps/x86_64/crtn.S: New file.
15305 * sysdeps/x86_64/elf/initfini.c: Remove file.
15306
2a979d3a
JM
153072012-02-13 Joseph Myers <joseph@codesourcery.com>
15308
15309 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15310 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15312 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15313 <bits/inotify.h>.
15314 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15316 bits/inotify.h.
15317
2a418ac3
JM
153182012-02-13 Joseph Myers <joseph@codesourcery.com>
15319
15320 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15321 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15322 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15323 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15324 <bits/eventfd.h>.
15325 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15327 bits/eventfd.h.
15328
fb779be7
TS
153292012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15330
e19e83c5
RM
15331 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15332 __feraiseexcept instead of feraiseexcept.
7c35ffed 15333
fb779be7
TS
15334 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15335 nanosleep invocations.
15336 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15337 strings, and add error checking for a nanosleep invocations.
15338
59ba27a6
PE
153392012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15340
15341 Replace FSF snail mail address with URLs, as per GNU coding standards.
15342 Most of the snail mail addresses were wrong anyway, and omitting
15343 them makes the source code easier to maintain. Almost all of the
15344 changes are to license notices and to locale LC_IDENTIFICATION
15345 addresses, except for this one:
15346 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15347 not its snail mail address.
15348
57b957eb
RH
153492012-02-09 Richard Henderson <rth@twiddle.net>
15350
af850b1c
RH
15351 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15352 of kernel-features.h.
15353
57b957eb
RH
15354 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15355
6b73181a
MP
153562012-02-08 Marek Polacek <polacek@redhat.com>
15357
15358 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15359 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15360 * sysdeps/gnu/_G_config.h: Likewise.
15361 * sysdeps/generic/_G_config.h: Likewise.
15362
26ecc33a
AS
153632012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15364
6c6dbc63
AS
15365 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15366 tests.
15367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15368
e216c012
AS
15369 * sysdeps/powerpc/powerpc32/crti.S: New file.
15370 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15371 * sysdeps/powerpc/powerpc64/crti.S: New file.
15372 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15373
26ecc33a
AS
15374 * Makeconfig (have-initfini): Don't set.
15375 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15376 * configure.in (nopic_initfini): Don't substitute.
15377 * config.h.in (HAVE_INITFINI): Don't #undef.
15378 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15379 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15380
3add8e13
JM
153812012-02-08 Joseph Myers <joseph@codesourcery.com>
15382
15383 Support crti.S and crtn.S provided directly by architectures.
15384 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15385 [crti.S in sysdirs] (omit-deps): Likewise.
15386 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15387 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15388 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15389 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15390 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15391 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15392 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15393 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15394 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15395 compiler output for sysdeps/generic/initfini.c.
15396 * sysdeps/i386/elf/Makefile: Remove file.
15397 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15398
a22f12b4
MP
153992012-02-07 Marek Polacek <polacek@redhat.com>
15400
15401 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15402 * sysdeps/gnu/_G_config.h: Likewise.
15403 * sysdeps/mach/hurd/_G_config.h: Likewise.
15404
148cf100
MP
154052012-02-07 Marek Polacek <polacek@redhat.com>
15406
15407 * math/Makefile (tests): Add tst-CMPLX2.
15408 * math/tst-CMPLX2.c: New file.
15409
cfdc0dd7
AS
154102012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15411
84ba42c4
AS
15412 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15413
cfdc0dd7
AS
15414 * math/libm-test.inc (jn_test): Add missing L suffix.
15415
622c86f4
MP
154162012-02-06 Marek Polacek <polacek@redhat.com>
15417
15418 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15419 * sysdeps/i386/fpu/e_powf.S: Likewise.
15420 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15421 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15422 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15423 * sysdeps/i386/fpu/e_pow.S: Likewise.
15424 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15425 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15426 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15427 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15428 * sysdeps/i386/fpu/e_log2.S: Likewise.
15429 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15430 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15431 * sysdeps/i386/fpu/e_powl.S: Likewise.
15432 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15433 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15434 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15435 * sysdeps/i386/fpu/e_logl.S: Likewise.
15436 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15437 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15438 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15439 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15440 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15441 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15442 * sysdeps/i386/fpu/e_log.S: Likewise.
15443 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15444 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15445 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15446 * sysdeps/i386/fpu/e_logf.S: Likewise.
15447 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15448 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15449 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15450 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15451 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15452 * sysdeps/i386/fpu/e_log10.S: Likewise.
15453 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15454 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15455 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15456 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15457 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15458 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15459 * sysdeps/i386/asm-syntax.h: Likewise.
15460 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15461 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15462 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15463 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15464 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15465 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15466 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15467 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15468 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15469 * sysdeps/powerpc/sysdep.h: Likewise.
15470 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15471 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15472
d4a54ac6
JM
154732012-02-06 Joseph Myers <joseph@codesourcery.com>
15474
15475 [BZ #411]
15476 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15477
314054ea
JM
154782012-02-06 Joseph Myers <joseph@codesourcery.com>
15479
15480 * sysdeps/i386/sysdep.h: Include <features.h>.
15481 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15482 version.
15483
d8e0ca50
JM
154842012-02-05 Joseph Myers <joseph@codesourcery.com>
15485
15486 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15487 Define.
15488 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15489 LOAD_PIC_REG_STR.
15490
b1da7dd9
JM
154912012-02-03 Joseph Myers <joseph@codesourcery.com>
15492
15493 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15494 (SETUP_PIC_REG): Use GET_PC_THUNK.
15495 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15496 macro.
15497
9a1d9254
JM
154982012-02-03 Joseph Myers <joseph@codesourcery.com>
15499
15500 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15501 for non-PIC compilation.
15502 (SETUP_PIC_REG): Add .p2align directive.
15503 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15504 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15505 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15506 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15507 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15508 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15509 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15510 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15511 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15512 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15513 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15514 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15515 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15516 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15517 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15518 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15519 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15520 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15521 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15522 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15523 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15524 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15525 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15526 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15530 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15531 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15532 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15533 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15534 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15535 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15536 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15537 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15538 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15539 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15540 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15541 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15542 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15543 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15544
65dc3b75
JM
155452012-02-03 Joseph Myers <joseph@codesourcery.com>
15546
15547 * math/tst-CMPLX.c: Include <stdio.h>.
15548
d55bf177
JM
155492012-01-31 Joseph Myers <joseph@codesourcery.com>
15550
15551 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15552 float.
15553 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15554 * sysdeps/sparc/bits/mathdef.h: Likewise.
15555
69db4f8f
MP
155562012-01-31 Marek Polacek <polacek@redhat.com>
15557
15558 * libio/libio.h: Don't define _PARAMS.
15559 * locale/programs/config.h: Don't define PARAMS.
15560 * stdlib/strtol_l.c: Likewise.
15561 (__strtol_l): Remove PARAMS from the prototype.
15562
41b81892
UD
155632012-01-31 Ulrich Drepper <drepper@gmail.com>
15564
3b49edc0
UD
15565 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15566 names. Just use the correct names. Remove unnecessary wrapper
15567 functions.
15568 * malloc/arena.c: Likewise.
15569 * malloc/hooks.c: Likewise.
15570
41b81892
UD
15571 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15572 ARENA_TEST says not to. Simplify test for creation of a new arena.
15573 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15574
27a25b6e
UD
155752012-01-30 Ulrich Drepper <drepper@gmail.com>
15576
15577 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15578 into tail calls.
15579 (update_get_addr): New function.
15580 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15581 GET_ADDR_MODULE parameter.
15582
c8a89e7d
JM
155832012-01-30 Joseph Myers <joseph@codesourcery.com>
15584
15585 * crypt/cert.c: Remove __STDC__ conditionals.
15586 * crypt/crypt-entry.c: Likewise.
15587 * crypt/crypt_util.c: Likewise.
15588 * libio/filedoalloc.c: Likewise.
15589 * libio/fileops.c: Likewise.
15590 * libio/genops.c: Likewise.
15591 * libio/iofclose.c: Likewise.
15592 * libio/iofdopen.c: Likewise.
15593 * libio/iofopen.c: Likewise.
15594 * libio/iofopen64.c: Likewise.
15595 * libio/iogetdelim.c: Likewise.
15596 * libio/iopopen.c: Likewise.
15597 * libio/obprintf.c: Likewise.
15598 * libio/oldfileops.c: Likewise.
15599 * libio/oldiofclose.c: Likewise.
15600 * libio/oldiofdopen.c: Likewise.
15601 * libio/oldiofopen.c: Likewise.
15602 * libio/oldiopopen.c: Likewise.
15603 * libio/wfiledoalloc.c: Likewise.
15604 * libio/wgenops.c: Likewise.
15605 * locale/programs/xmalloc.c: Likewise.
15606 * misc/syslog.c: Likewise.
15607 * stdio-common/xbug.c: Likewise.
15608 * string/memchr.c: Likewise.
15609 * string/memcmp.c: Likewise.
15610 * string/memrchr.c: Likewise.
15611 * string/rawmemchr.c: Likewise.
15612 * sysdeps/posix/getcwd.c: Likewise.
15613 * time/strftime_l.c: Likewise.
15614
3b100462
JM
156152012-01-30 Joseph Myers <joseph@codesourcery.com>
15616
15617 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15618 * config.make.in (config-cflags-sse2avx): Define.
15619 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15620 Fix typo.
15621
607998af
CM
156222012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15623
15624 * scripts/config.guess: Update from upstream config git repository.
15625 * scripts/config.sub: Likewise.
15626
3601428f
CM
156272012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15628
3ac8b282
CM
15629 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15630 (EM_NUM): Update.
15631 (R_TILEPRO_*, R_TILEGX_*): New macros.
15632
e034841e
CM
15633 * scripts/firstversions.awk: Fix bug in version range handling.
15634
540d7568
CM
15635 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15636
3601428f
CM
15637 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15638
463de862
CM
15639 * include/sys/epoll.h: New file.
15640 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15641 libc_hidden_def.
15642
73139a76
UD
156432012-01-28 Ulrich Drepper <drepper@gmail.com>
15644
96bc5b45
UD
15645 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15646 Avoid unnecessary __WORDSIZE == 64 test.
15647 (fmaxf): Use VEX format if possible.
15648 (fmax): Likewise.
15649 (fminf): Likewise.
15650 (fmin): Likewise.
15651
56f6f6a2
UD
15652 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15653 * math/math_private.h: Remove libc_fegetround* and
15654 libc_fesetround*.
15655 * sysdeps/i386/configure.in: Check for -msse2avx.
15656 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15657 also if SSE2AVX is defined.
15658 Remove libc_fegetround* and libc_fesetround*.
15659 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15660 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15662 of HAS_YMM_USABLE.
15663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15668
73139a76
UD
15669 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15670
d73f93a4
AZ
156712012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15672
15673 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15674 size is not set.
15675 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15676
6ee65ed6
UD
156772012-01-27 Ulrich Drepper <drepper@gmail.com>
15678
15679 [BZ #13618]
15680 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15681 relocation.
15682 * Makeconfig (libm): Define.
15683 * elf/Makefile: Add rules to build and run tst-relsort1.
15684 * elf/tst-relsort1.c: New file.
15685 * elf/tst-relsort1mod1.c: New file.
15686 * elf/tst-relsort1mod2.c: New file.
15687
8db21882
JM
156882012-01-27 Joseph Myers <joseph@codesourcery.com>
15689
15690 * math/s_ldexp.c: Remove __STDC__ conditionals.
15691 * math/s_ldexpf.c: Likewise.
15692 * math/s_ldexpl.c: Likewise.
15693 * math/s_nextafter.c: Likewise.
15694 * math/s_nexttowardf.c: Likewise.
15695 * math/s_significand.c: Likewise.
15696 * math/s_significandf.c: Likewise.
15697 * math/s_significandl.c: Likewise.
15698 * math/w_jnl.c: Likewise.
15699 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15700 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15701 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15702 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15703 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15704 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15705 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15706 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15707 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15709 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15711 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15712 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15718 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15719 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15720 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15721 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15723 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15724 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15725 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15726 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15727 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15728 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15729 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15730 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15731 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15732 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15733 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15734 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15735 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15736 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15737 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15738 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15739 * sysdeps/ieee754/k_standard.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15788 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15801 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15806 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15814 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15815 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15819 * sysdeps/ieee754/s_matherr.c: Likewise.
15820 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15821 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15824
965a54a4
JM
158252012-01-26 Joseph Myers <joseph@codesourcery.com>
15826
15827 * crypt/md5.h: Remove __STDC__ conditionals.
15828 * libio/libioP.h: Likewise.
15829 * locale/programs/config.h: Likewise.
15830 * sysdeps/generic/sysdep.h: Likewise.
15831 * sysdeps/i386/asm-syntax.h: Likewise.
15832 * sysdeps/s390/asm-syntax.h: Likewise.
15833 * sysdeps/unix/sysdep.h: Likewise.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15836
7071ad79
JM
158372012-01-26 Joseph Myers <joseph@codesourcery.com>
15838
15839 * libio/libio.h: Remove __STDC__ conditionals.
15840 * malloc/obstack.h: Likewise.
15841 * math/complex.h: Likewise.
15842 * math/math.h: Likewise.
15843 * sysdeps/generic/_G_config.h: Likewise.
15844 * sysdeps/gnu/_G_config.h: Likewise.
15845 * sysdeps/mach/hurd/_G_config.h: Likewise.
15846 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15848 * sysdeps/sparc/bits/mathdef.h: Likewise.
15849
afc5ed09
UD
158502012-01-26 Ulrich Drepper <drepper@gmail.com>
15851
15852 [BZ #13583]
15853 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15854 Clean up HAS_* macros.
afc5ed09 15855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15856 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15857 possible.
15858 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15859 HAS_AVX.
15860 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15861 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15862 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15863 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15864 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15865
bdb6de1d
JM
158662012-01-25 Joseph Myers <joseph@codesourcery.com>
15867
15868 * elf/tst-unique3.cc (gets): Remove declaration.
15869 * elf/tst-unique3lib.cc (gets): Likewise.
15870 * elf/tst-unique3lib2.cc (gets): Likewise.
15871 * elf/tst-unique4.cc (gets): Likewise.
15872
b15549e6
UD
158732012-01-24 Ulrich Drepper <drepper@gmail.com>
15874
15875 * include/stdio.h: Add C++ protection. Add gets declarations and
15876 definitions.
15877 * debug/tst-chk1.c: Don't declare gets here.
15878 * stdio-common/tst-gets.c: Likewise.
15879
a037381f
JM
158802012-01-24 Joseph Myers <joseph@codesourcery.com>
15881
15882 * posix/glob: Remove directory.
15883
f1d4aa75
JM
158842012-01-24 Joseph Myers <joseph@codesourcery.com>
15885
15886 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15887
81c0c964
PT
158882012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15889
15890 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15891 of the non-standard EPFNOSUPPORT.
15892
0ea698ae
ST
158932011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15894
15895 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15896 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15897 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15898
d220b117
UD
158992012-01-21 Ulrich Drepper <drepper@gmail.com>
15900
15901 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15902
3e1aa84e
UD
159032012-01-20 Ulrich Drepper <drepper@gmail.com>
15904
15905 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15906 transient errors.
15907 * nscd/grpcache.c (cache_addgr): Likewise.
15908 * nscd/hstcache.c (cache_addhst): Likewise.
15909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15910 * nscd/pwdcache.c (cache_addpw): Likewise.
15911 * nscd/servicescache.c (cache_addserv): Likewise.
15912
400aa020
UD
159132012-01-16 Ulrich Drepper <drepper@gmail.com>
15914
d77e7869
UD
15915 * malloc/malloc.c: Various cleanups.
15916 * malloc/hooks.c: Likewise.
15917
400aa020
UD
15918 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15919 * stdlib/bug-fmtmsg1.c: New file.
15920
15921 * stdlib/fmtmsg.c (init): Add missing unlock.
15922 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15923
e0a309cf
MP
159242012-01-12 Marek Polacek <polacek@redhat.com>
15925
15926 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15927 and _GNU_SOURCE.
15928
929d11c7
WS
159292012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15930
15931 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15932 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15933 macro to ensure uniqueness of label name.
15934 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15935 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15936
41d0e869
UD
159372012-01-11 Ulrich Drepper <drepper@gmail.com>
15938
0cc5ed3b
UD
15939 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15940
41d0e869
UD
15941 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15942 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15943 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15945
a47a831a
UD
159462012-01-10 Ulrich Drepper <drepper@gmail.com>
15947
daa891c0
UD
15948 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15949
15950 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15951 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15952 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15953
e58ef0f2
UD
15954 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15955
a47a831a 15956 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15957 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15958 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15960
15961 * math/bits/math-finite.h: Add ldexp support.
15962
a0bfc9c7
MP
159632012-01-10 Marek Polacek <polacek@redhat.com>
15964
15965 * locale/programs/localedef.h (show_archive_content): Add noreturn
15966 attribute.
15967
d6e97a1d
UD
159682012-01-09 Ulrich Drepper <drepper@gmail.com>
15969
15970 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15971
d5835c26
UD
159722012-01-08 Ulrich Drepper <drepper@gmail.com>
15973
e5f484c6
UD
15974 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15975
d5835c26
UD
15976 * io/Makefile (headers): Add bits/poll2.h.
15977
d1f741e9
WS
159782011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15979
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15981 typo #include statement.
15982
ec09c1c4
UD
159832012-01-08 Ulrich Drepper <drepper@gmail.com>
15984
15985 * include/sys/cdefs.h: Define __attribute_alloc_size.
15986 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15987 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15988 * elf/pldd.c: Likewise.
15989 * iconv/iconv_charmap.c: Likewise.
15990 * iconv/iconvconfig.c: Likewise.
15991 * iconv/strtab.c: Likewise.
15992 * locale/programs/locale.c: Likewise.
15993 * locale/programs/localedef.h: Likewise.
15994 * locale/programs/simple-hash.c: Likewise.
15995 * nscd/nscd.h: Likewise.
15996 * nss/makedb.c: Likewise.
15997 * sysdeps/generic/ldconfig.h: Likewise.
15998 * locale/programs/localedef.c: Remove xmalloc prototype.
15999 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16000
20b38e03
PP
160012012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16002
16003 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16004 appropriate.
16005
a0da5fe1
UD
160062012-01-08 Ulrich Drepper <drepper@gmail.com>
16007
1d5a644a 16008 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16009 * math/tst-CMPLX.c: New file.
1d5a644a 16010
8784a6db
UD
16011 * math/complex.h (CMPLXL): Fix typo.
16012
d9a216c0
UD
16013 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16014 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16015 GLIBC_2.16.
16016 * debug/tst-chk1.c: Add poll and ppoll tests.
16017 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16018 * include/sys/poll.h: Add hidden proto for ppoll.
16019 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16020 * sysdeps/mach/hurd/ppoll.c: Likewise.
16021 * io/ppoll.c: Likewise.
16022 * debug/poll_chk.c: New file.
16023 * debug/ppoll_chk.c: New file.
16024 * include/bits/poll2.h: New file.
16025 * io/bits/poll2.h: New file.
16026
ac097f5c
UD
16027 [BZ #1350]
16028 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16029
2119dcfa
UD
16030 * configure.in: static is always set to yes. Remove.
16031 * config.make.in: Don't set build-static.
16032 * Makeconfig: Remove use of build-static.
16033 * dlfcn/Makefile: Likewise.
16034 * elf/Makefile: Likewise.
16035 * math/Makefile: Likewise.
16036 * misc/Makefile: Likewise.
16037 * nptl/Makefile: Likewise.
16038 * sysdeps/mach/hurd/Makefile: Likewise.
16039
121766a9
UD
16040 * configure.in: PWD_P is not used anymore.
16041 * config.make.in: Remove PWD_P entry.
16042
51a1d39c 16043 * configure.in: Remove last remnants of RANLIB.
8720d066 16044 No need to check for signed size_t anymore.
215f4bdc
UD
16045 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16046 and IA-64.
3857022a 16047 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16048 * aclocal.m4: Likewise.
16049
d3ed7225
UD
16050 * wcsmbs/mbrtoc16.c: Implement using towc function.
16051 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16052 * wcsmbs/wcsmbsload.c: Likewise.
16053 * iconv/gconv_simple.c: Likewise.
16054 * iconv/gconv_int.h: Likewise.
16055 * iconv/gconv_builtin.h: Likewise.
16056 * iconv/iconv_prog.c: Remove CHAR16 handling.
16057
16058 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16059
16060 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16061
a0da5fe1
UD
16062 * configure.in: Remove --with-elf and --enable-bounded options.
16063 Dont set base_machine for ia64. More non-ELF conditions removed.
16064 Remove testing and setting of leading underscore information.
16065 * config.make.in (build-bounded): Set to no.
16066 * config.h.in: Remove NO_UNDERSCORES entry.
16067 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16068 them.
16069 * csu/start.c: Remove !NO_UNDERSCORE code.
16070 * locale/localeinfo.h: Likewise.
16071 * sysdeps/generic/machine-gmon.h: Likewise.
16072 * sysdeps/generic/sysdep.h: Likewise.
16073 * sysdeps/i386/sysdep.h: Likewise.
16074 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16075 * sysdeps/mach/sysdep.h: Likewise.
16076 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16078 * sysdeps/sh/sysdep.h: Likewise.
16079 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16080 * sysdeps/unix/i386/sysdep.S: Likewise.
16081 * sysdeps/unix/sparc/start.c: Likewise.
16082 * sysdeps/unix/sparc/sysdep.S: Likewise.
16083 * sysdeps/unix/sparc/sysdep.h: Likewise.
16084 * sysdeps/unix/start.c: Likewise.
16085 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16086 * sysdeps/x86_64/sysdep.h: Likewise.
16087
df78418a
UD
160882012-01-07 Ulrich Drepper <drepper@gmail.com>
16089
a784e502
UD
16090 [BZ #13553]
16091 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16092 for non-gcc.
16093 * argp/argp-fmtstream.h: Use const instead __const.
16094 * argp/argp.h: Likewise.
16095 * assert/assert.h: Likewise.
16096 * bits/fenv.h: Likewise.
16097 * bits/sched.h: Likewise.
16098 * bits/sigset.h: Likewise.
16099 * bits/sigthread.h: Likewise.
16100 * catgets/nl_types.h: Likewise.
16101 * conform/data/pthread.h-data: Likewise.
16102 * crypt/crypt-private.h: Likewise.
16103 * crypt/crypt.h: Likewise.
16104 * crypt/crypt_util.c: Likewise.
16105 * ctype/ctype.h: Likewise.
16106 * debug/execinfo.h: Likewise.
16107 * debug/mbsnrtowcs_chk.c: Likewise.
16108 * debug/mbsrtowcs_chk.c: Likewise.
16109 * debug/wcsnrtombs_chk.c: Likewise.
16110 * debug/wcsrtombs_chk.c: Likewise.
16111 * debug/wcstombs_chk.c: Likewise.
16112 * dirent/dirent.h: Likewise.
16113 * dlfcn/dlfcn.h: Likewise.
16114 * elf/neededtest4.c: Likewise.
16115 * grp/grp.h: Likewise.
16116 * gshadow/gshadow.h: Likewise.
16117 * iconv/gconv.h: Likewise.
16118 * iconv/gconv_int.h: Likewise.
16119 * iconv/gconv_simple.c: Likewise.
16120 * iconv/iconv.h: Likewise.
16121 * iconv/loop.c: Likewise.
16122 * iconv/skeleton.c: Likewise.
16123 * include/aio.h: Likewise.
16124 * include/aliases.h: Likewise.
16125 * include/argz.h: Likewise.
16126 * include/arpa/inet.h: Likewise.
16127 * include/assert.h: Likewise.
16128 * include/dirent.h: Likewise.
16129 * include/dlfcn.h: Likewise.
16130 * include/execinfo.h: Likewise.
16131 * include/fcntl.h: Likewise.
16132 * include/fenv.h: Likewise.
16133 * include/glob.h: Likewise.
16134 * include/grp.h: Likewise.
16135 * include/libintl.h: Likewise.
16136 * include/mntent.h: Likewise.
16137 * include/netdb.h: Likewise.
16138 * include/pwd.h: Likewise.
16139 * include/rpc/netdb.h: Likewise.
16140 * include/sched.h: Likewise.
16141 * include/search.h: Likewise.
16142 * include/shadow.h: Likewise.
16143 * include/signal.h: Likewise.
16144 * include/stdio.h: Likewise.
16145 * include/stdlib.h: Likewise.
16146 * include/string.h: Likewise.
16147 * include/sys/socket.h: Likewise.
16148 * include/sys/stat.h: Likewise.
16149 * include/sys/statfs.h: Likewise.
16150 * include/sys/statvfs.h: Likewise.
16151 * include/sys/syslog.h: Likewise.
16152 * include/sys/time.h: Likewise.
16153 * include/sys/uio.h: Likewise.
16154 * include/time.h: Likewise.
16155 * include/unistd.h: Likewise.
16156 * include/utmp.h: Likewise.
16157 * include/wchar.h: Likewise.
16158 * include/wctype.h: Likewise.
16159 * inet/aliases.h: Likewise.
16160 * inet/arpa/inet.h: Likewise.
16161 * inet/netinet/ether.h: Likewise.
16162 * inet/netinet/in.h: Likewise.
16163 * intl/libintl.h: Likewise.
16164 * io/bits/fcntl2.h: Likewise.
16165 * io/fcntl.h: Likewise.
16166 * io/ftw.h: Likewise.
16167 * io/sys/poll.h: Likewise.
16168 * io/sys/stat.h: Likewise.
16169 * io/sys/statfs.h: Likewise.
16170 * io/sys/statvfs.h: Likewise.
16171 * io/utime.h: Likewise.
16172 * libio/bits/stdio.h: Likewise.
16173 * libio/bits/stdio2.h: Likewise.
16174 * libio/libio.h: Likewise.
16175 * libio/libioP.h: Likewise.
16176 * libio/stdio.h: Likewise.
16177 * locale/lc-ctype.c: Likewise.
16178 * locale/locale.h: Likewise.
16179 * login/utmp.h: Likewise.
16180 * malloc/arena.c: Likewise.
16181 * malloc/malloc.c: Likewise.
16182 * malloc/malloc.h: Likewise.
16183 * malloc/mcheck.c: Likewise.
16184 * malloc/mtrace.c: Likewise.
16185 * math/bits/mathcalls.h: Likewise.
16186 * math/fenv.h: Likewise.
16187 * math/math_private.h: Likewise.
16188 * misc/bits/error.h: Likewise.
16189 * misc/bits/syslog.h: Likewise.
16190 * misc/err.h: Likewise.
16191 * misc/error.h: Likewise.
16192 * misc/fstab.h: Likewise.
16193 * misc/mntent.h: Likewise.
16194 * misc/regexp.h: Likewise.
16195 * misc/search.h: Likewise.
16196 * misc/sgtty.h: Likewise.
16197 * misc/sys/mman.h: Likewise.
16198 * misc/sys/syslog.h: Likewise.
16199 * misc/sys/uio.h: Likewise.
16200 * misc/sys/xattr.h: Likewise.
16201 * misc/ttyent.h: Likewise.
16202 * nis/rpcsvc/ypclnt.h: Likewise.
16203 * nss/nss.h: Likewise.
16204 * posix/bits/unistd.h: Likewise.
16205 * posix/fnmatch.h: Likewise.
16206 * posix/glob.h: Likewise.
16207 * posix/sched.h: Likewise.
16208 * posix/spawn.h: Likewise.
16209 * posix/sys/wait.h: Likewise.
16210 * posix/unistd.h: Likewise.
16211 * posix/wordexp.h: Likewise.
16212 * pwd/pwd.h: Likewise.
16213 * resolv/netdb.h: Likewise.
16214 * resource/sys/resource.h: Likewise.
16215 * rt/aio.h: Likewise.
16216 * rt/bits/mqueue2.h: Likewise.
16217 * rt/mqueue.h: Likewise.
16218 * shadow/shadow.h: Likewise.
16219 * signal/signal.h: Likewise.
16220 * socket/send.c: Likewise.
16221 * socket/sendto.c: Likewise.
16222 * socket/sys/socket.h: Likewise.
16223 * stdio-common/printf.h: Likewise.
16224 * stdlib/bits/stdlib.h: Likewise.
16225 * stdlib/fmtmsg.h: Likewise.
16226 * stdlib/monetary.h: Likewise.
16227 * stdlib/stdlib.h: Likewise.
16228 * stdlib/ucontext.h: Likewise.
16229 * streams/stropts.h: Likewise.
16230 * string/argz.h: Likewise.
16231 * string/bits/string2.h: Likewise.
16232 * string/string.h: Likewise.
16233 * string/strings.h: Likewise.
16234 * sunrpc/rpc/auth.h: Likewise.
16235 * sunrpc/rpc/auth_des.h: Likewise.
16236 * sunrpc/rpc/clnt.h: Likewise.
16237 * sunrpc/rpc/netdb.h: Likewise.
16238 * sunrpc/rpc/pmap_clnt.h: Likewise.
16239 * sunrpc/rpc/xdr.h: Likewise.
16240 * sysdeps/generic/inttypes.h: Likewise.
16241 * sysdeps/generic/net/if.h: Likewise.
16242 * sysdeps/generic/sys/swap.h: Likewise.
16243 * sysdeps/gnu/net/if.h: Likewise.
16244 * sysdeps/gnu/utmpx.h: Likewise.
16245 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16246 * sysdeps/i386/i486/bits/string.h: Likewise.
16247 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16248 * sysdeps/s390/bits/string.h: Likewise.
16249 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16250 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16251 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16252 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16253 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16254 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16255 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16256 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16257 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16258 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16259 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16260 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16261 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16262 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16263 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16264 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16265 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16267 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16269 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16270 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16271 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16272 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16273 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16274 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16275 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16276 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16277 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16278 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16279 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16280 * sysvipc/sys/ipc.h: Likewise.
16281 * sysvipc/sys/msg.h: Likewise.
16282 * sysvipc/sys/sem.h: Likewise.
16283 * sysvipc/sys/shm.h: Likewise.
16284 * termios/termios.h: Likewise.
16285 * time/sys/time.h: Likewise.
16286 * time/time.h: Likewise.
16287 * wcsmbs/bits/wchar2.h: Likewise.
16288 * wcsmbs/uchar.h: Likewise.
16289 * wcsmbs/wchar.h: Likewise.
16290 * wctype/wctype.h: Likewise.
16291
0269750c
UD
16292 [BZ #13551]
16293 * Makeconfig: Remove all but ELF support including AIX support.
16294 * Makerules: Likewise.
16295 * config.h.in: Likewise.
16296 * config.make.in: Likewise.
16297 * configure: Likewise.
16298 * configure.in: Likewise.
16299 * csu/Makefile: Likewise.
16300 * csu/version.c: Likewise.
16301 * debug/Makefile: Likewise.
16302 * dlfcn/Makefile: Likewise.
16303 * elf/Makefile: Likewise.
16304 * extra-lib.mk: Likewise.
16305 * iconv/Makefile: Likewise.
16306 * include/libc-symbols.h: Likewise.
16307 * include/shlib-compat.h: Likewise.
16308 * resolv/Makefile: Likewise.
16309 * resolv/res_libc.c: Likewise.
16310 * rt/Makefile: Likewise.
16311 * sysdeps/i386/asm-syntax.h: Likewise.
16312 * sysdeps/i386/sysdep.h: Likewise.
16313 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16314 * sysdeps/mach/sysdep.h: Likewise.
16315 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16316 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16317 * sysdeps/s390/asm-syntax.h: Likewise.
16318 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16319 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16320 * sysdeps/sh/sysdep.h: Likewise.
16321 * sysdeps/unix/sparc/sysdep.h: Likewise.
16322 * sysdeps/wordsize-32/divdi3.c: Likewise.
16323 * sysdeps/x86_64/sysdep.h: Likewise.
16324
00bbd29b
UD
16325 * argp/Versions: Remove _argp_unlock_xxx.
16326
16327 [BZ #13559]
16328 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16329 * abilist/libBrokenLocale.abilist: Likewise.
16330 * abilist/libanl.abilist: Likewise.
16331 * abilist/libc.abilist: Likewise.
16332 * abilist/libcrypt.abilist: Likewise.
16333 * abilist/libdl.abilist: Likewise.
16334 * abilist/libm.abilist: Likewise.
16335 * abilist/libnsl.abilist: Likewise.
16336 * abilist/libpthread.abilist: Likewise.
16337 * abilist/libresolv.abilist: Likewise.
16338 * abilist/librt.abilist: Likewise.
16339 * abilist/libthread_db.abilist: Likewise.
16340 * abilist/libutil.abilist: Likewise.
16341 * abilist/libnss_db.abilist: New file.
16342
16343 * scripts/abilist.awk: Add support for indirect functions.
16344
a2693a0e
UD
16345 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16346
3f05895f
UD
16347 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16348
ecb6fb48
UD
16349 * shlib-versions: Remove entries for ports architectures.
16350
664f8cb9
UD
16351 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16352 files in ports.
16353 * elf/stackguard-macros.h: Remove support for IA-64.
16354 * elf/tst-auditmod1.c: Likewise.
16355 * sysdeps/generic/ldsodefs.h: Likewise.
16356
7ae81d88
UD
16357 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16358 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16359 configure files.
16360
bdeba135
UD
16361 [BZ #13552]
16362 * configure.in: Remove --enable-omitfp support.
16363 * FAQ.in: Adjust.
16364 * config.make.in: Likewise.
16365 * Makeconfig: Likewise.
16366 * manual/install.texi: Likewise.
16367
d75a0a62
UD
16368 In case anyone cares, the IA-64 architecture could move to ports.
16369 * sysdeps/ia64/*: Removed.
16370 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16371 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16372
dcc9756b
UD
16373 [BZ #13555]
16374 * configure.in: Remove entries for unsupported architectures.
16375
d3761ebc 16376 [BZ #13533]
9954432e
UD
16377 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16378 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16379 routines.
16380 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16381 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16382 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16383 fall back to using wcrtomb.
16384 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16385 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16386 renaming.
16387 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16388 * wcsmbs/tst-c16c32-1.c: New file.
16389
16390 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16391 local variable.
16392
c3a87236
UD
16393 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16394
28926a1b
UD
16395 * elf/tst-unique3.cc: Add explicit declaration of gets.
16396 * elf/tst-unique3lib.cc: Likewise.
16397 * elf/tst-unique3lib2.cc: Likewise.
16398 * elf/tst-unique4.cc: Likewise.
16399
df78418a
UD
16400 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16401
8ecd6b2a
JM
164022012-01-06 Joseph Myers <joseph@codesourcery.com>
16403
16404 [BZ #13566]
16405 * assert/assert.h (static_assert): Don't define for C++.
16406 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16407 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16408
9f115170
UD
164092012-01-03 Ulrich Drepper <drepper@gmail.com>
16410
5e0d0300
UD
16411 * iconv/loop.c (single loop): Fix assertion in storing of
16412 remaining bytes.
16413
9f115170
UD
16414 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16415
81fb02b0
UD
164162012-01-01 Ulrich Drepper <drepper@gmail.com>
16417
16418 * posix/getconf.c: Update copyright year.
16419 * nss/getent.c: Likewise.
a316c1f6 16420 * nss/makedb.c: Likewise.
81fb02b0
UD
16421 * iconv/iconvconfig.c: Likewise.
16422 * iconv/iconv_prog.c: Likewise.
16423 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16424 * elf/pldd.c: Likewise.
16425 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16426 * catgets/gencat.c: Likewise.
16427 * csu/version.c: Likewise.
16428 * elf/ldd.bash.in: Likewise.
16429 * elf/sprof.c (print_version): Likewise.
16430 * locale/programs/locale.c: Likewise.
16431 * locale/programs/localedef.c: Likewise.
a316c1f6 16432 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16433 * nscd/nscd.c (print_version): Likewise.
16434 * debug/xtrace.sh: Likewise.
16435 * malloc/memusage.sh: Likewise.
16436 * malloc/mtrace.pl: Likewise.
16437 * debug/catchsegv.sh: Likewise.
16438
2ba92745
JJ
164392011-12-30 Jakub Jelinek <jakub@redhat.com>
16440
16441 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16442 pure attribute.
16443
dadebdae
UD
164442011-12-24 Ulrich Drepper <drepper@gmail.com>
16445
d3761ebc 16446 [BZ #13533]
db6af3eb
UD
16447 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16448 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16449 transformations.
16450 * iconv/gconv_int.h: Likewise.
16451 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16452 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16453 from libc for GLIBC_2.16.
16454 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16455 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16456 * wcsmbs/uchar.h: Really define mbstate_t.
16457 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16458 * wcsmbs/c16rtomb.c: New file.
16459 * wcsmbs/mbrtoc16.c: New file.
16460 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16461 for C/POSIX locale.
16462 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16463 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16464
dadebdae
UD
16465 * wcsmbs/wchar.h: Add missing __restrict.
16466
67371b56
UD
164672011-12-23 Ulrich Drepper <drepper@gmail.com>
16468
74033a25
UD
16469 [BZ #13532]
16470 * time/Makefile (routines): Add timespec_get.
16471 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16472 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16473 timespec for ISO C11.
16474 * time/timespec_get.c: New file.
16475 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16476 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16477
380d7e87
UD
16478 [BZ #13531]
16479 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16480 * stdlib/stdlib.h: Declare aligned_alloc.
16481 * Versions.def: Add GLIBC_2.16 for libc.
16482 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16483
4e9e7a35
UD
16484 [BZ 13527]
16485 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16486 ISO C11.
16487
380d7e87 16488 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16489 code.
16490
03a71829
UD
16491 [BZ #13528]
16492 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16493
839e283e
UD
16494 [BZ #13529]
16495 * assert/assert.h (static_assert): Define.
16496
ce5294e2 16497 * version.h: Update for 2.16 development version.
90fa7312 16498
8d44e150 16499 [BZ #13526]
d7809905
UD
16500 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16501 _ISOC11_SOURCE.
16502
c0da14cd
UD
16503 * version.h (RELEASE): Bump for 2.15 release.
16504 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16505
530a3249
MP
16506 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16507 Patch by Marek Polacek <mpolacek@redhat.com>.
16508
67371b56
UD
16509 * bits/byteswap.h: Protect long long constants with __extension__.
16510 * sysdeps/i386/bits/byteswap.h: Likewise.
16511 * sysdeps/ia64/bits/byteswap.h: Likewise.
16512 * sysdeps/s390/bits/byteswap.h: Likewise.
16513 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16514
15db4de1
LD
165152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16516
16517 [BZ #13540]
bbe315ea
LD
16518 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16519 destination buffer.
15db4de1
LD
16520 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16521
2b2596b1
MP
165222011-12-23 Marek Polacek <polacek@redhat.com>
16523
16524 * elf/dl-addr.c (determine_info): Add inline keyword.
16525 * elf/tst-auditmod4b.c (check_avx): Likewise.
16526 * elf/tst-auditmod6b.c (check_avx): Likewise.
16527 * elf/tst-auditmod6c.c (check_avx): Likewise.
16528 * elf/tst-auditmod7b.c (check_avx): Likewise.
16529
70c6c246
UD
165302011-12-23 Ulrich Drepper <drepper@gmail.com>
16531
16532 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16533 !__SSE_MATH__.
16534
c044cf14
LD
165352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16536
15db4de1 16537 [BZ #13540]
c044cf14
LD
16538 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16539 processing for last bytes.
16540
6b13d9d9
BH
165412011-08-06 Bruno Haible <bruno@clisp.org>
16542
d455f537
BH
16543 [BZ #13061]
16544 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16545 U+0385, not to U+1FEE.
16546
6b13d9d9
BH
16547 [BZ #13062]
16548 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16549 entry for U+00A5 U+0301.
16550
db910efd
UD
165512011-12-22 Ulrich Drepper <drepper@gmail.com>
16552
27deeafc
UD
16553 [BZ #13166]
16554 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16555 buffer for the output is too small.
16556
aed9d171
UD
16557 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16558 optimization.
16559
db910efd
UD
16560 [BZ #13185]
16561 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16562 SSE flags if possible.
16563
2bd779ae
LD
165642011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16565
e7f9dac3 16566 [BZ #13540]
2bd779ae
LD
16567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16568 processing for last bytes.
16569
154bfc16
JM
165702011-12-22 Joseph Myers <joseph@codesourcery.com>
16571
16572 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16573 (syscall-list-default-options, syscall-list-default-condition)
16574 (syscall-list-includes): Define.
16575 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16576 list of ABIs and options and #if conditions for each ABI. Do not
16577 handle common syscalls between ABIs specially.
16578 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16579 Remove.
16580 (syscall-list-variants, syscall-list-32bit-options)
16581 (syscall-list-32bit-condition, syscall-list-64bit-options)
16582 (syscall-list-64bit-condition): Define.
16583 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16584 (syscall-list-variants, syscall-list-32bit-options)
16585 (syscall-list-32bit-condition, syscall-list-64bit-options)
16586 (syscall-list-64bit-condition): Define.
16587 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16588 Remove.
16589 (syscall-list-variants, syscall-list-32bit-options)
16590 (syscall-list-32bit-condition, syscall-list-64bit-options)
16591 (syscall-list-64bit-condition): Define.
16592 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16593 Remove.
16594 (syscall-list-variants, syscall-list-32bit-options)
16595 (syscall-list-32bit-condition, syscall-list-64bit-options)
16596 (syscall-list-64bit-condition): Define.
16597
21eaf3a5
UD
165982011-12-22 Ulrich Drepper <drepper@gmail.com>
16599
16c6f992
UD
16600 * locale/iso-639.def: Add brx entry.
16601
41043168
UD
16602 [BZ #13328]
16603 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16604 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16605
21eaf3a5
UD
16606 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16607 __feraiseexcept_renamed.
16608
e3a851a2
UD
166092011-12-21 Ulrich Drepper <drepper@gmail.com>
16610
4920765e
UD
16611 [BZ #13538]
16612 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16613 EPOLLET with unsigned values.
16614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16615 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16616
e3a851a2
UD
16617 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16618 to large cancellation.
16619 * math/s_cacoshf.c: Likewise.
16620 * math/s_cacoshl.c: Likewise.
16621
b27e24b8
RK
166222011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16623
16624 [BZ #13305]
aebefeee 16625 [BZ #12786]
b27e24b8
RK
16626 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16627 * math/s_cacoshf.c: Likewise.
16628 * math/s_cacoshl.c: Likewise.
16629
ee190f67
UD
166302011-12-21 Ulrich Drepper <drepper@gmail.com>
16631
16632 [BZ #13439]
16633 * iconv/gconv.h: Define __GCONV_SWAP.
16634 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16635 * iconvdata/utf-16.c: Likewise.
16636 * iconvdata/utf-32.c: Likewise.
16637
707f25df
AS
166382011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16639
16640 [BZ #13524]
16641 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16642 numerator after shifting it by one limb.
16643
d2daaa1e
RÁE
166442011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16645
16646 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16647 under [__USE_EXTERN_INLINES].
16648
a4647e72
UD
166492011-12-17 Ulrich Drepper <drepper@gmail.com>
16650
16651 [BZ #13446]
16652 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16653
f0b264f1
AZ
166542011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16655
16656 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16657 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16658 optimized code.
16659 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16660 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16661 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16662 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16663 for strncasecmp/strncasecmp_l compilation.
16664 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16665 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16666
8ef4f244
MP
166672011-12-08 Marek Polacek <mpolacek@redhat.com>
16668
16669 [BZ #13484]
16670 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16671 of __asm__.
16672
97ac2654
UD
166732011-12-17 Ulrich Drepper <drepper@gmail.com>
16674
16675 [BZ #13506]
16676 * time/tzfile.c (__tzfile_read): Check values from file header.
16677
91d2a845
WS
166782011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16679
16680 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16681 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16682 * powerpc/powerpc32/dl-start.S: Likewise.
16683 * powerpc/powerpc32/elf/start.S: Likewise.
16684 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16685 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16686 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16687 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16688 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16689 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16690 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16691 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16692 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16693 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16694 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16695 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16696 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16697 * powerpc/powerpc32/memset.S: Likewise.
16698 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16699 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16700 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16701 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16702 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16703 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16704 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16705 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16706 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16707 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16708 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16709 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16710 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16711
a1267ba1
AZ
167122011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16713
16714 * math/libm-test.inc: Added more nearbyint tests.
16715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16716 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16719
ad8ac1bd
RL
167202011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16721
16722 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16723 FD_CLOEXEC.
16724
1d3e4b61
UD
167252011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16726
16727 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16728 Add wcscpy-ssse3 wcscpy-c.
16729 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16730 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16731 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16732 * sysdeps/x86_64/wcschr.S: New file.
16733 * sysdeps/x86_64/wcsrchr.S: New file.
16734 * string/test-strcmp.c: Remove checking of wcscmp function for
16735 wrong alignments.
16736 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16737 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16738 wcsrchr-sse2 wcsrchr-c.
16739 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16740 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16741 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16742 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16743 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16744 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16745 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16746 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16747 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16748 * wcsmbc/wcschr.c (WCSCHR): New macro.
16749
5b330a2d
UD
167502011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16751
16752 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16753 * wcsmbs/test-wcsrchr.c: New file.
16754 * string/test-strrchr.c: Add wcsrchr support.
16755 (WIDE): New macro.
16756 * wcsmbs/test-wcscpy.c: New file.
16757 * string/test-strcpy.c: Add wcscpy support.
16758 (WIDE): New macro.
26428b7c 16759
f039c043
UD
167602011-12-10 Ulrich Drepper <drepper@gmail.com>
16761
16762 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16763 the inner loop.
16764
850fb039
AS
167652011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16766
16767 [BZ #13472]
16768 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16769
4efbd5cb
UD
167702011-12-04 Ulrich Drepper <drepper@gmail.com>
16771
52ff5dd0 16772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16773 Minor optimizations.
52ff5dd0 16774
4efbd5cb
UD
16775 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16776 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16777 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16778
8a426e12
UD
167792011-12-03 Ulrich Drepper <drepper@gmail.com>
16780
aff2453d
UD
16781 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16782 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16783 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16784 for gcc to avoid warnings.
16785 * inet/Makefile (tests): Add tst-checks.
16786 * inet/tst-checks.c: New file.
16787
16788 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16789 warning.
16790
16791 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16792 __wmemcmp_sse2.
16793
16794 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16795 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16796
8a426e12
UD
16797 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16798
9bea3473
UD
167992011-12-02 Ulrich Drepper <drepper@gmail.com>
16800
3a965496
UD
16801 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16802 problem.
16803
9bea3473
UD
16804 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16805
f101631b
UD
168062011-11-29 Joseph Myers <joseph@codesourcery.com>
16807
16808 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16809 conditional on GCC version.
16810 (__arch_compare_and_exchange_val_8_acq)
16811 (__arch_compare_and_exchange_val_16_acq)
16812 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16813 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16814 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16815
a98275aa
UD
168162011-12-02 Joseph Myers <joseph@codesourcery.com>
16817
16818 * sysdeps/sh/backtrace.c: New file.
16819
d4cc29a2
AS
168202011-12-02 Andreas Schwab <schwab@redhat.com>
16821
16822 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16823 parenthesis.
16824
6257af2d
AS
168252011-12-01 Andreas Schwab <schwab@redhat.com>
16826
16827 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16828 falling back to utime.
16829
b5f44c1a
AS
168302011-11-30 Andreas Schwab <schwab@redhat.com>
16831
16832 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16833 expectations for float.
16834
f3a6cc0a
AS
168352011-11-29 Andreas Schwab <schwab@redhat.com>
16836
16837 * locale/weight.h (findidx): Add parameter len.
16838 * locale/weightwc.h (findidx): Likewise.
16839 * posix/fnmatch_loop.c (FCT): Adjust caller.
16840 * posix/regcomp.c (build_equiv_class): Likewise.
16841 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16842 * posix/regexec.c (check_node_accept_bytes): Likewise.
16843 * string/strcoll_l.c (STRCOLL): Likewise.
16844 * string/strxfrm_l.c (STRXFRM): Likewise.
16845
9d65ea3a
UD
168462011-11-17 Ulrich Drepper <drepper@gmail.com>
16847
16848 * Makefile.in: Remove CVSOPT handling.
16849 * configure.in: Remove use of AC_REVISION.
16850 * iconvdata/Makefile (distribute): No need to filter out CVS.
16851 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16852 handling.
16853
5583a086
AS
168542011-11-16 Andreas Schwab <schwab@redhat.com>
16855
16856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16857 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16858 [USE_AS_STRNCASECMP_L]: Likewise.
16859 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16860 NO_TLS_DIRECT_SEG_REFS.
16861 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16862 Fix argument offsets for non-PIC.
16863 [USE_AS_STRNCASECMP_L]: Likewise.
16864 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16865 NO_TLS_DIRECT_SEG_REFS.
16866
d62a8200
UD
168672011-11-15 Ulrich Drepper <drepper@gmail.com>
16868
9d65ea3a 16869 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16870 O_CLOEXEC.
16871 * locale/loadlocale.c (_nl_load_locale): Likewise.
16872
09f93bd3
AS
168732011-11-15 Andreas Schwab <schwab@redhat.com>
16874
446514f9
AS
16875 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16876 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16877 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16878 (SYSCALL_GETTIME): Set errno on error.
16879
09f93bd3
AS
16880 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16881 count references to noai6ai_cached.
16882
312be3f9
UD
168832011-11-15 Ulrich Drepper <drepper@gmail.com>
16884
16885 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16886
16887 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16888 FD_CLOEXEC for /proc/self/maps.
16889
16890 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16891 FD_CLOEXEC for /proc/meminfo.
16892
16893 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16894 gai.conf.
16895
16896 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16897 FD_CLOEXEC for given file.
16898
16899 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16900
16901 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16902 FD_CLOEXEC for /etc/hosts.
16903 (_gethtent): Likewise.
16904
16905 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16906
16907 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16908 cancellation and set FD_CLOEXEC for /etc/netgroup.
16909
16910 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16911 reading /etc/publickey.
16912
16913 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16914 allow cancellation when reading /etc/group.
16915
16916 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16917 cancellation.
16918 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16919
16920 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16921 when using data file.
16922
16923 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16924
16925 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16926 (write_nis_obj): Use "c" and "e" in fopen.
16927
16928 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16929
16930 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16931
16932 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16933
16934 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16935
16936 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16937 locale.alias.
16938
16939 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16940
16941 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16942
16943 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16944
16945 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16946 file parsing and set FD_CLOEXEC.
16947
82af0fa8
UD
169482011-11-14 Ulrich Drepper <drepper@gmail.com>
16949
16950 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16951
a5fb313c
AS
169522011-11-14 Andreas Schwab <schwab@redhat.com>
16953
16954 * malloc/arena.c (arena_get2): Don't call reused_arena when
16955 _int_new_arena failed.
16956
6abf3465
UD
169572011-11-14 Ulrich Drepper <drepper@gmail.com>
16958
16959 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16960 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16963 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16965 to compile strcasecmp and strncasecmp.
16966 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16967 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16968
16969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16970
76e3966e
UD
169712011-11-13 Ulrich Drepper <drepper@gmail.com>
16972
16973 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16974 locale-defines.sym to gen-as-const-headers.
16975 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16976 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16978 to compile strcasecmp and strncasecmp.
16979 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16980 strcasecmp_l and strncasecmp_l.
16981 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16982 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16983 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16984 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16985 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16986 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16987 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16988 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16989 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16990 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16991 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16992
ab26144e
UD
169932011-11-12 Ulrich Drepper <drepper@gmail.com>
16994
7edb22ef
UD
16995 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16996 result of SYSDEP_GETTIME_CPU to retval.
16997 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16998 parameter list to macro. Remove trailing semicolon. Adjust users.
16999
9694fc44
UD
17000 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17001 variable.
17002
8ad89ef8
UD
17003 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17004 mantissa words.
17005 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17006
0c822ef9
UD
17007 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17008 from unused variable.
17009
874e0564
UD
17010 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17011 DWARF definitions.
17012 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17013 for assembling.
17014
3a2edc79
UD
17015 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17016 over namespaces.
17017
f3c2577f
UD
17018 * sunrpc/rpc_prot.c (rejected): Fix case value.
17019
294ce126
UD
17020 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17021 unsigned long long int to avoid warnings in shift.
17022
5e2b63c6
UD
17023 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17024 of use of trans.
17025 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17026 variable tmp.
17027
e7f4b08e
UD
17028 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17029 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17030 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17031
ab26144e
UD
17032 * nis/nis_table.c (nis_list): Use variable of correct type for
17033 result of __follow_path call.
17034
8a6d5255
AZ
170352011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17036
17037 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17038 of math functions ceil, trunc, floor, round, and sqrt, when
17039 avaliable on the platform.
17040 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17041 name clash.
17042 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17043 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17044 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17045
aaddc98c
MP
170462011-10-30 Marek Polacek <mpolacek@redhat.com>
17047
17048 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17049 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17050
95b7042b
RM
170512011-11-11 Roland McGrath <roland@hack.frob.com>
17052
17053 * include/unistd.h: Fix __readlink return type.
17054 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17055
57769839
UD
170562011-11-11 Ulrich Drepper <drepper@gmail.com>
17057
17058 * stdlib/ucontext.h: Undo last change for makecontext.
17059
edc5984d
AS
170602011-11-11 Andreas Schwab <schwab@redhat.com>
17061
98591e58
AS
17062 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17063
edc5984d
AS
17064 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17065 * setjmp/setjmp.h: Mark functions as non-leaf.
17066 * setjmp/bits/setjmp2.h: Likewise.
17067 * stdlib/ucontext.h: Likewise.
17068
77cdc054
AS
170692011-11-10 Andreas Schwab <schwab@redhat.com>
17070
17071 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17072 (reused_arena): Don't check arena limit.
17073 (arena_get2): Atomically check arena limit.
17074
fe72eebd
UD
170752011-11-08 Ulrich Drepper <drepper@gmail.com>
17076
5f078c32
UD
17077 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17078 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17079
fe72eebd
UD
17080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17081 instructions.
17082
ae1bc2fa
AS
170832011-11-07 Andreas Schwab <schwab@redhat.com>
17084
7583a88d
AS
17085 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17086 handler when locking.
17087
ae1bc2fa
AS
17088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17089 Fix size of allocated buffer.
17090
10fb0bfa
AS
170912011-11-04 Andreas Schwab <schwab@redhat.com>
17092
998832a4
AS
17093 [BZ #10103]
17094 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17095 declarations for long double functions.
17096 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17097
10fb0bfa
AS
17098 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17099
3d7ba52b
AS
171002011-11-03 Andreas Schwab <schwab@redhat.com>
17101
a9ae54a1
AS
17102 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17103 installed.
17104
3d7ba52b
AS
17105 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17106 is disabled.
17107
bc8db248
ST
171082011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17109
17110 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17111
45b96dd6
AS
171122011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17113
647776f6
AS
17114 * include/alloca.h (stackinfo_alloca_round): Define.
17115 (extend_alloca): Use it.
17116 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17117 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17118 here.
17119
d91a8b93
AS
17120 * scripts/check-local-headers.sh: Ignore libaudit.h.
17121
45b96dd6
AS
17122 * nscd/Makefile (extra-objs): Make recursively expanded.
17123
432d41ce
UD
171242011-11-01 Ulrich Drepper <drepper@gmail.com>
17125
34372fc6
UD
17126 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17127 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17128
fadb59f8
UD
17129 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17130 * posix/tst-rfc3484-2.c: Likewise.
17131 * posix/tst-rfc3484-3.c: Likewise.
17132
78239589
UD
17133 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17134 process_vm_writev.
17135 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17136 process_vm_writev.
17137 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17138 process_vm_writev from libc using GLIBC_2.15 version.
17139
432d41ce
UD
17140 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17141
02f9c6cf
PP
171422011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17143
17144 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17145 stack usage.
17146
3a2c0242
UD
171472011-10-31 Ulrich Drepper <drepper@gmail.com>
17148
f4ec4833
UD
17149 [BZ #13367]
17150 * nss/getent.c (initgroups_keys): Show error message in case no group
17151 names are given.
17152
3a2c0242
UD
17153 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17154 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17155 __bump_nl_timestamp.
17156 * nscd/connections (nscd_init): When host database is served open
17157 netlink socket and request notification about configuration changes.
17158 (main_loop_poll): Track netlink file descriptor and bump timestamp
17159 in case data becomes available.
17160 (main_loop_epoll): Likewise.
17161 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17162 (database_pers_head): Add extra_data fileds.
17163 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17164 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17165 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17166 Adjust caller.
17167 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17168 in6ai data, call __free_in6ai.
17169 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17170 Add -DHAVE_NETLINK.
17171 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17172 interface information. Reuse previous data if netlink timestamp
17173 is not changed.
17174 (__bump_nl_timestamp): New function.
17175 (__free_in6ai): New function.
17176
636064eb
UD
171772011-10-30 Ulrich Drepper <drepper@gmail.com>
17178
17179 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17180 close_not_cancel_no_status here.
17181 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17182
9beb2334
UD
171832011-10-29 Ulrich Drepper <drepper@gmail.com>
17184
6ef76f3b
UD
17185 [BZ #13276]
17186 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17187 return value.
17188
0ffc4f3e 17189 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17190 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17191 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17192
cb95113e
UD
171932011-07-03 Andreas Jaeger <aj@suse.de>
17194
17195 [BZ #10709]
17196 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17197 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17198 * math/libm-test.inc (sin_test): Add test case.
17199
a1b560ff
UD
172002011-10-29 Ulrich Drepper <drepper@gmail.com>
17201
c9aaface
UD
17202 [BZ #13337]
17203 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17204 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17205
d272e7f1
UD
17206 * elf/chroot_canon.c (chroot_canon): Cleanups.
17207
1bc33071
UD
17208 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17209
1760874d
TJ
17210 [BZ #13335]
17211 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17212 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17213
51d91b18
UD
17214 * string/test-strchr.c: Make usable for strchrnul testing.
17215 * string/test-strchrnul.c: New file.
17216 * string/Makefile (strop-tests): Add strchrnul.
17217
a1b560ff 17218 * po/it.po: Update from translation team.
b611fb81 17219 * po/es.po: Likewise.
a1b560ff 17220
a5b81e1f
UD
172212011-10-28 Ulrich Drepper <drepper@gmail.com>
17222
fd52bc6d
UD
17223 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17224 the three constants needed as parameters. Drop the others.
17225 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17226 __m128i_strloadu_tolower.
52e4b9eb
UD
17227 Create and initialize variable zero and use it in all the places
17228 where _mm_setzero_si128 was used.
fd52bc6d 17229
a5b81e1f
UD
17230 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17231 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17232 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17233 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17234 anymore.
17235 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17236 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17237 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17238 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17239 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17240 __mpranred, __mptan.
17241 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17242 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17243 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17244 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17245 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17246 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17248 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17249 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17250
b4343346
AS
172512011-10-28 Andreas Schwab <schwab@redhat.com>
17252
0c92d8a8
AS
17253 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17254 redefine if SHARED.
17255 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17256
b4343346
AS
17257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17258 wide char related routines to wcsmbs subdir.
17259
3871f58f
AS
172602011-10-27 Andreas Schwab <schwab@redhat.com>
17261
17262 [BZ #13344]
17263 * misc/sys/cdefs.h (__THROWNL): Define.
17264 * posix/unistd.h: Use __THREADNL instead of __THREAD
17265 for memory synchronization functions.
17266
94d44d9f
RM
172672011-10-26 Roland McGrath <roland@hack.frob.com>
17268
21b64b15 17269 [BZ #13349]
94d44d9f
RM
17270 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17271 doesn't exist.
17272 * manual/stdio.texi (Obstack Streams): Node removed.
17273
f6ce9294
AS
172742011-10-26 Andreas Schwab <schwab@redhat.com>
17275
80479147
AS
17276 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17277 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17278 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17279
f6ce9294
AS
17280 * math/math_private.h (math_force_eval): Allow non-addressable
17281 arguments.
17282 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17283
618280a1
UD
172842011-10-25 Ulrich Drepper <drepper@gmail.com>
17285
e0016b11
UD
17286 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17287 file is not needed.
17288
17289 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17291 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17292 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17293 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17294 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17295 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17296 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17297 Add AVX variants.
17298 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17299 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17300 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17301 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17302 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17303 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17304 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17305 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17306 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17307 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17308 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17309 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17311 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17312 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17313 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17314 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17315 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17316 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17317
17318 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17319 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17320
618280a1
UD
17321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17322 place. Use VEX encoding when compiling for AVX.
17323
37822576
AS
173242011-10-25 Andreas Schwab <schwab@redhat.com>
17325
1f1e1947
AS
17326 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17327 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17328
37822576
AS
17329 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17330
31ea014d
UD
173312011-10-25 Ulrich Drepper <drepper@gmail.com>
17332
d7826aa1 17333 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17334 useless if() expression.
d7826aa1
UD
17335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17337 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17344 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17345 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17346 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17347 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17348 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17349 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17350 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17351 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17353 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17354
31ea014d
UD
17355 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17356
16437fec
AS
173572011-10-25 Andreas Schwab <schwab@redhat.com>
17358
17359 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17360 condition.
17361 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17362
31d3cc00
UD
173632011-10-25 Ulrich Drepper <drepper@gmail.com>
17364
17365 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17366 .text section. Avoid duplicate constants.
17367 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17374 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17375 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17377 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17379 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17382 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17384 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17390 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17391 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17392 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17393 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17394 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17395 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17396 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17397 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17398 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17399 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17400 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17401 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17402 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17403 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17404 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17405 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17406 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17407 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17408 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17409 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17410 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17411 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17412
58985aa9
UD
174132011-10-24 Ulrich Drepper <drepper@gmail.com>
17414
202c9deb
UD
17415 * sysdeps/x86_64/dla.h: Move to ...
17416 * sysdeps/x86_64/fpu/dla.h: ...here.
17417 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17418 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17419
af968f62
UD
17420 * config.make.in: Add have-mfma4 entry.
17421 * configure.in: Substitute libc_cv_cc_fma4.
17422 * math/Makefile (dbl-only-routines): Add sincostab.
17423 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17424 Use __sincostab not sincos.
17425 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17426 name is a macro.
17427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17431 using __copysign.
17432 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17433 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17434 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17435 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17436 and __inv.
17437 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17438 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17439 __copysign.
17440 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17441 define aliases when function name is a macro.
17442 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17443 sysdeps/ieee754/dbl-64/sincos.tbl.
17444 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17445 fma4-enabled routines.
17446 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17447 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17448 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17449 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17450 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17451 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17452 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17453 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17454 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17455 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17456 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17457 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17458 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17459 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17460 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17461 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17462 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17463 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17464 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17465 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17466 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17467 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17469 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17470 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17471 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17473 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17474 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17475 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17476
58985aa9
UD
17477 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17478 rename.
17479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17480 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17487
a201fbcf
AS
174882011-10-24 Andreas Schwab <schwab@redhat.com>
17489
17490 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17491
fc2ee42a
LD
174922011-10-23 Ulrich Drepper <drepper@gmail.com>
17493
bb3129bd
UD
17494 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17495
0275fff8
UD
17496 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17497 prediction.
17498 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17499
2fa2ae85
UD
17500 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17501 Remove unused variable magic_bits.
17502 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17503
fc2ee42a
LD
17504 * string/strnlen.c: Define and use STRNLEN macro.
17505 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17506 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17508 * wcsmbs/wcslen.c: Define and use WCSLEN.
17509 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17510 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17511 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17512 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17513 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17514 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17515 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17516
ce7dd29f
LD
175172011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17518
17519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17520 strnlen-sse2-no-bsf.
17521 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17522 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17523 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17524 Add strnlen support.
17525 (USE_AS_STRNLEN): New macro.
17526 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17527 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17528 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17529 * sysdeps/x86_64/wcslen.S: New file.
17530
979c70a3
MZ
175312011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17532
17533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17534 XMM-moves are used for copying on small sizes.
17535
2d09f82f
LD
175362011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17537
17538 * wcsmbs/Makefile (strop-tests): Add wcschr.
17539 * wcsmbs/test-wcschr.c: New file.
17540 * string/test-strchr.c: Update.
17541 Add wcschr support.
17542 (WIDE): New macro.
17543
619fccca
LD
175442011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17545
2d09f82f 17546 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17547 * wcsmbs/test-wcslen.c: New file.
17548 * string/test-strlen.c: Update.
17549 Add wcslen support.
17550 (WIDE): New macro.
17551
09f699ea
UD
175522011-10-23 Ulrich Drepper <drepper@gmail.com>
17553
17554 * po/it.po: Update from translation team.
17555
95584d3b
LD
175562011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17557
17558 * sysdeps/x86_64/wcscmp.S: Update.
17559 Fix wrong comparison semantics.
17560 wcscmp shall use signed comparison not unsigned.
17561 Don't use substraction to avoid overflow bug.
17562 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17563 * wcsmbc/wcscmp.c: Likewise.
17564 * string/test-strcmp.c: Likewise.
17565 Add new tests to check cases with negative values.
17566
c8b3296b
UD
175672011-10-23 Ulrich Drepper <drepper@gmail.com>
17568
17569 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17570 * sysdeps/x86_64/dla.h: ...here. New file.
17571 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17573 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17578 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17580
246ad57a
AS
175812011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17582
17583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17584 __ynl_finite aliases.
17585
a1a87169
UD
175862011-10-22 Ulrich Drepper <drepper@gmail.com>
17587
0d355eb7
UD
17588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17589
a1a87169
UD
17590 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17591 define DLA_FMA.
17592 [DLA_FMA] (EMULV): Use DLA_FMA.
17593 [DLA_FMA] (MUL12): Use EMULV.
17594 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17595 that are not needed.
17596 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17602 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17603
ee2aafe0
AS
176042011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17605
17606 * math/s_nan.c: Undef __nan.
17607 * math/s_nanf.c: Undef __nanf.
17608 * math/s_nanl.c: Undef __nanl.
17609 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17610 "math_private.h".
17611
bc62c2fb
UD
176122011-10-22 Ulrich Drepper <drepper@gmail.com>
17613
77425c63
UD
17614 * math/s_catan.c: Add branch predictions.
17615 * math/s_catanf.c: Likewise.
17616 * math/s_catanh.c: Likewise.
17617 * math/s_catanhf.c: Likewise.
17618 * math/s_catanhl.c: Likewise.
17619 * math/s_catanl.c: Likewise.
17620 * math/s_cexp.c: Likewise.
17621 * math/s_cexpf.c: Likewise.
17622 * math/s_cexpl.c: Likewise.
17623 * math/s_clog.c: Likewise.
17624 * math/s_clog10.c: Likewise.
17625 * math/s_clog10f.c: Likewise.
17626 * math/s_clog10l.c: Likewise.
17627 * math/s_clogf.c: Likewise.
17628 * math/s_clogl.c: Likewise.
17629 * math/s_csqrt.c: Likewise.
17630 * math/s_csqrtf.c: Likewise.
17631 * math/s_csqrtl.c: Likewise.
17632 * math/s_ctanf.c: Likewise.
17633 * math/s_ctanh.c: Likewise.
17634 * math/s_ctanhf.c: Likewise.
17635 * math/s_ctanhl.c: Likewise.
17636 * math/s_ctanl.c: Likewise.
17637
bc62c2fb
UD
17638 * math/math_private.h: Define __nan, __nanf, __nanl.
17639 * math/s_cacosh.c: Include <math_private.h>.
17640 * math/s_cacoshl.c: Likewise.
17641 * math/s_casinh.c: Likewise.
17642 * math/s_casinhf.c: Likewise.
17643 * math/s_casinhl.c: Likewise.
17644 * math/s_ccos.c: Rely entire on ccosh.
17645 * math/s_ccosf.c: Rely entire on ccoshf.
17646 * math/s_ccosl.c: Rely entirely on ccoshl.
17647 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17648 Remove tests for FE_INVALID.
17649 * math/s_ccoshf.c: Likewise.
17650 * math/s_ccoshl.c: Likewise.
17651 * math/s_csin.c: Likewise.
17652 * math/s_csinf.c: Likewise.
17653 * math/s_csinh.c Likewise.
17654 * math/s_csinhf.c: Likewise.
17655 * math/s_csinhl.c: Likewise.
17656 * math/s_csinl.c: Likewise.
17657 * math/s_ctan.c: Likewise.
17658 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17659 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17660 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17661
8ec250a4
UD
176622011-10-21 Ulrich Drepper <drepper@gmail.com>
17663
c196fed8
UD
17664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17665 compilation problems.
17666
8ec250a4
UD
17667 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17668 __builtin_expect.
17669
8d4f46c6
UD
176702011-10-20 Ulrich Drepper <drepper@gmail.com>
17671
ed72b654
UD
17672 * sysdeps/i386/configure.in: Test for -mfma4 option.
17673 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17674 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17675 COMMON_CPUID_INDEX_80000001.
17676 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17677 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17678 use it if FMA3 is not supported.
17679 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17680
8d4f46c6
UD
17681 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17682 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17683
d45c60c2
AS
176842011-10-20 Andreas Schwab <schwab@redhat.com>
17685
17686 [BZ #12892]
17687 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17688 it would create a cycle with a link time dependency.
17689
d9a4d2ab
UD
176902011-10-19 Ulrich Drepper <drepper@gmail.com>
17691
855d1560
UD
17692 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17693 instruction.
17694 * string/Makefile (strop-tests): Add rawmemchr.
17695 * string/test-rawmemchr.c: New file.
17696
d9a4d2ab
UD
17697 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17699 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17700 when compiling str{,n}casecmp and when AVX is available. Hook up
17701 new optimized code in initializers.
17702
8f3b1ffe
AS
177032011-10-19 Andreas Schwab <schwab@redhat.com>
17704
17705 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17706 __feraiseexcept instead of feraiseexcept.
17707
d38f1dba
UD
177082011-10-18 Ulrich Drepper <drepper@gmail.com>
17709
d9a8d0ab
UD
17710 * math/math_private.h: Define defaults for libc_fetestexcept and
17711 libc_feupdateenv.
17712 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17713 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17714 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17715 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17716 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17717 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17718 libc_fetestexcept and libc_feupdateenv.
17719
4855e3dd
UD
17720 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17721 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17722 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17723 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17724 libc_feholdexcept_setround.
17725
581d30e3
UD
17726 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17727 Add s_nearbyint-c and s_nearbyintf-c.
17728 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17729 nearbyintf inlines.
17730 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17731 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17732 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17733 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17734
d38f1dba
UD
17735 * math/math_private.h: Define defaults for libc_fegetround,
17736 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17737 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17738 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17739 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17740 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17741 standard functions.
17742 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17743 Remove comments and hacks for old compiler versions.
17744 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17745 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17746 libc_feholdexceptl.
17747
caa6c9d8
AS
177482011-10-18 Andreas Schwab <schwab@redhat.com>
17749
17750 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17751 (__feraiseexcept_renamed): Add __NTH.
17752 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17753 namespace violations.
17754
97c066e6
UD
177552011-10-17 Ulrich Drepper <drepper@gmail.com>
17756
99ce7b04
UD
17757 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17758
1004d182
UD
17759 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17760
228a984d
UD
17761 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17762 recently added interfaces.
17763 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17764
c8553a6a
UD
17765 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17766 about macro parameter expansion.
17767
ed22dcf6
UD
17768 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17769 __NO_MATH_INLINES is defined. Cleanups.
17770
17771 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17772 and __floorf is target has SSE4.1.
17773 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17774 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17775 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17776 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17777
b171c137
UD
17778 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17779 name.
17780 (floorf): Likewise.
17781
97c066e6
UD
17782 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17783
629f62ef
AS
177842011-10-17 Andreas Schwab <schwab@redhat.com>
17785
49a43d80
AS
17786 * misc/sys/cdefs.h: Fix last change.
17787
629f62ef
AS
17788 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17789 database lookup.
17790
e453f6cd
UD
177912011-10-16 Ulrich Drepper <drepper@gmail.com>
17792
aa78043a
UD
17793 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17794
ad0f5cad
UD
17795 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17797 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17799 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17800 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17801 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17802 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17803 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17804 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17805 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17806 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17807 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17808 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17809 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17810 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17811 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17812 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17813 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17814 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17815 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17816 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17817
17818 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17819 ceil, ceilf, floor, floorf.
17820
17821 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17822 Perform IRELATIVE relocations last.
17823
e453f6cd
UD
17824 * elf/do-rel.h: Add another parameter nrelative, replacing the
17825 local variable with the same name. Change name of the function
17826 to end in Rel or Rela (uppercase).
17827 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17828 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17829 elf_dynamic_do_##reloc function.
17830
fd5bdc09
UD
178312011-10-15 Ulrich Drepper <drepper@gmail.com>
17832
79b195b5
UD
17833 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17834 is sufficient, at least on modern CPUs.
17835
d4a28569
UD
17836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17837
b61099b5
UD
17838 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17839 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17840
bcf01e6d
UD
17841 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17842 __expl_finite.
17843 * math/bits/math-finite.h: Add entries for exp.
17844 * math/e_expl.c: Add __*_finite alias.
17845 * sysdeps/i386/fpu/e_exp.S: Likewise.
17846 * sysdeps/i386/fpu/e_expf.S: Likewise.
17847 * sysdeps/i386/fpu/e_expl.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17849 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17853 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17854 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17855
ba1a0d59
UD
17856 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17857 is sufficient, at least on modern CPUs.
17858
fd5bdc09
UD
17859 * ctype/ctype-info.c (__ctype_init): Define.
17860 * include/ctype.h (__ctype_init): Declare.
17861 (__ctype_b_loc): The variable is always initialized.
17862 (__ctype_toupper_loc): Likewise.
17863 (__ctype_tolower_loc): Likewise.
17864 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17865 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17866
7872cfb0
AS
178672011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17868
b468825a
AS
17869 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17870
7872cfb0
AS
17871 * configure.in: Also look in $cxxmachine/include for C++ system
17872 headers.
17873
be13f7bf
LD
178742011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17875
17876 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17877 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17878 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17879 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17880 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17881 (USE_AS_WMEMCMP): New macro.
17882 Fixing indents.
17883 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17884 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17885 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17886 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17888 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17889 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17890 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17891 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17892 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17893 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17894 (USE_AS_WMEMCMP): New macro.
17895 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17896 * sysdeps/string/test-memcmp.c: Update.
17897 Fix simple_wmemcmp.
17898 Add new tests.
17899 * wcsmbs/wmemcmp.c: Update.
17900 (WMEMCMP): New macro.
17901 Fix overflow bug.
17902
556a2007
AJ
179032011-10-12 Andreas Jaeger <aj@suse.de>
17904
17905 [BZ #13268]
17906 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17907
538faaa7
UD
179082011-10-15 Ulrich Drepper <drepper@gmail.com>
17909
ab6737ff
UD
17910 * libio/iofwide.c (do_length): Avoid warning.
17911
538faaa7
UD
17912 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17913
396a21b1
UD
179142011-10-14 Ulrich Drepper <drepper@gmail.com>
17915
cdf2901f
UD
17916 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17917
38ad40ce
UD
17918 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17919 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17920 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17921 * sysdeps/i386/i686/fpu/e_log.S: New file.
17922 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17923 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17924
396a21b1
UD
17925 * ctype/ctype.h: Add support for inlined isXXX functions when
17926 compiling C++ code.
17927
6b1f68c9
AS
179282011-10-14 Andreas Schwab <schwab@redhat.com>
17929
349290c0
AS
17930 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17931
6b1f68c9
AS
17932 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17933
f2282d42
RM
179342011-10-13 Roland McGrath <roland@hack.frob.com>
17935
17936 [BZ #13291]
17937 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17938
5298ffa8
AS
179392011-10-13 Andreas Schwab <schwab@redhat.com>
17940
714fad23
AS
17941 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17942 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17943 feraiseexcept.
17944
81dcc7fb
AS
17945 * sysdeps/x86_64/memrchr.S: Check for zero size.
17946
5298ffa8
AS
17947 * string/stratcliff.c: Add memrchr tests.
17948
951fbcec
LD
179492011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17950
17951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17952 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17953 rawmemchr-sse2 rawmemchr-sse2-bsf.
17954 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17955 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17956 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17957 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17958 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17959 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17960 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17961 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17962 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17963 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17964 * string/memrchr.c (MEMRCHR): New macro.
17965
0ac5ae23
UD
179662011-10-12 Ulrich Drepper <drepper@gmail.com>
17967
17968 Add integration with gcc's -ffinite-math-only and optimize wrapper
17969 functions in libm.
17970 * Versions.def: Define GLIBC_2.15 version for libm.
17971 * math/Makefile (headers): Add bits/math-finite.h.
17972 * math/bits/math-finite.h: New file.
17973 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17974 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17975 * math/e_acoshl.c: Add __*_finite alias.
17976 * math/e_acosl.c: Likewise.
17977 * math/e_asinl.c: Likewise.
17978 * math/e_atan2l.c: Likewise.
17979 * math/e_atanhl.c: Likewise.
17980 * math/e_coshl.c: Likewise.
17981 * math/e_exp10.c: Likewise.
17982 * math/e_exp10f.c: Likewise.
17983 * math/e_exp10l.c: Likewise.
17984 * math/e_exp2l.c: Likewise.
17985 * math/e_fmodl.c: Likewise.
17986 * math/e_gammal_r.c: Likewise.
17987 * math/e_hypotl.c: Likewise.
17988 * math/e_j0l.c: Likewise.
17989 * math/e_j1l.c: Likewise.
17990 * math/e_jnl.c: Likewise.
17991 * math/e_lgammal_r.c: Likewise.
17992 * math/e_log10l.c: Likewise.
17993 * math/e_log2l.c: Likewise.
17994 * math/e_logl.c: Likewise.
17995 * math/e_powl.c: Likewise.
17996 * math/e_sinhl.c: Likewise.
17997 * math/e_sqrtl.c: Likewise.
17998 * math/e_scalb.c: Completely rewritten and optimized.
17999 * math/e_scalbf.c: Likewise.
18000 * math/e_scalbl.c: Likewise.
18001 * math/w_acos.c: Likewise.
18002 * math/w_acosf.c: Likewise.
18003 * math/w_acosl.c: Likewise.
18004 * math/w_acosh.c: Likewise.
18005 * math/w_acoshf.c: Likewise.
18006 * math/w_acoshl.c: Likewise.
18007 * math/w_asin.c: Likewise.
18008 * math/w_asinf.c: Likewise.
18009 * math/w_asinl.c: Likewise.
18010 * math/w_atan2.c: Likewise.
18011 * math/w_atan2f.c: Likewise.
18012 * math/w_atan2l.c: Likewise.
18013 * math/w_atanh.c: Likewise.
18014 * math/w_atanhf.c: Likewise.
18015 * math/w_atanhl.c: Likewise.
18016 * math/w_exp10.c: Likewise.
18017 * math/w_exp10f.c: Likewise.
18018 * math/w_exp10l.c: Likewise.
18019 * math/w_fmod.c: Likewise.
18020 * math/w_fmodf.c: Likewise.
18021 * math/w_fmodl.c: Likewise.
18022 * math/w_j0.c: Likewise.
18023 * math/w_j0f.c: Likewise.
18024 * math/w_j0l.c: Likewise.
18025 * math/w_j1.c: Likewise.
18026 * math/w_j1f.c: Likewise.
18027 * math/w_j1l.c: Likewise.
18028 * math/w_jn.c: Likewise.
18029 * math/w_jnf.c: Likewise.
18030 * math/w_log.c: Likewise.
18031 * math/w_logf.c: Likewise.
18032 * math/w_logl.c: Likewise.
18033 * math/w_log10.c: Likewise.
18034 * math/w_log10f.c: Likewise.
18035 * math/w_log10l.c: Likewise.
18036 * math/w_log2.c: Likewise.
18037 * math/w_log2f.c: Likewise.
18038 * math/w_log2l.c: Likewise.
18039 * math/w_pow.c: Likewise.
18040 * math/w_powf.c: Likewise.
18041 * math/w_powl.c: Likewise.
18042 * math/w_remainder.c: Likewise.
18043 * math/w_remainderf.c: Likewise.
18044 * math/w_remainderl.c: Likewise.
18045 * math/w_scalb.c: Likewise.
18046 * math/w_scalbf.c: Likewise.
18047 * math/w_scalbl.c: Likewise.
18048 * math/w_sqrt.c: Likewise.
18049 * math/w_sqrtf.c: Likewise.
18050 * math/w_sqrtl.c: Likewise.
18051 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18052 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18053 used.
18054 * math/math_private.h: Declare __kernel_standard_f.
18055 * math/w_cosh.c: Remove cruft and optimize a bit.
18056 * math/w_coshf.c: Likewise.
18057 * math/w_coshl.c: Likewise.
18058 * math/w_exp2.c: Likewise.
18059 * math/w_exp2f.c: Likewise.
18060 * math/w_exp2l.c: Likewise.
18061 * math/w_hypot.c: Likewise.
18062 * math/w_hypotf.c: Likewise.
18063 * math/w_hypotl.c: Likewise.
18064 * math/w_lgamma.c: Likewise.
18065 * math/w_lgamma_r.c: Likewise.
18066 * math/w_lgammaf.c: Likewise.
18067 * math/w_lgammaf_r.c: Likewise.
18068 * math/w_lgammal.c: Likewise.
18069 * math/w_lgammal_r.c: Likewise.
18070 * math/w_sinh.c: Likewise.
18071 * math/w_sinhf.c: Likewise.
18072 * math/w_sinhl.c: Likewise.
18073 * math/w_tgamma.c: Likewise.
18074 * math/w_tgammaf.c: Likewise.
18075 * math/w_tgammal.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18077 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18078 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18079 Minor optimizations. Pretty printing. Remove cruft.
18080 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18081 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18082 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18083 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18084 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18085 * sysdeps/i386/fpu/e_asin.S: Likewise.
18086 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18087 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18088 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18089 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18090 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18091 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18092 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18093 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18094 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18095 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18096 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18097 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18098 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18099 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18100 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18101 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18102 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18103 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18104 * sysdeps/i386/fpu/e_log.S: Likewise.
18105 * sysdeps/i386/fpu/e_log10.S: Likewise.
18106 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18107 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18108 * sysdeps/i386/fpu/e_log2.S: Likewise.
18109 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18110 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18111 * sysdeps/i386/fpu/e_logf.S: Likewise.
18112 * sysdeps/i386/fpu/e_logl.S: Likewise.
18113 * sysdeps/i386/fpu/e_pow.S: Likewise.
18114 * sysdeps/i386/fpu/e_powf.S: Likewise.
18115 * sysdeps/i386/fpu/e_powl.S: Likewise.
18116 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18117 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18118 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18119 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18120 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18121 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18122 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18123 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18124 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18146 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18147 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18148 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18149 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18150 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18151 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18152 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18153 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18154 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18155 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18156 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18157 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18158 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18159 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18160 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18161 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18163 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18164 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18165 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18166 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18205 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18208 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18210 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18213 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18216 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18217 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18218 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18219 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18220 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18221 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18222 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18223 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18224 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18225 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18226 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18227 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18228 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18229 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18230 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18231 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18233 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18234 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18235 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18236 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18237 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18238 (__isnanf): Likewise.
18239 (__isinf_ns): Likewise.
18240 (__isinf_nsf): Likewise.
18241 (__finite): Likewise.
18242 (__finitef): Likewise.
18243 (__ieee754_sqrt): Define as macro.
18244 (__ieee754_sqrtf): Define as macro.
18245 (__ieee754_sqrtl): Define as macro.
18246 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18247 inlined copy.
18248 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18249 __FINITE_MATH_ONLY__ consistent.
18250 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18251
12cc2fcd
AS
182522011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18253
a843a204
AS
18254 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18255 of rawmemchr.
18256
12cc2fcd
AS
18257 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18258
c853acd5
UD
182592011-10-09 Ulrich Drepper <drepper@gmail.com>
18260
18261 * po/ja.po: Update from translation team.
18262
c658d255
RM
182632011-10-08 Roland McGrath <roland@hack.frob.com>
18264
110946e4
RM
18265 * locale/programs/locarchive.c (prepare_address_space): New function.
18266 (create_archive, enlarge_archive, open_archive): Use it.
18267
50604220
RM
18268 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18269 inside [SHARED], where it is used.
18270
c658d255
RM
18271 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18272
18273 * nss/getent.c (netgroup_keys): Remove unused variable.
18274 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18275
6a621eb7
UD
182762011-10-08 Ulrich Drepper <drepper@gmail.com>
18277
7edb55ce
UD
18278 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18279 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18281 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18282 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18283 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18284 * math/Makefile (libm-calls): Add s_isinf_ns.
18285 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18286 * math/multc3.c: Likewise.
18287 * math/s_casin.c: Likewise.
18288 * math/s_casinf.c: Likewise.
18289 * math/s_casinl.c: Likewise.
18290 * math/s_ccos.c: Likewise.
18291 * math/s_ccosf.c: Likewise.
18292 * math/s_ccosl.c: Likewise.
18293 * math/s_ctan.c: Likewise.
18294 * math/s_ctanf.c: Likewise.
18295 * math/s_ctanh.c: Likewise.
18296 * math/s_ctanhf.c: Likewise.
18297 * math/s_ctanhl.c: Likewise.
18298 * math/s_ctanl.c: Likewise.
18299 * math/w_fmod.c: Likewise.
18300 * math/w_fmodf.c: Likewise.
18301 * math/w_fmodl.c: Likewise.
18302 * math/w_remainder.c: Likewise.
18303 * math/w_remainderf.c: Likewise.
18304 * math/w_remainderl.c: Likewise.
18305 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18306 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18307 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18309 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18310 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18311 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18312 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18313
187da0ae
UD
18314 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18315 of the number.
18316 * stdio-common/printf_fphex.c: Likewise.
18317 * stdio-common/printf_size.c: Likewise.
18318
9277c064
UD
18319 * math/e_exp10.c: Include math_private.h using <...> not "...".
18320 * math/e_exp10f.c: Likewise.
18321 * math/e_exp10l.c: Likewise.
18322 * math/e_exp2l.c: Likewise.
18323 * math/e_j0l.c: Likewise.
18324 * math/e_j1l.c: Likewise.
18325 * math/e_jnl.c: Likewise.
18326 * math/e_lgammal_r.c: Likewise.
18327 * math/e_rem_pio2l.c: Likewise.
18328 * math/e_scalb.c: Likewise.
18329 * math/e_scalbf.c: Likewise.
18330 * math/e_scalbl.c: Likewise.
18331 * math/k_cosl.c: Likewise.
18332 * math/k_sinl.c: Likewise.
18333 * math/k_tanl.c: Likewise.
18334 * math/s_cacoshf.c: Likewise.
18335 * math/s_catan.c: Likewise.
18336 * math/s_catanf.c: Likewise.
18337 * math/s_catanh.c: Likewise.
18338 * math/s_catanhf.c: Likewise.
18339 * math/s_catanhl.c: Likewise.
18340 * math/s_catanl.c: Likewise.
18341 * math/s_ccosh.c: Likewise.
18342 * math/s_ccoshf.c: Likewise.
18343 * math/s_ccoshl.c: Likewise.
18344 * math/s_cexp.c: Likewise.
18345 * math/s_cexpf.c: Likewise.
18346 * math/s_cexpl.c: Likewise.
18347 * math/s_clog.c: Likewise.
18348 * math/s_clog10.c: Likewise.
18349 * math/s_clog10f.c: Likewise.
18350 * math/s_clog10l.c: Likewise.
18351 * math/s_clogf.c: Likewise.
18352 * math/s_clogl.c: Likewise.
18353 * math/s_csin.c: Likewise.
18354 * math/s_csinf.c: Likewise.
18355 * math/s_csinh.c: Likewise.
18356 * math/s_csinhf.c: Likewise.
18357 * math/s_csinhl.c: Likewise.
18358 * math/s_csinl.c: Likewise.
18359 * math/s_csqrt.c: Likewise.
18360 * math/s_csqrtf.c: Likewise.
18361 * math/s_csqrtl.c: Likewise.
18362 * math/s_ctan.c: Likewise.
18363 * math/s_ctanf.c: Likewise.
18364 * math/s_ctanh.c: Likewise.
18365 * math/s_ctanhf.c: Likewise.
18366 * math/s_ctanhl.c: Likewise.
18367 * math/s_ctanl.c: Likewise.
18368 * math/s_ldexp.c: Likewise.
18369 * math/s_ldexpf.c: Likewise.
18370 * math/s_ldexpl.c: Likewise.
18371 * math/s_significand.c: Likewise.
18372 * math/s_significandf.c: Likewise.
18373 * math/s_significandl.c: Likewise.
18374 * math/w_acos.c: Likewise.
18375 * math/w_acosf.c: Likewise.
18376 * math/w_acosh.c: Likewise.
18377 * math/w_acoshf.c: Likewise.
18378 * math/w_acoshl.c: Likewise.
18379 * math/w_acosl.c: Likewise.
18380 * math/w_asin.c: Likewise.
18381 * math/w_asinf.c: Likewise.
18382 * math/w_asinl.c: Likewise.
18383 * math/w_atan2.c: Likewise.
18384 * math/w_atan2f.c: Likewise.
18385 * math/w_atan2l.c: Likewise.
18386 * math/w_atanh.c: Likewise.
18387 * math/w_atanhf.c: Likewise.
18388 * math/w_atanhl.c: Likewise.
18389 * math/w_cosh.c: Likewise.
18390 * math/w_coshf.c: Likewise.
18391 * math/w_coshl.c: Likewise.
18392 * math/w_dremf.c: Likewise.
18393 * math/w_exp10.c: Likewise.
18394 * math/w_exp10f.c: Likewise.
18395 * math/w_exp10l.c: Likewise.
18396 * math/w_exp2.c: Likewise.
18397 * math/w_exp2f.c: Likewise.
18398 * math/w_fmod.c: Likewise.
18399 * math/w_fmodf.c: Likewise.
18400 * math/w_fmodl.c: Likewise.
18401 * math/w_hypot.c: Likewise.
18402 * math/w_hypotf.c: Likewise.
18403 * math/w_hypotl.c: Likewise.
18404 * math/w_j0.c: Likewise.
18405 * math/w_j0f.c: Likewise.
18406 * math/w_j0l.c: Likewise.
18407 * math/w_j1.c: Likewise.
18408 * math/w_j1f.c: Likewise.
18409 * math/w_j1l.c: Likewise.
18410 * math/w_jn.c: Likewise.
18411 * math/w_jnf.c: Likewise.
18412 * math/w_jnl.c: Likewise.
18413 * math/w_lgamma.c: Likewise.
18414 * math/w_lgamma_r.c: Likewise.
18415 * math/w_lgammaf.c: Likewise.
18416 * math/w_lgammaf_r.c: Likewise.
18417 * math/w_lgammal.c: Likewise.
18418 * math/w_lgammal_r.c: Likewise.
18419 * math/w_log.c: Likewise.
18420 * math/w_log10.c: Likewise.
18421 * math/w_log10f.c: Likewise.
18422 * math/w_log10l.c: Likewise.
18423 * math/w_log2.c: Likewise.
18424 * math/w_log2f.c: Likewise.
18425 * math/w_log2l.c: Likewise.
18426 * math/w_logf.c: Likewise.
18427 * math/w_logl.c: Likewise.
18428 * math/w_pow.c: Likewise.
18429 * math/w_powf.c: Likewise.
18430 * math/w_powl.c: Likewise.
18431 * math/w_remainder.c: Likewise.
18432 * math/w_remainderf.c: Likewise.
18433 * math/w_remainderl.c: Likewise.
18434 * math/w_scalb.c: Likewise.
18435 * math/w_scalbf.c: Likewise.
18436 * math/w_scalbl.c: Likewise.
18437 * math/w_sinh.c: Likewise.
18438 * math/w_sinhf.c: Likewise.
18439 * math/w_sinhl.c: Likewise.
18440 * math/w_sqrt.c: Likewise.
18441 * math/w_sqrtf.c: Likewise.
18442 * math/w_sqrtl.c: Likewise.
18443 * math/w_tgamma.c: Likewise.
18444 * math/w_tgammaf.c: Likewise.
18445 * math/w_tgammal.c: Likewise.
18446
6a621eb7
UD
18447 * po/ja.po: Update from translation team.
18448
bf582445
AJ
184492011-09-29 Andreas Jaeger <aj@suse.de>
18450
f9efbf3a
AJ
18451 [BZ #13179]
18452 * sunrpc/netname.c (netname2host): Fix logic.
18453
bf582445
AJ
18454 [BZ #6779]
18455 [BZ #6783]
18456 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18457 correctly.
18458 * math/w_remainder.c (__remainder): Likewise.
18459 * math/w_remainderf.c (__remainderf): Likewise.
18460 * math/libm-test.inc (remainder_test): Add test cases.
18461
48693bea
AK
184622011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18463
18464 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18465 sdiv_qrnnd.
18466
42622229
LD
184672011-10-07 Ulrich Drepper <drepper@gmail.com>
18468
18469 * string/test-memcmp.c: Avoid unncessary #defines.
18470 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18471
093ecf92
LD
184722011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18473
18474 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18475 Use new sse2 version for core i3 - i7 as it's faster
18476 than sse42 version.
18477 (bit_Prefer_PMINUB_for_stringop): New.
18478 * sysdeps/x86_64/rawmemchr.S: Update.
18479 Replace with faster SSE2 version.
18480 * sysdeps/x86_64/memrchr.S: New file.
18481 * sysdeps/x86_64/memchr.S: Update.
18482 Replace with faster SSE2 version.
18483
fde56e5c
MP
184842011-09-12 Marek Polacek <mpolacek@redhat.com>
18485
18486 * elf/dl-load.c (lose): Add cast to avoid warning.
18487
21fd49a9
UD
184882011-10-07 Ulrich Drepper <drepper@gmail.com>
18489
5a06e643
UD
18490 * po/ca.po: Update from translation team.
18491
684ae515
UD
18492 * inet/getnetgrent_r.c: Hook up nscd.
18493 * nscd/Makefile (routines): Add nscd_netgroup.
18494 (nscd-modules): Add netgroupcache.
18495 (CFLAGS-netgroupcache.c): Define.
18496 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18497 (cache_search): Add const to second parameter.
18498 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18499 INNETGR.
18500 (dbs): Add netgrdb entry.
18501 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18502 (verify_persistent_db): Handle netgrdb.
18503 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18504 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18505 GETFDNETGR.
18506 (netgroup_response_header): Define.
18507 (innetgroup_response_header): Define.
18508 (datahead): Add netgroup_response_header and innetgroup_response_header
18509 elements.
18510 * nscd/nscd.conf: Add entries for netgroup cache.
18511 * nscd/nscd.h (dbtype): Add netgrdb.
18512 (_PATH_NSCD_NETGROUP_DB): Define.
18513 (netgroup_iov_disabled): Declare.
18514 (xmalloc, xcalloc, xrealloc): Move declarations here.
18515 (cache_search): Adjust prototype.
18516 Add netgroup-related prototypes.
18517 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18518 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18519 (__nscd_innetgr): Declare.
18520 * nscd/selinux.c (perms): Use access_vector_t as element type and
18521 add netgroup-related initializers.
18522 * nscd/netgroupcache.c: New file.
18523 * nscd/nscd_netgroup.c: New file.
18524 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18525 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18526 For four parameters use innetgr.
18527 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18528 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18529 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18530 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18531
21fd49a9
UD
18532 * nscd/connections.c (register_traced_file): Don't register file
18533 for disabled databases.
18534
054c0457
UD
185352011-10-06 Ulrich Drepper <drepper@gmail.com>
18536
32b63198
UD
18537 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18538
054c0457
UD
18539 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18540 from tree and freeing node.
18541
64031225
JO
185422011-09-25 Jiri Olsa <jolsa@redhat.com>
18543
18544 * nss/nsswitch.c (__nss_database_lookup): Handle
18545 nss_parse_service_list out of memory case.
18546
0490345c
JO
185472011-09-15 Jiri Olsa <jolsa@redhat.com>
18548
18549 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18550 out of memory case.
18551
3a62d00d
AS
185522011-10-04 Andreas Schwab <schwab@redhat.com>
18553
18554 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18555 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18556 pass it down.
18557 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18558 elf_machine_rela, elf_machine_lazy_rel.
18559 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18560 (ELF_DYNAMIC_DO_REL): Likewise.
18561 (ELF_DYNAMIC_DO_RELA): Likewise.
18562 (ELF_DYNAMIC_RELOCATE): Likewise.
18563 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18564 to ELF_DYNAMIC_DO_REL.
18565 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18566 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18567 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18568 elf_machine_rela.
18569 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18570 skip_ifunc, don't call ifunc function if non-zero.
18571 (elf_machine_rela): Likewise.
18572 (elf_machine_lazy_rel): Likewise.
18573 (elf_machine_lazy_rela): Likewise.
18574 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18575 (elf_machine_lazy_rel): Likewise.
18576 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18577 Likewise.
18578 (elf_machine_lazy_rel): Likewise.
18579 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18580 Likewise.
18581 (elf_machine_lazy_rel): Likewise.
18582 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18583 (elf_machine_lazy_rel): Likewise.
18584 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18585 (elf_machine_lazy_rel): Likewise.
18586 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18587 (elf_machine_lazy_rel): Likewise.
18588 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18589 (elf_machine_lazy_rel): Likewise.
18590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18591 (elf_machine_lazy_rel): Likewise.
18592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18593 (elf_machine_lazy_rel): Likewise.
18594
68577918
UD
185952011-09-28 Ulrich Drepper <drepper@gmail.com>
18596
18597 * nss/nss_files/files-init.c (_nss_files_init): Use static
18598 initialization for all the *_traced_file variables.
18599
68822d74
AS
186002011-09-28 Andreas Schwab <schwab@redhat.com>
18601
18602 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18603
2056100b
RM
186042011-09-27 Roland McGrath <roland@hack.frob.com>
18605
18606 [BZ #13226]
18607 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18608
32c76b63
AS
186092011-09-27 Andreas Schwab <schwab@redhat.com>
18610
18611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18612 Reread the line before reparsing it.
18613
bf972c9d
AS
186142011-09-26 Andreas Schwab <schwab@redhat.com>
18615
18616 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18617
e057a1b5
JM
186182011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18619 Maxim Kuvyrkov <maxim@codesourcery.com>
18620 Joseph Myers <joseph@codesourcery.com>
18621
18622 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18623 if needed for __stack_chk_guard.
18624
bc7e1c36
RM
186252011-09-19 Roland McGrath <roland@hack.frob.com>
18626
ecb1482f
RM
18627 * sysdeps/posix/spawni.c (script_execute): Always define it.
18628 It will be optimized away if unused.
18629 (maybe_script_execute): New function.
18630 (__spawni): Call it.
18631
bc7e1c36
RM
18632 * Makerules: Don't include tls.make.
18633 (config-tls): Always set to thread.
18634 * tls.make.c: File removed.
18635
1c3b002b
MF
186362011-09-19 Mike Frysinger <vapier@gentoo.org>
18637
18638 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18639 * config.make.in (CPPFLAGS-config): New substituted variable.
18640
2840865d
UD
186412011-09-15 Ulrich Drepper <drepper@gmail.com>
18642
88738eb6
UD
18643 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18644
cbf645a6 18645 [BZ #13192]
2840865d
UD
18646 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18647 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18648
b402e91a
RM
186492011-09-15 Roland McGrath <roland@hack.frob.com>
18650
18651 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18652 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18653 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18654 (CALL_FAIL): Likewise.
18655 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18656 (CALL_FAIL): Macro removed.
18657 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18658
4c1a1f71
UD
186592011-09-15 Ulrich Drepper <drepper@gmail.com>
18660
18661 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18662 for __FINITE_MATH_ONLY__ == 1.
18663
edc121be
AS
186642011-09-15 Andreas Schwab <schwab@redhat.com>
18665
18666 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18667 __ieee754_sqrt instead of sqrt.
18668 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18669 __ieee754_sqrtf instead of sqrtf.
18670 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18671 __floorf instead of floorf.
18672 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18673 __floorf, __truncf instead of floorf, truncf.
18674
cd205654
UD
186752011-09-14 Ulrich Drepper <drepper@gmail.com>
18676
ee4d0315
UD
18677 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18678
cd205654
UD
18679 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18680 __extern_always_inline.
18681 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18682 32-bit.
18683
48b67d71
AS
186842011-09-14 Andreas Schwab <schwab@redhat.com>
18685
18686 * elf/rtld.c (dl_main): Also relocate in dependency order when
18687 doing symbol dependency testing.
18688
1ae12c75
AS
186892011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18690
18691 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18692 Always define `refsym'.
18693
995a80df
AS
186942011-09-13 Andreas Schwab <schwab@redhat.com>
18695
e529793b
AS
18696 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18697 (__FD_ELT): Renamed from __FDELT.
18698 * misc/bits/select2.h (__FD_ELT): Likewise.
18699 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18700 __FD_MASK instead of __FDELT, __FDMASK.
18701 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18702 Likewise.
18703 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18704 Likewise.
18705
52d4fef8
AS
18706 * elf/Makefile (gen-ldd): Fix pattern.
18707
995a80df
AS
18708 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18709 (init_tls): Likewise.
18710
8682f8b0
UD
187112011-09-12 Ulrich Drepper <drepper@gmail.com>
18712
18713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18714
de82006d
AS
187152011-09-12 Andreas Schwab <schwab@redhat.com>
18716
a7c8e6a1
AS
18717 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18718 `struct cmsghdr *' instead of `void *'.
18719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18720 Likewise.
18721
0f31fe77
AS
187222011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18723
18724 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18725 if non-absolute.
18726 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18727 ldd_rewrite_script.
0f31fe77 18728
32b4c839
UD
187292011-09-11 Ulrich Drepper <drepper@gmail.com>
18730
83cd1420
UD
18731 * configure.in: Remove --with-tls option.
18732 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18733 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18734 out in case it is missing.
18735 * sysdeps/ia64/elf/configure.in: Likewise.
18736 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18737 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18738 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18739 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18740 * sysdeps/sh/elf/configure.in: Likewise.
18741 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18742 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18743 * sysdeps/x86_64/elf/configure.in: Likewise.
18744 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18745 * sysdeps/mach/hurd/tls.h: Likewise.
18746
633f745d
UD
18747 [BZ #13067]
18748 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18749
f318beb8
UD
18750 [BZ #13090]
18751 * configure.in: Fix use of AC_INIT.
18752
32b4c839
UD
18753 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18754
3ce1f295
UD
187552011-09-10 Ulrich Drepper <drepper@gmail.com>
18756
bb016596
UD
18757 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18758 __set_errno.
8e58439c
UD
18759 * malloc/hooks.c: Likewise.
18760
aebae053 18761 [BZ #11929]
02d46fc4
UD
18762 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18763 variables statically.
18764 (narenas): Initialize.
18765 (list_lock): Initialize.
bb016596
UD
18766 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18767 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18768 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18769 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18770 Add initializers to main_arena and mp_.
18771 (malloc_state): Remove pagesize member. Change all users to use
18772 GLRO(dl_pagesize).
18773
18774 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18775 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18776 is always initialized.
18777
22a89187
UD
18778 * malloc/malloc.c: Removed unused configurations and dead code.
18779 * malloc/arena.c: Likewise.
18780 * malloc/hooks.c: Likewise.
02d46fc4 18781 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18782
d063d164
UD
18783 * include/tls.h: Removed. USE___THREAD must always be defined.
18784 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18785 * elf/dl-libc.c: Likewise.
18786 * elf/dl-tsd.c: Likewise.
18787 * include/errno.h: Likewise.
18788 * include/netdb.h: Likewise.
18789 * include/resolv.h: Likewise.
18790 * inet/herrno-loc.c: Likewise.
18791 * inet/herrno.c: Likewise.
18792 * malloc/arena.c: Likewise.
18793 * malloc/hooks.c: Likewise.
18794 * malloc/malloc.c: Likewise.
18795 * resolv/res-state.c: Likewise.
18796 * resolv/res_libc.c: Likewise.
18797 * sysdeps/i386/dl-machine.h: Likewise.
18798 * sysdeps/ia64/dl-machine.h: Likewise.
18799 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18800 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18801 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18802 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18803 * sysdeps/sh/dl-machine.h: Likewise.
18804 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18805 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18806 * sysdeps/unix/i386/sysdep.S: Likewise.
18807 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18808 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18810 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18813 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18817 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18818 * sysdeps/x86_64/dl-machine.h: Likewise.
18819 * tls.make.c: Likewise.
18820
3ce1f295
UD
18821 * configure.in: Remove --with-__thread option. Make tests for
18822 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18823 tls_model attribute fail if no support is available. Remove
18824 USE_IN_LIBIO.
18825 * Makeconfig: Adjust for dropped configure option. All features are
18826 now mandatory.
18827 * Makerules: Likewise.
18828 * Versions.def: Likewise.
18829 * argp/argp-fmtstream.c: Likewise.
18830 * argp/argp-fmtstream.h: Likewise.
18831 * argp/argp-help.c: Likewise.
18832 * assert/assert.c: Likewise.
18833 * config.h.in: Likewise.
18834 * config.make.in: Likewise.
18835 * configure: Likewise.
18836 * configure.in: Likewise.
18837 * csu/Versions: Likewise.
18838 * csu/init.c: Likewise.
18839 * elf/tst-audit2.c: Likewise.
18840 * elf/tst-tls10.c: Likewise.
18841 * elf/tst-tls10.h: Likewise.
18842 * elf/tst-tls11.c: Likewise.
18843 * elf/tst-tls12.c: Likewise.
18844 * elf/tst-tls14.c: Likewise.
18845 * elf/tst-tlsmod11.c: Likewise.
18846 * elf/tst-tlsmod12.c: Likewise.
18847 * elf/tst-tlsmod13.c: Likewise.
18848 * elf/tst-tlsmod13a.c: Likewise.
18849 * elf/tst-tlsmod14a.c: Likewise.
18850 * elf/tst-tlsmod15b.c: Likewise.
18851 * elf/tst-tlsmod16a.c: Likewise.
18852 * elf/tst-tlsmod16b.c: Likewise.
18853 * elf/tst-tlsmod7.c: Likewise.
18854 * elf/tst-tlsmod8.c: Likewise.
18855 * elf/tst-tlsmod9.c: Likewise.
18856 * gmon/gmon.c: Likewise.
18857 * grp/fgetgrent_r.c: Likewise.
18858 * grp/putgrent.c: Likewise.
18859 * hurd/fopenport.c: Likewise.
18860 * include/libc-symbols.h: Likewise.
18861 * include/tls.h: Likewise.
18862 * intl/gettextP.h: Likewise.
18863 * intl/loadinfo.h: Likewise.
18864 * locale/global-locale.c: Likewise.
18865 * locale/localeinfo.h: Likewise.
18866 * mach/devstream.c: Likewise.
18867 * malloc/arena.c: Likewise.
18868 * malloc/set-freeres.c: Likewise.
18869 * misc/err.c: Likewise.
18870 * misc/getttyent.c: Likewise.
18871 * misc/mntent_r.c: Likewise.
18872 * posix/getopt.c: Likewise.
18873 * posix/wordexp.c: Likewise.
18874 * pwd/fgetpwent_r.c: Likewise.
18875 * resolv/Versions: Likewise.
18876 * resolv/res_hconf.c: Likewise.
18877 * shadow/fgetspent_r.c: Likewise.
18878 * shadow/putspent.c: Likewise.
18879 * stdio-common/printf_fphex.c: Likewise.
18880 * stdio-common/tmpfile.c: Likewise.
18881 * stdlib/abort.c: Likewise.
18882 * stdlib/fmtmsg.c: Likewise.
18883 * sunrpc/auth_unix.c: Likewise.
18884 * sunrpc/clnt_perr.c: Likewise.
18885 * sunrpc/clnt_tcp.c: Likewise.
18886 * sunrpc/clnt_udp.c: Likewise.
18887 * sunrpc/clnt_unix.c: Likewise.
18888 * sunrpc/openchild.c: Likewise.
18889 * sunrpc/svc_simple.c: Likewise.
18890 * sunrpc/svc_tcp.c: Likewise.
18891 * sunrpc/svc_udp.c: Likewise.
18892 * sunrpc/svc_unix.c: Likewise.
18893 * sunrpc/xdr.c: Likewise.
18894 * sunrpc/xdr_array.c: Likewise.
18895 * sunrpc/xdr_rec.c: Likewise.
18896 * sunrpc/xdr_ref.c: Likewise.
18897 * sunrpc/xdr_stdio.c: Likewise.
18898
1248c1c4
PB
188992011-09-09 Ulrich Drepper <drepper@gmail.com>
18900
18901 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18902
189032011-07-03 Andreas Jaeger <aj@suse.de>
18904
18905 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18906 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18907 regenerate with gen-libm-tests.pl.
18908
189092010-05-12 Petr Baudis <pasky@suse.cz>
18910
18911 [BZ #11589]
18912 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18913 around j0() zero points by switching to j1().
18914 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18918
f22e1074
UD
189192011-09-09 Ulrich Drepper <drepper@gmail.com>
18920
f19009c1
UD
18921 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18922 instead of 0.
18923 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18924 instead of 0. .
18925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18926 Patch in part by Pavel Roskin <proski@gnu.org>.
18927
3f8cc204
UD
18928 [BZ #13138]
18929 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18930 realloc.
18931 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18932 Free memory block if necessary.
18933
f22e1074
UD
18934 [BZ #12847]
18935 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18936 be NULL. Don't lock in this case.
18937
0a2349f9
RM
189382011-09-09 Roland McGrath <roland@hack.frob.com>
18939
18940 * elf/elf.h (ELFOSABI_GNU): New macro.
18941 (ELFOSABI_LINUX): Define to that.
18942
f3cdd467
DZ
189432011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18944
18945 * string/strncat.c (strncat): Undef the symbol in case it has been
18946 defined in bits/string.h.
18947
74718d13
UD
189482011-09-09 Ulrich Drepper <drepper@gmail.com>
18949
633e9e0f
UD
18950 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18951
0a2349f9 18952 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18953 link map.
18954
f9924780
AJ
189552011-08-17 Andreas Jaeger <aj@suse.de>
18956
18957 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18958
7f5517aa
PP
189592011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18960 Ian Lance Taylor <iant@google.com>
18961
18962 * math/libm-test.inc (lround_test): New testcase.
18963 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18964
762011fe
UD
189652011-09-08 Ulrich Drepper <drepper@gmail.com>
18966
92963737
UD
18967 * Makefile: Remove support for automatic cvs check-ins.
18968 * Makerules: Likewise.
18969 * config.make.in: Likewise.
18970 * configure.in: Likewise.
18971 * intl/Makefile: Likewise.
18972 * locale/Makefile: Likewise.
18973 * po/Makefile: Likewise.
18974 * posix/Makefile: Likewise.
18975 * sysdeps/gnu/Makefile: Likewise.
18976 * sysdeps/mach/hurd/Makefile: Likewise.
18977 * sysdeps/sparc/sparc32/Makefile: Likewise.
18978
b0727fd8
JS
18979 [BZ #13118]
18980 * posix/Makefile (bug-regex32-ENV): Define.
18981 Patch by John Stanley <jpsinthemix@verizon.net>.
18982
a0f33f99
UD
18983 * misc/Makefile (headers): Add bits/select2.h.
18984 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18985 * misc/bits/select2.h: New file.
18986 * include/bits/select2.h: New file.
18987 * debug/Makefile (routines): Add fdelt_chk.
18988 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18989 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18990 FD_ISSET.
18991 * debug/fdelt_chk.c: New file.
18992
762011fe
UD
18993 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18994 * wcsmbs/test-wmemcmp.c: Likewise.
18995 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18996 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18997
189982011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18999
19000 * string/Makefile (strop-tests): Add memcmp.
19001 * string/test-wmemcmp.c: New file.
19002 * string/test-memcmp.c: Add wmemcmp support.
19003
7f513ec8
RM
190042011-09-08 Roland McGrath <roland@hack.frob.com>
19005
0442afb4
RM
19006 [BZ #13153]
19007 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19008 2011-07-19 change.
19009
7f513ec8
RM
19010 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19011 garbage value in a __mach_port_mod_refs call in the cases of the
19012 task-self and thread-self ports.
19013
a12b2239
ST
190142011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19015
19016 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19017
610f9ab4
AS
190182011-09-08 Andreas Schwab <schwab@redhat.com>
19019
7f513ec8 19020 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19021
48882a1a
LD
190222011-09-07 Ulrich Drepper <drepper@gmail.com>
19023
b49865be
UD
19024 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19025
fdc86bc9
UD
19026 * elf/dl-libc.c (dlerror_run): Pass back error code from
19027 dl_catch_error.
19028
c966526a
UD
19029 [BZ #13123]
19030 * elf/dl-load.c (lose): Free l_origin if it is valid.
19031
48882a1a
LD
19032 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19033 names.
19034 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19037 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19038 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19039 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19040
77a2a8b4
AZ
190412011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19042
19043 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19044 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19045 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19046 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19047 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19048 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19049 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19050 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19051 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19052 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19053
24f579d8
AM
190542011-08-15 Alan Modra <amodra@gmail.com>
19055
19056 [BZ #13092]
19057 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19058 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19059 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19060 ppc_mcount to static-only-routines.
19061 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19062 __mcount_internal.
19063 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19064 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19065
3d4837df
UD
190662011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19067
19068 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19069 for finite and infinity parameters.
19070
22700377
WS
190712011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19072
19073 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19074 and add nop instructions for throughput optimization.
19075 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19076
5025581e
WS
190772011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19078
19079 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19080 aligned copy for power7 with vector-scalar instructions.
19081 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19082
08a300c9
L
190832011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19084
19085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19086 AVX check.
19087
59178ef9
AS
190882011-09-07 Andreas Schwab <schwab@redhat.com>
19089
19090 [BZ #13144]
19091 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19092 last change.
19093
e38ba7ab
UD
190942011-09-07 Ulrich Drepper <drepper@gmail.com>
19095
19096 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19097 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19098 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19099 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19100 clock_gettime.
19101
d53a73ac
UD
191022011-09-06 Ulrich Drepper <drepper@gmail.com>
19103
fc8bffcc
UD
19104 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19105 Forgot to demangle the pointer.
19106
ceaa0c5d
UD
19107 * sysdeps/i386/sysdep.h: Define atom_text_section.
19108 * sysdeps/x86_64/sysdep.h: Likewise.
19109 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19110 section with atom_text_section.
19111 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19112 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19113 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19114 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19115 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19116
a77d3c17
UD
19117 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19118 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19119 already be defined. Change to take two parameters and don't assign
19120 result to variable. Adjust all users.
19121 Define INTERNAL_GETTIME if not already defined.
19122 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19123 call.
19124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19125 HAVE_CLOCK_GETTIME_VSYSCALL.
19126 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19127
d53a73ac
UD
19128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19129 gettimeofday vsyscall, just use time.
19130
a8f84144
AS
191312011-09-06 Andreas Schwab <schwab@redhat.com>
19132
19133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19134 <errno.h>.
19135
ef606249
UD
191362011-09-06 Ulrich Drepper <drepper@gmail.com>
19137
19138 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19139 syscall on x86-64.
19140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19141 syscall.
19142 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19143 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19144 syscall if possible.
19145
6585cb60
UD
191462011-09-05 Ulrich Drepper <drepper@gmail.com>
19147
19148 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19149 e_ident. Don't pass to find_mapsXX.
19150 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19151
a5f524e4
LD
191522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19153
19154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19155 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19156 * sysdeps/x86_64/multiarch/strchr.S: Update.
19157 Check bit_slow_BSF bit.
19158 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19159 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19160 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19161
554881ef
UD
191622011-09-05 Ulrich Drepper <drepper@gmail.com>
19163
d96de963
UD
19164 [BZ #13134]
19165 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19166 before glibc 2.15.
19167 (tryshell): Define.
19168 (__spawni): Change last parameter to be flag. Test
19169 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19170 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19171 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19172 * posix/spawni.c: Likewise.
19173 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19174 * posix/spawnp.c: Likewise. Change normal version to use
19175 SPAWN_XFLAGS_USE_PATH.
19176 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19177 SPAWN_XFLAGS_TRY_SHELL.
19178
d48e5868
UD
19179 [BZ #13150]
19180 * posix/glob.h: Remove gcc 1.x support.
19181
554881ef
UD
19182 [BZ #13068]
19183 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19184
693fb948
LD
191852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19186
19187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19188 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19189 strrchr-sse2-bsf
19190 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19191 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19192 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19194 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19195 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19196
1b48c537
UD
191972011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19198
49d42c37
UD
19199 * sysdeps/x86_64/wcscmp.S: New file.
19200
1b48c537
UD
19201 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19202 wcscmp-c wcscmp-sse2
19203 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19204 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19205 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19206 * wcsmbs/wcscmp.c: Allow renaming.
19207
15c95c5d
DM
192082011-09-05 David S. Miller <davem@davemloft.net>
19209
19210 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19211 stack slot, rather than the struct return pointer slot.
19212 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19213 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19215 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19216
2f0ad8f3
UD
192172011-09-05 Ulrich Drepper <drepper@gmail.com>
19218
d88ae418
UD
19219 * po/ja.po: Update from translation team.
19220
2f0ad8f3
UD
19221 [BZ #13144]
19222 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19223 kernel in 64-bit binaries.
19224
5f4318d1
DM
192252011-09-01 David S. Miller <davem@davemloft.net>
19226
19227 * elf/elf.h (HWCAP_SPARC_*): Move to..
19228 * sysdeps/sparc/sysdep.h: this new file and add new values.
19229 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19230 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19231 _DL_HWCAP_COUNT to 24.
19232 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19233 entries.
19234 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19235 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19236 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19238 instead of magic constants.
19239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19240
3ba57516
DM
192412011-08-31 David S. Miller <davem@davemloft.net>
19242
19243 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19245 Reimplement to do errno handling inline.
19246 (SYSCALL_ERROR_HANDLER): New macro.
19247 (__SYSCALL_STRING): Do not do errno handling in asm.
19248 (__CLONE_SYSCALL_STRING): Delete.
19249 (__INTERNAL_SYSCALL_STRING): Delete.
19250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19251 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19252 (PSEUDO): Reimplement to do errno handling inline.
19253 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19254 (SYSCALL_ERROR_HANDLER): New macro.
19255 (__SYSCALL_STRING): Do not do errno handling in asm.
19256 (__CLONE_SYSCALL_STRING): Delete.
19257 (__INTERNAL_SYSCALL_STRING): Delete.
19258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19259 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19260 i386.
19261 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19262 (inline_syscall*): Add 'err' argument.
19263 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19264 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19265 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19266 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19267
19268 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19269 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19270
2bc17433
AS
192712011-08-30 Andreas Schwab <schwab@redhat.com>
19272
19273 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19274
fbeb5f4d
JO
192752011-08-29 Jiri Olsa <jolsa@redhat.com>
19276
19277 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19278 directive.
19279
ad69cc26
DM
192802011-08-24 David S. Miller <davem@davemloft.net>
19281
19282 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19283
39dd69df
AS
192842011-08-24 Andreas Schwab <schwab@redhat.com>
19285
19286 * elf/Makefile: Add rules to build and run unload8 test.
19287 * elf/unload8.c: New file.
19288 * elf/unload8mod1.c: New file.
19289 * elf/unload8mod1x.c: New file.
19290 * elf/unload8mod2.c: New file.
19291 * elf/unload8mod3.c: New file.
19292
19293 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19294 it wasn't used.
19295
2c0b250a
DM
192962011-08-23 David S. Miller <davem@davemloft.net>
19297
19298 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19299 subtract stack bias.
19300 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19301 %sp not %fp in calculations.
19302 (_JMPBUF_UNWINDS_ADJ): Likewise.
19303
22044b48
DM
19304 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19305 (aio_suspend): Call it to force an exception region around the
19306 AIO_MISC_WAIT() invocation.
19307
2cae4995
AS
193082011-08-23 Andreas Schwab <schwab@redhat.com>
19309
19310 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19311 backslash.
19312
873a772e
AJ
193132011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19314
19315 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19316 protection macro.
19317 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19318 and <dl-machine.h>.
19319 (Elf64_FuncDesc): Remove.
19320
25ad0df1
DM
193212011-08-22 David S. Miller <davem@davemloft.net>
19322
19323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19324 sigaltstack check, add missing cfi directives.
19325 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19326 missing cfi directives, and sigaltstack handling.
19327
e888bcbe
AS
193282011-08-16 Andreas Schwab <schwab@redhat.com>
19329
19330 [BZ #11724]
19331 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19332 object is seen twice.
19333 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19334
19335 * elf/Makefile (distribute): Add tst-initorder2.c.
19336 (tests): Add tst-initorder2.
19337 (modules-names): Add tst-initorder2a tst-initorder2b
19338 tst-initorder2c tst-initorder2d. Add rules to build them.
19339 ($(objpfx)tst-initorder2.out): New rule.
19340 * elf/tst-initorder2.c: New file.
19341 * elf/tst-initorder2.exp: New file.
19342
87162f46
AS
193432011-08-22 Andreas Schwab <schwab@redhat.com>
19344
70538b7f
AS
19345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19346
f55ffe58
AS
19347 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19348 dependencies back to end of function.
19349
87162f46
AS
19350 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19351 $(elfobjdir)/ld.so.
19352
91b392a4
UD
193532011-08-21 Ulrich Drepper <drepper@gmail.com>
19354
19355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19356 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19358 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19359 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19360 of __vdso_gettimeofday.
19361 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19362 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19363 attribute_hidden.
19364 (_libc_vdso_platform_setup): Remove initialization of
19365 __vdso_gettimeofday and __vdso_time.
19366
5c43483f
UD
193672011-08-20 Ulrich Drepper <drepper@gmail.com>
19368
775a77e7
UD
19369 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19370 and fgetc_unlocked.
19371 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19372 getc_unlocked.
89f447ed 19373
49c74ba9
UD
19374 * elf/dl-open.c (add_to_global): Report additions to the global scope
19375 for LD_DEBUG=scopes.
19376 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19377 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19378
5c43483f
UD
19379 [BZ #13114]
19380 * stdio-common/Makefile (tests): Add bug24.
19381 * stdio-common/bug24.c: New file.
19382
a101b025
AJ
193832011-08-19 Andreas Jaeger <aj@suse.de>
19384
19385 [BZ #13114]
19386 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19387 non-existant file when using close-on-exec mode.
19388
c88f1766
UD
193892011-08-20 Ulrich Drepper <drepper@gmail.com>
19390
0276a718
UD
19391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19392 the very first instruction.
19393
c88f1766
UD
19394 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19395 the CFI state in the end.
19396 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19397 inclusion of dl-trampoline.h.
19398 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19399
51ccffa0
AS
194002011-08-19 Andreas Schwab <schwab@redhat.com>
19401
94d7165f
AS
19402 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19403 expectations for long double.
19404
51ccffa0
AS
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19406 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19407
fd708658 194082011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19409
19410 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19411 artificual limit depends upon the system page size.
19412
44f0a71e
UD
194132011-08-17 Ulrich Drepper <drepper@gmail.com>
19414
19415 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19416 * resolv/Makefile: Define CFLAGS-libresolv.
19417
8de79a24
AS
194182011-08-17 Andreas Schwab <schwab@redhat.com>
19419
19420 * nss/makedb.c (compute_tables): Make variables used in nested
19421 function static.
19422
27724598
UD
194232011-08-17 Ulrich Drepper <drepper@gmail.com>
19424
c5305d88
UD
19425 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19426 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19427 if buffer was too small.
19428
27724598
UD
19429 * elf/pldd.c (main): Attach to all threads in the process.
19430 Rewrite /proc handling to use *at functions.
19431
076fe015
UD
194322011-08-16 Ulrich Drepper <drepper@gmail.com>
19433
174baab3
UD
19434 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19435 specifies first scope to show.
19436 (dl_open_worker): Update callers. Move printing scope of new
19437 object to before the relocation.
44f0a71e 19438 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19439 * sysdeps/generic/ldsodefs.h: Update declaration.
19440
076fe015
UD
19441 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19442 string for the scope number.
19443
a60df2c3
UD
194442011-08-14 Ulrich Drepper <drepper@gmail.com>
19445
19446 * nscd/servicescache.c (cache_addserv): Make sure written is always
19447 initialized.
19448
5e4287d1
RM
194492011-08-14 Roland McGrath <roland@hack.frob.com>
19450
85ae0589
RM
19451 * sysdeps/i386/i486/bits/atomic.h
19452 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19453 statement expression, so as to suppress "set but not used" warning.
19454 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19455
69f63097
RM
19456 * string/strncat.c (STRNCAT): Use prototype definition.
19457
675456ef
RM
19458 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19459 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19460 -Iprograms here.
19461 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19462 (localedef-modules): Add localedef.
19463 (locale-modules): Add locale.
19464
5e4287d1
RM
19465 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19466 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19467 to avoid a warning.
19468
9c96ff23
DM
194692011-08-14 David S. Miller <davem@davemloft.net>
19470
19471 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19472 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19473
f9ddf089
UD
194742011-08-13 Ulrich Drepper <drepper@gmail.com>
19475
44f0a71e 19476 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19477 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19478 * elf/rtld.c (dl_main): Set l_name of vDSO.
19479 Call _dl_show_scope when DL_DEBUG_SCOPES.
19480 (process_dl_debug): Recognize scopes flag and also set it for all.
19481 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19482 Declare _dl_show_scope.
19483
1dc27704
UD
19484 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19485 (do_dlopen): Pass caller_dlopen to dl_open.
19486 (__libc_dlopen_mode): Initialize caller_dlopen.
19487
f9ddf089
UD
19488 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19489 of libc. Make tolower call locale-independent. Optimize a bit by
19490 using isdigit instead of isalnum.
19491 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19492
9ac533d3
UD
194932011-08-12 Ulrich Drepper <drepper@gmail.com>
19494
19495 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19496 was a dependency or dynamically loaded.
19497
89edf2e9
UD
194982011-08-11 Ulrich Drepper <drepper@gmail.com>
19499
8e999d29
UD
19500 * intl/l10nflist.c: Allow architecture-specific pop function.
19501 * sysdeps/x86_64/l10nflist.c: New file.
19502
89edf2e9
UD
19503 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19504 classification.
19505
14d96785
AS
195062011-08-10 Andreas Schwab <schwab@redhat.com>
19507
19508 * include/dirent.h: Add libc_hidden_proto for scandirat and
19509 scandirat64. Don't declare __scandirat64.
19510 * dirent/scandirat.c: Add libc_hidden_def.
19511 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19512 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19513
6761ac04
DM
195142011-08-10 David S. Miller <davem@davemloft.net>
19515
19516 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19517 enum.
19518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19521
c55fbd1e
UD
195222011-08-09 Ulrich Drepper <drepper@gmail.com>
19523
19524 * Versions.def [libc]: Add GLIBC_2.15.
19525 * dirent/Makefile (routines): Add scandirat and scandirat64.
19526 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19527 GLIBC_2.15.
19528 * dirent/dirent.h: Declare scandirat and scandirat64.
19529 * dirent/scandirat.c: New file.
19530 * dirent/scandirat64.c: New file.
19531 * sysdeps/wordsize-64/scandirat.c: New file.
19532 * sysdeps/wordsize-64/scandirat64.c: New file.
19533 * dirent/opendir.c: Define opendirat.
19534 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19535 using scandirat.
19536 * dirent/scandir64.c: Adjust for scandir.c change.
19537 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19538 __scandirat64, and __scandir_cancel_handler.
19539 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19540 additional parameter and use openat instead of open (outside of ld.so).
19541 Add new __opendir as wrapper around __opendirat.
19542 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19543 here without requiring old scandirat implementation.
19544
879165f2
UD
195452011-08-08 Ulrich Drepper <drepper@gmail.com>
19546
19547 * dirent/scandir.c (cancel_handler): Renamed to
19548 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19549 defined. Adjust users.
19550 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19551 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19552
cb7e923b
UD
195532011-08-04 Ulrich Drepper <drepper@gmail.com>
19554
16292edd
UD
19555 * string/test-string.h (IMPL): Use __STRING to expand name and then
19556 stringify it.
19557
cb7e923b
UD
19558 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19559 of cleanups.
19560
cff82933
LD
195612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19562
19563 * string/Makefile: Update.
19564 (strop-tests): Append strncat.
19565 * string/test-wcscmp.c: New file.
19566 New comprehensive test for wcscmp.
19567 * string/test-strcmp.c: Update.
19568 (WIDE): New define.
19569
9be9bfcc
AS
195702011-07-22 Andreas Schwab <schwab@redhat.com>
19571
19572 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19573 line.
19574
2e96f1c7
AS
195752011-07-26 Andreas Schwab <schwab@redhat.com>
19576
19577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19578 encoding to ACE if AI_IDN.
19579
85188888
JJ
195802011-08-01 Jakub Jelinek <jakub@redhat.com>
19581
19582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19583 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19584
5fa16e9b
LD
195852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19586
19587 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19588 Fix overflow bug in strncat.
19589 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19590
19591 * string/test-strncat.c: Update.
19592 Add new tests for checking overflow bugs.
19593
195942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19595
19596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19597 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19598 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19599 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19601 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19602 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19603 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19604 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19605
19606 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19607 (USE_AS_STRCAT): Define.
19608 Add strcat and strncat support.
19609 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19610
8c1a459f
AS
196112011-07-25 Andreas Schwab <schwab@redhat.com>
19612
19613 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19614 __n bigger than INT_MAX+1.
19615 (__strncmp_g): Likewise.
19616
bba33c28
UD
196172011-07-23 Ulrich Drepper <drepper@gmail.com>
19618
798be72d
UD
19619 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19620 * libio/stido.h: Likewise.
19621
8accd4dc
UD
19622 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19623 (AF_NFC): Define.
19624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19625 (AF_NFC): Define.
19626
cbff0d96
UD
19627 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19628 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19630 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19632
9191c04a
UD
19633 [BZ #13021]
19634 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19635 installed.
19636
bba33c28
UD
19637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19638 typo.
19639 (_dl_x86_64_save_sse): Likewise.
19640
90f139dd
UD
196412011-07-22 Ulrich Drepper <drepper@gmail.com>
19642
1aae088a
UD
19643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19644 OSXSAVE.
19645 (_dl_x86_64_save_sse): Likewise.
19646
8e2045f5
UD
19647 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19648
90f139dd
UD
19649 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19650
1d002f25
AS
196512011-07-21 Andreas Schwab <schwab@redhat.com>
19652
19653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19654 change.
19655 (_dl_x86_64_save_sse): Use correct AVX check.
19656
21137f89
UD
196572011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19658
19659 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19660 bug in strncpy/strncat.
19661 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19662
a65c0b7a
UD
196632011-07-21 Ulrich Drepper <drepper@gmail.com>
19664
19665 * string/tester.c (test_strcat): Add tests for different alignments
19666 of source and destination.
19667 (test_strncat): Likewise.
19668
6986b98a
UD
196692011-07-20 Ulrich Drepper <drepper@gmail.com>
19670
90bb2039
UD
19671 [BZ #12852]
19672 * posix/glob.c (glob): Check passed in values before using them in
19673 expressions to avoid some overflows.
19674 (glob_in_dir): Likewise.
19675
5644ef54
UD
19676 [BZ #13007]
19677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19678 check for AVX enablement so that we don't crash with old kernels and
19679 new hardware.
19680 * elf/tst-audit4.c: Add same checks here.
19681 * elf/tst-audit6.c: Likewise.
19682
19683 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19684
bfc9dc9b
AS
196852011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19686
19687 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19688
702e64bb
UD
196892011-07-20 Ulrich Drepper <drepper@gmail.com>
19690
19691 * po/cs.po: Update from translation team.
19692 * po/bg.po: Likewise.
19693
295e904f
MP
196942011-07-12 Marek Polacek <mpolacek@redhat.com>
19695
19696 * misc/sys/cdefs.h: Add support for const attribute.
19697 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19698 to gnu_dev_{major,minor,makedev} functions.
19699
3ff94596
MP
197002011-07-20 Marek Polacek <mpolacek@redhat.com>
19701
19702 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19703
28b59fca
AS
197042011-07-20 Andreas Schwab <schwab@redhat.com>
19705
19706 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19707 strlen results.
19708
19df733e
AK
197092011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19710
19711 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19712 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19713 register in order to avoid conflicts with the soft frame pointer
19714 being held in r11 when necessary.
19715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19716 (INTERNAL_VSYSCALL_NCS): Likewise.
19717
c8835729
MP
197182011-07-14 Marek Polacek <mpolacek@redhat.com>
19719
19720 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19721 * elf/dl-fini.c (_dl_fini): Adjust caller.
19722 * elf/dl-close.c (_dl_close_worker): Likewise.
19723 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19724
b902330c
MP
197252011-07-15 Marek Polacek <mpolacek@redhat.com>
19726
8991e135
MP
19727 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19728 "aux_cache->nlibs < 0".
19729
b902330c
MP
19730 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19731 in the reload-count case.
19732
99710781
LD
197332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19734
19735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19736 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19737 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19738 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19739 * sysdeps/x86_64/multiarch/strcat.S: New file.
19740 * sysdeps/x86_64/multiarch/strncat.S: New file.
19741 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19742 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19743 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19744 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19745 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19746 (USE_AS_STRCAT): Define.
19747 Add strcat and strncat support.
19748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19749 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19750 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19751 * string/strncat.c: Update.
19752 (USE_AS_STRNCAT): Define.
19753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19754 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19755 and i7.
19756 * sysdeps/x86_64/multiarch/init-arch.h
19757 (bit_Prefer_PMINUB_for_stringop): New.
19758 (index_Prefer_PMINUB_for_stringop): Likewise.
19759 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19760 bit_Prefer_PMINUB_for_stringop.
19761
7dc6bd90
UD
197622011-07-19 Ulrich Drepper <drepper@gmail.com>
19763
19764 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19765 buffer64.
19766 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19767 of casting of buffer.
19768 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19769 buffer32 and buffer64.
19770 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19771 writes instead of casting of buffer.
19772 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19773 buffer32.
19774 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19775 casting of buffer.
19776
e0e72284
AS
197772011-07-19 Andreas Schwab <schwab@redhat.com>
19778
19779 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19780
feb1eb0b
UD
197812011-07-19 Ulrich Drepper <drepper@gmail.com>
19782
19783 * nscd/nscd.c (termination_handler): Don't do anything for a database
19784 if it has not yet been initialized.
19785
298711ff
UD
197862011-07-18 Ulrich Drepper <drepper@gmail.com>
19787
19788 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19789
197902011-07-15 Marek Polacek <mpolacek@redhat.com>
19791
19792 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19793
f9d68389
UD
197942011-07-18 Ulrich Drepper <drepper@gmail.com>
19795
19796 * po/nl.po: Update from translation team.
19797 * po/sv.po: Likewise.
19798
db290cf5
RM
197992011-07-16 Roland McGrath <roland@hack.frob.com>
19800
19801 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19802 now disallowed by GCC.
5c550700 19803
fd5e21c7
RM
19804 * configure.in (use-default-link): Default to yes if a test -shared
19805 link meets our qualifications.
19806 * configure: Regenerated.
19807
5c550700
RM
19808 * config.make.in (output-format): New variable.
19809 * configure.in: Check for ld --print-output-format support.
19810 * configure: Regenerated.
19811 * Makerules ($(common-objpfx)format.lds)
19812 [$(output-format) != unknown]: Just use $(output-format),
19813 instead of the linker-script munging.
19814
9fa2c032
RM
198152011-07-14 Roland McGrath <roland@hack.frob.com>
19816
a6928d51
RM
19817 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19818 of $(common-objpfx)shlib.lds.
19819 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19820
661607b3
RM
19821 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19822 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19823
9fa2c032
RM
19824 * configure.in (-z relro check): Adjust test code to add a large
19825 writable data section after it.
19826 * configure: Regenerated.
19827
defe9061
RM
198282011-07-11 Roland McGrath <roland@hack.frob.com>
19829
19830 * configure.in (-z relro check): Fix test code to make the variable
19831 truly const.
19832 * configure: Regenerated.
19833
319b9ad4
UD
198342011-07-11 Ulrich Drepper <drepper@gmail.com>
19835
19836 * nscd/nscd.h (struct traced_file): Define.
19837 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19838 elements. Add traced_files.
19839 (inotify_fd): Declare.
19840 (register_traced_file): Declare.
19841 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19842 (inotify_fd): Export.
19843 (resolv_conf_descr): Remove.
19844 (nscd_init): Move inotify descriptor creation to main.
19845 Don't register files for notification here.
19846 (register_traced_file): New function.
19847 (invalidate_cache): Don't use reset_res to determine whether to call
19848 res_init, go through the list of registered files.
19849 (main_loop_poll): The inotify descriptors are now stored in the
19850 structures for the traced files.
19851 (main_loop_epoll): Likewise
19852 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19853 to __nss_disable_nscd.
19854 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19855 for a database anymore. Check the records for all the registered
19856 files instead.
19857 * nss/Makefile (libnss_files-routines): Add files-init.
19858 (libnss_db-routines): Add db-init.
19859 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19860 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19861 * nss/nss_db/db-init.c: New file.
19862 * nss/nss_files/files-init.c: New file.
19863 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19864 __nss_lookup_function.
19865 (__nss_lookup_function): Call nss_load_library.
19866 (nss_load_all_libraries): New function.
19867 (__nss_disable_nscd): Take parameter with callback function for files
19868 to register. Set is_nscd. Load all the DSOs for the NSS modules
19869 used for the cached services.
19870 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19871 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19872 options for features to all the files in nscd.
19873
19874 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19875
23bee3e8
RM
198762011-07-10 Roland McGrath <roland@hack.frob.com>
19877
19878 * csu/elf-init.c (__libc_csu_init): Comment typo.
19879
46a5b7f0
UD
198802011-07-09 Ulrich Drepper <drepper@gmail.com>
19881
19882 * po/pl.po: Update from translation team.
19883 * po/ja.po: Likewise.
19884 * po/ru.po: Likewise.
19885 * po/ko.po: Likewise.
19886 * po/fr.po: Likewise.
19887
d30cf5bb
RM
198882011-07-09 Roland McGrath <roland@hack.frob.com>
19889
113ddea4
RM
19890 * configure.in (.ctors/.dtors header and trailer check):
19891 Use an empirical test on a built program.
19892 * configure: Regenerated.
19893
574920b4
RM
19894 * configure.in (-z relro check): Use an empirical test on a built DSO.
19895 Detect, but do not require, on ia64.
19896 * configure: Regenerated.
19897
d30cf5bb
RM
19898 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19899 Update tests that use readelf to use $READELF instead.
19900 * configure: Regenerated.
19901
8538fdb3
UD
199022011-07-08 Ulrich Drepper <drepper@gmail.com>
19903
19904 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19905 if the result is not used.
19906
04d08991
AJ
199072011-07-05 Andreas Jaeger <aj@suse.de>
19908
19909 [BZ#9696]
19910 * stdlib/tst-strtod.c: Add testcase.
19911
de283087
AD
199122011-07-07 Ulrich Drepper <drepper@gmail.com>
19913
4e5f31c8 19914 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19915 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19916 The latter has a higher limit. Take additional parameter to pass to
19917 the new function.
19918 (__pathconf): Pass file to __statfs_link_max.
19919 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19920 __statfs_link_max.
19921 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19922 __statfs_link_max.
19923
de283087
AD
19924 [BZ #12868]
19925 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19926 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19927 Handle Lustre.
19928 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19929 (__statfs_filesize_max): Likewise.
19930 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19931
c75fa153
AJ
199322011-07-05 Andreas Jaeger <aj@suse.de>
19933
19934 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19935
1a544854
UD
199362011-07-06 Marek Polacek <mpolacek@redhat.com>
19937
19938 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19939 `status' variable.
19940 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19941 Likewise.
19942
6f0eec67
UD
199432011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19944
19945 * Makefile (strop-tests): Add strncat.
19946 * string/test-strncat.c: New file.
19947
aae30307
UD
199482011-06-30 Marek Polacek <mpolacek@redhat.com>
19949
19950 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19951
c0cfb5eb
UD
199522011-06-21 Andreas Jaeger <aj@suse.de>
19953
19954 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19955 Copy rule from iconvdata/Makefile.
19956
01636b21
UD
199572011-07-06 Ulrich Drepper <drepper@gmail.com>
19958
19959 [BZ #12922]
19960 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19961 but no long options are defined, just return 'W'.
19962
9895c8bc
UD
199632011-06-22 Marek Polacek <mpolacek@redhat.com>
19964
19965 [BZ #9696]
19966 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19967
5d4cf042
UD
199682011-07-06 Ulrich Drepper <drepper@gmail.com>
19969
19970 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19971 netgroups to read.
960e5535 19972 (innetgr): Likewise.
5d4cf042 19973
751eb97e
RM
199742011-07-05 Roland McGrath <roland@hack.frob.com>
19975
19976 * config.make.in (install_root): Default to $(DESTDIR).
19977
f15f1e45
UD
199782011-07-05 Ulrich Drepper <drepper@gmail.com>
19979
19980 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19981
4e34ac6a
RM
199822011-07-02 Roland McGrath <roland@hack.frob.com>
19983
5e9b6af4
RM
19984 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19985
84f9ea0f
RM
19986 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19987 containing directory rather than embedding absolute directory names.
19988
ea5ee9f7
RM
19989 * scripts/check-local-headers.sh: Rewritten using awk.
19990 Match by word, not by line. Print error messages for matches.
19991 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19992
1b74661a
RM
19993 * Makerules [shlib-lds-flags empty]:
19994 ($(common-objpfx)libc_pic.opts): New target.
19995 ($(common-objpfx)libc_pic.os.clean): New target.
19996 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19997
19998 * config.make.in (OBJCOPY): New variable.
19999 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20000 * configure: Regenerated.
20001
f781ef40
RM
20002 * config.make.in (use-default-link): New variable.
20003 * configure.in (use_default_link): Grok --with-default-link to set it.
20004 * configure: Regenerated.
20005 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20006 (shlib-lds, shlib-lds-flags): Define to empty.
20007
2d4fa81e
RM
20008 * Makerules (shlib-lds): New variable.
20009 (shlib-lds-flags): New variable.
20010 (build-shlib, build-moduile, build-module-asneeded): Use it.
20011 ($(common-objpfx)libc.so): Use $(shlib-lds).
20012 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20013 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20014
31fffa6b
RM
20015 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20016 DT_FLAGS/DT_FLAGS_1 with zero flags.
20017
4e34ac6a
RM
20018 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20019 linker script munging.
20020
fcfc776b
UD
200212011-07-02 Ulrich Drepper <drepper@gmail.com>
20022
20023 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20024 as 128-bit value.
20025 * crypt/sha512.c (sha512_process_block): Perform total addition using
20026 128-bit if possible.
20027 (__sha512_finish_ctx): Likewise.
20028 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20029 as 64-bit value.
20030 * crypt/sha256.c (SWAP64): Define.
20031 (sha256_process_block): Perform total addition using 64-bit if
20032 possible.
20033 (__sha256_finish_ctx): Likewise.
20034
99231d9a
UD
200352011-07-01 Ulrich Drepper <drepper@gmail.com>
20036
20037 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20039 * nscd/hstcache.c (cache_addhst): Likewise.
20040 * nscd/grpcache.c (cache_addgr): Likewise.
20041 * nscd/aicache.c (addhstaiX): Likewise
20042 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20043
445b4a53
TK
200442011-07-01 Thorsten Kukuk <kukuk@suse.de>
20045
20046 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20047 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20048 * nscd/hstcache.c (cache_addhst): Likewise.
20049 * nscd/grpcache.c (cache_addgr): Likewise.
20050 * nscd/aicache.c (addhstaiX): Likewise
20051
6d4d8e8e
AS
200522011-07-01 Andreas Schwab <schwab@redhat.com>
20053
20054 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20055 domain only when needed.
20056
89f654c5
AS
200572011-06-30 Andreas Schwab <schwab@redhat.com>
20058
20059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20060 is always restored.
20061
cf3b23ff
UD
200622011-06-29 Ulrich Drepper <drepper@gmail.com>
20063
20064 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20065 are re-adding the entry.
20066 * nscd/servicescache.c (cache_addserv): Likewise.
20067
751626f9
AJ
200682011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20069
20070 * sysdeps/generic/dl-irel.h: fix protection against multiple
20071 inclusions.
20072 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20073
9113ea1f
UD
200742011-06-28 Ulrich Drepper <drepper@gmail.com>
20075
5c0b8d90
UD
20076 [BZ #12935]
20077 * malloc/memusage.sh: Fix quoting in message.
20078 * debug/xtrace.sh: Likewise.
20079
9113ea1f
UD
20080 * configure.in: Remove support for --experimental-malloc option, make
20081 it the default.
20082 * config.make.in: Likewise.
20083 * malloc/Makefile: Likewise.
20084
a4172181
AS
200852011-06-27 Andreas Schwab <schwab@redhat.com>
20086
20087 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20088 two-byte characters.
20089
78a7eee7
RM
200902011-06-27 Roland McGrath <roland@hack.frob.com>
20091
62bede13
RM
20092 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20093 AC_CACHE_CHECK invocation.
20094 * configure: Regenerated.
20095
78a7eee7
RM
20096 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20097
5ce33a62
UD
200982011-06-27 Ulrich Drepper <drepper@gmail.com>
20099
034807a9
UD
20100 [BZ #12350]
20101 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20102 bit from old_res_options.
20103
4902da17
UD
20104 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20105
5ce33a62
UD
20106 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20107 value type for setfct.
20108
c2344f56
L
201092011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20110
20111 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20112 __gettimeofday instead of gettimeofday.
20113
68468076
UD
201142011-06-26 Ulrich Drepper <drepper@gmail.com>
20115
20116 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20117
acb0d739
L
201182011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20119
20120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20121
20122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20123 info.
20124
8912479f
L
201252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20126
20127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20128 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20129 strcpy-sse2-unaligned strncpy-sse2-unaligned
20130 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20131 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20132 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20133 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20134 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20135 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20137 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20138 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20139 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20140 (STRCPY): Support SSE2 and SSSE3 versions.
20141
d5495a11
UD
201422011-06-24 Ulrich Drepper <drepper@gmail.com>
20143
20144 [BZ #12874]
20145 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20146 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20147 kernels which artificially limit size of requests.
20148
0b1cbaae
L
201492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20150
20151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20152 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20153 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20154 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20155 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20156 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20157 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20158 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20159 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20161 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20162 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20163 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20164 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20165 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20167 Enable unaligned load optimization for Intel Core i3, i5 and i7
20168 processors.
20169 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20170 Define.
20171 (index_Fast_Unaligned_Load): Define.
20172 (HAS_FAST_UNALIGNED_LOAD): Define.
20173
07f494a0
MP
201742011-06-23 Marek Polacek <mpolacek@redhat.com>
20175
20176 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20177
fa3fc0fe
UD
201782011-06-22 Ulrich Drepper <drepper@gmail.com>
20179
20180 [BZ #12907]
20181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20182 until it is clear that the information is realy needed.
20183 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20184
e12df166
AS
201852011-06-22 Andreas Schwab <schwab@redhat.com>
20186
20187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20188
852eb34d
UD
201892011-06-22 Ulrich Drepper <drepper@gmail.com>
20190
84e2a551
UD
20191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20192 /sys/devices/system/cpu/online if it is usable.
20193
852eb34d
UD
20194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20195 reading the information from the /proc filesystem to once a second.
20196
6e502e19
UD
201972011-06-21 Andreas Jaeger <aj@suse.de>
20198
20199 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20200 NULL after inclusion of kernel headers.
20201
75d39ff2
UD
202022011-06-21 Ulrich Drepper <drepper@gmail.com>
20203
51f9aa6a
UD
20204 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20205 calls to internal_setent.
20206
c0244a9d
UD
20207 [BZ #12885]
20208 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20209 addresses using gethostbyname4_r ignore IPv4 addresses.
20210
c5e3c2ae
UD
20211 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20212 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20213
75d39ff2
UD
20214 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20215
42675c6f
DM
202162011-06-20 David S. Miller <davem@davemloft.net>
20217
20218 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20219 inclusions.
20220 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20221
20222 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20223 (elf_irel): Use it.
20224 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20225 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20226 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20227 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20228 * sysdeps/x86_64/dl-irel.h: Likewise.
20229
20230 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20231 * elf/dl-sym.c: Likewise.
20232
57912a71
UD
202332011-06-15 Ulrich Drepper <drepper@gmail.com>
20234
20235 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20236 need to dereference resplen2.
20237
ee22793d
AS
202382011-06-14 Andreas Schwab <schwab@redhat.com>
20239
20240 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20241
a9e836b0
UD
202422011-06-15 Ulrich Drepper <drepper@gmail.com>
20243
77fb9117
UD
20244 * Makeconfig: Define vardbdir and inst_vardbdir.
20245 * nss/Makefile: Add rules to install db-Makefile.
20246
40c1b22c
UD
20247 * nss/nss_db/db-XXX.c: Cleanup.
20248
9f2da732
UD
20249 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20250 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20251 GLIBC_PRIVATE.
20252 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20253 * nss/makedb.c: Implement -g option to specify that value strings
20254 are generated and should not be added to table iterated over for
20255 get*ent calls.
20256 * nss/nss_db/db-initgroups.c: New file.
20257
82e9a1f7
UD
20258 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20259 interface.
20260
c41af17e
UD
20261 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20262 (internal_getgrouplist): Adjust to name change.
20263 Update use_initgroups_entry if this is not the first call.
20264 * nss/databases.def: Add initgroups entry.
20265
a9e836b0
UD
20266 * nss/makedb.c (compute_tables): Check result of multiple hash table
20267 sizes to minimize maximum chain length.
20268
2666d441
UD
202692011-06-14 Ulrich Drepper <drepper@gmail.com>
20270
20271 * Versions.def: Add entry for libnss_db.
20272 * shlib-versions: Likewise.
20273 * nss/Makefile: Add rules to build libnss_db.
20274 * nss/Versions: Add libnss_db information. Organize libnss_files
20275 entries better.
20276 * nss/db-Makefile: Add gshadow support. Change rules for the new
20277 makedb progra. Some minor improvements to generate smaller files.
20278 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20279 here from...
20280 * nss/makedb.c: ...here.
20281 Improve database format to be smaller and require less memory at
20282 runtime.
20283 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20284 db anymore.
20285 * nss/nss_db/db-netgrp.c: Likewise.
20286 * nss/nss_db/db-open.c: Likewise.
20287 * nss/nss_files/flies-XXX.x: Adjust comments.
20288 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20289 * nss/nss_files/files-grp.c: Likewise.
20290 * nss/nss_files/files-hosts.c: Likewise.
20291 * nss/nss_files/files-network.c: Likewise.
20292 * nss/nss_files/files-proto.c: Likewise.
20293 * nss/nss_files/files-pwd.c: Likewise.
20294 * nss/nss_files/files-rpc.c: Likewise.
20295 * nss/nss_files/files-service.c: Likewise.
20296 * nss/nss_files/files-sgrp.c: Likewise.
20297 * nss/nss_files/files-spwd.c: Likewise.
20298 * nss/nss_db/db-alias.c: Removed.
20299 * nss/nss_db/dummy-db.h: Removed.
20300
9ee76b5a
UD
203012011-06-02 Ulrich Drepper <drepper@gmail.com>
20302
20303 * nss/makedb.c: Rewritten to not use database library.
20304 * nss/Makefile: Update to build new makedb program.
20305
c71ca1f8
AJ
203062011-06-14 Andreas Jaeger <aj@suse.de>
20307
20308 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20309 memset declaration.
20310
3154bfb8
UD
203112011-06-10 Andreas Schwab <schwab@redhat.com>
20312
20313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20314 tmpbuf.
20315
b350afab
RM
203162011-06-10 Roland McGrath <roland@hack.frob.com>
20317
decd4e50
RM
20318 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20319 * elf/Makefile ($(objpfx)ld.so): Likewise.
20320
5615eaf2
RM
20321 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20322 Don't list ld.so twice in dependencies.
20323
20324 * posix/bug-regex31.c: Include <stdlib.h>.
20325
20326 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20327
20328 * nis/nss_compat/compat-spwd.c
20329 (getspent_next_nss_netgr): Remove unused variable.
20330 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20331
20332 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20333 nonmembers" output to use the right array.
20334
20335 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20336
20337 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20338
20339 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20340 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20341 * catgets/gencat.c (read_input_file): Likewise.
20342 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20343
20344 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20345 variable definition inside #if's controlling its use.
20346
20347 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20348
20349 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20350
20351 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20352
20353 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20354 unreachable code.
20355
20356 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20357
b68e08db
RM
20358 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20359 * configure: Regenerated.
20360
b350afab
RM
20361 * Makerules: Revert last change.
20362 * elf/Makefile: Likewise.
20363
28368601
RM
203642011-06-09 Roland McGrath <roland@hack.frob.com>
20365
20366 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20367 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20368 (reloc-link): Likewise.
20369
11988f8f
UD
203702011-06-09 Ulrich Drepper <drepper@gmail.com>
20371
20372 * elf/Makefile: Add rules to build pldd.
20373 * elf/pldd.c: New file.
20374 * elf/pldd-xx.c: New file.
20375
e80fab37
UD
203762011-06-07 Ulrich Drepper <drepper@gmail.com>
20377
20378 * version.h: Update for 2.15 development version.
20379
9b849836
DM
203802011-06-07 David S. Miller <davem@davemloft.net>
20381
20382 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20383 ifuncs.
20384 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20385 elf_machine_lazy_rel): Likewise.
20386 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20388 elf_machine_lazy_rel): Likewise.
20389 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20390 dl_hwcap via passed in argument.
20391 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20392 Likewise.
20393
5a31b283
AK
203942011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20395
20396 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20397
069e52f8
RM
203982011-06-06 Roland McGrath <roland@hack.frob.com>
20399
20400 [BZ #12849]
20401 * manual/fdl-1.1.texi: New file, verbatim from:
20402 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20403 * manual/lgpl-2.1.texi: New file, verbatim from:
20404 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20405 * manual/Makefile (licenses): New variable, list those new file names.
20406 (texis): Use it.
20407 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20408
20409 * manual/fdl.texi: File removed.
20410 * manual/lesser.texi: File removed.
20411 * manual/libc.texinfo (Copying, Documentation License):
20412 Use new @include file names, put @appendix directive before @include.
20413
f16846a5
JJ
204142011-06-04 Jakub Jelinek <jakub@redhat.com>
20415
20416 [BZ #12841]
20417 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20418 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20419 (mq_open): Add __NTH.
20420
3d29045b
L
204212011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20422
20423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20424 Assume Intel Core i3/i5/i7 processor if AVX is available.
20425
8c297311
UD
204262011-05-31 Ulrich Drepper <drepper@gmail.com>
20427
20428 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20429 typo.
20430
c8fc0c91
UD
204312011-05-31 Andreas Schwab <schwab@redhat.com>
20432
20433 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20434 memory. Use alloca_account. Fix memory leak when retrying.
20435
5b27a807
UD
204362011-05-31 Ulrich Drepper <drepper@gmail.com>
20437
356f8bc6
UD
20438 * version.h (RELEASE): Bump for 2.14 release.
20439 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20440
5b27a807
UD
20441 * config.make.in (RANLIB): Remove entry.
20442
01f16ab0
UD
204432011-05-30 Ulrich Drepper <drepper@gmail.com>
20444
41fce8bd
UD
20445 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20446 (libc.pot): Work around missing support for .ksh extension in xgettext.
20447
4769ae77
UD
20448 [BZ #12684]
20449 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20450 if both request failed.
20451 (send_dg): In case of server errors clear resplen or *resplen2.
20452
6b1e7d19
UD
20453 [BZ #12454]
20454 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20455 when there are multiple maps.
20456 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20457 (_dl_fini): Remove test here.
20458
01f16ab0
UD
20459 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20460
b1ebd700
UD
204612011-05-29 Ulrich Drepper <drepper@gmail.com>
20462
7ae22829
UD
20463 [BZ #12350]
20464 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20465 bit from old_res_options.
20466 (gaih_inet): Likewise.
20467
553149f6 20468 [BZ #11099]
18a84741 20469 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20470 as signed.
20471
652ffab1
UD
20472 * resolv/res_init.c (res_setoptions): Make the code more compact.
20473
16985fd0
UD
20474 [BZ #11558]
20475 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20476 set RES_USEVC.
20477
0464f746
UD
20478 [BZ #11634]
20479 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20480
7d17596c
UD
20481 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20482
cf6bbbd7
UD
20483 [BZ #11781]
20484 * malloc/malloc.h: Declare malloc hook variables as volatile.
20485
13f1ab36
UD
20486 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20487 in last patch.
20488
b1ebd700
UD
20489 [BZ #11799]
20490 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20491 raise in the comment.
80e2212d
UD
20492 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20493 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20494 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20495
ce67228d
UD
204962011-05-28 Ulrich Drepper <drepper@gmail.com>
20497
8887a920
UD
20498 [BZ #12811]
20499 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20500 grow the buffers more if it already has to be sufficient.
20501 (build_wcs_upper_buffer): Likewise.
20502 * posix/regexec.c (check_matching): Likewise.
20503 (clean_state_log_if_needed): Likewise.
20504 (extend_buffers): Don't enlarge buffers beyond size of the input
20505 buffer.
20506 Patches mostly by Emil Wojak <emil@wojak.eu>.
20507 * posix/bug-regex32.c: New file.
20508 * posix/Makefile (tests): Add bug-regex32.
20509
4f031072
UD
20510 * locale/findlocale.c (_nl_find_locale): Return right away if
20511 _nl_explode_name failed.
20512 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20513
d0478f0c
UD
20514 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20515
de81b246
UD
20516 * debug/xtrace.sh: Unify messages.
20517 * malloc/memusage.sh: Likewise.
20518
c738465a
UD
20519 [BZ #12813]
20520 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20521 time symbol from vDSO. Substitute with vsyscall if not available.
20522 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20523 __vdso_time.
20524
f1f929d7
UD
20525 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20526 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20527 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20528 Add sendmmsg and internal_sendmmsg.
20529 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20530 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20532
ce67228d
UD
20533 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20534 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20535 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20536
e57420c6
UD
205372011-05-27 Ulrich Drepper <drepper@gmail.com>
20538
a8509ca5
UD
20539 [BZ #12813]
20540 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20541 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20542 available.
20543 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20544 __vdso_getcpu.
20545
e57420c6
UD
20546 [BZ #12814]
20547 * iconvdata/Makefile (tests): Add bug-iconv9.
20548 * iconvdata/bug-iconv9.c: New file.
20549
4d07db15
AS
205502011-05-27 Andreas Schwab <schwab@redhat.com>
20551
20552 [BZ #12814]
20553 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20554
ea486f69
JJ
205552011-05-25 Jakub Jelinek <jakub@redhat.com>
20556
20557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20558 (struct user_regs_struct): Change intcs field back to cs.
20559
6f038433
UD
205602011-05-25 Ulrich Drepper <drepper@gmail.com>
20561
20562 * po/ja.po: Update from translation team.
20563
67f86a25
UD
205642011-05-23 Ulrich Drepper <drepper@gmail.com>
20565
20566 [BZ #12795]
20567 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20568 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20569
def7fbd6
AS
205702011-05-20 Andreas Schwab <schwab@redhat.com>
20571
20572 * stdlib/longlong.h: Update from GCC.
20573
f50ef8f1
AS
205742011-05-23 Andreas Schwab <schwab@redhat.com>
20575
20576 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20577 parameter name.
20578 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20579 Add parameter name.
20580 (__sysconf): Pass it down.
20581
de7ce8f1
UD
205822011-05-22 Ulrich Drepper <drepper@gmail.com>
20583
f2962a71
UD
20584 [BZ #12671]
20585 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20586 some situations.
20587 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20588 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20589 add in in __libc_use_alloca calls. Adjust callers.
20590 (glob): Use malloc in some situations.
20591
de7ce8f1
UD
20592 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20593 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20594 pltexit.
20595
aec84f53
UD
205962011-05-21 Ulrich Drepper <drepper@gmail.com>
20597
05bb4a68
UD
20598 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20599 and CLOCK_BOOTTIME_ALARM.
20600
7ea72f99
UD
20601 [BZ #12782]
20602 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20603 is returned.
20604
7e4afad5
UD
20605 * string/_strerror.c (__strerror_r): Print negative errors as signed
20606 numbers.
20607
8e211fec
UD
20608 [BZ #12777]
20609 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20610 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20611 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20612
f7d82dc9
UD
20613 * configure.in: Fix typo in redirection and correct removal of test
20614 files in two cases.
20615
cc9e536d
UD
20616 [BZ #12788]
20617 * locale/setlocale.c (new_composite_name): Fix test to check for
20618 identical name of all categories.
20619
aec84f53
UD
20620 [BZ #12792]
20621 * libio/filedoalloc.c (local_isatty): New function.
20622 (_IO_file_doallocate): Use local_isatty.
20623 * stdio-common/perror.c (perror): In case a new stream is used
20624 forward the stream error.
20625 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20626 error flag.
20627
78e64fdc
RT
206282011-05-20 Ulrich Drepper <drepper@gmail.com>
20629
34a9094f
UD
20630 [BZ #11869]
20631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20632 alloca.
20633 * include/alloca.h (extend_alloca_account): Define.
20634
78e64fdc
RT
20635 [BZ #11857]
20636 * posix/regex.h: Fix comments with documentation of user-accessible
20637 fields after compilation and describe correct free'ing of pattern
20638 after re_compile_pattern.
20639 Patch by Reuben Thomas <rrt@sc3d.org>.
20640
457bddfc
RA
206412011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20642
20643 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20644 and -mno-altivec to prevent the compiler from using Altivec and/or
20645 VSX instructions when the corresponding registers are not available.
20646
a4527b51
AS
206472011-05-19 Andreas Schwab <schwab@redhat.com>
20648
20649 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20650
ed690b2f
UD
206512011-05-19 Ulrich Drepper <drepper@gmail.com>
20652
20653 * libio/freopen.c (freopen): Use __dup2, not dup2.
20654 * libio/freopen64.c (freopen64): Likewise.
20655
8db73634
L
206562011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20657
20658 [BZ #12775]
20659 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20660 * math/Makefile (tests): Add test-powl.
20661 (CFLAGS-test-powl.c): Define.
20662 * math/test-powl.c: New file.
20663
0a197a9d
L
206642011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20665
20666 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20667
ee30c380
UD
206682011-05-17 Ulrich Drepper <drepper@gmail.com>
20669
20670 [BZ #11837]
20671 * iconvdata/gb18030.c: Update to GB18020-2005.
20672
6ce75379
UD
206732011-05-16 Ulrich Drepper <drepper@gmail.com>
20674
a4b89fd8
AR
20675 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20676 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20677 Patch by Aharon Robbins <arnold@skeeve.com>.
20678
ea389b12
UD
20679 [BZ #11892]
20680 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20681 on the stack.
20682
68a3f91f
UD
20683 [BZ #11895]
20684 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20685 through underflows.
20686
15cc7dd1
UD
20687 [BZ #12766]
20688 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20689 point to strings before performing equality test for error_one_per_line
20690 mode.
20691
f3799213
UD
20692 [BZ #11697]
20693 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20694
d79a9c94
UD
20695 [BZ #11820]
20696 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20697 (struct user_fpregs_struct): Avoid __uint*_t types.
20698
56e5eb46
UD
20699 [BZ #6420]
20700 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20701 symbol info. Use it instead of calling _dl_addr locally.
20702 (lock_and_info): New function.
20703 (tr_freehook): Call lock_and_info and pass symbol info as additional
20704 parameter to tr_where.
20705 (tr_mallochook): Likewise.
20706 (tr_reallochook): Likewise.
20707 (tr_memalignhook): Likewise.
20708
6ce75379
UD
20709 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20710 used and couldn't be at all thread-safe.
20711
f8a3b5bf
UD
207122011-05-15 Ulrich Drepper <drepper@gmail.com>
20713
94b7cc37
UD
20714 * libio/freopen.c (freopen): Don't close old file descriptor
20715 before the new one is opened. Instead dup the new file descriptor
20716 to the old one after the new stream is created.
20717 * libio/freopen64.c (freopen64): Likewise.
20718 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20719 * libio/fileops.c (_IO_new_file_close_it): Handle new
20720 _IO_FLAGS2_NOCLOSE flag.
20721 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20722 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20723 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20724 _IO_FLAGS2_NOCLOSE flag.
20725 * include/unistd.h: Add hidden_proto for dup3.
20726 Define __have_dup3.
20727 * io/dup3.c: Define hidden symbol.
20728 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20729
bd25564e
UD
20730 [BZ #7101]
20731 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20732 when an incomplete long option is used.
20733 * posix/tst-getopt_long1.c: New file.
20734 * posix/Makefile (tests): Add tst-getopt_long1.
20735
c84cfef4
UD
20736 [BZ #10138]
20737 * scripts/config.guess: Update from autoconf-2.68.
20738 * scripts/config.sub: Likewise.
20739
3b85df27
UD
20740 [BZ #10157]
20741 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20742 tests into ...
20743 (has_cpuclock): ...this. New function.
20744 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20745 macro here based on has_cpuclock code.
20746
15a856b1
UD
20747 [BZ #10149]
20748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20749 First byte (not low byte) is now always NUL.
20750 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20751
05f399e6
UD
20752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20753 Use non-cancelable interfaces.
20754
10a52685 20755 [BZ #9809]
94ecc67d
UD
20756 * locale/iso-639.def: Add entry for Sorani.
20757
f8a3b5bf
UD
20758 [BZ #11901]
20759 * include/stdlib.h: Move include protection to the right place.
20760 Define abort_msg_s. Declare __abort_msg with it.
20761 * stdlib/abort.c (__abort_msg): Adjust type.
20762 * assert/assert.c (__assert_fail_base): New function. Majority
20763 of code from __assert_fail. Allocate memory for __abort_msg with
20764 mmap.
20765 (__assert_fail): Now call __assert_fail_base.
20766 * assert/assert-perr.c: Remove bulk of implementation. Use
20767 __assert_fail_base.
20768 * include/assert.hL Declare __assert_fail_base.
20769 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20770 mmap.
20771 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20772
1af4e298
UD
207732011-05-14 Ulrich Drepper <drepper@gmail.com>
20774
f8a3b5bf 20775 [BZ #11952]
d26dfc60
MG
20776 [BZ #12453]
20777 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20778 until all modules are registered in the DTV.
20779 * elf/Makefile: Add rules to build and run tst-tls19.
20780 * elf/tst-tls19.c: New file.
20781 * elf/tst-tls19mod1.c: New file.
20782 * elf/tst-tls19mod2.c: New file.
20783 * elf/tst-tls19mod3.c: New file.
20784 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20785
2fc54d6f
UD
20786 [BZ #12083]
20787 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20788 correctly.
20789
98d76b46
UD
20790 [BZ #12601]
20791 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20792 two-byte sequence errors.
20793 * iconvdata/Makefile (tests): Add bug-iconv8.
20794 * iconvdata/bug-iconv8.c: New file.
20795
da3c19ef
UD
20796 [BZ #12626]
20797 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20798 buf2 definition.
20799
ca408c15
UD
20800 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20801
d6f67f7d
UD
20802 [BZ #12432]
20803 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20804 (dummy_getcfa): New function.
20805 (init): Get _Unwind_GetCFA address, use dummy if not found.
20806 (backtrace_helper): In recursion check, also check whether CFA changes.
20807 (__backtrace): Completely initialize arg.
20808
1af4e298 20809 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20810 storing incomplete byte sequence in state object. Avoid testing for
20811 guaranteed too small input if we know there is enough data available.
1af4e298 20812
da62f81b
AS
208132011-05-11 Andreas Schwab <schwab@redhat.com>
20814
20815 * Makeconfig (+link-pie): Indent.
20816 * Rules (binaries-pie): Define if $(have-fpie) and
20817 $(build-shared).
20818 (binaries-shared): Also filter out $(binaries-pie).
20819 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20820 * nscd/Makefile (others-pie): Add nscd.
20821 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20822 ($(objpfx)nscd): Remove command override.
20823 * login/Makefile (others-pie): Add pt_chown.
20824 ($(objpfx)pt_chown): Remove command override.
20825 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20826 remove command overrides.
20827
fcabc0f8
UD
208282011-05-13 Ulrich Drepper <drepper@gmail.com>
20829
20030ae6
UD
20830 * libio/tst_putwc.c: Fix error messages.
20831
fcabc0f8
UD
20832 [BZ #12724]
20833 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20834 currently writing and seek to current position when not.
20835 * libio/Makefile (tests): Add bug-fclose1.
20836 * libio/bug-fclose1.c: New file.
20837
320a5dc0
PB
208382011-05-12 Ulrich Drepper <drepper@gmail.com>
20839
20840 [BZ #12511]
20841 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20842 don't set DF_1_NODELETE here.
20843 (do_lookup_x): When entering new entry test for copy relocation
20844 and if necessary set DF_1_NODELETE flag.
20845 * elf/tst-unique4.cc: New file.
20846 * elf/tst-unique4.h: New file.
20847 * elf/tst-unique4lib.cc: New file.
20848 * elf/Makefile: Add rules to build and run tst-unique4.
20849 Patch by Piotr Bury <pbury@goahead.com>.
20850
22836f52
UD
208512011-05-11 Ulrich Drepper <drepper@gmail.com>
20852
f574184a
UD
20853 [BZ #12052]
20854 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20855
e1fb097f
UD
20856 [BZ #12625]
20857 * misc/mntent_r.c (addmntent): Flush the stream after the output
20858
22836f52
UD
20859 [BZ #12393]
20860 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20861 (is_trusted_path_normalize): Skip initial colon. Append slash
20862 to empty buffer. Duplicate is_trusted_path code but allow
20863 constructed patch to be prefix.
20864 (is_dst): Allow $ORIGIN followed by /.
20865 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20866 Correct testing of result of is_trusted_path_normalize
20867 (decompose_rpath): Fix warning.
20868
7b3b0b2a
UD
208692011-05-10 Ulrich Drepper <drepper@gmail.com>
20870
20871 [BZ #11257]
20872 * grp/initgroups.c (internal_getgrouplist): When we found the service
20873 list through the initgroups entry in nsswitch.conf do not always
20874 continue on a successful lookup. Don't always use the
eac80ce2 20875 __nss_group_database value if it is set.
7b3b0b2a
UD
20876 * nss/nsswitch.conf (initgroups): Change action for successful db
20877 lookup to continue for compatibility.
20878
2a81eaa5
UD
208792011-05-09 Ulrich Drepper <drepper@gmail.com>
20880
be97a69e
UD
20881 [BZ #11532]
20882 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20883 and CP774 modules.
20884 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20885 and CP774 modules.
20886 * iconvdata/tst-tables.sh: Likewise.
20887 * iconvdata/cp770.c: New file.
20888 * iconvdata/cp771.c: New file.
20889 * iconvdata/cp772.c: New file.
20890 * iconvdata/cp773.c: New file.
20891 * iconvdata/cp774.c: New file.
20892 * iconvdata/testdata/CP770: New file.
20893 * iconvdata/testdata/CP770..UTF8: New file.
20894 * iconvdata/testdata/CP771: New file.
20895 * iconvdata/testdata/CP771..UTF8: New file.
20896 * iconvdata/testdata/CP772: New file.
20897 * iconvdata/testdata/CP772..UTF8: New file.
20898 * iconvdata/testdata/CP773: New file.
20899 * iconvdata/testdata/CP773..UTF8: New file.
20900 * iconvdata/testdata/CP774: New file.
20901 * iconvdata/testdata/CP774..UTF8: New file.
20902
20903 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20904 END CHARMAP line.
20905 * iconvdata/gen-8bit-gap.sh: Likewise.
20906 * iconvdata/gen-8bit.sh: Likewise.
20907
c1e9e399
UD
20908 * locale/iso-639.def: Add ary entry.
20909
24c55fb3 20910 [BZ #11258]
96b4b1b0
UD
20911 * locale/C-translit.h.in: Add U20A1 transliteration.
20912
bdc2f971
KB
20913 [BZ #12178]
20914 * locale/iso-639.def: Add wae entry.
20915 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20916
2952b117
UD
20917 [BZ #12545]
20918 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20919 for n.
20920
2a81eaa5
UD
20921 [BZ #12711]
20922 * locale/C-translit.h.in: Add entry for U20B9.
20923 Patch by pravin.d.s@gmail.com.
20924
28377d1b
UD
209252011-05-08 Ulrich Drepper <drepper@gmail.com>
20926
7fb90fb8
UD
20927 [BZ #12713]
20928 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20929 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20930 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20931 in rtld. Use *stat64.
7fb90fb8 20932 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20933 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20934 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20935 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20936 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20937 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20938 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20939 __fstatat64 macros.
7fb90fb8
UD
20940 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20941 * dirent/rewinddir.c: Add libc_hidden_def.
20942 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20943 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20944
28377d1b
UD
20945 * include/dirent.h (__alloc_dir): Add flags parameter.
20946 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20947 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20948 __alloc_dir.
20949 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20950 from fdopendir if O_CLOEXEC is already set.
20951
66bdbaa4
AM
209522011-03-15 Alan Modra <amodra@gmail.com>
20953
20954 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20955 l_tls_firstbyte_offset non-zero. Save padding offset in
20956 l_tls_firstbyte_offset for later use.
20957 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20958 freeing static tls block.
20959
95721191
JN
209602011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20961
20962 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20963 where #ifdef was intended. The intent is to prevent ARG_MAX from
20964 being defined by the kernel headers.
20965
f87dfb1f
UD
209662011-05-07 Ulrich Drepper <drepper@gmail.com>
20967
20968 [BZ #12734]
20969 * resolv/resolv.h: Define RES_NOTLDQUERY.
20970 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20971 no-tld-query and set RES_NOTLDQUERY.
20972 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20973 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20974 modern BIND to search name as TLD unless forbidden.
20975
47c3cd7a
UD
209762011-05-07 Petr Baudis <pasky@suse.cz>
20977 Ulrich Drepper <drepper@gmail.com>
20978
20979 [BZ #12393]
20980 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20981 (is_trusted_path): ...to here.
c1e9ea35 20982 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20983 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20984 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20985
8a35c912
PP
209862011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20987
20988 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20989 __BEGIN/__END_DECLS.
20990
acd41f47
UD
209912011-05-06 Ulrich Drepper <drepper@gmail.com>
20992
20993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20994 NSS_STATUS_NOTFOUND if no record was found.
20995
597df647
AS
209962011-05-05 Andreas Schwab <schwab@redhat.com>
20997
20998 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20999 (headers-not-in-tirpc): Remove rpc/netdb.h
21000 * resolv/netdb.h: Revert last change.
21001
b9af1301
PP
210022011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21003
21004 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21005 circular dependency between libgcc.a and libc.a.
21006
4e34d5f5
AS
210072011-05-05 Andreas Schwab <schwab@redhat.com>
21008
21009 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21010 * nis/Makefile: Don't install rpcsvc/*.
21011 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21012 instead of <rpc/types.h>.
21013 (MAXHOSTNAMELEN): Define.
21014
00ee369c
AS
210152011-05-03 Andreas Schwab <schwab@redhat.com>
21016
21017 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21018
0b592a30
MB
210192011-04-28 Maciej Babinski <mbabinski@google.com>
21020
21021 [BZ #12714]
21022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21023 gethostbyname4_r when IPv6 results are possible.
21024
6e04cbbe
UD
210252011-05-02 Ulrich Drepper <drepper@gmail.com>
21026
21027 [BZ #12723]
21028 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21029 _PC_PIPE_BUF handling.
21030
e4ecafe0
BH
210312011-04-30 Bruno Haible <bruno@clisp.org>
21032
21033 [BZ #12717]
21034 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21035 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21036 to 'int'.
21037 * inet/getnameinfo.c (getnameinfo): Likewise.
21038
125ee683
UD
210392011-04-29 Ulrich Drepper <drepper@gmail.com>
21040
21041 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21042 to groups setting in database lookup.
21043 * nss/nsswitch.conf: Add initgroups entry.
21044
b722481a
EB
210452011-04-22 Ulrich Drepper <drepper@gmail.com>
21046
21047 [BZ #12685]
21048 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21049 mode string.
21050 Patch by Eric Blake <eblake@redhat.com>.
21051
4df46dbd
L
210522011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21053
21054 * sunrpc/Makefile (need-export-routines): Add svc_run.
21055 (routines): Remove svc_run.
21056 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21057 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21058 * sunrpc/svc_run.c (svc_run): Likewise.
21059 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21060
e84142d2
UD
210612011-04-21 Ulrich Drepper <drepper@gmail.com>
21062
21063 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21064 problem in reallocation in last patch.
21065
877175d8
UD
210662011-04-20 Ulrich Drepper <drepper@gmail.com>
21067
21068 * sunrpc/Makefile: Move inclusion of Rules.
21069
ab8eed78
UD
210702011-04-19 Ulrich Drepper <drepper@gmail.com>
21071
21072 * nss/nss_files/files-initgroups.c: New file.
21073 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21074 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21075 _nss_files_initgroups_dyn.
21076
e3d8f584
RS
210772011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21078
21079 * elf/elf.h (R_ARM_IRELATIVE): Define.
21080
af190f45
UD
210812011-04-19 Ulrich Drepper <drepper@gmail.com>
21082
21083 * po/ru.po: Update from translation team.
21084
53cf59ef
UD
210852011-04-17 Ulrich Drepper <drepper@gmail.com>
21086
21087 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21088 dependencies.
21089
4c559bcd
MF
210902011-02-06 Mike Frysinger <vapier@gentoo.org>
21091
21092 [BZ #12653]
21093 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21094 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21095 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21096 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21097 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21098
4420675c
AS
210992011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21100
21101 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21102 differing bytes.
21103 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21105 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21106
75ea32ab
UD
211072011-04-17 Ulrich Drepper <drepper@gmail.com>
21108
21109 [BZ #12420]
21110 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21111 storing it.
21112 * stdlib/bug-getcontext.c: New file.
21113 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21114
27390476
AK
211152011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21116
21117 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21118 instructions into .machine "z9-109".
21119 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21120 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21121
10442705
AK
211222011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21123
21124 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21125 between environment variables and auxiliary vector.
21126
7b57bfe5
UD
211272011-04-16 Ulrich Drepper <drepper@gmail.com>
21128
21129 * Makefile: Add rules to build linkobj/libc.so.
21130 * include/libc-symbols.h: Define libc_hidden_nolink.
21131 * include/rpc/auth.h: Mark functions which are to be hidden.
21132 * include/rpc/auth_des.h: Likewise.
21133 * include/rpc/auth_unix.h: Likewise.
21134 * include/rpc/clnt.h: Likewise.
21135 * include/rpc/des_crypt.h: Likewise.
21136 * include/rpc/key_prot.h: Likewise.
21137 * include/rpc/pmap_clnt.h: Likewise.
21138 * include/rpc/pmap_prot.h: Likewise.
21139 * include/rpc/pmap_rmt.h: Likewise.
21140 * include/rpc/rpc_msg.h: Likewise.
21141 * include/rpc/svc.h: Likewise.
21142 * include/rpc/svc_auth.h: Likewise.
21143 * include/rpc/xdr.h: Likewise.
21144 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21145 * nss/Makefile: Likewise.
21146 * sunrpc/Makefile: Don't install headers. Build library with normal
21147 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21148 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21149 for the compat linking library. Remove use of INTDEF/INTUSE.
21150 * sunrpc/auth_none.c: Likewise.
21151 * sunrpc/auth_unix.c: Likewise.
21152 * sunrpc/authdes_prot.c: Likewise.
21153 * sunrpc/authuxprot.c: Likewise.
21154 * sunrpc/clnt_gen.c: Likewise.
21155 * sunrpc/clnt_perr.c: Likewise.
21156 * sunrpc/clnt_raw.c: Likewise.
21157 * sunrpc/clnt_simp.c: Likewise.
21158 * sunrpc/clnt_tcp.c: Likewise.
21159 * sunrpc/clnt_udp.c: Likewise.
21160 * sunrpc/clnt_unix.c: Likewise.
21161 * sunrpc/des_crypt.c: Likewise.
21162 * sunrpc/des_soft.c: Likewise.
21163 * sunrpc/get_myaddr.c: Likewise.
21164 * sunrpc/key_call.c: Likewise.
21165 * sunrpc/key_prot.c: Likewise.
21166 * sunrpc/netname.c: Likewise.
21167 * sunrpc/pm_getmaps.c: Likewise.
21168 * sunrpc/pm_getport.c: Likewise.
21169 * sunrpc/pmap_clnt.c: Likewise.
21170 * sunrpc/pmap_prot.c: Likewise.
21171 * sunrpc/pmap_prot2.c: Likewise.
21172 * sunrpc/pmap_rmt.c: Likewise.
21173 * sunrpc/publickey.c: Likewise.
21174 * sunrpc/rpc_cmsg.c: Likewise.
21175 * sunrpc/rpc_common.c: Likewise.
21176 * sunrpc/rpc_dtable.c: Likewise.
21177 * sunrpc/rpc_prot.c: Likewise.
21178 * sunrpc/rpc_thread.c: Likewise.
21179 * sunrpc/rtime.c: Likewise.
21180 * sunrpc/svc.c: Likewise.
21181 * sunrpc/svc_auth.c: Likewise.
21182 * sunrpc/svc_authux.c: Likewise.
21183 * sunrpc/svc_raw.c: Likewise.
21184 * sunrpc/svc_run.c: Likewise.
21185 * sunrpc/svc_simple.c: Likewise.
21186 * sunrpc/svc_tcp.c: Likewise.
21187 * sunrpc/svc_udp.c: Likewise.
21188 * sunrpc/svc_unix.c: Likewise.
21189 * sunrpc/svcauth_des.c: Likewise.
21190 * sunrpc/xcrypt.c: Likewise.
21191 * sunrpc/xdr.c: Likewise.
21192 * sunrpc/xdr_array.c: Likewise.
21193 * sunrpc/xdr_float.c: Likewise.
21194 * sunrpc/xdr_intXX_t.c: Likewise.
21195 * sunrpc/xdr_mem.c: Likewise.
21196 * sunrpc/xdr_rec.c: Likewise.
21197 * sunrpc/xdr_ref.c: Likewise.
21198 * sunrpc/xdr_sizeof.c: Likewise.
21199 * sunrpc/xdr_stdio.c: Likewise.
21200
e6c61494
UD
212012011-04-10 Ulrich Drepper <drepper@gmail.com>
21202
21203 [BZ #12650]
21204 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21205 * sysdeps/ia64/dl-tls.h: Likewise.
21206 * sysdeps/powerpc/dl-tls.h: Likewise.
21207 * sysdeps/s390/dl-tls.h: Likewise.
21208 * sysdeps/sh/dl-tls.h: Likewise.
21209 * sysdeps/sparc/dl-tls.h: Likewise.
21210 * sysdeps/x86_64/dl-tls.h: Likewise.
21211 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21212
34fe483e
AS
212132011-03-14 Andreas Schwab <schwab@redhat.com>
21214
21215 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21216 rpath element also skip the following colon.
21217 (expand_dynamic_string_token): Add is_path parameter and pass
21218 down to DL_DST_REQUIRED and _dl_dst_substitute.
21219 (decompose_rpath): Call expand_dynamic_string_token with
21220 non-zero is_path. Ignore empty rpaths.
21221 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21222 with zero is_path.
21223
f12a32e6
AS
212242011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21225
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21227 Make cancelable.
21228
38a7d692
UD
212292011-04-09 Ulrich Drepper <drepper@gmail.com>
21230
21231 [BZ #12655]
21232 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21233 Patch by Filipe David Manana <fdmanana@apache.org>.
21234
e451d22b
AS
212352011-04-07 Andreas Schwab <schwab@redhat.com>
21236
21237 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21238 Maintain aligned stack.
21239 (CHECK_RSP): Remove unused macro.
21240
dedc7c7b
UD
212412011-04-03 Ulrich Drepper <drepper@gmail.com>
21242
21243 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21244 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21245
94521213
UD
212462011-04-02 Ulrich Drepper <drepper@gmail.com>
21247
21248 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21249
8cb700c0 21250 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21251
0354e355
L
212522011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21253
21254 [BZ #12518]
21255 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21256 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21257 * sysdeps/x86_64/memmove.c: New file.
21258 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21259 (memcpy): Renamed to ...
21260 (__new_memcpy): This.
21261 (memcpy): Provide GLIBC_2_14 memcpy.
21262 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21263 (memcpy): Provide GLIBC_2_2_5 memcpy.
21264
8593482f
UD
212652011-04-01 Ulrich Drepper <drepper@gmail.com>
21266
21267 [BZ #12631]
21268 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21269
81a5726b
AS
212702011-03-30 Andreas Schwab <schwab@redhat.com>
21271
21272 * misc/syncfs.c: New file.
21273 * misc/Makefile (routines): Add syncfs.
21274 * posix/unistd.h: Declare syncfs.
21275 * sysdeps/unix/syscalls.list: Add syncfs.
21276
00e5419f
AS
212772011-04-01 Andreas Schwab <schwab@redhat.com>
21278
21279 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21280 open_by_handle_at.
21281 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21282 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21286 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21288
748876bf
UD
212892011-04-01 Ulrich Drepper <drepper@gmail.com>
21290
658e451d
UD
21291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21293 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21298
748876bf
UD
21299 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21300 sync_file_range.c with -fexceptions.
21301 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21302 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21303 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21304 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21305 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21306 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21308 sync_file_range as cancellation point
21309 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21310 now a wrapper around __call_sync_file_range with cancellation handling.
21311 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21312 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21313 function name to __call_sync_file_range.
21314 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21315 Add call_sync_file_range.
748876bf 21316
6e63d5e1
AS
213172011-04-01 Andreas Schwab <schwab@redhat.com>
21318
21319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21320 bits/timex.h.
6e63d5e1 21321
46998f74
UD
213222011-04-01 Ulrich Drepper <drepper@gmail.com>
21323
4c1423ed
UD
21324 * iconv/iconv.h: Fix typo in comment.
21325 * io/fcntl.h: Likewise.
21326 * libio/stdio.h: Likewise.
21327 * posix/spawn.h: Likewise.
21328 * posix/unistd.h: Likewise.
21329 * stdlib/stdlib.h: Likewise.
21330 * time/time.h: Likewise.
21331 * wcsmbs/wchar.h: Likewise.
21332
158648c0
UD
21333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21334 open_by_handle): Add.
21335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21336 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21337 Augment a few comments.
21338 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21340 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21343 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21344 open_by_handle.
21345
46998f74
UD
21346 * io/fcntl.h (AT_EMPTY_PATH): Define.
21347
83fe108b
UD
213482011-03-30 Ulrich Drepper <drepper@gmail.com>
21349
21350 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21351 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21352 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21353 to...
21354 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21355 * Versions.def: Add GLIBC_2.14.
21356 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21357 Export.
83fe108b 21358
bb242059
UD
213592011-03-22 Ulrich Drepper <drepper@gmail.com>
21360
21361 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21362 round counter.
21363 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21364
c97a1282
L
213652011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21366
21367 [BZ #12597]
21368 * string/test-strncmp.c (do_page_test): New function.
21369 (check2): Likewise.
21370 (test_main): Call check2.
21371 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21372
2a115601
UD
213732011-03-20 Ulrich Drepper <drepper@gmail.com>
21374
21375 [BZ #12587]
21376 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21377 Handle cache information in CPU leaf 4.
21378 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21379
8126d904
UD
213802011-03-18 Ulrich Drepper <drepper@gmail.com>
21381
042c49c6 21382 [BZ #12583]
8126d904
UD
21383 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21384 character representation.
21385 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21386
ccfe366e
RA
213872011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21388
21389 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21390 END(__isnan) to END(__isnanf) to match function entry point/label
21391 EALIGN(__isnanf,...).
21392
c6e13027
JJ
213932011-03-10 Jakub Jelinek <jakub@redhat.com>
21394
21395 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21396
33f85a3f
UD
213972011-03-10 Ulrich Drepper <drepper@gmail.com>
21398
028478fa
UD
21399 [BZ #12510]
21400 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21401 copy from the symbol referenced in the relocation to initialize the
21402 used variable.
21403 Patch by Piotr Bury <pbury@goahead.com>.
21404 * elf/Makefile: Add rules to build and tst-unique3.
21405 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21406 * elf/tst-unique3.cc: New file.
21407 * elf/tst-unique3.h: New file.
21408 * elf/tst-unique3lib.cc: New file.
21409 * elf/tst-unique3lib2.cc: New file.
21410
33f85a3f
UD
21411 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21412
03592fc7
MF
214132011-03-10 Mike Frysinger <vapier@gentoo.org>
21414
21415 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21416 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21417 to _start.
03592fc7 21418
6a5ee102
UD
214192011-03-06 Ulrich Drepper <drepper@gmail.com>
21420
21421 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21422 to-be-loaded object along a path to loader is ld.so.
21423
7e4ba49c
HJ
214242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21425 Ulrich Drepper <drepper@gmail.com>
21426
21427 * sysdeps/x86_64/memset.S: After aligning destination, code
21428 branches to different locations depending on the value of
21429 misalignment, when multiarch is enabled. Fix this.
21430
214312011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21432
21433 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21434 Set _x86_64_preferred_memory_instruction for AMD processsors.
21435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21436 Set bit_Prefer_SSE_for_memop for AMD processors.
21437
13a804de
UD
214382011-03-04 Ulrich Drepper <drepper@gmail.com>
21439
21440 * libio/fmemopen.c (fmemopen): Optimize a bit.
21441
9d25c392
AS
214422011-03-03 Andreas Schwab <schwab@redhat.com>
21443
21444 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21445
a5543c6a
RM
214462011-03-03 Roland McGrath <roland@redhat.com>
21447
21448 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21449
012d35f7
DM
214502011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21451
7e4ba49c 21452 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21453 __bzero_ultra1 instead of __memset_ultra1.
21454
4bff6e01
AS
214552011-02-23 Andreas Schwab <schwab@redhat.com>
21456 Ulrich Drepper <drepper@gmail.com>
21457
21458 [BZ #12509]
21459 * include/link.h (struct link_map): Add l_orig_initfini.
21460 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21461 returning unsuccessfully.
21462 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21463 close of a file loaded at startup, restore the original l_initfini
21464 list.
21465 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21466 list, store the pointer.
21467 * elf/Makefile ($(objpfx)noload-mem): New rule.
21468 (noload-ENV): Define.
21469 (tests): Add $(objpfx)noload-mem.
21470 * elf/noload.c: Include <memcheck.h>.
21471 (main): Call mtrace. Close all opened handles.
21472
f2092faf
AS
214732011-02-17 Andreas Schwab <schwab@redhat.com>
21474
21475 [BZ #12454]
21476 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21477 dependencies are missing.
21478
6c8a2e88
ST
214792011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21480
f2092faf 21481 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21482 Hurd needs munmap.
21483 * sysdeps/mach/hurd/ifreq.h: New file.
21484
84a42118
PB
214852011-01-27 Petr Baudis <pasky@suse.cz>
21486 Ulrich Drepper <drepper@gmail.com>
21487
071f805e 21488 [BZ 12445]#
84a42118
PB
21489 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21490 to extend_alloca().
21491 * stdio-common/bug23.c: New file.
21492 * stdio-common/Makefile (tests): Add bug23.
21493
e23fe25b
AS
214942010-09-28 Andreas Schwab <schwab@redhat.com>
21495 Ulrich Drepper <drepper@gmail.com>
21496
21497 [BZ #12489]
21498 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21499 before performing relro protection. At old place add assertion
21500 to make sure nothing changed.
21501
d3f02e10
NS
215022011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21503 Glauber de Oliveira Costa <glommer@gmail.com>
21504
21505 * elf/elf.h: Add new ARM TLS relocs.
21506
d55fd7a5
RA
215072011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21508
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21510 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21511 cast from r3.
21512 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21513 'tests' variable.
21514 * sysdeps/wordsize-64/tst-writev.c: New file.
21515
2206397e
RA
215162011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21517
21518 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21519 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21520 insns in _dl_start to prevent a TOC reference before relocs are
21521 resolved.
21522
e9433893
UD
215232011-02-15 Ulrich Drepper <drepper@gmail.com>
21524
21525 [BZ #12469]
21526 * Makeconfig: Remove RANLIB definition.
21527 * Makerules: Don't use RANLIB.
21528 * aclocal.m4: Remove ranlib test.
21529 * configure.in: No need to check for ranlib.
21530 * elf/rtld-Rules: Don't use RANLIB.
21531
f75286c6
ST
215322011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21533
8e31c82d
ST
21534 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21535 protection macro.
21536 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21537 inclusion protection macro.
21538
f75286c6
ST
21539 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21540 SIGRTMIN and SIGRTMAX and print information in that case only when
21541 SIGRTMIN is defined.
21542
c1d0e639
JJ
215432011-02-11 Jakub Jelinek <jakub@redhat.com>
21544
21545 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21546 arginfo fn returning -1.
21547
21548 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21549 and thousands string is zero terminated.
21550
edf9294e
AS
215512011-02-03 Andreas Schwab <schwab@redhat.com>
21552
21553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21554 sysdeps/unix/sysv/linux/bits/socket.h.
21555
2b7e92df
ST
215562011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21557
edf9294e
AS
21558 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21559 (__CPU_COUNT): Remove old macros.
21560 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21561 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21562 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21563 (__sched_cpualloc, __sched_cpufree): Add declarations.
21564
a4c7ea7b
UD
215652011-02-05 Ulrich Drepper <drepper@gmail.com>
21566
21567 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21568 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21569 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21570 (readdhstai): Return value of addhstaiX call.
21571 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21572 (addgrbyX): Return value returned by cache_addgr.
21573 (readdgrbyname): Return value returned by addgrbyX.
21574 (readdgrbygid): Likewise.
21575 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21576 (addpwbyX): Return value returned by cache_addpw.
21577 (readdpwbyname): Return value returned by addhstbyX.
21578 (readdpwbyuid): Likewise.
21579 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21580 (addservbyX): Return value returned by cache_addserv.
21581 (readdservbyname): Return value returned by addservbyX:
21582 (readdservbyport): Likewise.
21583 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21584 (addhstbyX): Return value returned by cache_addhst.
21585 (readdhstbyname): Return value returned by addhstbyX.
21586 (readdhstbyaddr): Likewise.
21587 (readdhstbynamev6): Likewise.
21588 (readdhstbyaddrv6): Likewise.
21589 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21590 (readdinitgroups): Return value returned by addinitgroupsX.
21591 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21592 (prune_cache): Keep track of timeout value of re-added entries.
21593 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21594 * nscd/nscd.h: Adjust prototypes of readd* functions.
21595
a0bf67cc
RM
215962011-02-04 Roland McGrath <roland@redhat.com>
21597
21598 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21599 (nis_stats): Likewise.
21600 * nis/nis_modify.c (nis_modify): Likewise.
21601 * nis/nis_remove.c (nis_remove): Likewise.
21602 * nis/nis_add.c (nis_add): Likewise.
21603
21604 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21605
21606 * posix/fnmatch_loop.c: Add some consts.
21607
21608 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21609
435b95eb
L
216102011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21611
21612 [BZ #12460]
21613 * config.make.in (config-cflags-novzeroupper): Define.
21614 * configure.in: Substitute libc_cv_cc_novzeroupper.
21615 * elf/Makefile (AVX-CFLAGS): Define.
21616 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21617 (CFLAGS-tst-auditmod4a.c): Likewise.
21618 (CFLAGS-tst-auditmod4b.c): Likewise.
21619 (CFLAGS-tst-auditmod6b.c): Likewise.
21620 (CFLAGS-tst-auditmod6c.c): Likewise.
21621 (CFLAGS-tst-auditmod7b.c): Likewise.
21622 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21623
8517b15e
UD
216242011-02-02 Ulrich Drepper <drepper@gmail.com>
21625
21626 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21627 function to the callback.
21628 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21629
10a656fe
AS
216302011-02-02 Andreas Schwab <schwab@redhat.com>
21631
21632 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21633 of errno.
21634
968dad0a
UD
216352011-01-19 Ulrich Drepper <drepper@gmail.com>
21636
9f94d2ea 21637 [BZ #11724]
968dad0a
UD
21638 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21639 of constructors.
21640 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21641 of destructors.
21642 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21643
21644 [BZ #11724]
21645 * elf/Makefile: Add rules to build and run new test.
21646 * elf/tst-initorder.c: New file.
21647 * elf/tst-initorder.exp: New file.
21648 * elf/tst-initordera1.c: New file.
21649 * elf/tst-initordera2.c: New file.
21650 * elf/tst-initordera3.c: New file.
21651 * elf/tst-initordera4.c: New file.
21652 * elf/tst-initorderb1.c: New file.
21653 * elf/tst-initorderb2.c: New file.
21654 * elf/tst-order-a1.c: New file.
21655 * elf/tst-order-a2.c: New file.
21656 * elf/tst-order-a3.c: New file.
21657 * elf/tst-order-a4.c: New file.
21658 * elf/tst-order-b1.c: New file.
21659 * elf/tst-order-b2.c: New file.
21660 * elf/tst-order-main.c: New file.
21661 New test case by George Gensure <werkt0@gmail.com>.
21662
86e92359
UD
216632010-10-01 Andreas Schwab <schwab@redhat.com>
21664
21665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21666 decoding ACE if AI_CANONIDN.
21667
5d5732b0
UD
216682011-01-18 Ulrich Drepper <drepper@gmail.com>
21669
21670 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21671
a77e8cbc
UD
216722011-01-17 Ulrich Drepper <drepper@gmail.com>
21673
6392473f
UD
21674 * version.h (RELEASE): Bump for 2.13 release.
21675 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21676
620a0529
UD
21677 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21678
18ba70a5
UD
21679 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21680 MADV_NOHUGEPAGE.
32465c3e
UD
21681 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21682 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21683 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21684 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21685 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21686 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21687
c0dafcf1
UD
21688 * posix/getconf.c: Update copyright year.
21689 * catgets/gencat.c: Likewise.
21690 * csu/version.c: Likewise.
21691 * debug/catchsegv.sh: Likewise.
21692 * debug/xtrace.sh: Likewise.
21693 * elf/ldconfig.c: Likewise.
21694 * elf/ldd.bash.in: Likewise.
21695 * elf/sprof.c (print_version): Likewise.
21696 * iconv/iconv_prog.c: Likewise.
21697 * iconv/iconvconfig.c: Likewise.
21698 * locale/programs/locale.c: Likewise.
21699 * locale/programs/localedef.c: Likewise.
21700 * malloc/memusage.sh: Likewise.
21701 * malloc/mtrace.pl: Likewise.
21702 * nscd/nscd.c (print_version): Likewise.
21703 * nss/getent.c: Likewise.
21704
a77e8cbc
UD
21705 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21706 PF_CAIF, and PF_ALG.
21707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21708
77e8bddf
AS
217092011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21710
1f20b93a
AS
21711 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21712 (modules-names): Use them.
21713 (ifunc-test-modules, ifunc-pie-tests): Define.
21714 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21715 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21716 (test-extras): Likewise.
21717 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21718 $(compile-command.c).
21719 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21720 (all-built-dso): Define.
21721 (check-textrel.out, check-execstack.out): Depend on it.
21722
77e8bddf
AS
21723 * configure.in: Don't override --enable-multi-arch.
21724
bc425b33
UD
217252011-01-15 Ulrich Drepper <drepper@gmail.com>
21726
21727 [BZ #6812]
21728 * nscd/hstcache.c (tryagain): Define.
21729 (cache_addhst): Return tryagain not notfound for temporary errors.
21730 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21731 failed.
21732
794c3ad3
UD
217332011-01-14 Ulrich Drepper <drepper@gmail.com>
21734
70181fdd
UD
21735 [BZ #10563]
21736 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21737 to make the syscall.
21738 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21739
794c3ad3
UD
21740 [BZ #12378]
21741 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21742 and fall back to matching as normal character if the string ends before
21743 the matching ']' is found. This is what POSIX requires.
21744 * posix/testfnm.c: Adjust test result.
21745 * posix/globtest.sh: Adjust test result. Add new test.
21746 * posix/tst-fnmatch.input: Likewise.
21747 * posix/tst-fnmatch2.c: Add new test.
21748
68dc9497
AS
217492010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21750
21751 * elf/Makefile (check-execstack): Revert last change. Depend on
21752 check-execstack.h.
21753 (check-execstack.h): New target.
21754 (generated): Add check-execstack.h.
21755 * elf/check-execstack.c: Include "check-execstack.h".
21756 (main): Revert last change.
21757 (handle_file): Return zero if GNU_STACK is absent and
21758 DEFAULT_STACK_PERMS doesn't include PF_X.
21759
451f001b
UD
217602011-01-13 Ulrich Drepper <drepper@gmail.com>
21761
cfa28e56
UD
21762 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21763 in child fails because the descriptor is already closed.
8cf8ce17
UD
21764 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21765 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21766 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21767
1086d70d
UD
21768 [BZ #12397]
21769 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21770 syscall.
21771
451f001b
UD
21772 [BZ #10484]
21773 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21774 temporary buffer used to handle multi lookups locally.
a85b5cb4 21775 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21776
08769175
UD
217772011-01-12 Ulrich Drepper <drepper@gmail.com>
21778
21779 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21780 loader is ld.so.
21781
5e49c52e
UD
217822011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21783
21784 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21785 alignment for SSE2.
21786
60522a5f
UD
217872011-01-12 Ulrich Drepper <drepper@gmail.com>
21788
21789 [BZ #12394]
21790 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21791 characters. When rounding increased number of integer digits recompute
21792 number of groups.
21793 * stdio-common/tst-grouping.c: New file.
21794 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21795
f257bbd7
UD
217962011-01-09 Ulrich Drepper <drepper@gmail.com>
21797
21798 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21799 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21800
21801 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21802 void.
21803 * bits/select.h: Likewise.
21804
fa9c15cb
UD
218052011-01-08 Ulrich Drepper <drepper@gmail.com>
21806
21807 * po/ja.po: Update from translation team.
21808
16c2895f
DM
218092011-01-04 David S. Miller <davem@sunset.davemloft.net>
21810
21811 [BZ #11155]
21812 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21813 implementation just like for lxstat, fxstatat, et al.
21814
2543fef2
JM
218152010-12-27 Jim Meyering <meyering@redhat.com>
21816
21817 [BZ #12348]
21818 * posix/regexec.c (build_trtable): Return failure indication upon
21819 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21820
98727dbe
UD
218212010-12-25 Ulrich Drepper <drepper@gmail.com>
21822
5bd6dc5c
UD
21823 [BZ #12201]
21824 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21825 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21826 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21827 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21828
97983464
UD
21829 [BZ #12207]
21830 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21831
98727dbe
UD
21832 [BZ #12204]
21833 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21834 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21835
4a531bb0
L
218362010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21837
21838 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21839 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21840 script has SORT_BY_INIT_PRIORITY.
21841 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21842 NO_CTORS_DTORS_SECTIONS is defined.
21843 * elf/soinit.c: Likewise.
21844 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21845 NO_CTORS_DTORS_SECTIONS is defined.
21846 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21847 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21848 * sysdeps/sh/init-first.c: Likewise.
21849 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21850
07eb4b71
UD
218512010-12-24 Ulrich Drepper <drepper@gmail.com>
21852
21853 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21854 always use the slow path.
21855
30950a5f
RA
218562010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21857
21858 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21859 similar rule which adds the sysdep directories to the header search in
21860 order to pick up the correct platform stackinfo.h.
21861 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21862 perform test if it is, otherwise return successfully without testing.
21863 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21864 DEFAULT_STACK_PERMS define in stackinfo.h.
21865 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21866 defined in stackinfo.h.
21867 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21868 DEFAULT_STACK_PERMS defined in stackinfo.h.
21869 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21870 * sysdeps/ia64/stackinfo.h: Likewise.
21871 * sysdeps/s390/stackinfo.h: Likewise.
21872 * sysdeps/sh/stackinfo.h: Likewise.
21873 * sysdeps/sparc/stackinfo.h: Likewise.
21874 * sysdeps/x86_64/stackinfo.h: Likewise.
21875 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21876 PF_X for powerpc64. Retain PF_X for powerpc32.
21877
db753e2c
UD
218782010-12-19 Ulrich Drepper <drepper@gmail.com>
21879
14b697f7
UD
21880 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21881 accurately.
db753e2c
UD
21882 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21883 GETDENTS_64BIT_ALIGNED.
21884
28300719
UD
218852010-12-14 Ulrich Drepper <dreper@gmail.com>
21886
14b697f7 21887 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21888
4f197237
AS
218892010-12-10 Andreas Schwab <schwab@redhat.com>
21890
dbb0472f
AS
21891 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21892 _GNU_SOURCE.
21893
4f197237
AS
21894 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21895 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21896 Remove __restrict.
21897 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21898 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21899
fb88ac72
UD
219002010-12-09 Ulrich Drepper <drepper@gmail.com>
21901
21902 [BZ #11655]
21903 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21904 are initialized.
21905
42acbb92
JJ
219062010-12-09 Jakub Jelinek <jakub@redhat.com>
21907
21908 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21909
c038d98d
UD
219102010-12-03 Ulrich Drepper <drepper@gmail.com>
21911
21912 * po/it.po: Update from translation team.
21913
3a4a2499
L
219142010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21915
21916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21917 unused codes.
21918
1e24cf6e
UD
219192010-11-30 Ulrich Drepper <drepper@gmail.com>
21920
21921 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21922
a7690819
AS
219232010-11-24 Andreas Schwab <schwab@redhat.com>
21924
21925 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21926 specially.
21927 (gaih_getanswer_slice): Likewise.
21928
3bf8d1b1
JJ
219292010-10-20 Jakub Jelinek <jakub@redhat.com>
21930
21931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21932
6db52fbb
PB
219332010-05-31 Petr Baudis <pasky@suse.cz>
21934
21935 [BZ #11149]
21936 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21937 silently even in the chroot mode.
21938
eaca7569
UD
219392010-11-22 Ulrich Drepper <drepper@gmail.com>
21940
21941 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21942 last patch a bit. Pretty printing
21943
3056dcdb
UD
219442010-05-31 Petr Baudis <pasky@suse.cz>
21945
21946 [BZ #10085]
21947 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21948 initialization of skip_initgroups_dyn.
21949
cf7c9078
UD
219502010-11-19 Ulrich Drepper <drepper@gmail.com>
21951
21952 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21953 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21954
a1fb5e3e
UD
219552010-11-16 Ulrich Drepper <drepper@gmail.com>
21956
21957 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21958
3540d66b
AS
219592010-11-11 Andreas Schwab <schwab@redhat.com>
21960
21961 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21962 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21963 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21964 ($(objpfx)tst-fnmatch-mem): New rule.
21965 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21966 * posix/tst-fnmatch.c (main): Call mtrace.
21967
13b69574
L
219682010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21969
21970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21971 Support Intel processor model 6 and model 0x2c.
21972
da93d214
LM
219732010-11-10 Luis Machado <luisgpm@br.ibm.com>
21974
21975 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21976 signed comparison.
21977
8ca52c6e
L
219782010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21979
21980 [BZ #12205]
21981 * string/test-strncasecmp.c (check_result): New function.
21982 (do_one_test): Use it.
21983 (check1): New function.
21984 (test_main): Use it.
21985 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21986 Support strcasecmp and strncasecmp.
21987
69da074d
UD
219882010-11-08 Ulrich Drepper <drepper@gmail.com>
21989
21990 [BZ #12194]
21991 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21993
ff02d528
L
219942010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21995
21996 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21997 IFUNC support.
21998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21999 memset-x86-64.
22000 * sysdeps/x86_64/multiarch/bzero.S: New file.
22001 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22002 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22003 * sysdeps/x86_64/multiarch/memset.S: New file.
22004 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22006 Set bit_Prefer_SSE_for_memop for Intel processors.
22007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22008 Define.
22009 (index_Prefer_SSE_for_memop): Define.
22010 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22011
344d0b54
LM
220122010-11-04 Luis Machado <luisgpm@br.ibm.com>
22013
22014 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22015 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22016
c0dde15b
UD
220172010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22018
22019 [BZ #12191]
22020 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22021 (__x86_64_raw_data_cache_size_half): Likewise.
22022 (__x86_64_raw_shared_cache_size): Likewise.
22023 (__x86_64_raw_shared_cache_size_half): Likewise.
22024
22025 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22026 (__x86_64_raw_data_cache_size_half): Likewise.
22027 (__x86_64_raw_shared_cache_size): Likewise.
22028 (__x86_64_raw_shared_cache_size_half): Likewise.
22029 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22030 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22031 and __x86_64_raw_shared_cache_size_half. Round
22032 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22033 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22034 to multiple of 256 bytes.
22035
0e516e0e
MS
220362010-11-03 Ulrich Drepper <drepper@gmail.com>
22037
22038 [BZ #12167]
22039 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22040 of inacessible symlinks. Verify result of symlink before returning it.
22041 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22042 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22043
0e012e87
ER
220442010-10-28 Erich Ritz <erichritz@gmail.com>
22045
22046 * math/math.h (isinf): Fix typo in comment.
22047
de0ff7bc
UD
220482010-11-01 Ulrich Drepper <drepper@gmail.com>
22049
22050 * po/da.po: Update from translation team.
22051
fa41c84d
UD
220522010-10-26 Ulrich Drepper <drepper@gmail.com>
22053
22054 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22055 is added to the list.
22056
f0967738
AK
220572010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22058 Ulrich Drepper <drepper@gmail.com>
22059
22060 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22061 the global list here. Move code to...
22062 (_dl_add_to_namespace_list): ...here. New function.
22063 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22064 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22065 * elf/dl-load.c (lose): Don't remove the element from the list.
22066 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22067 (_dl_map_object): Likewise.
22068
220692010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22070
22071 [BZ #12159]
22072 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22073 into all bytes of SSE register.
22074 Patch by Richard Li <richardpku@gmail.com>.
22075
f0967738 220762010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22077
22078 [BZ #12140]
22079 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22080 perturbing.
22081
d0b9e94f
MB
220822010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22083
22084 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22085 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22086 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22087 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22089 submachine.
22090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22091
8e9f92e9
AS
220922010-10-22 Andreas Schwab <schwab@redhat.com>
22093
22094 * include/dlfcn.h (__RTLD_SECURE): Define.
22095 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22096 mode & __RTLD_SECURE instead.
22097 (open_path): Rename preloaded parameter to secure.
22098 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22099 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22100 * elf/dl-deps.c (openaux): Likewise.
22101 * elf/rtld.c (struct map_args): Remove is_preloaded.
22102 (map_doit): Don't use it.
22103 (dl_main): Likewise.
22104 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22105 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22106
bc96fbda
AS
221072010-09-09 Andreas Schwab <schwab@redhat.com>
22108
22109 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22110 (sysd-rules-targets): Remove duplicates.
22111 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22112 rtld-%.$o dependency.
22113
22cd1c9b
AS
221142010-10-18 Andreas Schwab <schwab@redhat.com>
22115
22116 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22117 _dl_map_object do it.
22118
18edac48
UD
221192010-10-19 Ulrich Drepper <drepper@gmail.com>
22120
22121 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22122 fast fma builtins, define the macros in the C99 standard.
22123 (FP_FAST_FMAF): Likewise.
22124 (FP_FAST_FMAL): Likewise.
22125 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22126
22127 * bits/mathdef.h: Update copyright year.
22128 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22129
d2050124
MM
221302010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22131
22132 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22133 builtins, define the macros in the C99 standard.
22134 (FP_FAST_FMAF): Likewise.
22135 (FP_FAST_FMAL): Likewise.
22136 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22137 multiply/add.
22138 (FP_FAST_FMAF): Likewise.
22139
475facd1
JJ
221402010-10-15 Jakub Jelinek <jakub@redhat.com>
22141
22142 [BZ #3268]
22143 * math/libm-test.inc (fma_test): Some new testcases.
22144 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22145 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22146 y and infinite z. Do multiplication by C already in long double.
22147 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22149 y and infinite z. Do bitwise or of inexact bit into u.d.
22150 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22151 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22152 * sysdeps/i386/fpu/s_fma.S: Removed.
22153 * sysdeps/i386/fpu/s_fmal.S: Removed.
22154
7c08a05c
JJ
221552010-10-16 Jakub Jelinek <jakub@redhat.com>
22156
22157 [BZ #3268]
22158 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22160 computation is not scheduled after fetestexcept. Fix value
22161 of minimum denormal long double.
22162
f3f7372d
JJ
221632010-10-14 Jakub Jelinek <jakub@redhat.com>
22164
22165 [BZ #3268]
22166 * math/libm-test.inc (fma_test): Add some more tests.
22167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22168 correctly.
22169
14d43591
AS
221702010-10-15 Andreas Schwab <schwab@redhat.com>
22171
22172 * scripts/data/localplt-s390-linux-gnu.data: New file.
22173 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22174
5e908464
JJ
221752010-10-13 Jakub Jelinek <jakub@redhat.com>
22176
22177 [BZ #3268]
22178 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22179 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22180 instead of dbl-64.
22181 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22182 inlines.
22183 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22185 if one of x and y is very large and the other is subnormal.
22186 * sysdeps/s390/fpu/s_fmaf.c: New file.
22187 * sysdeps/s390/fpu/s_fma.c: New file.
22188 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22189 * sysdeps/powerpc/fpu/s_fma.S: New file.
22190 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22191 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22192 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22193
221942010-10-12 Jakub Jelinek <jakub@redhat.com>
22195
22196 [BZ #3268]
22197 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22198 fma tests.
22199 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22200 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22201 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22202 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22203 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22204 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22205 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22206
b833d51f
UD
222072010-10-12 Ulrich Drepper <drepper@redhat.com>
22208
22209 [BZ #12078]
22210 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22211 * posix/bug-regex31.input: Add test case.
22212
1751705d
UD
222132010-10-11 Ulrich Drepper <drepper@gmail.com>
22214
e9b9cbf5
UD
22215 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22216 * posix/bug-regex31.input: New file.
22217
22218 [BZ #12078]
22219 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22220 (parse_sub_exp): Fix last change, use postorder.
22221
ef06edbe
UD
22222 * posix/bug-regex31.c: New file.
22223 * posix/Makefile: Add rules to build and run bug-regex31.
22224
a129c80d
UD
22225 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22226
22227 [BZ #12078]
22228 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22229
b76b818e
UD
22230 [BZ #12108]
22231 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22232 to have entries in sys_siglist.
22233
1751705d
UD
22234 [BZ #12093]
22235 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22236 be NULL.
22237
9ff8d36f
JJ
222382010-10-07 Jakub Jelinek <jakub@redhat.com>
22239
22240 [BZ #3268]
22241 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22242 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22243 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22244 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22245 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22246 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22247 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22248 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22249 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22250 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22251 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22252 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22253 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22254 * math/ftestexcept.c (fetestexcept): Likewise.
22255 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22256 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22257 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22258 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22259 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22260 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22261 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22262
af325969
UD
222632010-10-11 Ulrich Drepper <drepper@gmail.com>
22264
c579b202 22265 [BZ #12107]
af325969
UD
22266 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22267 newline.
22268
67a67b95
UD
222692010-10-06 Ulrich Drepper <drepper@gmail.com>
22270
22271 * string/bug-strstr1.c: New file.
22272 * string/Makefile: Add rules to build and run bug-strstr1.
22273
5fb308bc
EB
222742010-10-05 Eric Blake <eblake@redhat.com>
22275
22276 [BZ #12092]
22277 * string/str-two-way.h (two_way_long_needle): Always clear memory
22278 when skipping input due to the shift table.
22279
45db99c7
UD
222802010-10-03 Ulrich Drepper <drepper@gmail.com>
22281
3b111893
UD
22282 [BZ #12005]
22283 * malloc/mcheck.c: Handle large requests.
22284
45db99c7
UD
22285 [BZ #12077]
22286 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22287 for strncmp and strncasecmp.
22288 * string/stratcliff.c: Add tests for strcmp and strncmp.
22289 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22290
cf7a1eb8
NI
222912010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22292
22293 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22294 __set_fpscr.
22295
6484ba5e
AJ
222962010-09-30 Andreas Jaeger <aj@suse.de>
22297
22298 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22299 (CGROUP_SUPER_MAGIC): Define.
22300 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22301 Handle btrfs and cgroup file systems.
22302 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22303 Likewise.
22304
91c42559
LM
223052010-09-27 Luis Machado <luisgpm@br.ibm.com>
22306
22307 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22308 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22309
87a97932
AK
223102010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22311
22312 [BZ #12067]
22313 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22314 trying to locate the ELF header.
22315
c21cc9bc
AS
223162010-09-27 Andreas Schwab <schwab@redhat.com>
22317
22318 [BZ #11611]
22319 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22320 Mask out sign-bit copies when constructing f_fsid.
22321
315970f6
PB
223222010-09-24 Petr Baudis <pasky@suse.cz>
22323
22324 * debug/stack_chk_fail_local.c: Add missing licence exception.
22325 * debug/warning-nop.c: Likewise.
22326
1ac7a2c7
JM
223272010-09-15 Joseph Myers <joseph@codesourcery.com>
22328
22329 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22330 implementing getdents64 using getdents syscall, set d_type if
22331 __ASSUME_GETDENTS32_D_TYPE.
22332
56801c50
AS
223332010-09-16 Andreas Schwab <schwab@redhat.com>
22334
22335 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22336 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22337
dda51327
UD
223382010-09-21 Ulrich Drepper <drepper@redhat.com>
22339
22340 [BZ #12037]
22341 * posix/unistd.h: Undo change of feature selection for ftruncate from
22342 2010-01-11.
22343
8ffcee4a
UD
223442010-09-20 Ulrich Drepper <drepper@redhat.com>
22345
a545ecd9 22346 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22347 detection.
22348
e24f0a8b
AS
223492010-09-20 Andreas Schwab <schwab@redhat.com>
22350
22351 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22352 fanotify_mark.
22353 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22354
7291c56f
AS
223552010-09-14 Andreas Schwab <schwab@redhat.com>
22356
22357 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22358 variables after CHECK_SP call.
22359 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22360
bc5fb037
AS
223612010-09-13 Andreas Schwab <schwab@redhat.com>
22362 Ulrich Drepper <drepper@redhat.com>
22363
22364 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22365 re-relocationg ld.so.
22366 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22367 _dl_init_paths call.
22368 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22369 here anymore.
22370
e66e7419
UD
223712010-09-14 Ulrich Drepper <drepper@redhat.com>
22372
22373 * resolv/res_init.c (__res_vinit): Count the default server we added.
22374
c044aa75
CLT
223752010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22376 Ulrich Drepper <drepper@redhat.com>
22377
22378 [BZ #11968]
22379 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22380 (____longjmp_chk): Use %ebx for saving value across system call.
22381 Add unwind info.
22382
32cf4069
AS
223832010-09-06 Andreas Schwab <schwab@redhat.com>
22384
22385 * manual/Makefile: Don't mix pattern rules with normal rules.
22386
817328ee
AS
223872010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22388
22389 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22390 operation.
22391 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22392 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22393 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22394 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22396 Likewise.
22397
29fddf61
UD
223982010-09-04 Ulrich Drepper <drepper@redhat.com>
22399
22400 [BZ #11979]
22401 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22402 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22403
0959ffc9
UD
224042010-09-02 Ulrich Drepper <drepper@redhat.com>
22405
22406 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22407 * sysdeps/x86_64/addmul_1.S: Likewise.
22408 * sysdeps/x86_64/lshift.S: Likewise.
22409 * sysdeps/x86_64/mul_1.S: Likewise.
22410 * sysdeps/x86_64/rshift.S: Likewise.
22411 * sysdeps/x86_64/sub_n.S: Likewise.
22412 * sysdeps/x86_64/submul_1.S: Likewise.
22413
ece29840
ST
224142010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22415
0959ffc9
UD
22416 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22417 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22418 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22419 * bits/sched.h [__need_schedparam]
ece29840 22420 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22421 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22422 (__defined_schedparam): Define to 1.
ece29840
ST
22423 (__sched_param): New structure, identical to sched_param.
22424 (__need_schedparam): Undefine.
22425
e53a31fe
MF
224262010-08-31 Mike Frysinger <vapier@gentoo.org>
22427
fdc0c10d
MF
22428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22429 (epoll_create1): Declare.
22430
e53a31fe
MF
22431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22432
a726d796
AS
224332010-08-31 Andreas Schwab <schwab@redhat.com>
22434
22435 [BZ #7066]
22436 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22437 shifting retval into place.
22438
2f3e3dc7
UD
224392010-09-01 Ulrich Drepper <drepper@redhat.com>
22440
f2933da9
UD
22441 * nis/rpcsvc/nis.h: Update copyright notice.
22442 * nis/rpcsvc/nis.x: Likewise.
22443 * nis/rpcsvc/nis_callback.h: Likewise.
22444 * nis/rpcsvc/nis_callback.x: Likewise.
22445 * nis/rpcsvc/nis_object.x: Likewise.
22446 * nis/rpcsvc/nis_tags.h: Likewise.
22447 * nis/rpcsvc/yp.h: Likewise.
22448 * nis/rpcsvc/yp.x: Likewise.
22449 * nis/rpcsvc/ypupd.h: Likewise.
22450 * nis/yp_xdr.c: Likewise.
22451 * nis/ypupdate_xdr.c: Likewise.
22452
2f3e3dc7
UD
22453 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22454 mainly the body of pmap_getport. Add parameters to specify timeouts.
22455 (pmap_getport): Use __libc_rpc_getport.
22456 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22457 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22458 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22459
f3dcc2f9
AS
224602010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22461
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22463 fanotify_mark.
22464
6d34eb5b
RM
224652010-08-27 Roland McGrath <roland@redhat.com>
22466
22467 * sysdeps/i386/i686/multiarch/Makefile
22468 (CFLAGS-varshift.c): New variable.
22469
9ea3de11
UD
224702010-08-27 Ulrich Drepper <drepper@redhat.com>
22471
c96d23fc
UD
22472 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22473 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22474
9ea3de11
UD
22475 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22476
22477 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22478
623aac7f
L
224792010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22480
22481 * sysdeps/x86_64/strlen.S: Unroll the loop.
22482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22483 strlen-sse2 strlen-sse2-bsf.
22484 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22485 __strlen_no_bsf if bit_Slow_BSF is set.
22486 (__strlen_sse42): Removed.
22487 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22488 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22489
8b2b7715
RM
224902010-08-25 Roland McGrath <roland@redhat.com>
22491
22492 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22493 * sysdeps/x86_64/multiarch/varshift.c: New file.
22494 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22495 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22496 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22497 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22498
e73015f2
L
224992010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22500
22501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22502 strlen-sse2 strlen-sse2-bsf.
22503 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22504 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22505 (__strlen_sse2): Removed.
22506 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22509 bit_Slow_BSF for Atom.
22510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22511 (index_Slow_BSF): Define.
22512 (HAS_SLOW_BSF): Define.
22513
df24a73e
UD
225142010-08-25 Ulrich Drepper <drepper@redhat.com>
22515
22516 [BZ #10851]
22517 * resolv/res_init.c (__res_vinit): When no server address at all
22518 is given default to loopback.
22519
f2ac4868
RM
225202010-08-24 Roland McGrath <roland@redhat.com>
22521
09055553
RM
22522 * configure.in: Remove config-name.h generation.
22523 * configure: Regenerated.
22524 * config-name.in: File removed.
22525 * scripts/config-uname.sh: New file.
22526 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22527 ($(objdir)config-name.h): New target.
22528
f2ac4868
RM
22529 * sunrpc/rpc_parse.h: Avoid nested comment.
22530
73f27d5e
RH
225312010-08-24 Richard Henderson <rth@redhat.com>
22532 Ulrich Drepper <drepper@redhat.com>
22533 H.J. Lu <hongjiu.lu@intel.com>
22534
22535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22537 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22538 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22539 _mm_alignr_epi8 with _mm_loadu_si128.
22540 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22541 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22542 (__m128i_shift_right): Removed.
22543 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22544 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22545 * sysdeps/x86_64/multiarch/varshift.h: New file.
22546 * sysdeps/x86_64/multiarch/varshift.S: New file.
22547
84b9230c
MF
225482010-08-21 Mike Frysinger <vapier@gentoo.org>
22549
22550 * configure.in: Move assembler checks to before sysdep dir checking.
22551
9bbd0ddc
PB
225522010-08-20 Petr Baudis <pasky@suse.cz>
22553
22554 * LICENSES: Sync the sunrpc license.
22555
9da4bb31
UD
225562010-08-19 Ulrich Drepper <drepper@redhat.com>
22557
a7ab6ec8
UD
22558 * sunrpc/auth_des.c: Update copyright notice once again.
22559 * sunrpc/auth_none.c: Likewise.
22560 * sunrpc/auth_unix.c: Likewise.
22561 * sunrpc/authdes_prot.c: Likewise.
22562 * sunrpc/authuxprot.c: Likewise.
22563 * sunrpc/bindrsvprt.c: Likewise.
22564 * sunrpc/clnt_gen.c: Likewise.
22565 * sunrpc/clnt_perr.c: Likewise.
22566 * sunrpc/clnt_raw.c: Likewise.
22567 * sunrpc/clnt_simp.c: Likewise.
22568 * sunrpc/clnt_tcp.c: Likewise.
22569 * sunrpc/clnt_udp.c: Likewise.
22570 * sunrpc/clnt_unix.c: Likewise.
22571 * sunrpc/des_crypt.c: Likewise.
22572 * sunrpc/des_soft.c: Likewise.
22573 * sunrpc/get_myaddr.c: Likewise.
22574 * sunrpc/getrpcport.c: Likewise.
22575 * sunrpc/key_call.c: Likewise.
22576 * sunrpc/key_prot.c: Likewise.
22577 * sunrpc/openchild.c: Likewise.
22578 * sunrpc/pm_getmaps.c: Likewise.
22579 * sunrpc/pm_getport.c: Likewise.
22580 * sunrpc/pmap_clnt.c: Likewise.
22581 * sunrpc/pmap_prot.c: Likewise.
22582 * sunrpc/pmap_prot2.c: Likewise.
22583 * sunrpc/pmap_rmt.c: Likewise.
22584 * sunrpc/rpc/auth.h: Likewise.
22585 * sunrpc/rpc/auth_unix.h: Likewise.
22586 * sunrpc/rpc/clnt.h: Likewise.
22587 * sunrpc/rpc/des_crypt.h: Likewise.
22588 * sunrpc/rpc/key_prot.h: Likewise.
22589 * sunrpc/rpc/netdb.h: Likewise.
22590 * sunrpc/rpc/pmap_clnt.h: Likewise.
22591 * sunrpc/rpc/pmap_prot.h: Likewise.
22592 * sunrpc/rpc/pmap_rmt.h: Likewise.
22593 * sunrpc/rpc/rpc.h: Likewise.
22594 * sunrpc/rpc/rpc_des.h: Likewise.
22595 * sunrpc/rpc/rpc_msg.h: Likewise.
22596 * sunrpc/rpc/svc.h: Likewise.
22597 * sunrpc/rpc/svc_auth.h: Likewise.
22598 * sunrpc/rpc/types.h: Likewise.
22599 * sunrpc/rpc/xdr.h: Likewise.
22600 * sunrpc/rpc_clntout.c: Likewise.
22601 * sunrpc/rpc_cmsg.c: Likewise.
22602 * sunrpc/rpc_common.c: Likewise.
22603 * sunrpc/rpc_cout.c: Likewise.
22604 * sunrpc/rpc_dtable.c: Likewise.
22605 * sunrpc/rpc_hout.c: Likewise.
22606 * sunrpc/rpc_main.c: Likewise.
22607 * sunrpc/rpc_parse.c: Likewise.
22608 * sunrpc/rpc_parse.h: Likewise.
22609 * sunrpc/rpc_prot.c: Likewise.
22610 * sunrpc/rpc_sample.c: Likewise.
22611 * sunrpc/rpc_scan.c: Likewise.
22612 * sunrpc/rpc_scan.h: Likewise.
22613 * sunrpc/rpc_svcout.c: Likewise.
22614 * sunrpc/rpc_tblout.c: Likewise.
22615 * sunrpc/rpc_util.c: Likewise.
22616 * sunrpc/rpc_util.h: Likewise.
22617 * sunrpc/rpcinfo.c: Likewise.
22618 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22619 * sunrpc/rpcsvc/key_prot.x: Likewise.
22620 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22621 * sunrpc/rpcsvc/mount.x: Likewise.
22622 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22623 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22624 * sunrpc/rpcsvc/rex.x: Likewise.
22625 * sunrpc/rpcsvc/rstat.x: Likewise.
22626 * sunrpc/rpcsvc/rusers.x: Likewise.
22627 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22628 * sunrpc/rpcsvc/spray.x: Likewise.
22629 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22630 * sunrpc/rtime.c: Likewise.
22631 * sunrpc/svc.c: Likewise.
22632 * sunrpc/svc_auth.c: Likewise.
22633 * sunrpc/svc_authux.c: Likewise.
22634 * sunrpc/svc_raw.c: Likewise.
22635 * sunrpc/svc_run.c: Likewise.
22636 * sunrpc/svc_simple.c: Likewise.
22637 * sunrpc/svc_tcp.c: Likewise.
22638 * sunrpc/svc_udp.c: Likewise.
22639 * sunrpc/svc_unix.c: Likewise.
22640 * sunrpc/svcauth_des.c: Likewise.
22641 * sunrpc/xcrypt.c: Likewise.
22642 * sunrpc/xdr.c: Likewise.
22643 * sunrpc/xdr_array.c: Likewise.
22644 * sunrpc/xdr_float.c: Likewise.
22645 * sunrpc/xdr_mem.c: Likewise.
22646 * sunrpc/xdr_rec.c: Likewise.
22647 * sunrpc/xdr_ref.c: Likewise.
22648 * sunrpc/xdr_sizeof.c: Likewise.
22649 * sunrpc/xdr_stdio.c: Likewise.
22650
9da4bb31
UD
22651 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22652 handling.
22653
bdaa77bc
AS
226542010-08-19 Andreas Schwab <schwab@redhat.com>
22655
22656 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22657
fe2f79db
LM
226582010-08-19 Luis Machado <luisgpm@br.ibm.com>
22659
22660 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22661 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22662 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22663 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22664 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22665 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22666 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22667 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22668 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22669 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22670 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22671 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22672 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22673 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22674
b9b42ee0
AB
226752010-07-26 Anton Blanchard <anton@samba.org>
22676
22677 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22678 * malloc/arena.c (heap_trim): Likewise.
22679
1c06ba31
UD
226802010-08-16 Ulrich Drepper <drepper@redhat.com>
22681
22682 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22683 here. Not...
22684 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22685 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22686
f8392f40
L
226872010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22688
22689 * sysdeps/i386/elf/Makefile: New file.
22690
3162f12e
AS
226912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22692
22693 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22694 from fanotify_init.
22695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22697
28c90b2c
UD
226982010-08-15 Ulrich Drepper <drepper@redhat.com>
22699
22700 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22701 of strncasecmp_l.
1feccb6c 22702 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22703
ca6bb004
UD
227042010-08-14 Ulrich Drepper <drepper@redhat.com>
22705
e9f82e0d
UD
22706 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22707 strncase_l-nonascii.
22708 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22709 Add strncase_l-ssse3.
22710 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22711 * sysdeps/x86_64/strcmp.S: Likewise.
22712 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22713 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22714 * sysdeps/x86_64/strncase.S: New file.
22715 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22716 * sysdeps/x86_64/strncase_l.S: New file.
22717 * string/Makefile (strop-tests): Add strncasecmp.
22718 * string/test-strncasecmp.c: New file.
22719
22720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22721 warning.
22722
ca6bb004
UD
22723 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22724 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22725
052fa7b3
AS
227262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22727
22728 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22729
962dba78
UD
227302010-08-12 Ulrich Drepper <drepper@redhat.com>
22731
22732 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22733 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22734 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22735
bebff237
AM
227362010-05-01 Alan Modra <amodra@gmail.com>
22737
22738 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22739 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22740 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22741 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22742 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22743 tidying. Don't tail-call __sigjmp_save for static lib.
22744 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22745 save location.
22746 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22747 (CALL_MCOUNT): Add eh info, and nop after bl.
22748 (TAIL_CALL_SYSCALL_ERROR): New macro.
22749 (PSEUDO_RET): Use it.
22750 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22751 Correct save location of integer regs and cr.
22752 (_dl_profile_resolve): Correct cr save location. Delete nops
22753 after bl when SHARED. Reduce cfi size a little by better
22754 placement of cfi directives.
22755 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22756 make a stack frame. Instead use parm save area as a temp.
22757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22758 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22760 Don't make a stack frame for parent, use parm save area.
22761 Increase child stack frame to 112 bytes. Don't save unused reg,
22762 and adjust reg usage. Set up cfi on error recovery and
22763 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22765 (__makecontext): Add dummy nop after jump to exit.
22766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22767 Use correct parm save area and cr save, reduce stack frame.
22768 Correct cfi for possible PSEUDO_RET frame setup.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22770 Branch to local label emitted by PSEUDO_RET rather than
22771 __syscall_error.
22772
02637374
AS
227732010-08-12 Andreas Schwab <schwab@redhat.com>
22774
22775 [BZ #11904]
22776 * locale/programs/locale.c (print_assignment): New function.
22777 (show_locale_vars): Use it.
22778
c3e2f19b
UD
227792010-08-11 Ulrich Drepper <drepper@redhat.com>
22780
3cdaa6ad
UD
22781 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22782 field.
22783 (struct statfs64): Likewise.
22784 (_STATFS_F_FLAGS): Define.
22785 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22787 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22788 (ST_VALID): Define locally.
22789 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22790 __statvfs_getflags, use the provided value.
22791 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22792 __ASSUME_STATFS_F_FLAGS.
22793
754f7da3
UD
22794 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22795
10b3bedc
UD
22796 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22797 Add sys/fanotify.h.
22798 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22799 fanotify_mask for GLIBC_2.13.
22800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22801 fanotify_init and fanotify_mark.
22802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22803 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22804
c08fb0d7
UD
22805 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22806 Add prlimit.
22807 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22808 prlimit64 for GLIBC_2.13.
22809 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22810 prlimit64.
22811 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22812 syscall.
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22814 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22815 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22816 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22818 add prlimit alias.
22819 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22820
15bac72b
UD
22821 [BZ #11903]
22822 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22823 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22824
c3e2f19b
UD
22825 * nss/Makefile: Add rules to build and run tst-nss-test1.
22826 * shlib-versions: Add entry for libnss_test1.
22827 * nss/nss_test1.c: New file.
22828 * nss/tst-nss-test1.c: New file.
22829
22830 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22831 (__nss_configure_lookup): Set appropriate entry in
22832 __nss_configure_lookup to true.
22833 * nss/nsswitch.h: Define enum with indeces of databases in
22834 databases and __nss_database_custom arrays. Declare
22835 __nss_database_custom.
22836 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22837 to avoid using nscd when custom rules are installed.
22838 * nss/getXXbyYY_r.c: Likewise.
22839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22840
22841 * nss/nss_files/files-parse.c: Whitespace fixes.
22842
f15ce4d8
UD
228432010-08-09 Ulrich Drepper <drepper@redhat.com>
22844
22845 [BZ #11883]
22846 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22847 * posix/fnmatch_loop.c: Likewise.
22848
d22e4cc9
AK
228492010-07-17 Andi Kleen <ak@linux.intel.com>
22850
22851 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22852 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22853 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22854 * Versions.def [GLIBC_2.13]: Add.
22855
805bc17d
UD
228562010-08-06 Ulrich Drepper <drepper@redhat.com>
22857
22858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22859 Also fail if tpwd after pwuid call is NULL.
22860
5a42321d
ST
228612010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22862
22863 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22864 when converting to ms.
22865
fd3ebeda
ST
228662010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22867
22868 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22869 EOPNOTSUPP errors with ENOTTY.
22870 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22871 EOPNOTSUPP errors with ENOTTY.
22872
73507d3a
UD
228732010-07-31 Ulrich Drepper <drepper@redhat.com>
22874
22875 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22876 Add strcasecmp_l-ssse3.
22877 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22878 strcasecmp.
22879 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22880 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22881 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22882
fe36dd02
UD
228832010-07-30 Ulrich Drepper <drepper@redhat.com>
22884
66f6765a
UD
22885 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22886
42e08a54
UD
22887 * string/Makefile (strop-tests): Add strcasecmp.
22888 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22889 strcasecmp_l-nonascii.
22890 (gen-as-const-headers): Add locale-defines.sym.
22891 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22892 * sysdeps/x86_64/strcasecmp.S: New file.
22893 * sysdeps/x86_64/strcasecmp_l.S: New file.
22894 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22895 * sysdeps/x86_64/locale-defines.sym: New file.
22896 * string/test-strcasecmp.c: New file.
22897
fe36dd02
UD
22898 * string/test-strcasestr.c: Test both ends of the range of characters.
22899 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22900
48cbc0d6
RM
229012010-07-29 Roland McGrath <roland@redhat.com>
22902
76e6d6bc 22903 [BZ #11856]
48cbc0d6
RM
22904 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22905
880113d9
UD
229062010-07-27 Ulrich Drepper <drepper@redhat.com>
22907
22908 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22909 for ld.so.
22910
deb9cabb
AS
229112010-07-27 Andreas Schwab <schwab@redhat.com>
22912
22913 * manual/memory.texi (Malloc Tunable Parameters): Document
22914 M_PERTURB.
22915
1c7570ff
RM
229162010-07-26 Roland McGrath <roland@redhat.com>
22917
22918 [BZ #11840]
22919 * configure.in (-fgnu89-inline check): Set and substitute
22920 gnu89_inline, not libc_cv_gnu89_inline.
22921 * configure: Regenerated.
22922 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22923
24fb0f88
UD
229242010-07-26 Ulrich Drepper <drepper@redhat.com>
22925
22926 * string/test-strnlen.c: New file.
22927 * string/Makefile (strop-tests): Add strnlen.
22928 * string/tester.c (test_strnlen): Add a few more test cases.
22929 * string/tst-strlen.c: Better error reporting.
22930
22931 * sysdeps/x86_64/strnlen.S: New file.
22932
8e96b93a
UD
229332010-07-24 Ulrich Drepper <drepper@redhat.com>
22934
22935 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22936 lower-latency instructions.
22937
dbc676d4
UD
229382010-07-23 Ulrich Drepper <drepper@redhat.com>
22939
22940 * string/test-strcasestr.c: New file.
22941 * string/test-strstr.c: New file.
22942 * string/Makefile (strop-tests): Add strstr and strcasestr.
22943 * string/str-two-way.h: Don't undefine MAX.
22944 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22945
f6a31e0e
AS
229462010-07-21 Andreas Schwab <schwab@redhat.com>
22947
22948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22949 strcasestr-nonascii.
22950 (CFLAGS-strcasestr-nonascii.c): Define.
22951 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22952 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22953 Remove unused attribute.
22954
5dbc3b6c
RM
229552010-07-20 Roland McGrath <roland@redhat.com>
22956
22957 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22958 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22959 ld.so.cache was broken. With it, there is no way to disable dsocaps
22960 like LD_HWCAP_MASK can disable hwcaps.
22961
23d101d8
EPM
229622010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22963
22964 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22965
cc9f2e47
UD
229662010-07-16 Ulrich Drepper <drepper@redhat.com>
22967
22968 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22969 call in strcasestr.
22970 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22971 __strcasestr_sse42_nonascii.
22972 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22973 strcasestr-nonascii.c.
22974 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22975
77c1b069
LM
229762010-06-15 Luis Machado <luisgpm@br.ibm.com>
22977
22978 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22979 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22981 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22982
440566c3
UD
229832010-07-09 Ulrich Drepper <drepper@redhat.com>
22984
22985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22986 fcntl.
22987
5be9d05d
AS
229882010-07-06 Andreas Schwab <schwab@redhat.com>
22989
c30b7ee2 22990 [BZ #11577]
5be9d05d
AS
22991 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22992 dl_signal_cerror.
22993
8a492a67
UD
229942010-07-06 Ulrich Drepper <drepper@redhat.com>
22995
22996 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22997 _PC_PIPE_BUF using F_GETPIPE_SZ.
22998
713df3d5
RM
229992010-07-05 Roland McGrath <roland@redhat.com>
23000
23001 * manual/arith.texi (Rounding Functions): Fix rint description
23002 implicit in round description.
23003
702e8f14
UD
230042010-07-02 Ulrich Drepper <drepper@redhat.com>
23005
23006 * elf/Makefile: Fix linking for a few tests to make recent linker
23007 happy.
23008
52ed8be9
AS
230092010-06-30 Andreas Schwab <schwab@redhat.com>
23010
23011 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23012 $(common-objpfx)libc_nonshared.a.
23013
f47c9a11
LM
230142010-06-21 Luis Machado <luisgpm@br.ibm.com>
23015
23016 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23017 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23018 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23019 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23020 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23021 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23022 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23023 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23038 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23039 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23040 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23041 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23042 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23043 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23044 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23045 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23046 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23047 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23048 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23049 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23064
6fb8cbcb
L
230652010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23066
23067 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23068 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23069 * string/memmove.c (memmove): Renamed to ...
23070 (MEMMOVE): ...this. Default to memmove.
23071 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23072 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23073 (END_CHK): Define.
23074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23075 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23076 mempcpy-ssse3-back memmove-ssse3-back.
23077 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23078 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23079 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23080 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23081 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23082 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23083 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23084 * sysdeps/x86_64/multiarch/memmove.c: New file.
23085 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23086 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23087 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23088 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23089 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23091 Define.
23092 (index_Fast_Copy_Backward): Define.
23093 (HAS_ARCH_FEATURE): Define.
23094 (HAS_FAST_REP_STRING): Define.
23095 (HAS_FAST_COPY_BACKWARD): Define.
23096
4e733bac 230972010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23098
23099 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23100 Restore proper fallback handling.
23101
63c4ed22
UD
231022010-06-19 Ulrich Drepper <drepper@redhat.com>
23103
ac2b484c
UD
23104 [BZ #11701]
23105 * posix/group_member.c (__group_member): Correct checking loop.
23106
63c4ed22
UD
23107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23108 OOM in getpwuid_r correctly. Return error number when the caller
23109 should return, otherwise -1.
23110 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23111 call returning > 0 value.
23112 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23113
765ade4b
AS
231142010-06-07 Andreas Schwab <schwab@redhat.com>
23115
23116 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23117 libc_nonshared.a from targets in modules-names.
23118
80da2e09
KS
231192010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23120
23121 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23122 requires it.
23123
158db122
LM
231242010-06-10 Luis Machado <luisgpm@br.ibm.com>
23125
23126 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23127 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23128 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23129 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23130
caa78cf8
AS
231312010-06-02 Andreas Schwab <schwab@redhat.com>
23132
23133 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23134
b2ef2c01
UD
231352010-06-14 Ulrich Drepper <drepper@redhat.com>
23136
23137 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23138 and F_GETPIPE_SZ.
23139 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23145
fbd643b6
RM
231462010-06-14 Roland McGrath <roland@redhat.com>
23147
23148 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23149
f32f2869
JJ
231502010-06-07 Jakub Jelinek <jakub@redhat.com>
23151
23152 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23153 __REDIRECT followed by __THROW.
23154 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23155 * posix/getopt.h (getopt): Likewise.
23156
2a50c078
EPM
231572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23158
23159 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23160 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23161 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23162 in AT_FLAGS.
23163 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23164 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23165
eb5ad2eb
LM
231662010-05-28 Luis Machado <luisgpm@br.ibm.com>
23167
23168 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23169
3c88fe1e
L
231702010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23171
23172 [BZ #11640]
23173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23174 Properly check family and model.
23175
d2f73151
TY
231762010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23177
23178 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23179
ebd2e13d
LM
231802010-05-24 Luis Machado <luisgpm@br.ibm.com>
23181
23182 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23183
b32b8b45
UD
231842010-05-21 Ulrich Drepper <drepper@redhat.com>
23185
23186 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23187 symbol reference.
23188
9acbe24d
AS
231892010-05-19 Andreas Schwab <schwab@redhat.com>
23190
23191 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23192 symbol reference.
23193
f0ccf6ea
AS
231942010-05-21 Andreas Schwab <schwab@redhat.com>
23195
3d04ff3a
AS
23196 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23197 and internal_recvmmsg.
23198 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23199 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23200 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23201 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23202
f0ccf6ea
AS
23203 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23204 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23205 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23206
5b08ac57
AS
232072010-05-20 Andreas Schwab <schwab@redhat.com>
23208
23209 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23210
4828935d
LM
232112010-05-17 Luis Machado <luisgpm@br.ibm.com>
23212
23213 POWER7 optimizations.
23214 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23215 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23216
373d545e
UD
232172010-05-19 Ulrich Drepper <drepper@redhat.com>
23218
23219 * version.h: Update for 2.13 development version.
23220
21a2b1ae
AS
232212010-05-12 Andrew Stubbs <ams@codesourcery.com>
23222
23223 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23224 exceptions. Return 0.
23225
3f7dcb2b
RM
232262010-05-07 Roland McGrath <roland@redhat.com>
23227
23228 * elf/ldconfig.c (main): Add a const.
23229
5f24d53a 232302010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23231
a160f8d8
UD
23232 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23233 (args_options): Add no-idn option.
23234 (ahosts_keys_int): Add idn_flags to ai_flags.
23235 (parse_option): Handle 'i' option to clear idn_flags.
23236
5f24d53a
UD
23237 * malloc/malloc.c (_int_free): Possible race in the most recently
23238 added check. Only act on the data if no current modification
23239 happened.
265bb1ce
UD
23240
23241See ChangeLog.17 for earlier changes.
This page took 3.145264 seconds and 5 git commands to generate.