]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
aarch64: Fix compiler warning for unused declaration _x0
[thirdparty/glibc.git] / ChangeLog
CommitLineData
56e7d3ad
SP
12012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4 void pointer and cast to uintptr_t.
5 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6 path.
7 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8 * sysdeps/s390/s390-64/memset.S: Likewise.
9
76f2d2ea 102012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11
12 [BZ #14833]
13 * menual/message.texi (Message Translation): Fix typos.
14 (Helper programs for gettext): Likewise.
15
67cbf9a2
AS
162012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17
18 [BZ #14898]
19 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20 Change to -1.
21
682d0e9a
DM
222012-12-07 David S. Miller <davem@davemloft.net>
23
24 * po/libc.pot: Update.
25
573cd484
RH
262012-12-07 Richard Henderson <rth@redhat.com>
27
28 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29 normal/normal case to before the switch.
30 (_FP_DIV): Likewise.
31
e933a943
MF
322012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33 Mike Frysinger <vapier@gentoo.org>
34
35 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36 check for __NR_fadvise64_64.
37
82123268
CM
382012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39
40 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41 0, not just to plain "0" as a statement.
42 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43 with cw.
44
d9814526
JM
452012-12-06 Joseph Myers <joseph@codesourcery.com>
46
47 * NEWS: Use sourceware.org in Bugzilla URL.
48
7728c574
SP
492012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50
f16946dd
SP
51 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53
5704bbcb
SP
54 * stdio-common/tst-put-error.c (do_test): Add newline to the
55 padded test to ensure flush.
56
17aa0516
JL
572012-12-05 Jeff Law <law@redhat.com>
58
59 * sunrpc/etc.rpc (fedfs_admin): Add entry.
60
363313b5
JM
612012-12-05 Joseph Myers <joseph@codesourcery.com>
62
effbd42a
JM
63 * README: Don't refer to ports add-on as distributed separately.
64 Mention AArch64 in list of systems supported in the ports add-on.
65
87600365
JM
66 * LICENSES: Add more non-FSF copyright and license notices.
67
a0d7066a
JM
68 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69 ((unused)).
70
66ca5a5b
JM
71 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
72
363313b5
JM
73 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
74 10000 as width of padded output.
75
b37984ad
JM
762012-12-04 Joseph Myers <joseph@codesourcery.com>
77
9003570a
JM
78 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
79
b37984ad
JM
80 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
81 variable LX with __attribute__ ((unused)).
82 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
83 Likewise.
84 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
85 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
86 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
87 with __attribute__ ((unused)).
88
c8df52ec
DM
892012-12-04 David S. Miller <davem@abraco.davemloft.net>
90
91 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
92
b3b099af
JM
932012-12-04 Joseph Myers <joseph@codesourcery.com>
94
c33aa6e3
JM
95 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
96 (CFLAGS-nldbl-acos.c): New variable.
97 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
98 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
99 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
100 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
101 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
102 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
103 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
104 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
105 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
106 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
107 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
108 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
109 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
110 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
111 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
112 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
113 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
114 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
115 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
116 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
117 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
118 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
119 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
120 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
121 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
122 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
123 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
124 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
125 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
126 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
127 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
128 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
129 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
130 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
131 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
132 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
133 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
134 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
135 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
136 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
137 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
138 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
139 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
140 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
141 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
142 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
143 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
144 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
145 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
146 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
147 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
148 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
149 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
150 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
151 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
152 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
153 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
154 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
155 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
156 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
157 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
158 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
159 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
160 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
161 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
162 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
163 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
164 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
165 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
166 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
167 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
168 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
169 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
170 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
171 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
172 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
173 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
174 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
175 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
176 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
177 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
178 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
179 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
180 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
181 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
182 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
183 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
184 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
185 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
186 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
187 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
188 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
189 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
190 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
191 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
192 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
193 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
194
20f0018d
JM
195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
196 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
197
b3b099af
JM
198 [BZ #14914]
199 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
200 whole low double instead of just low 47 bits when splitting values
201 into two parts.
202
029264d1
AM
2032012-12-03 Allan McRae <allan@archlinux.org>
204
205 * manual/stdio.texi (Predefined Printf Handlers): Remove
206 @hsep and @vsep usage.
207
c9d6789e
MF
2082012-12-03 Mike Frysinger <vapier@gentoo.org>
209
210 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
211 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
212
4b7634a5
JL
2132012-12-03 Jeff Law <law@redhat.com>
214
215 * time/sys/time.h (settimeofday): Do not mark TV argument
216 as __nonnull.
217
eb6cbd24
MF
2182012-12-01 Mike Frysinger <vapier@gentoo.org>
219
220 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
221 when currently writing and seek to current position when not.
222 * libio/Makefile (tests): Remove bug-fclose1.
223 * libio/bug-fclose1.c: Delete.
224
f638872a
JM
2252012-12-01 Joseph Myers <joseph@codesourcery.com>
226
227 * manual/arith.texi (feenableexcept): Fix typo.
228 (fedisableexcept): Likewise.
229
48085d14
RM
2302012-11-30 Roland McGrath <roland@hack.frob.com>
231
232 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
233 second, differently-typed declaration, rather than a cast.
234
1a538b9f
SP
2352012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
236
237 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
238 * include/rpc/svc.h: ... here.
239
d07f2ff1 2402012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
241
242 [BZ #13013]
243 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
244 depending n and resplen2 to catch cases where answer
245 equals answerp2.
246
c93ec1f0
CD
2472012-11-29 Carlos O'Donell <carlos@systemhalted.org>
248
249 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
250 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
251
37db69de
MF
2522012-11-29 Mike Frysinger <vapier@gentoo.org>
253
254 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
255
e10c4e4f
RM
2562012-11-29 Roland McGrath <roland@hack.frob.com>
257
258 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
259
2af1b328
JL
2602012-11-28 Jeff Law <law@redhat.com>
261
262 [BZ #13761]
263 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
264 dataset_temporary. Track alloca usage into alloca_used.
265 If dataset is large allocate and release it via malloc/free.
266
111db5b1
FW
2672012-06-04 Florian Weimer <fweimer@redhat.com>
268
f06cc227 269 [BZ #14197]
111db5b1
FW
270 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
271
dd694abd
DM
2722012-11-28 David S. Miller <davem@davemloft.net>
273
274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
275
9984dd01
JM
2762012-11-28 Joseph Myers <joseph@codesourcery.com>
277
278 [BZ #14803]
279 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
280 of pi/2 rounded to nearest to 64 bits.
281 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
282 nearest to 64 bits.
283 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
284 bits.
285
14bc93a9
JL
2862012-11-28 Jeff Law <law@redhat.com>
287 Martin Osvald <mosvald@redhat.com>
288
289 [BZ #14889]
290 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
291 * sunrpc/svc.c: Include time.h.
292 (__svc_accept_failed): New function.
293 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
294 any reason other than EINTR, call __svc_accept_failed.
295 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
296 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
297
e3c6aa3a
AS
2982012-11-28 Andreas Schwab <schwab@suse.de>
299
300 * scripts/abilist.awk: Also handle indirect functions in .opd
301 section.
302
1bead169
JM
3032012-11-28 Joseph Myers <joseph@codesourcery.com>
304
305 [BZ #13881]
306 * sysdeps/x86/fpu/powl_helper.c: New file.
307 * sysdeps/x86/fpu/Makefile: Likewise.
308 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
309 (p3): New object.
310 (__ieee754_powl): Use __powl_helper for finite arguments except
311 integer exponents below 8.
312 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
313 (p3): New object.
314 (__ieee754_powl): Use __powl_helper for finite arguments except
315 integer exponents below 8.
316 * math/libm-test.inc (pow_test): Add more tests and enable some
317 previously disabled tests.
318 * sysdeps/i386/fpu/libm-test-ulps: Update.
319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320
0817d63d
SP
3212012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
322 Carlos O'Donell <carlos_odonell@mentor.com>
323
324 * nss/makedb.c (is_prime): Assert that input is odd and greater
325 than 4. Note that fact in a comment too.
326 (next_prime): Add 4 to input.
327
de2fd463
SP
3282012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
329
330 [BZ #11741]
331 * libio/Makefile (tests): Add test case tst-fwrite-error.
332 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
333 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
334 * libio/tst-fwrite-error.c: New test case.
335
c515fb51
L
3362012-11-26 H.J. Lu <hongjiu.lu@intel.com>
337
338 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
339 before casting to void *.
340 * include/libc-internal.h (__pointer_type): New macro.
341 (__integer_if_pointer_type_sub): Likewise.
342 (__integer_if_pointer_type): Likewise.
343 (cast_to_integer): Likewise.
344 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
345 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
346 before casting to atomic64_t.
347 (atomic_exchange_acq): Likewise.
348 (__arch_exchange_and_add_body): Likewise.
349 (__arch_add_body): Likewise.
350 (atomic_add_negative): Likewise.
351 (atomic_add_zero): Likewise.
352
4cf77aa9
JM
3532012-11-26 Joseph Myers <joseph@codesourcery.com>
354
355 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
356 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
357 (add_fdes): Likewise.
358 (linear_search_fdes): Likewise.
359 (binary_search_unencoded_fdes): Likewise.
360
d260b3b4
AS
3612012-11-26 Andreas Schwab <schwab@linux-m68k.org>
362
363 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
364
67060746
AC
3652012-11-24 Adam Conrad <adconrad@0c3.net>
366
367 * configure.in: Autodetect C++ header directories.
368 * configure: Regenerated.
369
800938a1
MF
3702012-11-23 Mike Frysinger <vapier@gentoo.org>
371
372 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
373
4e6e34e6
AS
3742012-11-23 Andreas Schwab <schwab@linux-m68k.org>
375
376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
377
7c7feb47
JM
3782012-11-22 Joseph Myers <joseph@codesourcery.com>
379
7184dcdf
JM
380 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
381 LDBL_MANT_DIG == 106]: Disable some tests.
382 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
383 Likewise.
384 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
385 Likewise.
386
0a42601f
JM
387 [BZ #14871]
388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
389 input for small inputs. Return +/- pi/2 for large inputs.
390 * math/libm-test.inc (atan_test): Add more tests.
391
79c9b9fe
JM
392 * sysdeps/generic/unwind-dw2-fde-glibc.c
393 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
394 __attribute__ ((unused)).
395
c60d3bf2
JM
396 [BZ #14645]
397 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
398 x * y if x and y are nonzero and z is zero.
399
ef1e0867
JM
400 [BZ #14811]
401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
402 nonzero exponents with absolute value below 0x1p-117 to +/-
403 0x1p-117.
404
1468ded3
JM
405 [BZ #14869]
406 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
407 up arguments below 2**-450, not just those below 2**-500.
408 * math/libm-test.inc (hypot_test): Add another test.
409
8e27e3cc
JM
410 [BZ #14868]
411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
412 Return a+b for ratio over 2**120, not 2**60.
413 * math/libm-test.inc (hypot_test): Add another test.
414
c9c0279b
JM
415 * math/libm-test.inc (clog_test): Use
416 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
417 (clog10_test): Likewise.
418
7c7feb47
JM
419 [BZ #6778]
420 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
421
fff1530e
AS
4222012-11-22 Andreas Schwab <schwab@suse.de>
423
424 * sysdeps/i386/fpu/libm-test-ulps: Update.
425
94558d30
PT
4262012-11-22 Pino Toscano <toscano.pino@tiscali.it>
427
428 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
429 printf output with newline.
430
7e1be741
L
4312012-11-21 H.J. Lu <hongjiu.lu@intel.com>
432
6bfea974
L
433 [BZ #14865]
434 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
435 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
436 -z nodlopen, -z initfirst and -z execstack support.
437 * configure: Regenerated.
438
7e1be741
L
439 * elf/elf.h (DF_1_NODIRECT): New macro.
440 (DF_1_IGNMULDEF): Likewise.
441 (DF_1_NOKSYMS): Likewise.
442 (DF_1_NOHDR): Likewise.
443 (DF_1_EDITED): Likewise.
444 (DF_1_NORELOC): Likewise.
445 (DF_1_SYMINTPOSE): Likewise.
446 (DF_1_GLOBAUDIT): Likewise.
447 (DF_1_SINGLETON): Likewise.
448 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
449 DT_1_SUPPORTED_MASK bits.
450 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
451
105ce2ce
CD
4522012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
453
454 * sysdeps/unix/make-syscalls.sh: Document prefixes.
455
123be9de
TS
4562012-11-20 Thomas Schwinge <thomas@codesourcery.com>
457
d072f3f7
TS
458 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
459 macro.
460
123be9de
TS
461 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
462 (sendmmsg): Move declarations...
463 * socket/sys/socket.h: ... here.
464 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
465 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
466 include it from...
467 * socket/recvmmsg.c: ... this new file.
468 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
469 (sendmmsg): Rename to __sendmmsg, create weak alias and make
470 definition of __sendmmsg hidden.
471 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
472 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
473 Move ENOSYS stub into and include it from...
474 * socket/sendmmsg.c: ... this new file.
475 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
476 (sysdep_routines): Move recvmmsg and sendmmsg...
477 * socket/Makefile (routines): ... here.
478 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
479 (GLIBC_PRIVATE): Add __sendmmsg.
480 * include/sys/socket.h (__sendmmsg): Add declarations.
481 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
482 sendmmsg.
483
cf9a5d18
JM
4842012-11-20 Joseph Myers <joseph@codesourcery.com>
485
486 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
487 variable I1 with __attribute__ ((unused)).
488 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
489
ecd4caf9
JM
4902012-11-19 Joseph Myers <joseph@codesourcery.com>
491
be14d48f
JM
492 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
493 DUMMY variables with __attribute__ ((unused)).
494
ecd4caf9
JM
495 * bits/byteswap.h: Include <bits/types.h>.
496 (__bswap_64): Use __uint64_t instead of unsigned long long int.
497
986cab95
PT
4982012-11-19 Pino Toscano <toscano.pino@tiscali.it>
499
500 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
501 string_t. Do not manually set errno.
502 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
503 length with __strnlen. Make sure to both set errno and return it on
504 failure.
505
6d33cc9d
DM
5062012-11-19 David S. Miller <davem@davemloft.net>
507
508 With help from Joseph Myers.
509 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
510 very large arguments properly.
511 * math/libm-test.inc (atan_test): New tests.
512 (atan2_test): New tests.
513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
515
ee663277
JM
5162012-11-19 Joseph Myers <joseph@codesourcery.com>
517
877f2d8e
JM
518 [BZ #14856]
519 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
520 Define to 3.
521
116fc08a
JM
522 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
523 [POSIX] (EADDRNOTAVAIL): Likewise.
524 [POSIX] (EAFNOSUPPORT): Likewise.
525 [POSIX] (EALREADY): Likewise.
526 [POSIX] (ECONNABORTED): Likewise.
527 [POSIX] (ECONNREFUSED): Likewise.
528 [POSIX] (ECONNRESET): Likewise.
529 [POSIX] (EDESTADDRREQ): Likewise.
530 [POSIX] (EDQUOT): Likewise.
531 [POSIX] (EHOSTUNREACH): Likewise.
532 [POSIX] (EIDRM): Likewise.
533 [POSIX] (EISCONN): Likewise.
534 [POSIX] (ELOOP): Likewise.
535 [POSIX] (EMULTIHOP): Likewise.
536 [POSIX] (ENETDOWN): Likewise.
537 [POSIX] (ENETUNREACH): Likewise.
538 [POSIX] (ENOBUFS): Likewise.
539 [POSIX] (ENODATA): Likewise.
540 [POSIX] (ENOLINK): Likewise.
541 [POSIX] (ENOMSG): Likewise.
542 [POSIX] (ENOPROTOOPT): Likewise.
543 [POSIX] (ENOSR): Likewise.
544 [POSIX] (ENOSTR): Likewise.
545 [POSIX] (ENOTCONN): Likewise.
546 [POSIX] (ENOTSOCK): Likewise.
547 [POSIX] (EOPNOTSUPP): Likewise.
548 [POSIX] (EOVERFLOW): Likewise.
549 [POSIX] (EPROTO): Likewise.
550 [POSIX] (EPROTONOSUPPORT): Likewise.
551 [POSIX] (EPROTOTYPE): Likewise.
552 [POSIX] (ESTALE): Likewise.
553 [POSIX] (ETIME): Likewise.
554 [POSIX] (ETXTBSY): Likewise.
555 [POSIX] (EWOULDBLOCK): Likewise.
556 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
557 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
558 [POSIX] (SEEK_CUR): Likewise.
559 [POSIX] (SEEK_END): Likewise.
560 [POSIX || UNIX98] (mode_t): Do not require.
561 [POSIX] (off_t): Likewise.
562 [POSIX] (pid_t): Likewise.
563 [POSIX] (sys/stat.h): Do not allow header.
564 [POSIX] (unistd.h): Likewise.
565 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
566 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
567 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
568 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
569 require.
570 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
571 sigevent): Specify elements.
572 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
573 entry.
574 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
575 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
576
a483863f
JM
577 * conform/data/cpio.h-data [POSIX]: Disable whole file.
578 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
579 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
580 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
581 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
582 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
583 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
584 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
585 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
586 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
587 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
588 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
589 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
591 Likewise.
592 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
593 Likewise.
594 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
595 Likewise.
596 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
597 Likewise.
598 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
599 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
600 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
601 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
602 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
603 Specify lower bound on value.
604 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
605 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
606 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
607 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
608 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
609 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
610 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
611 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
612 value.
613 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
614 as optional.
615 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
616 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
617 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
618 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
619 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
620 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
621 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
622 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
623 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
624 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
625 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
626 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
627 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
628 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
629 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
630 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
631 entry.
632 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
633 optional.
634 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
635 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
636 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
637 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
638 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
639 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
640 Likewise.
641 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
642 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
643 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
644 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
645 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
646 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
648 as optional.
649 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
651 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
652 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
653 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
654 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
655 specify as optional.
656 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
657 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
658 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
659 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
660 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
661 [XPG3] (NL_LANGMAX): Likewise.
662 [POSIX || XPG3] (NL_MSGMAX): Likewise.
663 [POSIX || XPG3] (NL_NMAX): Likewise.
664 [POSIX || XPG3] (NL_SETMAX): Likewise.
665 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
666 [XPG3] (NZERO): Likewise.
667 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
668 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
669 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
670 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
671 (REG_ERANGE): Expect.
672 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
673 optional-constant.
674 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
675 Use (void) in prototype.
676 [POSIX] (*_t): Allow.
677 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
678 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
679 (WRDE_BADVAL): Expect.
680
5ba924e3
JM
681 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
682 expect.
683 [XPG3 || XPG4] (O_RSYNC): Likewise.
684 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
685 Likewise.
686 [XPG3 || XPG4] (pthread_sigmask): Likewise.
687 [XPG3 || XPG4] (sigqueue): Likewise.
688 [XPG3 || XPG4] (sigtimedwait): Likewise.
689 [XPG3 || XPG4] (sigwaitinfo): Likewise.
690 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
691 [XPG3 || XPG4] (vsnprintf): Likewise.
692 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
693 Likewise.
694 [XPG3 || XPG4] (blksize_t): Likewise.
695 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
696 Likewise.
697 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
698 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
699 [XPG3 || XPG4] (struct itimerspec): Likewise.
700 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
701 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
702 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
703 [XPG3 || XPG4] (clockid_t): Likewise.
704 [XPG3 || XPG4] (timer_t): Likewise.
705 [XPG3 || XPG4] (clock_getres): Likewise.
706 [XPG3 || XPG4] (clock_gettime): Likewise.
707 [XPG3 || XPG4] (clock_settime): Likewise.
708 [XPG3 || XPG4] (nanosleep): Likewise.
709 [XPG3 || XPG4] (timer_create): Likewise.
710 [XPG3 || XPG4] (timer_delete): Likewise.
711 [XPG3 || XPG4] (timer_gettime): Likewise.
712 [XPG3 || XPG4] (timer_getoverrun): Likewise.
713 [XPG3 || XPG4] (timer_settime): Likewise.
714 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
715 [XPG3 || XPG4] (getlogin_r): Likewise.
716 [XPG3 || XPG4] (pread): Likewise.
717 [XPG3 || XPG4] (pthread_atfork): Likewise.
718 [XPG3 || XPG4] (pwrite): Likewise.
719
ee663277
JM
720 [BZ #14835]
721 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
722 <bits/siginfo.h>.
723
942caa16
PT
7242012-11-19 Pino Toscano <toscano.pino@tiscali.it>
725
e19af380
PT
726 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
727 finalizing MALLSTREAM.
728
942caa16
PT
729 * sysdeps/mach/hurd/syncfs.c: New file.
730
cfde9b46
SP
7312012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
732
733 [BZ #14719]
734 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
735 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
736 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
737 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
738 (_nss_dns_gethostbyname4_r): Likewise.
739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
740 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
741
f6da27e5
PH
7422012-11-19 Peng Haitao <penght@cn.fujitsu.com>
743
744 [BZ #13763]
745 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
746
6665d4a2
SM
7472012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
748
1f51ee92
SM
749 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
750 * elf/cache.c (print_entry): Print ",AArch64" for
751 FLAG_AARCH64_LIB64
752
6665d4a2
SM
753 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
754 * elf/cache.c (print_entry): Print ",hard-float" for
755 FLAG_ARM_LIBHF.
756
05b227bd
DM
7572012-11-18 David S. Miller <davem@davemloft.net>
758
759 With help from Joseph Myers.
760 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
761 cutoff to 2**-13.
762 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
763 cutoff to 2**-25.
764 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
765 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
766 small.
767 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
768 * math/libm-test.inc (y0_test): New tests.
769 (y1_test): New tests.
770 * sysdeps/i386/fpu/libm-test-ulps: Update.
771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
773
786b0b67
AS
7742012-11-18 Andreas Schwab <schwab@linux-m68k.org>
775
776 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
777 64-bit targets.
778 * configure: Regenerated.
779
8e18b86d
DM
7802012-11-17 David S. Miller <davem@davemloft.net>
781
782 [BZ #14811]
783 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
784 nonzero exponents with absolute value below 0x1p-128 to +/-
785 0x1p-128.
786
531f1ae0
JM
7872012-11-17 Joseph Myers <joseph@codesourcery.com>
788
12df29e2
JM
789 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
790
150dc1a0
JM
791 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
792
531f1ae0
JM
793 * posix/getconf-speclist.c: New file.
794 * posix/posix-envs.def: Likewise.
795 * posix/confstr.c (START_ENV_GROUP): New macro.
796 (END_ENV_GROUP): Likewise.
797 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
798 (KNOWN_PRESENT_ENV_STRING): Likewise.
799 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
800 (UNKNOWN_ENVIRONMENT): Likewise.
801 (confstr): Include posix-envs.def instead of handling
802 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
803 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
804 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
805 (END_ENV_GROUP): Likewise.
806 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
807 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
808 (UNKNOWN_ENVIRONMENT): Likewise.
809 (__sysconf): Include posix-envs.def instead of handling associated
810 cases directly here.
811 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
812 preprocessing getconf-speclist.c rather than running getconf or
813 generating empty file.
814
a93f9cbc
PT
8152012-11-16 Pino Toscano <toscano.pino@tiscali.it>
816
817 * scripts/check-local-headers.sh: Ignore 'mach' headers.
818
d64d9f87
AL
8192012-11-16 Andrej Lajovic <natrij@gmail.com>
820
821 [BZ #14672]
822 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
823
447885eb
DM
8242012-11-16 David S. Miller <davem@davemloft.net>
825
826 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
827 smaller than LDBL_EPSILON/2.0L, just return xm1.
828
bcbf9830
L
8292012-11-16 H.J. Lu <hongjiu.lu@intel.com>
830
831 * elf/tst-array1.c (init): Set constructor priority to 1000.
832 (fini): Set destructor priority to 1000.
833 * elf/tst-array2dep.c: Likewise.
834
2b766585
SP
8352012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
836
837 [BZ #11741]
838 * libio/fileops.c (_IO_new_file_write): Correctly return error.
839 (_IO_new_file_xsputn): Also return EOF if none of the input
840 data was written when overflow failed.
841 * libio/iopadn.c (_IO_padn): Likewise.
842 * libio/iowpadn.c (_IO_wpadn): Likewise.
843 * stdio-common/tst-put-error.c: Add copyright notice.
844 (do_test): Add case for printing padded string.
845 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
846 _IO_padn returned error.
847 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
848 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
849 return EOF.
850
b1848fde
SP
8512012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
852
853 * libio/libioP.h: Add comment note that the references to C++
854 bits are now obsolete.
855
2fd89785
MS
8562012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
857
858 * math/libm-test.inc (check_complex): Use asprintf.
859
e3ea5409
JM
8602012-11-14 Joseph Myers <joseph@codesourcery.com>
861
862 * debug/pcprofiledump.c (print_version): Update copyright year.
863 * malloc/memusagestat.c (print_version): Likewise.
864
2e64d265
L
8652012-11-14 H.J. Lu <hongjiu.lu@intel.com>
866
867 [BZ #14831]
868 * elf/Makefile (tests): Add tst-audit8.
869 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
870 ($(objpfx)tst-audit8.out): New target.
871 (tst-audit8-ENV): New variable.
872 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
873 audit if l_reloc_result is NULL.
874 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
875 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
876 * elf/tst-audit8.c: New file.
877
c485e4d2
MS
8782012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
879
880 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
881 * misc/Makefile (CFLAGS-select.c): Define.
882 * posix/Makefile (CFLAGS-pause.c): Define.
883
3a0d900a
DM
8842012-11-13 David S. Miller <davem@davemloft.net>
885
886 * crypt/Makefile: Move test targets after toplevel Rules
887 inclusion. Grab any necessary sysdep routines when linking.
888 * crypt/md5.c (md5_process_block): Remove define, we will always
889 name it __md5_process_block.
890 (md5_finish_ctx): Update md5_process_block call.
891 (md5_stream): Likewise.
892 (md5_process_bytes): Likewise.
893 (md5_process_block): Rename to __md5_process_block and move to ...
894 * crypt/md5-block.c: ... here.
895 * crypt/sha256.c (sha256_process_block): Move to ...
896 * crypt/sha256-block.c: ... here.
897 * crypt/sha512.c (sha512_process_block): Move to ...
898 * crypt/sha512-block.c: ... here.
899 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
900 path.
901 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
902 * sysdeps/sparc/sparc64/multiarch/Makefile
903 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
904 crypt subdir.
905 (localedef-aux): Add md5 crypto assembler when in locale subdir.
906 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
907 multiarch changes.
908 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
909 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
910 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
911 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
912 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
913 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
914 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
915 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
917 file.
918 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
920 file.
921 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
922
8ca89318
JM
9232012-11-13 Joseph Myers <joseph@codesourcery.com>
924
e27d476a
JM
925 * timezone/tzselect.ksh: Update from tzcode git revision
926 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
927 * timezone/zdump.c: Likewise.
928 * timezone/zic.c: Likewise.
929 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
930 in TZVERSION setting, not $(PKGVERSION).
931 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
932 REPORT_BUGS_TO settings.
933
8ca89318
JM
934 [BZ #14838]
935 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
936 macro.
937
47594329
MS
9382012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
939
940 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
941 detection to immediately after _FP_ROUND().
942 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
943 bits are 0.
944
640ac3f1
DM
9452012-11-11 David S. Miller <davem@davemloft.net>
946
947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
948 inttypes.h
949 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
950 __close rather than their public counterparts.
951
3d2577bb
JM
9522012-11-10 Joseph Myers <joseph@codesourcery.com>
953
954 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
955 file.
956 [UNIX98] (sem_timedwait): Do not expect.
957 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
958 [XPG4 || UNIX98] (sockatmark): Do not expect.
959 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
960 (clock_getcpuclockid): Do not expect.
961 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
962 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
963 Do not expect.
964 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
965 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
966 [UNIX98] (vwscanf): Likewise.
967 [UNIX98] (vswscanf): Likewise.
968
fb1ae1ee
JM
9692012-11-09 Joseph Myers <joseph@codesourcery.com>
970
9ec6f8bd
JM
971 * timezone/version.h: Remove file.
972 * timezone/README: Do not refer to version.h.
973 * timezone/Makefile ($(objpfx)zic.o): New dependency on
974 $(objpfx)version.h.
975 ($(objpfx)zdump.o): Likewise.
c3f81911 976 ($(objpfx)version.h): New target.
9ec6f8bd 977
0aa8f8a1
JM
978 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
979 2012i.
980 * timezone/README: Don't mention modification to tzselect.ksh.
981 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
982 work on unmodified tzselect.ksh. Substitute version numbers in
983 tzselect.ksh.
984
4e87147f
JM
985 * Makefile (format-me): Remove.
986 (INSTALL): Adjust indentation. Use commands directly instead of
987 using $(format-me).
988
8b748aed
JM
989 * aclocal.m4 (ACX_PKGVERSION): New macro.
990 (ACX_BUGURL): Likewise.
991 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
992 (PKGVERSION): New AC_DEFINE_UNQUOTED.
993 (REPORT_BUGS_TO): Likewise.
994 * configure: Regenerated.
995 * config.h.in (PKGVERSION): New macro.
996 (REPORT_BUGS_TO): Likewise.
997 * config.make.in (PKGVERSION): New variable.
998 (PKGVERSION_TEXI): Likewise.
999 (REPORT_BUGS_TO): Likewise.
1000 (REPORT_BUGS_TEXI): Likewise.
1001 * Makefile (format-me): Use -I$(common-objpfx)manual.
1002 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1003 ($(common-objpfx)manual/%): New target.
1004 (manual/%): Remove target.
1005 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1006 (print_version): Use PKGVERSION.
1007 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1008 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1009 and REPORT_BUGS_TO.
1010 ($(objpfx)xtrace): Likewise.
1011 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1012 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1013 (print_version): Use PKGVERSION.
1014 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1015 (do_version): Use PKGVERSION.
1016 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1017 REPORT_BUGS_TO.
1018 (common-ldd-rewrite): Likewise.
1019 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1020 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1021 (print_version): Use PKGVERSION.
1022 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1023 * elf/pldd.c (argp_program_bug_address): Remove variable.
1024 (more_help): New function.
1025 (argp): Use more_help.
1026 (print_version): Use PKGVERSION.
1027 * elf/sln.c (main): Use PKGVERSION.
1028 (usage): Use REPORT_BUGS_TO.
1029 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1030 (top level): Use PKGVERSION.
1031 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1032 (print_version): Use PKGVERSION.
1033 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1034 (print_version): Use PKGVERSION.
1035 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1036 (print_version): Use PKGVERSION.
1037 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1038 (print_version): Use PKGVERSION.
1039 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1040 (print_version): Use PKGVERSION.
1041 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1042 (print_version): Use PKGVERSION.
1043 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1044 and BUGURL.
1045 ($(objpfx)memusage): Likewise.
1046 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1047 (do_version): Use PKGVERSION.
1048 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1049 (print_version): Use PKGVERSION.
1050 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1051 ($PKGVERSION): New variable.
1052 ($REPORT_BUGS_TO): Likewise.
1053 (usage): Use $REPORT_BUGS_TO.
1054 (top level): Use $PKGVERSION.
1055 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1056 ($(objpfx)pkgvers.texi): New rule.
1057 ($(objpfx)stamp-pkgvers): Likewise.
1058 * manual/install.texi: Include pkgvers.texi.
1059 (--with-pkgversion): Document new configure option.
1060 (--with-bugurl): Likewise.
1061 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1062 than necessarily for this particular distribution. Use
1063 REPORT_BUGS_TO for where to report bugs.
1064 * INSTALL: Regenerated.
1065 * manual/libc.texinfo: Include pkgvers.texi.
1066 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1067 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1068 (print_version): Use PKGVERSION.
1069 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1070 (print_version): Use PKGVERSION.
1071 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1072 (print_version): Use PKGVERSION.
1073 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1074 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1075 macro.
1076 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1077 (print_version): Use PKGVERSION.
1078 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1079 (print_version): Use PKGVERSION.
1080 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1081 and PKGVERSION.
1082
92e4b6a9
JM
1083 * timezone/checktab.awk: Update from tzcode 2012i.
1084 * timezone/ialloc.c: Likewise.
1085 * timezone/private.h: Likewise.
1086 * timezone/scheck.c: Likewise.
1087 * timezone/tzfile.h: Likewise.
1088 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1089 (TZVERSION): Hardcode tzcode version number.
1090 * timezone/zdump.c: Update from tzcode 2012i.
1091 * timezone/zic.c: Likewise.
1092 * timezone/version.h: New file.
1093 * timezone/README: Describe version.h. Update upstream location.
1094
9bde902c
JM
1095 [BZ #14824]
1096 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1097 (mktemp): Enable declaration.
1098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1102 Likewise.
1103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1104 Likewise.
1105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1106 Likewise.
1107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1108 Likewise.
1109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1110 Likewise.
1111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1112 Likewise.
1113
fb1ae1ee
JM
1114 [BZ #14821]
1115 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1116 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1117 for copies of such integer values.
1118 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1119 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1120
2c1adbcb
AJ
11212012-11-09 Andreas Jaeger <aj@suse.de>
1122
1123 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1124 definitions and declarations that are provided by
1125 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1126
d0f8457e
AK
11272012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1128
1129 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1130 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1131 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1132 definition.
1133
57241e26
MS
11342012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1135
1136 * elf/elf.h: Update comment before AArch64 relocations.
1137
60e8270d
DM
11382012-11-07 David S. Miller <davem@davemloft.net>
1139
1140 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1141 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1142 (__start_context): Declare.
1143 (__makecontext_ret): Delete.
1144 (__makecontext): Hook up __start_context instead of
1145 __makecontext_ret.
1146 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1147 (sysdep_routines): Add __start_context when in stdlib.
1148
0fbb0fbc
JM
11492012-11-07 Joseph Myers <joseph@codesourcery.com>
1150
1151 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1152 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1153 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1154 hardcoded "nm".
1155 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1156 (READELF): New variable. Use it instead of hardcoded "readelf".
1157
eb48db7e
L
11582012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1159
1160 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1161 * sysdeps/x86/Makefile: Here.
1162 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1163 * sysdeps/x86/tst-xmmymm.sh: This.
1164
05bcf62a
JM
11652012-11-07 Joseph Myers <joseph@codesourcery.com>
1166
c4b6cf53
JM
1167 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1168 expectations.
1169 [UNIX98] (pthread_barrier_t): Do not expect.
1170 [UNIX98] (pthread_barrierattr_t): Likewise.
1171 [UNIX98] (pthread_spinlock_t): Likewise.
1172 [UNIX98] (pthread_barrier_destroy): Likewise.
1173 [UNIX98] (pthread_barrier_init): Likewise.
1174 [UNIX98] (pthread_barrier_wait): Likewise.
1175 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1176 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1177 [UNIX98] (pthread_barrierattr_init): Likewise.
1178 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1179 [UNIX98] (pthread_getcpuclockid): Likewise.
1180 [UNIX98] (pthread_mutex_timedlock): Likewise.
1181 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1182 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1183 [UNIX98] (pthread_sigmask): Likewise.
1184 [UNIX98] (pthread_spin_destroy): Likewise.
1185 [UNIX98] (pthread_spin_init): Likewise.
1186 [UNIX98] (pthread_spin_lock): Likewise.
1187 [UNIX98] (pthread_spin_trylock): Likewise.
1188 [UNIX98] (pthread_spin_unlock): Likewise.
1189 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1190 Do not expect.
1191 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1193 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1194 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1195 [XPG3 || XPG4] (pthread_key_t): Likewise.
1196 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1197 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1198 [XPG3 || XPG4] (pthread_once_t): Likewise.
1199 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1200 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1202 [XPG3 || XPG4] (pthread_t): Likewise.
1203
cbe6e120
JM
1204 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1205 not expect.
1206 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1207
1b126443
JM
1208 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1209 Change function return type to int.
1210
b961a573
JM
1211 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1212 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1213 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1214 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1215 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1216 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1217 [!POSIX] (posix_madvise): Likewise.
1218 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1219 && !UNIX98].
1220 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1221 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1222 (mode_t): Likewise.
1223 (posix_mem_offset): Likewise.
1224 (posix_typed_mem_get_info): Likewise.
1225 (posix_typed_mem_open): Likewise.
1226
9e188909
JM
1227 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1228 Change condition to [XOPEN2K8].
1229
05bcf62a
JM
1230 * conform/conformtest.pl: Preprocess allow-header data with -x c
1231 instead of from stdin.
1232 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1233 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1234 [C99-based standards] (cerfc): Likewise.
1235 [C99-based standards] (cexp2): Likewise.
1236 [C99-based standards] (cexpm1): Likewise.
1237 [C99-based standards] (clog10): Likewise.
1238 [C99-based standards] (clog1p): Likewise.
1239 [C99-based standards] (clog2): Likewise.
1240 [C99-based standards] (clgamma): Likewise.
1241 [C99-based standards] (ctgamma): Likewise.
1242 [C99-based standards] (cerff): Likewise.
1243 [C99-based standards] (cerfcf): Likewise.
1244 [C99-based standards] (cexp2f): Likewise.
1245 [C99-based standards] (cexpm1f): Likewise.
1246 [C99-based standards] (clog10f): Likewise.
1247 [C99-based standards] (clog1pf): Likewise.
1248 [C99-based standards] (clog2f): Likewise.
1249 [C99-based standards] (clgammaf): Likewise.
1250 [C99-based standards] (ctgammaf): Likewise.
1251 [C99-based standards] (cerfl): Likewise.
1252 [C99-based standards] (cerfcl): Likewise.
1253 [C99-based standards] (cexp2l): Likewise.
1254 [C99-based standards] (cexpm1l): Likewise.
1255 [C99-based standards] (clog10l): Likewise.
1256 [C99-based standards] (clog1pl): Likewise.
1257 [C99-based standards] (clog2l): Likewise.
1258 [C99-based standards] (clgammal): Likewise.
1259 [C99-based standards] (ctgammal): Likewise.
1260 * conform/data/inttypes.h-data [C99-based standards]: Include
1261 stdint.h-data. Remove all expectations for stdint.h contents.
1262 [C99-based standards] (PRI*): Do not allow.
1263 [C99-based standards] (SCN*): Likewise.
1264 [C99-based standards] (*_t): Likewise.
1265 [C99-based-standards] (PRId8): Expect macro.
1266 [C99-based-standards] (PRIi8): Likewise.
1267 [C99-based-standards] (PRIo8): Likewise.
1268 [C99-based-standards] (PRIu8): Likewise.
1269 [C99-based-standards] (PRIx8): Likewise.
1270 [C99-based-standards] (PRIX8): Likewise.
1271 [C99-based-standards] (SCNd8): Likewise.
1272 [C99-based-standards] (SCNi8): Likewise.
1273 [C99-based-standards] (SCNo8): Likewise.
1274 [C99-based-standards] (SCNu8): Likewise.
1275 [C99-based-standards] (SCNx8): Likewise.
1276 [C99-based-standards] (PRIdLEAST8): Likewise.
1277 [C99-based-standards] (PRIiLEAST8): Likewise.
1278 [C99-based-standards] (PRIoLEAST8): Likewise.
1279 [C99-based-standards] (PRIuLEAST8): Likewise.
1280 [C99-based-standards] (PRIxLEAST8): Likewise.
1281 [C99-based-standards] (PRIXLEAST8): Likewise.
1282 [C99-based-standards] (SCNdLEAST8): Likewise.
1283 [C99-based-standards] (SCNiLEAST8): Likewise.
1284 [C99-based-standards] (SCNoLEAST8): Likewise.
1285 [C99-based-standards] (SCNuLEAST8): Likewise.
1286 [C99-based-standards] (SCNxLEAST8): Likewise.
1287 [C99-based-standards] (PRIdFAST8): Likewise.
1288 [C99-based-standards] (PRIiFAST8): Likewise.
1289 [C99-based-standards] (PRIoFAST8): Likewise.
1290 [C99-based-standards] (PRIuFAST8): Likewise.
1291 [C99-based-standards] (PRIxFAST8): Likewise.
1292 [C99-based-standards] (PRIXFAST8): Likewise.
1293 [C99-based-standards] (SCNdFAST8): Likewise.
1294 [C99-based-standards] (SCNiFAST8): Likewise.
1295 [C99-based-standards] (SCNoFAST8): Likewise.
1296 [C99-based-standards] (SCNuFAST8): Likewise.
1297 [C99-based-standards] (SCNxFAST8): Likewise.
1298 [C99-based-standards] (PRId16): Likewise.
1299 [C99-based-standards] (PRIi16): Likewise.
1300 [C99-based-standards] (PRIo16): Likewise.
1301 [C99-based-standards] (PRIu16): Likewise.
1302 [C99-based-standards] (PRIx16): Likewise.
1303 [C99-based-standards] (PRIX16): Likewise.
1304 [C99-based-standards] (SCNd16): Likewise.
1305 [C99-based-standards] (SCNi16): Likewise.
1306 [C99-based-standards] (SCNo16): Likewise.
1307 [C99-based-standards] (SCNu16): Likewise.
1308 [C99-based-standards] (SCNx16): Likewise.
1309 [C99-based-standards] (PRIdLEAST16): Likewise.
1310 [C99-based-standards] (PRIiLEAST16): Likewise.
1311 [C99-based-standards] (PRIoLEAST16): Likewise.
1312 [C99-based-standards] (PRIuLEAST16): Likewise.
1313 [C99-based-standards] (PRIxLEAST16): Likewise.
1314 [C99-based-standards] (PRIXLEAST16): Likewise.
1315 [C99-based-standards] (SCNdLEAST16): Likewise.
1316 [C99-based-standards] (SCNiLEAST16): Likewise.
1317 [C99-based-standards] (SCNoLEAST16): Likewise.
1318 [C99-based-standards] (SCNuLEAST16): Likewise.
1319 [C99-based-standards] (SCNxLEAST16): Likewise.
1320 [C99-based-standards] (PRIdFAST16): Likewise.
1321 [C99-based-standards] (PRIiFAST16): Likewise.
1322 [C99-based-standards] (PRIoFAST16): Likewise.
1323 [C99-based-standards] (PRIuFAST16): Likewise.
1324 [C99-based-standards] (PRIxFAST16): Likewise.
1325 [C99-based-standards] (PRIXFAST16): Likewise.
1326 [C99-based-standards] (SCNdFAST16): Likewise.
1327 [C99-based-standards] (SCNiFAST16): Likewise.
1328 [C99-based-standards] (SCNoFAST16): Likewise.
1329 [C99-based-standards] (SCNuFAST16): Likewise.
1330 [C99-based-standards] (SCNxFAST16): Likewise.
1331 [C99-based-standards] (PRId32): Likewise.
1332 [C99-based-standards] (PRIi32): Likewise.
1333 [C99-based-standards] (PRIo32): Likewise.
1334 [C99-based-standards] (PRIu32): Likewise.
1335 [C99-based-standards] (PRIx32): Likewise.
1336 [C99-based-standards] (PRIX32): Likewise.
1337 [C99-based-standards] (SCNd32): Likewise.
1338 [C99-based-standards] (SCNi32): Likewise.
1339 [C99-based-standards] (SCNo32): Likewise.
1340 [C99-based-standards] (SCNu32): Likewise.
1341 [C99-based-standards] (SCNx32): Likewise.
1342 [C99-based-standards] (PRIdLEAST32): Likewise.
1343 [C99-based-standards] (PRIiLEAST32): Likewise.
1344 [C99-based-standards] (PRIoLEAST32): Likewise.
1345 [C99-based-standards] (PRIuLEAST32): Likewise.
1346 [C99-based-standards] (PRIxLEAST32): Likewise.
1347 [C99-based-standards] (PRIXLEAST32): Likewise.
1348 [C99-based-standards] (SCNdLEAST32): Likewise.
1349 [C99-based-standards] (SCNiLEAST32): Likewise.
1350 [C99-based-standards] (SCNoLEAST32): Likewise.
1351 [C99-based-standards] (SCNuLEAST32): Likewise.
1352 [C99-based-standards] (SCNxLEAST32): Likewise.
1353 [C99-based-standards] (PRIdFAST32): Likewise.
1354 [C99-based-standards] (PRIiFAST32): Likewise.
1355 [C99-based-standards] (PRIoFAST32): Likewise.
1356 [C99-based-standards] (PRIuFAST32): Likewise.
1357 [C99-based-standards] (PRIxFAST32): Likewise.
1358 [C99-based-standards] (PRIXFAST32): Likewise.
1359 [C99-based-standards] (SCNdFAST32): Likewise.
1360 [C99-based-standards] (SCNiFAST32): Likewise.
1361 [C99-based-standards] (SCNoFAST32): Likewise.
1362 [C99-based-standards] (SCNuFAST32): Likewise.
1363 [C99-based-standards] (SCNxFAST32): Likewise.
1364 [C99-based-standards] (PRId64): Likewise.
1365 [C99-based-standards] (PRIi64): Likewise.
1366 [C99-based-standards] (PRIo64): Likewise.
1367 [C99-based-standards] (PRIu64): Likewise.
1368 [C99-based-standards] (PRIx64): Likewise.
1369 [C99-based-standards] (PRIX64): Likewise.
1370 [C99-based-standards] (SCNd64): Likewise.
1371 [C99-based-standards] (SCNi64): Likewise.
1372 [C99-based-standards] (SCNo64): Likewise.
1373 [C99-based-standards] (SCNu64): Likewise.
1374 [C99-based-standards] (SCNx64): Likewise.
1375 [C99-based-standards] (PRIdLEAST64): Likewise.
1376 [C99-based-standards] (PRIiLEAST64): Likewise.
1377 [C99-based-standards] (PRIoLEAST64): Likewise.
1378 [C99-based-standards] (PRIuLEAST64): Likewise.
1379 [C99-based-standards] (PRIxLEAST64): Likewise.
1380 [C99-based-standards] (PRIXLEAST64): Likewise.
1381 [C99-based-standards] (SCNdLEAST64): Likewise.
1382 [C99-based-standards] (SCNiLEAST64): Likewise.
1383 [C99-based-standards] (SCNoLEAST64): Likewise.
1384 [C99-based-standards] (SCNuLEAST64): Likewise.
1385 [C99-based-standards] (SCNxLEAST64): Likewise.
1386 [C99-based-standards] (PRIdFAST64): Likewise.
1387 [C99-based-standards] (PRIiFAST64): Likewise.
1388 [C99-based-standards] (PRIoFAST64): Likewise.
1389 [C99-based-standards] (PRIuFAST64): Likewise.
1390 [C99-based-standards] (PRIxFAST64): Likewise.
1391 [C99-based-standards] (PRIXFAST64): Likewise.
1392 [C99-based-standards] (SCNdFAST64): Likewise.
1393 [C99-based-standards] (SCNiFAST64): Likewise.
1394 [C99-based-standards] (SCNoFAST64): Likewise.
1395 [C99-based-standards] (SCNuFAST64): Likewise.
1396 [C99-based-standards] (SCNxFAST64): Likewise.
1397 [C99-based-standards] (PRIdMAX): Likewise.
1398 [C99-based-standards] (PRIiMAX): Likewise.
1399 [C99-based-standards] (PRIoMAX): Likewise.
1400 [C99-based-standards] (PRIuMAX): Likewise.
1401 [C99-based-standards] (PRIxMAX): Likewise.
1402 [C99-based-standards] (PRIXMAX): Likewise.
1403 [C99-based-standards] (SCNdMAX): Likewise.
1404 [C99-based-standards] (SCNiMAX): Likewise.
1405 [C99-based-standards] (SCNoMAX): Likewise.
1406 [C99-based-standards] (SCNuMAX): Likewise.
1407 [C99-based-standards] (SCNxMAX): Likewise.
1408 [C99-based-standards] (PRIdPTR): Likewise.
1409 [C99-based-standards] (PRIiPTR): Likewise.
1410 [C99-based-standards] (PRIoPTR): Likewise.
1411 [C99-based-standards] (PRIuPTR): Likewise.
1412 [C99-based-standards] (PRIxPTR): Likewise.
1413 [C99-based-standards] (PRIXPTR): Likewise.
1414 [C99-based-standards] (SCNdPTR): Likewise.
1415 [C99-based-standards] (SCNiPTR): Likewise.
1416 [C99-based-standards] (SCNoPTR): Likewise.
1417 [C99-based-standards] (SCNuPTR): Likewise.
1418 [C99-based-standards] (SCNxPTR): Likewise.
1419 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1420 allow.
1421 * conform/data/stdint.h-data: Update comments to clarify
1422 requirements.
1423 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1424 type.
1425 [C99-based standards] (INT8_MAX): Likewise.
1426 [C99-based standards] (INT16_MIN): Likewise.
1427 [C99-based standards] (INT16_MAX): Likewise.
1428 [C99-based standards] (INT32_MIN): Likewise.
1429 [C99-based standards] (INT32_MAX): Likewise.
1430 [C99-based standards] (INT64_MIN): Likewise.
1431 [C99-based standards] (INT64_MAX): Likewise.
1432 [C99-based standards] (UINT8_MAX): Likewise.
1433 [C99-based standards] (UINT16_MAX): Likewise.
1434 [C99-based standards] (UINT32_MAX): Likewise.
1435 [C99-based standards] (UINT64_MAX): Likewise.
1436 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1437 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1438 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1439 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1440 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1441 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1442 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1443 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1444 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1445 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1446 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1447 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1448 [C99-based standards] (INT_FAST8_MIN): Likewise.
1449 [C99-based standards] (INT_FAST8_MAX): Likewise.
1450 [C99-based standards] (INT_FAST16_MIN): Likewise.
1451 [C99-based standards] (INT_FAST16_MAX): Likewise.
1452 [C99-based standards] (INT_FAST32_MIN): Likewise.
1453 [C99-based standards] (INT_FAST32_MAX): Likewise.
1454 [C99-based standards] (INT_FAST64_MIN): Likewise.
1455 [C99-based standards] (INT_FAST64_MAX): Likewise.
1456 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1457 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1458 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1459 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1460 [C99-based standards] (INTPTR_MIN): Likewise.
1461 [C99-based standards] (INTPTR_MAX): Likewise.
1462 [C99-based standards] (UINTPTR_MAX): Likewise.
1463 [C99-based standards] (INTMAX_MIN): Likewise.
1464 [C99-based standards] (INTMAX_MAX): Likewise.
1465 [C99-based standards] (UINTMAX_MAX): Likewise.
1466 [C99-based standards] (PTRDIFF_MIN): Likewise.
1467 [C99-based standards] (PTRDIFF_MAX): Likewise.
1468 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1469 [C99-based standards] (SIZE_MAX): Likewise.
1470 [C99-based standards] (WCHAR_MAX): Likewise.
1471 [C99-based standards] (WINT_MAX): Likewise.
1472 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1473 constraint on value.
1474 [C99-based standards] (WCHAR_MIN): Likewise.
1475 [C99-based standards] (WINT_MIN): Likewise.
1476 [C99-based standards] (*_t): Allow.
1477 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1478 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1479 Include math.h-data and complex.h-data. Remove all expectations
1480 of math.h and complex.h contents.
1481 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1482 at end of line.
1483 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1484 (struct tm): Expect tag.
1485 [C99-based-standards] (wcstof): Expect function.
1486 [C99-based-standards] (wcstold): Likewise.
1487 [C99-based-standards] (wcstoll): Likewise.
1488 [C99-based-standards] (wcstoull): Likewise.
1489 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1490 macro-int-constant. Specify type.
1491 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1492 constraint on value.
1493 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1494 Specify type.
1495 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1496 Specify value.
1497 [ISO C standards]: Do not allow headers.
1498 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1499 wcs[abcdefghijklmnopqrstuvwxyz]*.
1500 [ISO C standards] (*_t): Do not allow.
1501 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1502 Expect function.
1503 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1504 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1505 Specify type.
1506 [ISO C standards]: Do not allow headers.
1507 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1508 is[abcdefghijklmnopqrstuvwxyz]*.
1509 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1510 to[abcdefghijklmnopqrstuvwxyz]*.
1511 [ISO C standards] (*_t): Do not allow.
1512 * conform/data/stdalign.h-data: New file.
1513 * conform/data/stdbool.h-data: Likewise.
1514 * conform/data/stdnoreturn.h-data: Likewise.
1515
7514feb8
RM
15162012-11-07 Roland McGrath <roland@hack.frob.com>
1517
1518 [BZ #14815]
1519 * manual/filesys.texi (Directory Entries): Typo fix.
1520 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1521
19b2ecfc
MS
15222012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1523
1524 * elf/elf.h (EM_AARCH64): New macro.
1525 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1526 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1527 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1528 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1529 (R_AARCH64_TLSDESC): Likewise.
1530 (NT_ARM_TLS): Likewise.
1531 (NT_ARM_HW_BREAK): Likewise.
1532 (NT_ARM_HW_WATCH): Likewise.
1533
60e235ee
JM
15342012-11-07 Joseph Myers <joseph@codesourcery.com>
1535
1536 [BZ #14811]
1537 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1538 (__ieee754_powl): Saturate nonzero exponents with absolute value
1539 below 0x1p-79 to +/- 0x1p-79.
1540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1541 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1542 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1543 nonzero exponents with absolute value below 0x1p-32 to +/-
1544 0x1p-32.
1545 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1546 (__ieee754_powl): Saturate nonzero exponents with absolute value
1547 below 0x1p-79 to +/- 0x1p-79.
1548 * math/libm-test.inc (pow_test): Add more tests.
1549
0ab234b7
AK
15502012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1551
1552 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1553 _dl_s390_cap_flags with kernel. Increase string length.
1554 (_dl_s390_platforms): Add z196 and zEC12.
1555
45832f74
JM
15562012-11-07 Joseph Myers <joseph@codesourcery.com>
1557
1558 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1559 Change XOPEN21K to XOPEN2K.
1560
19218757
MK
15612012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1562
1563 * string/memmove.c: Use memcpy when possible.
1564
c5f45721
AJ
15652012-11-06 Andreas Jaeger <aj@suse.de>
1566
1567 * po/eo.po: Update from translation team.
1568
82477c28
JM
15692012-11-06 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #14793]
1572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1573 exponent and small x and y exponents, scale x or y up. Increase
1574 by 2 the exponent used in scaling up.
1575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1576 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1577 * math/libm-test.inc (fma_test): Add more tests.
1578 (fma_test_towardzero): Likewise.
1579 (fma_test_downward): Likewise.
1580 (fma_test_upward): Likewise.
1581
99252c8c
JM
15822012-11-05 Joseph Myers <joseph@codesourcery.com>
1583
acfa885f
JM
1584 [BZ #14805]
1585 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1586 fenv_t *.
1587
99252c8c
JM
1588 [BZ #14801]
1589 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1590 namespace for names of struct fields.
1591 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1592 fenv_t fields.
1593 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1594 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1595
d6d98dea
ST
15962012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1597
1598 [BZ #3665]
1599 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1600
e10bb107
TS
16012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1602
1603 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1604 PTR_DEMANGLE.
1605
1606 [BZ #5246]
1607 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1608 PTR_DEMANGLE.
1609
a0c2940d
JM
16102012-11-04 Joseph Myers <joseph@codesourcery.com>
1611
1612 [BZ #14797]
1613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1614 definitely overflow as x * y not x * y + z.
1615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1616 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1617 * math/libm-test.inc (fma_test): Add more tests.
1618 (fma_test_towardzero): Likewise.
1619 (fma_test_downward): Likewise.
1620 (fma_test_upward): Likewise.
1621
b830319d
TS
16222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1623
1624 [BZ #157]
1625
1626 * include/stub-tag.h: Remove file.
1627 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1628 '#include' of it.
1629 * manual/maint.texi (Porting): Don't reference it.
1630 * Makerules ($(objpfx)stubs): Likewise.
1631 * dirent/closedir.c: Don't include <stub-tag.h>.
1632 * dirent/dirfd.c: Likewise.
1633 * dirent/fdopendir.c: Likewise.
1634 * dirent/getdents.c: Likewise.
1635 * dirent/getdents64.c: Likewise.
1636 * dirent/opendir.c: Likewise.
1637 * dirent/readdir.c: Likewise.
1638 * dirent/readdir64.c: Likewise.
1639 * dirent/readdir64_r.c: Likewise.
1640 * dirent/readdir_r.c: Likewise.
1641 * dirent/rewinddir.c: Likewise.
1642 * dirent/seekdir.c: Likewise.
1643 * dirent/telldir.c: Likewise.
1644 * gmon/profil.c: Likewise.
1645 * grp/setgroups.c: Likewise.
1646 * inet/if_index.c: Likewise.
1647 * io/access.c: Likewise.
1648 * io/chdir.c: Likewise.
1649 * io/chmod.c: Likewise.
1650 * io/chown.c: Likewise.
1651 * io/close.c: Likewise.
1652 * io/dup.c: Likewise.
1653 * io/dup2.c: Likewise.
1654 * io/dup3.c: Likewise.
1655 * io/euidaccess.c: Likewise.
1656 * io/faccessat.c: Likewise.
1657 * io/fchdir.c: Likewise.
1658 * io/fchmod.c: Likewise.
1659 * io/fchmodat.c: Likewise.
1660 * io/fchown.c: Likewise.
1661 * io/fchownat.c: Likewise.
1662 * io/fcntl.c: Likewise.
1663 * io/flock.c: Likewise.
1664 * io/fstatfs.c: Likewise.
1665 * io/fstatfs64.c: Likewise.
1666 * io/fstatvfs.c: Likewise.
1667 * io/fstatvfs64.c: Likewise.
1668 * io/futimens.c: Likewise.
1669 * io/fxstat.c: Likewise.
1670 * io/fxstat64.c: Likewise.
1671 * io/fxstatat.c: Likewise.
1672 * io/fxstatat64.c: Likewise.
1673 * io/getcwd.c: Likewise.
1674 * io/isatty.c: Likewise.
1675 * io/lchmod.c: Likewise.
1676 * io/lchown.c: Likewise.
1677 * io/link.c: Likewise.
1678 * io/linkat.c: Likewise.
1679 * io/lseek.c: Likewise.
1680 * io/lseek64.c: Likewise.
1681 * io/lxstat64.c: Likewise.
1682 * io/mkdir.c: Likewise.
1683 * io/mkdirat.c: Likewise.
1684 * io/mkfifo.c: Likewise.
1685 * io/mkfifoat.c: Likewise.
1686 * io/open.c: Likewise.
1687 * io/open64.c: Likewise.
1688 * io/openat.c: Likewise.
1689 * io/openat64.c: Likewise.
1690 * io/pipe.c: Likewise.
1691 * io/pipe2.c: Likewise.
1692 * io/poll.c: Likewise.
1693 * io/posix_fadvise.c: Likewise.
1694 * io/posix_fadvise64.c: Likewise.
1695 * io/posix_fallocate.c: Likewise.
1696 * io/posix_fallocate64.c: Likewise.
1697 * io/read.c: Likewise.
1698 * io/readlink.c: Likewise.
1699 * io/readlinkat.c: Likewise.
1700 * io/rmdir.c: Likewise.
1701 * io/sendfile.c: Likewise.
1702 * io/sendfile64.c: Likewise.
1703 * io/statfs.c: Likewise.
1704 * io/statfs64.c: Likewise.
1705 * io/statvfs.c: Likewise.
1706 * io/statvfs64.c: Likewise.
1707 * io/symlink.c: Likewise.
1708 * io/symlinkat.c: Likewise.
1709 * io/ttyname.c: Likewise.
1710 * io/ttyname_r.c: Likewise.
1711 * io/umask.c: Likewise.
1712 * io/unlink.c: Likewise.
1713 * io/unlinkat.c: Likewise.
1714 * io/utime.c: Likewise.
1715 * io/utimensat.c: Likewise.
1716 * io/write.c: Likewise.
1717 * io/xmknod.c: Likewise.
1718 * io/xmknodat.c: Likewise.
1719 * io/xstat.c: Likewise.
1720 * io/xstat64.c: Likewise.
1721 * login/getpt.c: Likewise.
1722 * login/grantpt.c: Likewise.
1723 * login/unlockpt.c: Likewise.
1724 * math/e_acoshl.c: Likewise.
1725 * math/e_acosl.c: Likewise.
1726 * math/e_asinl.c: Likewise.
1727 * math/e_atan2l.c: Likewise.
1728 * math/e_atanhl.c: Likewise.
1729 * math/e_coshl.c: Likewise.
1730 * math/e_expl.c: Likewise.
1731 * math/e_fmodl.c: Likewise.
1732 * math/e_gammal_r.c: Likewise.
1733 * math/e_hypotl.c: Likewise.
1734 * math/e_j0l.c: Likewise.
1735 * math/e_j1l.c: Likewise.
1736 * math/e_jnl.c: Likewise.
1737 * math/e_lgammal_r.c: Likewise.
1738 * math/e_log10l.c: Likewise.
1739 * math/e_log2l.c: Likewise.
1740 * math/e_logl.c: Likewise.
1741 * math/e_powl.c: Likewise.
1742 * math/e_rem_pio2l.c: Likewise.
1743 * math/e_sinhl.c: Likewise.
1744 * math/e_sqrtl.c: Likewise.
1745 * math/fclrexcpt.c: Likewise.
1746 * math/fedisblxcpt.c: Likewise.
1747 * math/feenablxcpt.c: Likewise.
1748 * math/fegetenv.c: Likewise.
1749 * math/fegetexcept.c: Likewise.
1750 * math/fegetround.c: Likewise.
1751 * math/feholdexcpt.c: Likewise.
1752 * math/fesetenv.c: Likewise.
1753 * math/fesetround.c: Likewise.
1754 * math/feupdateenv.c: Likewise.
1755 * math/fgetexcptflg.c: Likewise.
1756 * math/fraiseexcpt.c: Likewise.
1757 * math/fsetexcptflg.c: Likewise.
1758 * math/ftestexcept.c: Likewise.
1759 * math/k_cosl.c: Likewise.
1760 * math/k_rem_pio2l.c: Likewise.
1761 * math/k_sinl.c: Likewise.
1762 * math/k_tanl.c: Likewise.
1763 * math/s_asinhl.c: Likewise.
1764 * math/s_atanl.c: Likewise.
1765 * math/s_cbrtl.c: Likewise.
1766 * math/s_erfl.c: Likewise.
1767 * math/s_expm1l.c: Likewise.
1768 * math/s_log1pl.c: Likewise.
1769 * math/s_tanhl.c: Likewise.
1770 * misc/acct.c: Likewise.
1771 * misc/brk.c: Likewise.
1772 * misc/chflags.c: Likewise.
1773 * misc/chroot.c: Likewise.
1774 * misc/fchflags.c: Likewise.
1775 * misc/fgetxattr.c: Likewise.
1776 * misc/flistxattr.c: Likewise.
1777 * misc/fremovexattr.c: Likewise.
1778 * misc/fsetxattr.c: Likewise.
1779 * misc/fsync.c: Likewise.
1780 * misc/ftruncate.c: Likewise.
1781 * misc/futimes.c: Likewise.
1782 * misc/futimesat.c: Likewise.
1783 * misc/getdomain.c: Likewise.
1784 * misc/getdtsz.c: Likewise.
1785 * misc/gethostid.c: Likewise.
1786 * misc/gethostname.c: Likewise.
1787 * misc/getloadavg.c: Likewise.
1788 * misc/getpagesize.c: Likewise.
1789 * misc/getsysstats.c: Likewise.
1790 * misc/getxattr.c: Likewise.
1791 * misc/gtty.c: Likewise.
1792 * misc/ioctl.c: Likewise.
1793 * misc/lgetxattr.c: Likewise.
1794 * misc/listxattr.c: Likewise.
1795 * misc/llistxattr.c: Likewise.
1796 * misc/lremovexattr.c: Likewise.
1797 * misc/lsetxattr.c: Likewise.
1798 * misc/lutimes.c: Likewise.
1799 * misc/madvise.c: Likewise.
1800 * misc/mincore.c: Likewise.
1801 * misc/mlock.c: Likewise.
1802 * misc/mlockall.c: Likewise.
1803 * misc/mmap.c: Likewise.
1804 * misc/mprotect.c: Likewise.
1805 * misc/msync.c: Likewise.
1806 * misc/munlock.c: Likewise.
1807 * misc/munlockall.c: Likewise.
1808 * misc/munmap.c: Likewise.
1809 * misc/preadv.c: Likewise.
1810 * misc/preadv64.c: Likewise.
1811 * misc/ptrace.c: Likewise.
1812 * misc/pwritev.c: Likewise.
1813 * misc/pwritev64.c: Likewise.
1814 * misc/readv.c: Likewise.
1815 * misc/reboot.c: Likewise.
1816 * misc/remap_file_pages.c: Likewise.
1817 * misc/removexattr.c: Likewise.
1818 * misc/revoke.c: Likewise.
1819 * misc/select.c: Likewise.
1820 * misc/setdomain.c: Likewise.
1821 * misc/setegid.c: Likewise.
1822 * misc/seteuid.c: Likewise.
1823 * misc/sethostid.c: Likewise.
1824 * misc/sethostname.c: Likewise.
1825 * misc/setregid.c: Likewise.
1826 * misc/setreuid.c: Likewise.
1827 * misc/setxattr.c: Likewise.
1828 * misc/sstk.c: Likewise.
1829 * misc/stty.c: Likewise.
1830 * misc/swapoff.c: Likewise.
1831 * misc/swapon.c: Likewise.
1832 * misc/sync.c: Likewise.
1833 * misc/syncfs.c: Likewise.
1834 * misc/syscall.c: Likewise.
1835 * misc/truncate.c: Likewise.
1836 * misc/ualarm.c: Likewise.
1837 * misc/usleep.c: Likewise.
1838 * misc/ustat.c: Likewise.
1839 * misc/utimes.c: Likewise.
1840 * misc/vhangup.c: Likewise.
1841 * misc/writev.c: Likewise.
1842 * posix/_exit.c: Likewise.
1843 * posix/alarm.c: Likewise.
1844 * posix/execve.c: Likewise.
1845 * posix/fexecve.c: Likewise.
1846 * posix/fork.c: Likewise.
1847 * posix/fpathconf.c: Likewise.
1848 * posix/getaddrinfo.c: Likewise.
1849 * posix/getegid.c: Likewise.
1850 * posix/geteuid.c: Likewise.
1851 * posix/getgid.c: Likewise.
1852 * posix/getgroups.c: Likewise.
1853 * posix/getlogin.c: Likewise.
1854 * posix/getlogin_r.c: Likewise.
1855 * posix/getpgid.c: Likewise.
1856 * posix/getpid.c: Likewise.
1857 * posix/getppid.c: Likewise.
1858 * posix/getresgid.c: Likewise.
1859 * posix/getresuid.c: Likewise.
1860 * posix/getsid.c: Likewise.
1861 * posix/getuid.c: Likewise.
1862 * posix/glob64.c: Likewise.
1863 * posix/nanosleep.c: Likewise.
1864 * posix/pathconf.c: Likewise.
1865 * posix/pause.c: Likewise.
1866 * posix/posix_madvise.c: Likewise.
1867 * posix/pread.c: Likewise.
1868 * posix/pread64.c: Likewise.
1869 * posix/pwrite.c: Likewise.
1870 * posix/pwrite64.c: Likewise.
1871 * posix/sched_getaffinity.c: Likewise.
1872 * posix/sched_getp.c: Likewise.
1873 * posix/sched_gets.c: Likewise.
1874 * posix/sched_primax.c: Likewise.
1875 * posix/sched_primin.c: Likewise.
1876 * posix/sched_rr_gi.c: Likewise.
1877 * posix/sched_setaffinity.c: Likewise.
1878 * posix/sched_setp.c: Likewise.
1879 * posix/sched_sets.c: Likewise.
1880 * posix/sched_yield.c: Likewise.
1881 * posix/setgid.c: Likewise.
1882 * posix/setlogin.c: Likewise.
1883 * posix/setpgid.c: Likewise.
1884 * posix/setresgid.c: Likewise.
1885 * posix/setresuid.c: Likewise.
1886 * posix/setsid.c: Likewise.
1887 * posix/setuid.c: Likewise.
1888 * posix/sleep.c: Likewise.
1889 * posix/spawni.c: Likewise.
1890 * posix/sysconf.c: Likewise.
1891 * posix/times.c: Likewise.
1892 * posix/wait.c: Likewise.
1893 * posix/wait3.c: Likewise.
1894 * posix/wait4.c: Likewise.
1895 * posix/waitpid.c: Likewise.
1896 * resolv/gai_sigqueue.c: Likewise.
1897 * resource/getpriority.c: Likewise.
1898 * resource/getrlimit.c: Likewise.
1899 * resource/getrusage.c: Likewise.
1900 * resource/nice.c: Likewise.
1901 * resource/setpriority.c: Likewise.
1902 * resource/setrlimit.c: Likewise.
1903 * resource/ulimit.c: Likewise.
1904 * rt/aio_cancel.c: Likewise.
1905 * rt/aio_fsync.c: Likewise.
1906 * rt/aio_read.c: Likewise.
1907 * rt/aio_sigqueue.c: Likewise.
1908 * rt/aio_suspend.c: Likewise.
1909 * rt/aio_write.c: Likewise.
1910 * rt/clock_getres.c: Likewise.
1911 * rt/clock_gettime.c: Likewise.
1912 * rt/clock_nanosleep.c: Likewise.
1913 * rt/clock_settime.c: Likewise.
1914 * rt/lio_listio.c: Likewise.
1915 * rt/mq_close.c: Likewise.
1916 * rt/mq_getattr.c: Likewise.
1917 * rt/mq_notify.c: Likewise.
1918 * rt/mq_open.c: Likewise.
1919 * rt/mq_receive.c: Likewise.
1920 * rt/mq_send.c: Likewise.
1921 * rt/mq_setattr.c: Likewise.
1922 * rt/mq_timedreceive.c: Likewise.
1923 * rt/mq_timedsend.c: Likewise.
1924 * rt/mq_unlink.c: Likewise.
1925 * rt/shm_open.c: Likewise.
1926 * rt/shm_unlink.c: Likewise.
1927 * rt/timer_create.c: Likewise.
1928 * rt/timer_delete.c: Likewise.
1929 * rt/timer_getoverr.c: Likewise.
1930 * rt/timer_gettime.c: Likewise.
1931 * rt/timer_settime.c: Likewise.
1932 * setjmp/__longjmp.c: Likewise.
1933 * setjmp/setjmp.c: Likewise.
1934 * signal/kill.c: Likewise.
1935 * signal/killpg.c: Likewise.
1936 * signal/raise.c: Likewise.
1937 * signal/sigaction.c: Likewise.
1938 * signal/sigaltstack.c: Likewise.
1939 * signal/sigblock.c: Likewise.
1940 * signal/sigignore.c: Likewise.
1941 * signal/sigintr.c: Likewise.
1942 * signal/signal.c: Likewise.
1943 * signal/sigpause.c: Likewise.
1944 * signal/sigpending.c: Likewise.
1945 * signal/sigqueue.c: Likewise.
1946 * signal/sigreturn.c: Likewise.
1947 * signal/sigset.c: Likewise.
1948 * signal/sigsetmask.c: Likewise.
1949 * signal/sigstack.c: Likewise.
1950 * signal/sigsuspend.c: Likewise.
1951 * signal/sigtimedwait.c: Likewise.
1952 * signal/sigvec.c: Likewise.
1953 * signal/sigwait.c: Likewise.
1954 * signal/sigwaitinfo.c: Likewise.
1955 * signal/sysv_signal.c: Likewise.
1956 * socket/accept.c: Likewise.
1957 * socket/accept4.c: Likewise.
1958 * socket/bind.c: Likewise.
1959 * socket/connect.c: Likewise.
1960 * socket/getpeername.c: Likewise.
1961 * socket/getsockname.c: Likewise.
1962 * socket/getsockopt.c: Likewise.
1963 * socket/isfdtype.c: Likewise.
1964 * socket/listen.c: Likewise.
1965 * socket/recv.c: Likewise.
1966 * socket/recvfrom.c: Likewise.
1967 * socket/recvmsg.c: Likewise.
1968 * socket/send.c: Likewise.
1969 * socket/sendmsg.c: Likewise.
1970 * socket/sendto.c: Likewise.
1971 * socket/setsockopt.c: Likewise.
1972 * socket/shutdown.c: Likewise.
1973 * socket/sockatmark.c: Likewise.
1974 * socket/socket.c: Likewise.
1975 * socket/socketpair.c: Likewise.
1976 * stdio-common/ctermid.c: Likewise.
1977 * stdio-common/cuserid.c: Likewise.
1978 * stdio-common/remove.c: Likewise.
1979 * stdio-common/rename.c: Likewise.
1980 * stdio-common/renameat.c: Likewise.
1981 * stdio-common/tempname.c: Likewise.
1982 * stdlib/getcontext.c: Likewise.
1983 * stdlib/makecontext.c: Likewise.
1984 * stdlib/setcontext.c: Likewise.
1985 * stdlib/swapcontext.c: Likewise.
1986 * stdlib/system.c: Likewise.
1987 * streams/fattach.c: Likewise.
1988 * streams/fdetach.c: Likewise.
1989 * streams/getmsg.c: Likewise.
1990 * streams/getpmsg.c: Likewise.
1991 * streams/putmsg.c: Likewise.
1992 * streams/putpmsg.c: Likewise.
1993 * sysdeps/unix/bsd/getpt.c: Likewise.
1994 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1995 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1996 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1998 Likewise.
1999 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2000 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2001 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2002 * sysvipc/msgctl.c: Likewise.
2003 * sysvipc/msgget.c: Likewise.
2004 * sysvipc/msgrcv.c: Likewise.
2005 * sysvipc/msgsnd.c: Likewise.
2006 * sysvipc/semctl.c: Likewise.
2007 * sysvipc/semget.c: Likewise.
2008 * sysvipc/semop.c: Likewise.
2009 * sysvipc/semtimedop.c: Likewise.
2010 * sysvipc/shmat.c: Likewise.
2011 * sysvipc/shmctl.c: Likewise.
2012 * sysvipc/shmdt.c: Likewise.
2013 * sysvipc/shmget.c: Likewise.
2014 * termios/tcdrain.c: Likewise.
2015 * termios/tcflow.c: Likewise.
2016 * termios/tcflush.c: Likewise.
2017 * termios/tcgetattr.c: Likewise.
2018 * termios/tcgetpgrp.c: Likewise.
2019 * termios/tcsendbrk.c: Likewise.
2020 * termios/tcsetattr.c: Likewise.
2021 * termios/tcsetpgrp.c: Likewise.
2022 * time/adjtime.c: Likewise.
2023 * time/clock.c: Likewise.
2024 * time/getitimer.c: Likewise.
2025 * time/gettimeofday.c: Likewise.
2026 * time/setitimer.c: Likewise.
2027 * time/settimeofday.c: Likewise.
2028 * time/stime.c: Likewise.
2029 * time/time.c: Likewise.
2030
20312012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2032
a20492cf
PT
2033 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2034 /usr/old/bin.
2035
72e182e3
PT
2036 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2037 instead of spaces.
2038 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2039
fbeafede
JM
20402012-11-03 Joseph Myers <joseph@codesourcery.com>
2041
5b5b04d6
JM
2042 [BZ #14796]
2043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2044 FE_TONEAREST before applying Dekker multiplication and Knuth
2045 addition. Clear inexact exceptions and check for exact zero
2046 results afterwards.
2047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2048 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2050 * math/libm-test.inc (fma_test): Add more tests.
2051 (fma_test_towardzero): Likewise.
2052 (fma_test_downward): Likewise.
2053 (fma_test_upward): Likewise.
2054 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2055 function.
2056 (libc_fesetround): New macro.
2057 (libc_fesetroundf): Likewise.
2058 (libc_fesetroundl): Likewise.
2059 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2060 function.
2061 (libc_fesetround_387): Likewise.
2062 (libc_fesetroundf): New macro.
2063 (libc_fesetround): Likewise.
2064 (libc_fesetroundl): Likewise.
2065 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2066 function.
2067 (libc_fesetroundf): New macro.
2068 (libc_fesetround): Likewise.
2069 (libc_fesetroundl): Likewise.
2070 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2071 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2072 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2073 libm_hidden_ver.
2074 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2075 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2076 libm_hidden_def.
2077 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2078 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2079 libm_hidden_ver.
2080 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2081 libm_hidden_def.
2082
fbeafede
JM
2083 [BZ #3439]
2084 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2085 integer constant usable in #if and use that to give value to enum
2086 constant.
2087 (FE_DIVBYZERO): Likewise.
2088 (FE_UNDERFLOW): Likewise.
2089 (FE_OVERFLOW): Likewise.
2090 (FE_INVALID): Likewise.
2091 (FE_INVALID_SNAN): Likewise.
2092 (FE_INVALID_ISI): Likewise.
2093 (FE_INVALID_IDI): Likewise.
2094 (FE_INVALID_ZDZ): Likewise.
2095 (FE_INVALID_IMZ): Likewise.
2096 (FE_INVALID_COMPARE): Likewise.
2097 (FE_INVALID_SOFTWARE): Likewise.
2098 (FE_INVALID_SQRT): Likewise.
2099 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2100 (FE_TONEAREST): Likewise.
2101 (FE_TOWARDZERO): Likewise.
2102 (FE_UPWARD): Likewise.
2103 (FE_DOWNWARD): Likewise.
2104 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2105 (FE_DIVBYZERO): Likewise.
2106 (FE_OVERFLOW): Likewise.
2107 (FE_UNDERFLOW): Likewise.
2108 (FE_INEXACT): Likewise.
2109 (FE_TONEAREST): Likewise.
2110 (FE_DOWNWARD): Likewise.
2111 (FE_UPWARD): Likewise.
2112 (FE_TOWARDZERO): Likewise.
2113 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2114 (FE_UNDERFLOW): Likewise.
2115 (FE_OVERFLOW): Likewise.
2116 (FE_DIVBYZERO): Likewise.
2117 (FE_INVALID): Likewise.
2118 (FE_TONEAREST): Likewise.
2119 (FE_TOWARDZERO): Likewise.
2120 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2121 (FE_OVERFLOW): Likewise.
2122 (FE_UNDERFLOW): Likewise.
2123 (FE_DIVBYZERO): Likewise.
2124 (FE_INEXACT): Likewise.
2125 (FE_TONEAREST): Likewise.
2126 (FE_TOWARDZERO): Likewise.
2127 (FE_UPWARD): Likewise.
2128 (FE_DOWNWARD): Likewise.
2129 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2130 (FE_DIVBYZERO): Likewise.
2131 (FE_OVERFLOW): Likewise.
2132 (FE_UNDERFLOW): Likewise.
2133 (FE_INEXACT): Likewise.
2134 (FE_TONEAREST): Likewise.
2135 (FE_DOWNWARD): Likewise.
2136 (FE_UPWARD): Likewise.
2137 (FE_TOWARDZERO): Likewise.
2138
105ca950
CM
21392012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2140
2141 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2142
a542b389
AS
21432012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2144
2145 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2146 commands. Quote $PWD.
2147 (blacklist_exports): Don't use remove_newlines. Replace "declare
2148 -x" by "export".
2149 (remove_newlines): Remove.
2150
f62c8abc
L
21512012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2152
2153 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2154 * stdlib/stdlib.h (atof): Moved to ...
2155 * include/bits/stdlib-float.h: Here. New file.
2156 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2157 * stdlib/bits/stdlib-float.h: New file.
2158 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2159 -mno-sse -mno-mmx.
2160 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2161 <xmmintrin.h>.
2162
0155d5b2
JM
21632012-11-02 Joseph Myers <joseph@codesourcery.com>
2164
a68d0680
JM
2165 * conform/conformtest.pl (@headers): Add fenv.h.
2166 * conform/data/fenv.h-data: New file.
2167 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2168 include of <math/fenv.h>.
2169
caf7f573
JM
2170 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2171 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2172 && !UNIX98]. Enables tests for XOPEN2K8.
2173 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2174 POSIX2008]: Likewise.
2175
6c073ad6
JM
2176 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2177 (struct rusage): Do not expect type or its members.
2178
0155d5b2
JM
2179 [BZ #3439]
2180 * math/math.h (FP_NAN): Define macro to integer constant usable in
2181 #if and use that to give value to enum constant.
2182 (FP_INFINITE): Likewise.
2183 (FP_ZERO): Likewise.
2184 (FP_SUBNORMAL): Likewise.
2185 (FP_NORMAL): Likewise.
2186
b5dcacb4
AS
21872012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2188
2189 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2190 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2191 arguments.
2192
f7934be8
RM
21932012-11-02 Roland McGrath <roland@hack.frob.com>
2194
2195 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2196 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2197 autoconf-time if not.
2198 * configure.in: Remove AC_PREREQ.
2199
d7d08bde
TMQMF
22002012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2201
2202 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2203 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2204 of the internal implementation.
2205
dcdae19a
JM
22062012-11-02 Joseph Myers <joseph@codesourcery.com>
2207
2208 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2209 except include of <misc/sys/syslog.h>.
2210
d6cffd3e
AS
22112012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2212
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2214 function returns with a NULL context exit with zero.
2215
b3563932
TMQMF
22162012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2217
2218 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2219
b288a93d
L
22202012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2221
2222 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2223 (run_program_cmd): This.
2224 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2225 (tst_langinfo): New variable. Use it.
2226
a2421a68
SAS
22272012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2228
2229 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2230 floating point opcodes.
2231
6f796e1b
TS
22322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2233
7402596b
TS
2234 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2235 variable.
2236
d0d4f868
TS
2237 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2238
6f796e1b
TS
2239 * sysdeps/mach/hurd/powerpc: Remove directory.
2240 * sysdeps/mach/powerpc: Likewise.
2241
4da224a2
AS
22422012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2243
2244 * scripts/check-local-headers.sh: Ignore c++ headers.
2245
341dd673
TS
22462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2247
2248 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2249 __libc_cleanup_region_start argument.
2250
473611b2
JM
22512012-11-01 Joseph Myers <joseph@codesourcery.com>
2252
2253 [BZ #14784]
2254 [BZ #14785]
2255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2256 x * y using scaling, not as x * y + z.
2257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2259 * math/libm-test.inc (fma_test): Add more tests.
2260 (fma_test_towardzero): Likewise.
2261 (fma_test_downward): Likewise.
2262 (fma_test_upward): Likewise.
2263
4078da3d
TS
22642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2265
2266 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2267
903252aa
JM
22682012-10-31 Joseph Myers <joseph@codesourcery.com>
2269
2270 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2271 New variable.
2272
cbc818d0
TS
22732012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2274
2275 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2276
5a03cb1e
AS
22772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2278
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2280 Fix sort order.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2282 Likewise.
2283
90aff2ff
TMQMF
22842012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2285
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2287 Fix the order of the list for glibc 2.17.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2289 Likewise.
2290
1818fcb7
AS
22912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2292
2293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2294
ef82f4da
JM
22952012-10-31 Joseph Myers <joseph@codesourcery.com>
2296
16a0e2ec
JM
2297 [BZ #14610]
2298 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2299 for low part of x being zero before using __atanl (y).
2300 * math/libm-test.inc (atan2_test): Add another test.
2301
0eb69512
JM
2302 * manual/install.texi (Configuring and compiling): Document
2303 general use of test-wrapper and test-wrapper-env.
2304 * INSTALL: Regenerated.
2305
ef82f4da
JM
2306 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2307 (__fma): Do not extract and scale down low bits on after-rounding
2308 systems when result rounded to normal precision would have normal
2309 exponent.
2310 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2311 (__fmal): Do not extract and scale down low bits on after-rounding
2312 systems when result rounded to normal precision would have normal
2313 exponent.
2314 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2315 (__fmal): Do not extract and scale down low bits on after-rounding
2316 systems when result rounded to normal precision would have normal
2317 exponent.
2318 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2319 macro.
2320 (fma_test): Add more tests.
2321 (fma_test_towardzero): Likewise.
2322 (fma_test_downward): Likewise.
2323 (fma_test_upward): Likewise.
2324
954ef0d9
L
23252012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 * sysdeps/i386/tininess.h: Renamed to ...
2328 * sysdeps/x86/tininess.h: This.
2329 * sysdeps/x86_64/tininess.h: Removed.
2330
df61ffb2
JM
23312012-10-30 Joseph Myers <joseph@codesourcery.com>
2332
2333 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2334 input. Use $(build-program-cmd).
2335 ($(objpfx)tst-array1-static.out): Likewise.
2336 ($(objpfx)tst-array2.out): Likewise.
2337 ($(objpfx)tst-array3.out): Likewise.
2338 ($(objpfx)tst-array4.out): Likewise.
2339 ($(objpfx)tst-array5.out): Likewise.
2340 ($(objpfx)tst-array5-static.out): Likewise.
2341
01767843
CM
23422012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2343
47cc1490
CM
2344 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2345 if defined.
2346
01767843
CM
2347 * nss/nsswitch.h (nss_interface_function): Provide new
2348 macro for use with NSS functions.
2349 * grp/initgroups.c: Use new macro.
2350 * nss/getXXbyYY.c: Likewise.
2351 * nss/getXXbyYY_r.c: Likewise.
2352 * nss/getXXent.c: Likewise.
2353 * nss/getXXent_r.c: Likewise.
2354 * sysdeps/posix/getaddrinfo.c: Likewise.
2355
8321aa97
AJ
23562012-10-30 Andreas Jaeger <aj@suse.de>
2357
2358 * po/ru.po: Update Russion translation from translation project.
2359
2a27fd6d
JM
23602012-10-30 Joseph Myers <joseph@codesourcery.com>
2361
8627a232
JM
2362 [BZ #14152]
2363 [BZ #14783]
2364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2365 result and shift together with sticky bit instead of replicating
2366 round-to-nearest rounding.
2367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2369 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2370 missing underflow exceptions.
2371 (fma_test_towardzero): Add more tests.
2372 (fma_test_downward): Likewise.
2373 (fma_test_upward): Likewise.
2374
2a27fd6d
JM
2375 [BZ #14047]
2376 * sysdeps/generic/tininess.h: New file.
2377 * sysdeps/i386/tininess.h: Likewise.
2378 * sysdeps/sh/tininess.h: Likewise.
2379 * sysdeps/x86_64/tininess.h: Likewise.
2380 * stdlib/tst-strtod-underflow.c: Likewise.
2381 * stdlib/tst-tininess.c: Likewise.
2382 * stdlib/strtod_l.c: Include <tininess.h>.
2383 (round_and_return): Do not set errno for exact underflow cases.
2384 Force an underflow exception when setting errno for underflow.
2385 Determine underflow based on rounding to normal precision if
2386 TININESS_AFTER_ROUNDING.
2387 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2388 ERANGE for exact underflow cases.
2389 * stdlib/Makefile (tests): Add tst-tininess and
2390 tst-strtod-underflow.
2391 ($(objpfx)tst-tininess): Use $(link-libm).
2392 ($(objpfx)tst-strtod-underflow): Likewise.
2393
e7170363
AJ
23942012-10-30 Andreas Jaeger <aj@suse.de>
2395
e5088dc6
AJ
2396 [BZ#14767]
2397 * elf/Makefile (tests): Remove conditional for have-initfini-array
2398 since this is now always required and the variable does not exist
2399 anymore.
2400 (tests-static): Likewise.
2401 (modules-names): Likewise.
2402
e7170363 2403 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2404
2405 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2406 merged with constructor/destructor.
2407 (init_array): Likewise.
2408 * elf/tst-array2dep.c (fini_array): Likewise.
2409 (init_array): Likewise.
2410
60457d8a
MF
24112012-10-29 Mike Frysinger <vapier@gentoo.org>
2412
2413 * manual/message.texi: Delete @cartouche tags.
2414
8bece752
PT
24152012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2416
94ce799f
PT
2417 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2418 EOPNOTSUPP.
2419 * sysdeps/mach/hurd/fsync.c: Likewise.
2420
8bece752
PT
2421 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2422 [_POSIX_REALTIME_SIGNALS]: Change condition to
2423 [_POSIX_REALTIME_SIGNALS > 0].
2424
86ebe6b1
AJ
24252012-10-27 Andreas Jaeger <aj@suse.de>
2426
2427 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2428 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2430 [__WORDSIZE != 64]: Likewise.
2431
54399c08
L
24322012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 * iconvdata/tst-table.sh: Remove ${SHELL}.
2435 * iconvdata/tst-tables.sh: Likewise.
2436
e2211bed
DM
24372012-10-25 David S. Miller <davem@davemloft.net>
2438
2439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2440 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2441 of strtoull.
2442
f303f97c
DM
2443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2444 ifunc-impl-list.c
2445 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2446 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2447 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2448 file.
2449
1e9d84cd
RM
24502012-10-25 Roland McGrath <roland@hack.frob.com>
2451
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2453 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2454 __getdirentries.
2455
df381762
JM
24562012-10-25 Joseph Myers <joseph@codesourcery.com>
2457 Jim Blandy <jimb@codesourcery.com>
2458
2459 * scripts/cross-test-ssh.sh: New file.
2460 * manual/install.texi (Configuring and compiling): Document use of
2461 cross-test-ssh.sh.
2462 * INSTALL: Regenerated.
2463
bff64913
PT
24642012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2465
2466 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2467 EOPNOTSUPP.
2468
25fe8932
JM
24692012-10-25 Joseph Myers <joseph@codesourcery.com>
2470
2471 * Makeconfig (run-program-prefix): Fix comment.
2472
cc1290d0
JM
24732012-10-24 Joseph Myers <joseph@codesourcery.com>
2474 Jim Blandy <jimb@codesourcery.com>
2475
2476 * Makeconfig (test-wrapper): New variable,
2477 (test-wrapper-env): Likewise.
2478 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2479 (run-built-tests): Define to yes.
2480 (run-program-prefix): Use $(test-wrapper).
2481 (built-program-cmd): Likewise.
2482 * Rules (make-test-out): Use $(test-wrapper-env) and
2483 $(host-built-program-cmd).
2484 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2485 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2486 tst-pathopt.sh.
2487 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2488 $(test-wrapper-env) to tst-rtld-load-self.sh.
2489 ($(objpfx)order2.out): Use $(test-wrapper).
2490 ($(objpfx)tst-initorder.out): Likewise.
2491 ($(objpfx)tst-initorder2.out): Likewise.
2492 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2493 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2494 (test_wrapper_env): New variable. Use it to run ld.so.
2495 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2496 Use it to run ld.so.
2497 (test_wrapper_env): Likewise.
2498 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2499 $(test-wrapper) to run-iconv-test.sh.
2500 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2501 (ICONV): Use $test_wrapper.
2502 * posix/Makefile ($(objpfx)globtest.out): Pass
2503 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2504 globtest.sh, not $(run-program-prefix).
2505 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2506 (test_wrapper): Likewise.
2507 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2508 set together with run_via_rtld_prefix.
2509 (run_program_prefix): Define in terms of test_wrapper and
2510 run_via_rtld_prefix.
2511
6e6249d0
RM
25122012-10-24 Roland McGrath <roland@hack.frob.com>
2513
2514 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2515 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2516 Targets removed.
2517
2518 [BZ #14743]
2519 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2520 Declare __clock_getres, __clock_gettime, __clock_settime,
2521 __clock_nanosleep, and __clock_getcpuclockid.
2522 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2523 Remove librt_hidden_def (clock_gettime).
2524 * sysdeps/unix/clock_gettime.c: Likewise.
2525 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2526 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2527 * rt/clock_getres.c: Define __clock_getres as an alias.
2528 * sysdeps/posix/clock_getres.c: Likewise.
2529 * rt/clock_settime.c: Define __clock_settime as an alias.
2530 * sysdeps/unix/clock_settime.c: Likewise.
2531 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2532 * sysdeps/unix/clock_nanosleep.c: Likewise.
2533 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2534 * rt/clock-compat.c: New file.
2535 * rt/Makefile (librt-routines): Add clock-compat and move
2536 $(clock-routines) to ...
2537 (routines): ... here, new variable.
2538 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2539 Don't add get_clockfreq here.
2540 * rt/Versions (libc: GLIBC_2.17): New version set.
2541 Add clock_* symbols here.
2542 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2543 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2544 (GLIBC_2.17): Add clock_* symbols.
2545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2549 Likewise.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2551 Likewise.
2552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2556 * NEWS: Mention the move.
2557
2558 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2559 Use __open, __read, __close rather than their public counterparts.
2560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2561 (__get_clockfreq_via_cpuinfo): Likewise.
2562 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2563 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2564
2565 * config.h.in (HAVE_IFUNC): New #undef.
2566 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2567 was successful.
2568 * configure: Regenerated.
2569
0cae3f4b
MF
25702012-10-24 Mike Frysinger <vapier@gentoo.org>
2571
2572 * configure.in: Move READELF check to start of file.
2573 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2574 libc_cv_asm_gnu_indirect_function in the process.
2575 * configure: Regenerated.
2576
8175a253
MF
25772012-10-24 Mike Frysinger <vapier@gentoo.org>
2578
2579 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2580 send the output to /dev/null.
2581 (libc_cv_cc_with_libunwind): Likewise.
2582 (libc_cv_as_noexecstack): Likewise.
2583 * configure: Regenerate.
2584
0708a7d1
JM
25852012-10-24 Joseph Myers <joseph@codesourcery.com>
2586
10b40d85
JM
2587 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2588
0708a7d1
JM
2589 * posix/globtest.sh (TMPDIR): Do not set.
2590 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2591 (testout): Likewise.
2592
9fddec1a
AJ
25932012-10-24 Andreas Jaeger <aj@suse.de>
2594
3a8db22f
AJ
2595 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2596 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2597 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2598 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2599 posix_fadvise64, posix_fallocate64.
2600
9fddec1a
AJ
2601 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2602 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2603 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2604 Likewise.
2605 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2606 Likewise.
2607 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2608
2609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2610 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2611 <bits/fcntl-linux.h>.
2612 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2613
2614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2615 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2616 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2617 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2618 [__WORDSIZE != 64]: Likewise.
2619
ebfd1bbd
JM
26202012-10-23 Joseph Myers <joseph@codesourcery.com>
2621
03ac099f
JM
2622 * Makeconfig (run-built-tests): New variable.
2623 * Rules [$(cross-compiling) = yes]: Change condition to
2624 [$(run-built-tests) = no].
2625 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2626 to [$(run-built-tests) = yes].
2627 * elf/Makefile [$(cross-compiling) = no]: Likewise
2628 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2629 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2630 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2631 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2632 * io/Makefile [$(cross-compiling) = no]: Likewise.
2633 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2634 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2635 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2636 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2637 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2638 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2639 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2640 * string/Makefile [$(cross-compiling) = no]: Likewise.
2641
ebfd1bbd
JM
2642 * posix/Makefile ($(objpfx)globtest.out): Pass
2643 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2644 $(rtld-installed-name).
2645 * posix/globtest.sh (elf_objpfx): Remove variable.
2646 (rtld_installed_name): Likewise.
2647 (library_path): Likewise.
2648 (run_program_prefix): New variable. Use for running globtest
2649 binary.
2650
166bca24
JB
26512012-10-23 Jim Blandy <jimb@codesourcery.com>
2652 Joseph Myers <joseph@codesourcery.com>
2653
2654 * Makeconfig (host-built-program-cmd): New variable.
2655 * elf/Makefile (tst-stackguard1-ARGS): Use
2656 $(host-built-program-cmd).
2657 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2658 (tst-spawn-ARGS): Likewise.
2659 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2660
88866099
JM
26612012-10-23 Joseph Myers <joseph@codesourcery.com>
2662 Jim Blandy <jimb@codesourcery.com>
2663
2664 * Makeconfig (run-via-rtld-prefix): New variable.
2665 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2666 (built-program-cmd): Likewise.
2667
b4b4c296
AJ
26682012-10-22 Andreas Jaeger <aj@suse.de>
2669
2670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2671 __O_RSYNC if it exists, otherwise to O_SYNC.
2672
6fb54a22
JB
26732012-10-22 Jim Blandy <jimb@codesourcery.com>
2674 Joseph Myers <joseph@codesourcery.com>
2675
2676 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2677 /dev/null.
2678 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2679 from /dev/null
2680 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2681 /dev/null.
2682
481b90b9
AJ
26832012-10-22 Andreas Jaeger <aj@suse.de>
2684
2a0e2669
AJ
2685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2686 Define always.
2687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2688
76e38f9a
AJ
2689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2690 bits/fcntl-linux.h.
2691
7cd37b43
AJ
2692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2693 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2694
481b90b9
AJ
2695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2696 to __O_LARGEFILE.
2697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2698 to __O_LARGEFILE.
2699
aba75984
JB
27002012-10-21 Jim Blandy <jimb@codesourcery.com>
2701 Joseph Myers <joseph@codesourcery.com>
2702
2703 * config.make.in (NM): New variable.
2704
88d4247f
AJ
27052012-10-21 Andreas Jaeger <aj@suse.de>
2706
2707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2708 definitions and declarations that are provided by
2709 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2710
f2eed205
L
27112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2712
2713 [BZ #14683]
2714 * elf/Makefile (tests-static): Add tst-leaks1-static.
2715 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2716 ($(objpfx)tst-leaks1-static): New rule.
2717 ($(objpfx)tst-leaks1-static-mem): Likewise.
2718 (tst-leaks1-static-ENV): New macro.
2719 * elf/dl-open.c (dl_open_worker): Check the main application
2720 only if SHARED is defined.
2721 * elf/tst-leaks1-static.c: New file.
2722
335e6931
AJ
27232012-10-20 Andreas Jaeger <aj@suse.de>
2724
2725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2726 generic values for Linux.
2727 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2728 and declarations that are provided by <bits/fcntl-linux.h> and
2729 include <bits/fcntl-linux.h>.
2730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2732
ac5c94d3
RM
27332012-10-20 Roland McGrath <roland@hack.frob.com>
2734
2735 * io/fcntl.h: Move include of <bits/types.h> to the top and
2736 include it unconditionally.
2737
de54b33a
L
27382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2739
228cfb01
L
2740 * wcsmbs/Makefile (tests-ifunc): New variable.
2741 (tests): Add $(tests-ifunc).
2742 * wcsmbs/test-wcschr-ifunc.c: New file.
2743 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2744 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2745 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2746 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2747 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2748
69f07e5f
L
2749 * string/Makefile (tests-ifunc): New variable.
2750 (tests): Add $(tests-ifunc).
2751 * string/test-memccpy.c (TEST_NAME): New macro.
2752 * string/test-memchr.c (TEST_NAME): Likewise.
2753 * string/test-memcmp.c (TEST_NAME): Likewise.
2754 * string/test-memcpy.c (TEST_NAME): Likewise.
2755 * string/test-memmem.c (TEST_NAME): Likewise.
2756 * string/test-memmove.c (TEST_NAME): Likewise.
2757 * string/test-memset.c (TEST_NAME): Likewise.
2758 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2759 * string/test-stpcpy.c (TEST_NAME): Likewise.
2760 * string/test-stpncpy.c (TEST_NAME): Likewise.
2761 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2762 * string/test-strcasestr.c (TEST_NAME): Likewise.
2763 * string/test-strcat.c (TEST_NAME): Likewise.
2764 * string/test-strchr.c (TEST_NAME): Likewise.
2765 * string/test-strcmp.c(TEST_NAME): Likewise.
2766 * string/test-strcpy.c (TEST_NAME): Likewise.
2767 * string/test-strcspn.c (TEST_NAME): Likewise.
2768 * string/test-strlen.c (TEST_NAME): Likewise.
2769 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2770 * string/test-strncmp.c (TEST_NAME): Likewise.
2771 * string/test-strncpy.c (TEST_NAME): Likewise.
2772 * string/test-strnlen.c (TEST_NAME): Likewise.
2773 * string/test-strpbrk.c (TEST_NAME): Likewise.
2774 * string/test-strrchr.c (TEST_NAME): Likewise.
2775 * string/test-strspn.c (TEST_NAME): Likewise.
2776 * string/test-strstr.c (TEST_NAME): Likewise.
2777 * string/test-bcopy-ifunc.c: New file.
2778 * string/test-bzero-ifunc.c: Likewise.
2779 * string/test-memccpy-ifunc.c: Likewise.
2780 * string/test-memchr-ifunc.c: Likewise.
2781 * string/test-memcmp-ifunc.c: Likewise.
2782 * string/test-memcpy-ifunc.c: Likewise.
2783 * string/test-memmem-ifunc.c: Likewise.
2784 * string/test-memmove-ifunc.c: Likewise.
2785 * string/test-mempcpy-ifunc.c: Likewise.
2786 * string/test-memset-ifunc.c: Likewise.
2787 * string/test-rawmemchr-ifunc.c: Likewise.
2788 * string/test-stpcpy-ifunc.c: Likewise.
2789 * string/test-stpncpy-ifunc.c: Likewise.
2790 * string/test-strcasecmp-ifunc.c: Likewise.
2791 * string/test-strcasestr-ifunc.c: Likewise.
2792 * string/test-strcat-ifunc.c: Likewise.
2793 * string/test-strchr-ifunc.c: Likewise.
2794 * string/test-strchrnul-ifunc.c: Likewise.
2795 * string/test-strcmp-ifunc.c: Likewise.
2796 * string/test-strcpy-ifunc.c: Likewise.
2797 * string/test-strcspn-ifunc.c: Likewise.
2798 * string/test-strlen-ifunc.c: Likewise.
2799 * string/test-strncasecmp-ifunc.c: Likewise.
2800 * string/test-strncat-ifunc.c: Likewise.
2801 * string/test-strncmp-ifunc.c: Likewise.
2802 * string/test-strncpy-ifunc.c: Likewise.
2803 * string/test-strnlen-ifunc.c: Likewise.
2804 * string/test-strpbrk-ifunc.c: Likewise.
2805 * string/test-strrchr-ifunc.c: Likewise.
2806 * string/test-strspn-ifunc.c: Likewise.
2807 * string/test-strstr-ifunc.c: Likewise.
2808
de54b33a
L
2809 * debug/Makefile (tests-ifunc): New variable.
2810 (tests): Add $(tests-ifunc).
2811 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2812 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2813 * debug/test-stpcpy_chk-ifunc.c: New file.
2814 * debug/test-strcpy_chk-ifunc.c: Likewise.
2815
88481c16
SP
28162012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2817
2818 [BZ #13601]
2819 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2820 header is not read in.
2821
135948bd
JM
28222012-10-19 Joseph Myers <joseph@codesourcery.com>
2823
89f1c388
JM
2824 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2825 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2826 directly. Pass built executable to script as
2827 $(built-program-cmd).
2828 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2829 $testprogram without using LD_LIBRARY_PATH and $ldso.
2830
e40a0d21
JM
2831 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2832 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2833 $(rtld-installed-name).
2834 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2835 (rtld_installed_name): Likewise.
2836 (library_path): Likewise.
2837 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2838 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2839 $(run-program-prefix) to tst-tables.sh.
2840 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2841 it to run tst-table-from and tst-table-to.
2842 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2843 Pass it to tst-table.sh.
2844 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2845 $(run-program-prefix) to tst-gettext.sh.
2846 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2847 tst-translit.sh.
2848 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2849 tst-gettext2.sh.
2850 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2851 to run tst-gettext.
2852 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2853 to run tst-gettext2.
2854 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2855 to run tst-translit.
2856 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2857 $(run-program-prefix) to tst-mtrace.sh.
2858 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2859 to run tst-mtrace.
2860 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2861 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2862 $(rtld-installed-name).
2863 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2864 (rtld_installed_name): Likewise.
2865 (run_program_prefix): New variable. Use it to run wordexp-test.
2866
728e272a
JM
2867 * Makeconfig (ARCH): Remove all definitions.
2868 (machine): Likewise.
2869 [ARCH]: Remove conditional code.
2870 [!objdir]: Give error.
2871 [!objdir] (objpfx): Remove.
2872 [!objdir] (common-objpfx): Likewise.
2873 [!objdir] (common-objdir): Likewise.
2874 * configure.in (config_makefile): Remove. Hardcode Makefile in
2875 AC_CONFIG_FILES call.
2876 * configure: Regenerated.
2877
d528cdcf
JM
2878 [BZ #13888]
2879 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2880 or TMPDIR.
2881 (testout): Likewise.
2882
135948bd
JM
2883 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2884 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2885 $(rtld-installed-name).
2886 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2887 (rtld_installed_name): Likwise.
2888 (runit): Remove function.
2889 (run_getconf): New variable, Use it for running getconf binary.
2890
38c78296
L
28912012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2892
2893 [BZ #14716]
2894 * string/test-memmem.c (check_result): New function.
2895 (do_one_test): Use it.
2896 (check1): New function.
2897 (test_main): Use it.
2898
d077f65f
MT
28992012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2900
2901 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2902
ced52c71
JM
29032012-10-18 Joseph Myers <joseph@codesourcery.com>
2904
2905 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2906 (_G_LSEEK64): Likewise.
2907 (_G_MMAP64): Likewise.
2908 (_G_FSTAT64): Likewise.
2909 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2910 (_G_LSEEK64): Likewise.
2911 (_G_MMAP64): Likewise.
2912 (_G_FSTAT64): Likewise.
2913 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2914 unconditional. Call __mmap64 directly.
2915 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2916 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2917 __lseek64 directly.
2918 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2919 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2920 __mmap64 directly.
2921 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2922 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2923 __lseek64 directly.
2924 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2925 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2926 __lseek64 directly.
2927 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2928 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2929 __lseek64 directly.
2930 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2931 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2932 __fxstat64 directly.
2933 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2934 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2935 unconditional.
2936 (freopen64) [!_G_OPEN64]: Remove conditional code.
2937 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2938 unconditional.
2939 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2940 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2941 unconditional.
2942 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2943 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2944 unconditional.
2945 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2946 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2947 unconditional.
2948 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2949 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2950 unconditional.
2951 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2952 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2953 unconditional.
2954 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2955 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2956 unconditional.
2957 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2958
b741de23
SP
29592012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2960
2961 [BZ #12140]
2962 * manual/memory.texi (Malloc Tunable Parameters): Add note
2963 about free list pointers overwriting some perturb bytes.
2964 Wording suggested by Roland McGrath.
2965
f9b9d9c9
JM
29662012-10-17 Joseph Myers <joseph@codesourcery.com>
2967
2968 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2969 (lgamma_test): Likewise.
2970 (tgamma_test): Likewise.
2971
172a631a
FW
29722012-10-16 Florian Weimer <fweimer@redhat.com>
2973
2974 [BZ #14700]
2975 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2976 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2977
e9f37252
MK
29782012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2979
2980 * NEWS: Mention BZ #14716.
2981 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2982 when removing AVAILABLE1_USES_J macro.
2983
d394eb74
L
29842012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2985
2986 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2987 (__bswap_64): __uint64_t for unsigned 64-bit int.
2988
ca38dc17
AS
29892012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2990
2991 * include/string.h (memmem): Declare libc hidden alias.
2992 * string/memmem.c (memmem): Define libc hidden alias.
2993 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2994 __read, __close instead of open, read, close.
2995
9a387d1f
L
29962012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2997
ac49ecaf
L
2998 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2999 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3000 global and hidden.
3001 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3002 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3003 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3004 Likewise.
3005 (__rawmemchr_sse2): Likewise.
3006 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3007 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3008 (__strchr_sse2): Likewise.
3009 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3010 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3011 (__strcasecmp_sse2): Likewise.
3012 (__strncasecmp_sse2): Likewise.
3013 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3014 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3015 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3016 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3017 (__strrchr_sse2): Likewise.
3018 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3019 ifunc-impl-list.c.
3020 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3021 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3022 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3023 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3024 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3025 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3026 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3027 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3028 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3029 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3030 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3031 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3032 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3033 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3034 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3035 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3036 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3037 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3038 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3039 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3040 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3041 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3042 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3043 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3044 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3045 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3046 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3047 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3048 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3049 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3050
b090e8ea
L
3051 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3052 global and hidden.
3053 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3054 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3055 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3056 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3057 Likewise.
3058 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3059 Likewise.
3060 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3061 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3062 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3063 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3064 ifunc-impl-list.c.
3065 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3066 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3067 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3068 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3069 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3070 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3071 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3073 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3074 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3075 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3076 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3077 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3078 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3079 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3080 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3081 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3082 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3083 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3084 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3085 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3086 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3087 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3089 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3090 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3091 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3092 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3093 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3094 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3095 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3097 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3098 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3099 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3101 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3102 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3103 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3106
11dd4af6
L
3107 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3108 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3109 * include/ifunc-impl-list.h: New file.
3110 * misc/ifunc-impl-list.c: Likewise.
3111 * misc/Makefile (routines): Add ifunc-impl-list.
3112 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3113 * string/test-string.h: Include <ifunc-impl-list.h>.
3114 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3115 impl_array): New variables.
3116 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3117 are defined.
3118 (test_init): Call __libc_ifunc_impl_list to initialize
3119 func_list if TEST_IFUNC and TEST_NAME are defined.
3120
9a387d1f
L
3121 * string/Makefile (strop-tests): Add bcopy and bzero.
3122 * string/test-bcopy.c: New file.
3123 * string/test-bzero.c: Likewise.
3124 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3125 defined.
3126 * string/test-memset.c: Support bzero test if TEST_BZERO is
3127 defined.
3128 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3129 __libc_memmove.
3130 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3131 __libc_memset.
3132 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3133 of memset.
3134
472371b9
JM
31352012-10-10 Joseph Myers <joseph@codesourcery.com>
3136
1e4a9536
JM
3137 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3138 * configure: Regenerated.
3139
d173d12e
JM
3140 * Makeconfig (+link-static-before-libc): Don't include
3141 $(link-static-libc).
3142
472371b9
JM
3143 * libio/libio.h (_IO_pos_t): Remove.
3144
89a3ad0b
AO
31452012-10-10 Alexandre Oliva <aoliva@redhat.com>
3146
3147 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3148 McGrath.
3149
e7451425
AO
31502012-10-10 Alexandre Oliva <aoliva@redhat.com>
3151
3152 * crypt/crypt-entry.c: Include fips-private.h.
3153 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3154 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3155 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3156 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3157
4ba74a35
AO
31582012-10-10 Alexandre Oliva <aoliva@redhat.com>
3159
3160 * crypt/crypt-private.h: Include stdbool.h.
3161 (_ufc_setup_salt_r): Return bool.
3162 * crypt/crypt-entry.c: Include errno.h.
3163 (__crypt_r): Return NULL with EINVAL for bad salt.
3164 * crypt/crypt_util.c (bad_for_salt): New.
3165 (_ufc_setup_salt_r): Check that salt is long enough and within
3166 the specified alphabet.
3167 * crypt/badsalttest.c: New file.
3168 * crypt/Makefile (tests): Add it.
3169 ($(objpfx)badsalttest): New.
3170
f96f1242
MK
31712012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3172
3173 * NEWS: Add entry for BZ #14602.
3174
0e8e0c1c
JM
31752012-10-09 Joseph Myers <joseph@codesourcery.com>
3176
3177 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3178 type-generic.
3179 * math/libm-test.inc: Update comment listing what functions and
3180 macros are tested.
3181 (isgreater_test): New function.
3182 (isgreaterequal_test): Likewise.
3183 (isless_test): Likewise.
3184 (islessequal_test): Likewise.
3185 (islessgreater_test): Likewise.
3186 (isunordered_test): Likewise.
3187 (main): Call the new functions.
3188
273edc5e
RM
31892012-10-09 Roland McGrath <roland@hack.frob.com>
3190
b8493de0
RM
3191 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3192 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3193 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3194 * sysdeps/i386/configure: Regenerated.
3195 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3196 * sysdeps/mach/configure: Regenerated.
3197 * sysdeps/mach/hurd/configure: Regenerated.
3198 * sysdeps/powerpc/configure: Regenerated.
3199 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3200 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3201 * sysdeps/s390/s390-32/configure: Regenerated.
3202 * sysdeps/s390/s390-64/configure: Regenerated.
3203 * sysdeps/sh/configure: Regenerated.
3204 * sysdeps/sparc/configure: Regenerated.
3205 * sysdeps/unix/sysv/linux/configure: Regenerated.
3206 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3207 * sysdeps/x86_64/configure: Regenerated.
3208
273edc5e
RM
3209 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3210 defined. Don't check if MAP is NULL.
3211
c8450f70
JM
32122012-10-09 Joseph Myers <joseph@codesourcery.com>
3213
3214 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3215 (_G_stat64): Likewise.
3216 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3217 (_G_stat64): Likewise.
3218 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3219 instead of struct _G_stat64.
3220 * libio/fileops.c (mmap_remap_check): Likewise.
3221 (decide_maybe_mmap): Likewise.
3222 (_IO_new_file_seekoff): Likewise.
3223 (_IO_file_stat): Likewise.
3224 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3225 _G_off64_t.
3226 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3227 instead of struct _G_stat64.
3228 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3229
57e605ba
MK
32302012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3231
3232 [BZ #14602]
3233 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3234 Replace with ...
3235 (CHECK_EOL): New macro.
3236 (two_way_short_needle): Check beginning of haystack for EOL. Use
3237 CHECK_EOL.
3238 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3239 Replace with CHECK_EOL.
3240 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3241 Replace with CHECK_EOL.
3242
ef1bb361
JM
32432012-10-08 Joseph Myers <joseph@codesourcery.com>
3244
3245 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3246 type-generic.
3247 * math/libm-test.inc: Update comment listing what functions and
3248 macros are tested.
3249 (finite_test): New function.
3250 (isinf_test): Likewise.
3251 (isnan_test): Likewise.
3252 (fpclassify_test): Test subnormal input.
3253 (isfinite_test): Likewise.
3254 (isnormal_test): Likewise.
3255 (main): Call the new functions.
3256
55f11534
JN
32572012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3258
3259 [BZ #14660]
3260 * Makerules (%.dynsym): Force C locale when running
3261 $(OBJDUMP) --dynamic-syms.
3262
1ab29350
AS
32632012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3264
3265 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3266 <stdint.h>.
3267
f1ecb7ef
DM
32682012-10-06 David S. Miller <davem@davemloft.net>
3269
3270 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3271 upper 32-bits of the length value in %o2 since we use branch-on-register
3272 tests which consider the entire 64-bit register.
3273
5d41d91a
L
32742012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3275
3276 * string/test-strstr.c (check2): Add a test for page boundary.
3277
3baddb72
DM
32782012-10-05 David S. Miller <davem@davemloft.net>
3279
3280 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3281 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3282 file.
3283 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3284 sysdep_routines.
3285 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3286 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3287 and bzero when HWCAP_SPARC_CRYPTO is present.
3288
9cee5585
L
32892012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3290
d7e0dab9
L
3291 [BZ #14602]
3292 * string/test-strstr.c (check2): New function.
3293 (test_main): Call check2.
3294
03759f47
L
3295 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3296 and bug-strchr1.
3297 * string/bug-strcasestr1.c (do_test): Moved to ...
3298 * string/test-strcasestr.c (check1): Here. New function.
3299 (do_one_test): Break out result checking code into ...
3300 (check_result): This. New function.
3301 (do_one_test): Call check_result.
3302 (test_main): Call check1.
3303 * string/bug-strchr1.c (do_test): Moved to ...
3304 * string/test-strchr.c (check1): Here. New function.
3305 (do_one_test): Break out result checking code into ...
3306 (check_result): This. New function.
3307 (do_one_test): Call check_result.
3308 (test_main): Call check1.
3309 * string/bug-strstr1.c (main): Moved to ...
3310 * string/test-strchr.c (check1): Here. New function.
3311 (do_one_test): Break out result checking code into ...
3312 (check_result): This. New function.
3313 (do_one_test): Call check_result.
3314 (test_main): Call check1.
3315 * string/bug-strcasestr1.c: Removed.
3316 * string/bug-strchr1.c: Likewise.
3317 * string/bug-strstr1.c: Likewise.
3318
53cea63e
L
3319 * elf/Makefile (dl-routines): Add hwcaps.
3320 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3321 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3322 (_dl_important_hwcaps): Moved to ...
3323 * elf/dl-hwcaps.c: Here. New file.
3324 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3325
9cee5585 3326 [BZ #14557]
bb859b06
L
3327 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3328 if IS_IN_rtld isn't defined.
3329
9cee5585
L
3330 * elf/dl-support.c (_dl_sysinfo_map): New.
3331 Include "get-dynamic-info.h" and "setup-vdso.h".
3332 (_dl_non_dynamic_init): Call setup_vdso.
3333 * elf/dynamic-link.h: Don't include <assert.h>.
3334 (elf_get_dynamic_info): Moved to ...
3335 * elf/get-dynamic-info.h: Here. New file.
3336 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3337 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3338 * elf/setup-vdso.h: Here. New file.
3339 * elf/rtld.c: Include "setup-vdso.h".
3340 (dl_main): Call setup_vdso.
3341
23c31b76
JM
33422012-10-05 Joseph Myers <joseph@codesourcery.com>
3343
28234b07
JM
3344 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3345 creal in comment listing functions tested. List finite, isinf,
3346 isnan, isless, islessequal, isgreater, isgreaterequal,
3347 islessgreater, isunordered, lgamma_r and pow10 as functions and
3348 macros not tested. Mention which functions not tested are aliases
3349 for other functions. Fix typo. Note that signs of NaNs are not
3350 tested.
3351
23c31b76
JM
3352 * scripts/config.guess: Update from config.git.
3353 * scripts/config.sub: Likewise.
3354
9043e228
RM
33552012-10-04 Roland McGrath <roland@hack.frob.com>
3356
3357 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3358 * misc/madvise.c (madvise): Renamed to __madvise.
3359 Make madvise a weak alias.
3360 * include/sys/mman.h: Declare __madvise.
3361 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3362 * sysdeps/unix/syscalls.list
3363 (madvise): Make __madvise the strong name, and madvise a weak alias.
3364 * sysdeps/unix/sysv/linux/syscalls.list
3365 (madvise, mmap): Remove redundant entries.
3366 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3367 * malloc/malloc.c (mtrim): Likewise.
3368 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3369
f57f8055
RM
33702012-10-03 Roland McGrath <roland@hack.frob.com>
3371
3372 * sysdeps/mach/hurd/dl-cache.c: File removed.
3373 * config.h.in (USE_LDCONFIG): New #undef.
3374 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3375 * configure: Regenerated.
3376 * elf/Makefile (dl-routines): Add dl-cache only under
3377 [$(use-ldconfig) = yes].
3378 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3379 cache on [USE_LDCONFIG].
3380 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3381 [USE_LDCONFIG].
3382 * elf/rtld.c (dl_main): Likewise.
3383
5bb0c10a
PT
33842012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3385
3386 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3387 _SC_LEVEL4_CACHE_LINESIZE.
3388
010188c6
RM
33892012-10-03 Roland McGrath <roland@hack.frob.com>
3390
3391 * sysdeps/unix/bsd/confstr.h: File removed.
3392
b6c5ec07
AO
33932012-10-02 Alexandre Oliva <aoliva@redhat.com>
3394
3395 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3396 sys/sdt-config.h.
3397
408223d4
RM
33982012-10-02 Roland McGrath <roland@hack.frob.com>
3399
3400 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3401 Make 'mapoff' field ElfW(Off) rather than off_t.
3402
bb9510dc
DL
34032012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3404
fc997c6e
DL
3405 * nscd/Makefile: Remove nscd-cflags and all its users.
3406 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3407 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3408
bb9510dc
DL
3409 [BZ #10631]
3410 * malloc.c (malloc_printerr): Clarify error message.
3411
05699367
L
34122012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3413
3414 [BZ #14648]
3415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3416 Set bit_FMA_Usable if FMA is supported.
3417 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3418 macro.
3419 (bit_FMA4_Usable): Updated.
3420 (index_FMA_Usable): New macro.
3421 (CPUID_FMA): Likewise
3422 (HAS_FMA): Defined with bit_FMA_Usable.
3423
51367701
RM
34242012-10-01 Roland McGrath <roland@hack.frob.com>
3425
3426 * bits/types.h (__swblk_t): Type removed.
3427 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3428 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3430 (__SWBLK_T_TYPE): Likewise.
3431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3432 (__SWBLK_T_TYPE): Likewise.
3433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3434 (__SWBLK_T_TYPE): Likewise.
3435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3436 (__SWBLK_T_TYPE): Likewise.
3437
4d57bf63 34382012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3439 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3440
3441 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3442 (xdr_mapname): Use YPMAXMAP as maxsize.
3443 (xdr_peername): Use YPMAXPEER as maxsize.
3444 (xdr_keydat): Use YPAXRECORD as maxsize.
3445 (xdr_valdat): Use YPMAXRECORD as maxsize.
3446
93c65d43
RM
34472012-10-01 Roland McGrath <roland@hack.frob.com>
3448
497a03d6
RM
3449 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3450
93c65d43
RM
3451 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3452 * csu/init-first.c: ... here.
3453 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3454 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3455 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3456 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3457 * sysdeps/i386/init-first.c: File removed.
3458 * sysdeps/sh/init-first.c: File removed.
3459
bec749fd
JM
34602012-10-01 Joseph Myers <joseph@codesourcery.com>
3461
3462 [BZ #14645]
3463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3464 if x * y might underflow to zero and z is zero.
3465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3467 * math/libm-test.inc (min_subnorm_value): New variable.
3468 (fma_test): Add more tests.
3469 (fma_test_towardzero): Likewise.
3470 (fma_test_downward): Likewise
3471 (fma_test_upward): Likewise.
3472 (initialize): Set min_subnorm_value.
3473
8ec5b013
JM
34742012-09-29 Joseph Myers <joseph@codesourcery.com>
3475
3476 [BZ #14638]
3477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3478 0 + 0.
3479 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3480 mode for addition resulting in exact zero.
3481 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3483 exact 0 + 0.
3484 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3486 * math/libm-test.inc (fma_test): Add more tests.
3487 (fma_test_towardzero): New function.
3488 (fma_test_downward): Likewise.
3489 (fma_test_upward): Likewise.
3490 (main): Call the new functions.
3491
b1fa802e
DM
34922012-09-28 David S. Miller <davem@davemloft.net>
3493
3494 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3495
d3b9fd9e
RM
34962012-09-28 Roland McGrath <roland@hack.frob.com>
3497
ea4d37b3
RM
3498 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3499 instead of SIGALRM.
3500
ac51c949
RM
3501 * sysdeps/gnu/_G_config.h: Moved to ...
3502 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3503 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3504 * sysdeps/generic/_G_config.h: ... here.
3505
28c195f7
RM
3506 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3507
848917f9
RM
3508 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3509
6bacf05b
RM
3510 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3511 Conditionalize target on [libnss_test1.so-version].
3512
91363dbb
RM
3513 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3514
cc87f7d8
RM
3515 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3516 (elfobjdir): Move out of conditionals.
3517
b1c608fe
RM
3518 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3519 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3520 (__nss_lookup_function): Conditionalize label remove_from_tree on
3521 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3522
1d9a6d96
DM
35232012-09-28 David S. Miller <davem@davemloft.net>
3524
3525 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3526 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3527 file.
3528 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3529 sysdep_routines.
3530 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3532 when HWCAP_SPARC_CRYPTO is present.
3533
72581615
PT
35342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3535
3536 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3537
715a900c
JL
35382012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3539
3540 [BZ #6530]
3541 * stdio-common/vfprintf.c (process_string_arg): Revert
3542 2000-07-22 change.
3543
35442011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3545
3546 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3547 for testcase.
3548 * stdio-common/tst-sprintf.c: Include <locale.h>
3549 (main): Test sprintf's handling of incomplete multibyte
3550 characters.
3551
9bac1d86
L
35522012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3553
3554 * elf/dl-runtime.c (VERSYMIDX): Removed.
3555 * elf/dl-version.c (VERSYMIDX): Likewise.
3556 * elf/do-rel.h (VERSYMIDX): Likewise.
3557 (VALIDX): Likewise.
3558 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3559 * elf/rtld.c (VALIDX): Likewise.
3560 (ADDRIDX): Likewise.
9bac1d86
L
3561 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3562 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3563 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3564 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3565 (VALIDX): Likewise.
3566 (ADDRIDX): Likewise.
9bac1d86 3567
b31606c0
PT
35682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3569
3570 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3571
11541177
JL
35722012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3573
3574 [BZ #11438]
3575 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3576 to global scope.
3577 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3578 addresses are in the same scope as 192.0.2/24.
3579 * posix/gai.conf: Document new scope table defaults.
3580
adb26fae
SP
35812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3582
3583 [BZ #5298]
3584 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3585 for ftell. Compute offsets from write pointers instead.
3586 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3587
4573c6b0
SP
35882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3589
3590 [BZ #14543]
3591 * libio/Makefile (tests): New test case tst-fseek.
3592 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3593 combination works in wide mode.
3594 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3595 state when the external buffer state changes.
3596
aa9bbfe6
DM
35972012-09-27 David S. Miller <davem@davemloft.net>
3598
3599 [BZ #14376]
3600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3601 pass reloc->r_addend in as the 'high' argument to
3602 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3603
784421e7
DM
3604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3605
c39bc8b8
PT
36062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3607
3608 * rt/tst-aio2.c: Include <pthread.h>.
3609 * rt/tst-aio3.c: Likewise.
3610
1ccc2399
SE
36112012-09-27 Steve Ellcey <sellcey@mips.com>
3612
3613 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3614
31ed4153
L
36152012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3616
25f5f885
L
3617 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3618 contents on [SHARED].
31ed4153 3619
b7bfe116
MP
36202012-09-26 Marek Polacek <polacek@redhat.com>
3621
3622 [BZ #14530]
3623 [BZ #13741]
3624 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3625 for C++ and GCC <4.3 as well as for non GCC compilers.
3626
43c4edba
MT
36272012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3628
3629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3630
6a1bf82f
RM
36312012-09-25 Roland McGrath <roland@hack.frob.com>
3632
3633 * Makefile.in (all, install): Declare with .PHONY.
3634 Reported by Michael Hope <michael.hope@linaro.org>.
3635
8ad11b9a
TMQMF
36362012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3637
3638 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3639 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3640 system header.
3641 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3642 Likewise.
3643 (sydep_routines): Add the new and the internal functions.
3644 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3645 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3647 (GLIBC_2.17): Add the new function.
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3649 (GLIBC_2.17): Likewise.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3651 (GLIBC_2.17): Likewise.
3652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3653 (GLIBC_2.17): Likewise.
3654 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3655
7e2fca8d
AM
36562012-09-25 Alan Modra <amodra@gmail.com>
3657
3658 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3659 Add release barrier before setting once_control to say
3660 initialisation is done. Add hints on lwarx. Use macro in
3661 place of isync.
3662 (clear_once_control): Add release barrier.
3663
b87c4b24
JM
36642012-09-25 Joseph Myers <joseph@codesourcery.com>
3665
d032e0d2
JM
3666 [BZ #13629]
3667 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3668 specially.
3669 * math/s_clog10.c (__clog10): Likewise.
3670 * math/s_clog10f.c (__clog10f): Likewise.
3671 * math/s_clog10l.c (__clog10l): Likewise.
3672 * math/s_clogf.c (__clogf): Likewise.
3673 * math/s_clogl.c (__clogl): Likewise.
3674 * math/Makefile (libm-calls): Add x2y2m1.
3675 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3676 (__x2y2m1): Likewise.
3677 (__x2y2m1l): Likewise.
3678 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3679 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3682 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3683 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3684 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3685 * sysdeps/i386/fpu/libm-test-ulps: Update.
3686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3687
b87c4b24
JM
3688 [BZ #14621]
3689 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3690 int as type of variable DEPTH.
3691 (glob): Use size_t instead of int as type of variables NEWCOUNT
3692 and OLD_PATHC.
3693
6d3bf199
LD
36942012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3695
22bf5c17
LD
3696 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3697 Add s_sincosf-sse2.
3698 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3699 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3700 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3701 macros for using routine as __sincosf_ia32.
3702 Use macro for function declaration and weak_alias.
3703 * sysdeps/i386/fpu/libm-test-ulps: Update.
3704
3705 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3707
3708 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3709 subnormal argument.
3710 * math/s_cexpf.c (__cexpf): Likewise.
3711 * math/s_csinf.c (__csinf): Likewise.
3712 * math/s_csinhf.c (__csinhf): Likewise.
3713 * math/s_ctanf.c (__ctanf): Likewise.
3714 * math/s_ctanhf.c (__ctanhf): Likewise.
3715 * math/s_ccosh.c (__ccoshf): Likewise.
3716 * math/s_cexp.c (__cexpl): Likewise.
3717 * math/s_csin.c (__csin): Likewise.
3718 * math/s_csinh.c (__csinh): Likewise.
3719 * math/s_ctan.c (__ctan): Likewise.
3720 * math/s_ctanh.c (ctanh): Likewise.
3721 * math/s_ccoshl.c (__ccoshl): Likewise.
3722 * math/s_cexpl.c (__cexpl): Likewise.
3723 * math/s_csinl.c (__csinl): Likewise.
3724 * math/s_csinhl.c (__csinhl): Likewise.
3725 * math/s_ctanl.c (__ctanl): Likewise.
3726 * math/s_ctanhl.c (__ctanhl): Likewise.
3727
203e5603
JM
37282012-09-25 Joseph Myers <joseph@codesourcery.com>
3729
3730 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3731 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3732 (_IO_off_t): Define to __off_t, not _G_off_t.
3733 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3734 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3735 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3736 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3737 type of __dummy and __dummy2 fields.
3738 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3739 (_G_ssize_t): Likewise.
3740 (_G_off_t): Likewise.
3741 (_G_pid_t): Likewise.
3742 (_G_uid_t): Likewise.
3743 (_G_wchar_t): Likewise.
3744 (_G_wint_t): Likewise.
3745 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3746 (_G_ssize_t): Likewise.
3747 (_G_off_t): Likewise.
3748 (_G_pid_t): Likewise.
3749 (_G_uid_t): Likewise.
3750 (_G_wchar_t): Likewise.
3751 (_G_wint_t): Likewise.
3752 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3753 (_G_ssize_t): Likewise.
3754 (_G_off_t): Likewise.
3755 (_G_pid_t): Likewise.
3756 (_G_uid_t): Likewise.
3757 (_G_wchar_t): Likewise.
3758 (_G_wint_t): Likewise.
3759
9fab36eb
SP
37602012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3761
3762 * malloc/arena.c: Include malloc-sysdep.h.
3763 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3764 is sufficient to shrink the heap or an unmap is needed.
3765 * sysdeps/generic/malloc-sysdep.h: New file. Define
3766 new function check_may_shrink_heap.
3767 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3768 new function check_may_shrink_heap.
3769
2b4f00d1
SP
37702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3771
3772 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3773 comments.
3774
9a9028b1
DL
37752012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3776
57c69bef
DL
3777 * catgets/test-gencat.sh: Add "set -e".
3778 * elf/tst-pathopt.sh: Likewise.
3779 * grp/tst_fgetgrent.sh: Likewise.
3780 * iconvdata/run-iconv-test.sh: Likewise.
3781 * intl/tst-gettext.sh: Likewise.
3782 * intl/tst-gettext2.sh: Likewise.
3783 * intl/tst-gettext4.sh: Likewise.
3784 * intl/tst-gettext6.sh: Likewise.
3785 * intl/tst-translit.sh: Likewise.
3786 * io/ftwtest-sh: Likewise.
3787 * libio/test-freopen.sh: Likewise.
3788 * malloc/tst-mtrace.sh: Likewise.
3789 * posix/globtest.sh: Likewise.
3790 * posix/tst-getconf.sh: Likewise.
3791 * posix/wordexp-tst.sh: Likewise.
3792 * stdio-common/tst-printf.sh: Likewise.
3793 * stdio-common/tst-unbputc.sh: Likewise.
3794 * stdlib/tst-fmtmsg.sh: Likewise.
3795 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3796 * catgets/Makefile: Do not specify -e option when running
3797 testsuite shell scripts.
3798 * elf/Makefile: Likewise.
3799 * grp/Makefile: Likewise.
3800 * iconvdata/Makefile: Likewise.
3801 * intl/Makefile: Likewise.
3802 * io/Makefile: Likewise.
3803 * libio/Makefile: Likewise.
3804 * malloc/Makefile: Likewise.
3805 * posix/Makefile: Likewise.
3806 * stdio-common/Makefile: Likewise.
3807 * stdlib/Makefile: Likewise.
3808 * sysdeps/x86_64/Makefile: Likewise.
3809
9a9028b1
DL
3810 * io/ftwtest-sh: Add copyright header.
3811 * posix/globtest.sh: Likewise.
3812 * posix/tst-getconf.sh: Likewise.
3813 * posix/wordexp-tst.sh: Likewise.
3814 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3815
ced6f16e
L
38162012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3817
94b32c39
L
3818 [BZ #13679]
3819 * Makeconfig (+link): Defined as $(+link-static) if
3820 $(build-shared) isn't yes.
3821 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3822 isn't yes.
3823 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3824
189e935b
L
3825 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3826
ced6f16e
L
3827 [BZ #14562]
3828 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3829 new chunk size with MALLOC_ALIGN_MASK.
3830
a9f8e53a
JM
38312012-09-24 Joseph Myers <joseph@codesourcery.com>
3832
3833 [BZ #5044]
3834 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3835 <rounding-mode.h>.
3836 (__printf_fphex): Determine rounding using get_rounding_mode and
3837 round_away.
3838 * stdio-common/tst-printf-round.c (struct hex_test): New
3839 structure.
3840 (hex_tests): New variable.
3841 (test_hex_in_one_mode): New function.
3842 (do_test): Also run tests for hex float output.
3843
43153109
JM
38442012-09-21 Joseph Myers <joseph@codesourcery.com>
3845
3846 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3847 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3848 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3849 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3850 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3851 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3852 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3853 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3854
8a26625d
JM
38552012-09-20 Joseph Myers <joseph@codesourcery.com>
3856
3857 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3858 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3859 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3860 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3861
f3fd569c
DL
38622012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3863
3864 [BZ #14579]
3865 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3866 mode only.
3867 * elf/tst-rtld-load-self.sh: New test.
3868 * elf/Makefile: Run it.
3869
63bbedd4
JM
38702012-09-18 Joseph Myers <joseph@codesourcery.com>
3871
3872 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3873 (tst-writev-ENV): Remove.
3874 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3875
626f8b6a
CM
38762012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3877
3878 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3879
b7aaa4d6
JM
38802012-09-17 Joseph Myers <joseph@codesourcery.com>
3881
3882 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3883 unconditional.
3884 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3885 Likewise.
3886 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3887 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3888 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3889 Likewise.
3890
65513990
L
38912012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3892
3893 [BZ #14587]
3894 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3895 * config.make.in (have-cpp-asm-debuginfo): Removed.
3896 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3897 * configure: Regenerated.
3898
784761be
JM
38992012-09-14 Joseph Myers <joseph@codesourcery.com>
3900
3901 [BZ #5044]
3902 * stdio-common/printf_fp.c: Include <stdbool.h> and
3903 <rounding-mode.h>.
3904 (___printf_fp): Determine rounding using get_rounding_mode and
3905 round_away.
3906 * stdio-common/tst-printf-round.c: New file.
3907 * stdio-common/Makefile (tests): Add tst-printf-round.
3908 (link-libm): New variable.
3909 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3910
9503345f
L
39112012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 [BZ #14576]
3914 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3915 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3916 Likewise.
3917 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3918 Likewise.
3919
ad35fc00
JM
39202012-09-13 Joseph Myers <joseph@codesourcery.com>
3921
3922 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3923 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3924 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3925 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3926
6c9b0f68
JM
39272012-09-12 Joseph Myers <joseph@codesourcery.com>
3928
3929 [BZ #14518]
3930 * include/rounding-mode.h: New file.
3931 * sysdeps/generic/get-rounding-mode.h: Likewise.
3932 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3933 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3934 (MAX_VALUE): New macro.
3935 (MIN_VALUE): Likewise.
3936 (overflow_value): New function.
3937 (underflow_value): Likewise.
3938 (round_and_return): Use overflow_value and underflow_value to
3939 determine return values in overflow and underflow cases. Use
3940 round_away to determine rounding depending on rounding mode.
3941 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3942 determine return values in overflow and underflow cases.
3943 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3944 (struct test_results): New structure.
3945 (struct test): Use struct test_results to store expected results
3946 for all rounding modes.
3947 (TEST): Include expected results for all rounding modes.
3948 (test_in_one_mode): New function.
3949 (do_test): Use test_in_one_mode to compute and check results.
3950 Check results for all rounding modes.
3951 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3952 $(link-libm).
3953
19fcedd5
AM
39542012-12-09 Allan McRae <allan@archlinux.org>
3955
1e9d84cd 3956 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3957
8bbfd2f1
JM
39582012-09-11 Joseph Myers <joseph@codesourcery.com>
3959
3960 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3961 (_G_int32_t): Likewise.
3962 (_G_uint16_t): Likewise.
3963 (_G_uint32_t): Likewise.
3964 (_G_HAVE_BOOL): Likewise.
3965 (_G_HAVE_ATEXIT): Likewise.
3966 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3967 (_G_HAVE_IO_FILE_OPEN): Likewise.
3968 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3969 (_G_int32_t): Likewise.
3970 (_G_uint16_t): Likewise.
3971 (_G_uint32_t): Likewise.
3972 (_G_HAVE_BOOL): Likewise.
3973 (_G_HAVE_ATEXIT): Likewise.
3974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3975 (_G_HAVE_IO_FILE_OPEN): Likewise.
3976 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3977 (_G_int32_t): Likewise.
3978 (_G_uint16_t): Likewise.
3979 (_G_uint32_t): Likewise.
3980 (_G_HAVE_BOOL): Likewise.
3981 (_G_HAVE_ATEXIT): Likewise.
3982 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3983 (_G_HAVE_IO_FILE_OPEN): Likewise.
3984
b1dc5912
L
39852012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3986
3987 * csu/libc-tls.c: Update copyright years.
3988
0e886ef9
JM
39892012-09-10 Joseph Myers <joseph@codesourcery.com>
3990
28361c5e
JM
3991 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3992 [!_G_USING_THUNKS]: Remove conditional code.
3993 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3994 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3995
0e886ef9
JM
3996 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3997 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3998 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3999 (_G_VTABLE_LABEL_PREFIX): Likewise.
4000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4001 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4002 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4003 (_G_VTABLE_LABEL_PREFIX): Likewise.
4004 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4005 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4006 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4007 (_G_VTABLE_LABEL_PREFIX): Likewise.
4008 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4009
bcba7aa2
L
40102012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4011
4012 * libio/Makefile: Include ../Makeconfig before tests.
4013 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4014 only if $(build-shared) is yes.
4015
06585ee8
L
4016 * iconv/gconv_db.c: Update copyright years.
4017
80ccd52c
LD
40182012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4019
4020 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4021 unwind info if defined PIC. Fix special cases description.
4022 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4023
4024 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4025 DP_HI_MASK entry.
4026 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4027
691bc9c1
L
40282012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4029
3d9b46b3
L
4030 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4031
de2139a9
L
4032 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4033 is NULL.
4034
5ca78dd0
L
4035 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4036 (LDLIBS-tst-chk4): This.
4037 (LDFLAGS-tst-chk5): Renamed to ...
4038 (LDLIBS-tst-chk5): This.
4039 (LDFLAGS-tst-chk6): Renamed to ...
4040 (LDLIBS-tst-chk6): This.
4041 (LDFLAGS-tst-lfschk4): Renamed to ...
4042 (LDLIBS-tst-lfschk4): This.
4043 (LDFLAGS-tst-lfschk5): Renamed to ...
4044 (LDLIBS-tst-lfschk5): This.
4045 (LDFLAGS-tst-lfschk6): Renamed to ...
4046 (LDLIBS-tst-lfschk6): This.
4047
691bc9c1
L
4048 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4049 on $(common-objpfx)soversions.mk.
4050
65cafb1c
JM
40512012-09-07 Joseph Myers <joseph@codesourcery.com>
4052
4053 [BZ #10014]
4054 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4055 example host name.
4056
c78ab094
SP
40572012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4058
4059 * malloc/arena.c (arena_get_retry): New function that gets
4060 another arena for the caller to try its request on.
4061 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4062 current arena cannot fulfill the request.
4063 (__libc_memalign): Likewise.
4064 (__libc_memalign): Likewise.
4065 (__libc_pvalloc): Likewise.
4066 (__libc_calloc): Likewise.
4067
01f49f59
JT
40682012-09-05 John Tobey <john.tobey@gmail.com>
4069
4070 [BZ #13542]
4071 * manual/arith.texi (Operations on Complex): Fix description
4072 of carg branch cut.
4073
4c23fed5
JM
40742012-09-06 Joseph Myers <joseph@codesourcery.com>
4075
1d3c8572
JM
4076 [BZ #10014]
4077 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4078 host name.
4079
4c23fed5
JM
4080 [BZ #10038]
4081 * manual/memory.texi (Memory): Make order of menu items match
4082 order of sections.
4083
04570aaa
L
40842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4085
4086 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4087 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4088 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4089
b80af2f4
L
40902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4091
4092 * csu/libc-tls.c (static_dtv): Renamed to ...
4093 (_dl_static_dtv): This. Make it global.
4094 (_dl_initial_dtv): Removed.
4095 (__libc_setup_tls): Updated.
4096 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4097 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4098 DL_INITIAL_DTV.
4099
2abe9f15
PM
41002012-09-06 Petr Machata <pmachata@redhat.com>
4101
4102 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4103 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4104 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4105 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4106
0948c3af
L
41072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4108
4109 [BZ #14545]
4110 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4111 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4112 freeing dtv[-1].
4113
a5055ad1
L
41142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4115
4116 [BZ #14544]
4117 * Makeconfig (link-static-before-libc): Replace $(+prector)
4118 with $(+prectorT).
4119 (link-static-after-libc): Replace $(+postctor) with
4120 $(+postctorT).
4121 (link-bounded): Replace $(+prector)/$(+postctor) with
4122 $(+prectorT)/$(+postctorT).
4123 (+prectorT): New macro.
4124 (+postctorT): Likewise.
4125
ed8c2ecd
JM
41262012-09-06 Joseph Myers <joseph@codesourcery.com>
4127
4128 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4129 (round_str): Handle values above the maximum for IBM long double
4130 as inexact.
4131 * stdlib/tst-strtod-round.c (tests): Regenerated.
4132
14c996c8
AK
41332012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4134
4135 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4136 assembler flag.
4137 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4138 zarch_nohighgprs around the zarch optimized routines.
4139 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4140 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4142 for zarch.
4143
430d6ce6
DM
41442012-09-05 David S. Miller <davem@davemloft.net>
4145
4146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4147
ff04dda4
DM
4148 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4149 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4150 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4151 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4152 entries.
4153
24d4e01b
AO
41542012-09-05 Alexandre Oliva <aoliva@redhat.com>
4155
4156 * malloc/arena.c: Fold copyright years.
4157 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4158
61d58174
AO
41592012-09-05 Alexandre Oliva <aoliva@redhat.com>
4160
4161 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4162
20196a5e
AO
41632012-09-05 Alexandre Oliva <aoliva@redhat.com>
4164
4165 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4166
5c447383
AO
41672012-09-05 Alexandre Oliva <aoliva@redhat.com>
4168
4169 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4170 change internal state upon failure.
4171
fad64255
AO
41722012-09-05 Alexandre Oliva <aoliva@redhat.com>
4173
4174 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4175 * malloc/memusage.c (mmap): Likewise.
4176 (mmap64, mremap): Likewise. Adjust name in comment.
4177
1ffb8c90
SP
41782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4179
4180 * libio/fileops.c: Fix typos in comments.
4181 * libio/oldfileops.c: Likewise.
4182 * libio/wfileops.c: Likewise.
4183
6ef9cc37
SP
41842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4185
4186 [BZ #1349]
4187 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4188 (tst-malloc-usable-ENV): Set environment for test case.
4189 * malloc/hooks.c (malloc_check_get_size): New function to get
4190 requested size.
4191 * malloc/malloc.c (musable): Use malloc_check_get_size.
4192 * malloc/tst-malloc-usable.c: New test case.
4193
4d038ae3
AS
41942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4195
4196 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4197
c4e85184
AM
41982012-09-05 Allan McRae <allan@archlinux.org>
4199
b9dafc56 4200 [BZ #13966]
c4e85184
AM
4201 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4202 determine header location.
4203 * configure: Regenerated.
4204
e1343020
AS
42052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4206
4207 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4208 float format.
4209 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4210 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4211 format.
e1343020
AS
4212 (test): Regenerate.
4213
0a9f1987
DM
42142012-09-04 David S. Miller <davem@davemloft.net>
4215
4216 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4217 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4219
29237804
FW
42202012-09-04 Florian Weimer <fweimer@redhat.com>
4221
4222 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4223 failures.
4224
edb3cb88
FW
4225 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4226
60160d83
JM
42272012-09-04 Joseph Myers <joseph@codesourcery.com>
4228
4229 [BZ #9914]
4230 * libio/iogetdelim.c: Include <limits.h>.
4231 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4232 + len + 1 would overflow.
4233
bcd6c8dc
AJ
42342012-09-03 Andreas Jaeger <aj@suse.de>
4235
4236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4237 * sysdeps/i386/fpu/libm-test-ulps: Update.
4238
4ffffbd2
LD
42392012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4240
4241 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4242 Add s_sinf-sse2, s_conf-sse2.
4243
4244 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4245 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4246 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4247 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4248
4249 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4250 for using routine as __sinf_ia32.
4251 Use macro for function declaration and weak_alias.
4252 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4253 for using routine as __cosf_ia32.
4254 Use macro for function declaration and weak_alias.
4255
4256 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4257 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4258
4259 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4260 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4262
4263 * math/libm-test.inc (cos_test): Add more test cases.
4264 (sin_test): Likewise.
4265 (sincos_test): Likewise.
4266
511fa286
AK
42672012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4268
4269 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4270 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4271 hidden.
4272 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4273
5f30cfec
L
42742012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4275
4276 [BZ #14538]
4277 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4278 first element of the GOT.
4279 (elf_machine_load_address): Return the difference between
4280 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4281
0786794f
AM
42822012-09-01 Allan McRae <allan@archlinux.org>
4283
5f30cfec
L
4284 [BZ #13412]
4285 * configure.in (AWK): Require gawk version 3.0 or later.
4286 * configure: Regenerated.
0786794f 4287
26889eac
JM
42882012-09-01 Joseph Myers <joseph@codesourcery.com>
4289
4290 * sysdeps/unix/sysv/linux/kernel-features.h
4291 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4292 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4293 [__NR_clock_getres]: Make code unconditional.
4294 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4295 (clock_getcpuclockid): Remove code left unreachable by removal of
4296 conditionals.
4297 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4298 code unconditional.
4299 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4300 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4301 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4302 Make code unconditional.
4303 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4304 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4305 * sysdeps/unix/sysv/linux/clock_settime.c
4306 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4307 conditional code.
4308 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4309 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4310
d22e28b0
L
43112012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4312
4313 [BZ #14476]
4314 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4315 scripts/test-installation.pl.
4316
4317 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4318 and $ld_so_version if it is set.
4319
050af9c4
SP
43202012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4321
4322 [BZ #14516]
4323 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4324 failure if reading from procfs failed.
4325 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4326
ad845c0b
JM
43272012-08-27 Joseph Myers <joseph@codesourcery.com>
4328
4329 * sysdeps/unix/sysv/linux/kernel-features.h
4330 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4331 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4332 Remove conditional code.
4333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4334 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4335 Remove conditional code.
4336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4337 * sysdeps/unix/sysv/linux/i386/fxstat.c
4338 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4340 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4341 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4343 * sysdeps/unix/sysv/linux/i386/lxstat.c
4344 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4346 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4347 Remove conditional code.
4348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4349 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4350 Remove conditional code.
4351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4352 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4353 <kernel-features.h>.
4354 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4355 Remove.
4356 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4357 Remove conditional code.
4358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4359 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4360 Remove conditional.
4361
5dbf56af
MF
43622012-08-27 Mike Frysinger <vapier@gentoo.org>
4363
4364 [BZ #5400]
4365 * NEWS: Add fixed bug number.
4366
d6e70f43
JM
43672012-08-27 Joseph Myers <joseph@codesourcery.com>
4368
7efb4737
JM
4369 [BZ #14519]
4370 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4371 underflowing exponent in case of negative sign.
4372 * stdlib/tst-strtod-round-data: Add more tests.
4373 * stdlib/tst-strtod-round.c (tests): Regenerated.
4374
af92131a
JM
4375 [BZ #3479]
4376 * stdlib/strtod_l.c (NDIG): Remove.
4377 (HEXNDIG): Likewise.
4378 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4379 smallest representable value.
4380 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4381 lie within an exact representation of 1/2 ulp of the result.
4382 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4383 unconditionally.
4384 (TENS_P9_IDX): Define unconditionally.
4385 (TENS_P9_SIZE): Likewise.
4386 (TENS_P10_IDX): Likewise.
4387 (TENS_P10_SIZE): Likewise.
4388 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4389 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4390 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4391 entries for 10^2^13 and 10^2^14.
4392 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4393 (TENS_P13_IDX): Define.
4394 (TENS_P13_SIZE): Likewise.
4395 (TENS_P14_IDX): Likewise.
4396 (TENS_P14_SIZE): Likewise.
4397 (_fpioconst_pow10): Change array size to
4398 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4399 unconditional.
4400 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4401 1024]: Add entries for 10^2^13 and 10^2^14.
4402 [LAST_POW10 > _LAST_POW10]: Remove #error.
4403 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4404 (_fpioconst_pow10): Change array size to
4405 FPIOCONST_POW10_ARRAY_SIZE.
4406 * stdlib/gen-fpioconst.c: New file.
4407 * stdlib/gen-tst-strtod-round.c: Likewise.
4408 * stdlib/tst-strtod-round-data: Likewise.
4409 * stdlib/tst-strtod-round.c: Likewise.
4410 * stdlib/Makefile (tests): Add tst-strtod-round.
4411
d6e70f43
JM
4412 [BZ #14459]
4413 * stdlib/strtod_l.c: Include <stdint.h>.
4414 (NDEBUG): Do not define.
4415 (round_and_return): Change EXPONENT parameter to type intmax_t.
4416 Rearrange calculations to avoid internal overflow possibilities.
4417 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4418 Rearrange calculations to avoid internal overflow possibilities.
4419 Assert that number fits inside MPNSIZE limbs.
4420 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4421 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4422 calculations and add assertions to avoid internal overflow
4423 possibilities. Add casts to avoid signed/unsigned operations.
4424 * stdlib/tst-strtod-overflow.c: New file.
4425 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4426
1f529f7d
MP
44272012-08-25 Marek Polacek <polacek@redhat.com>
4428
4429 * time/time.h: Fix some typos in comments.
4430
59a629f1
RM
44312012-08-23 Roland McGrath <roland@hack.frob.com>
4432
4433 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4434 * posix/tst-rfc3484-2.c: Likewise.
4435 * posix/tst-rfc3484-3.c: Likewise.
4436
d3bafbc9
SM
44372012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4438
4439 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4440 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4441
4efcc022
JM
44422012-08-23 Joseph Myers <joseph@codesourcery.com>
4443
4444 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4445 #include of fxstatat64.c.
4446
3cc3ef96
RM
44472012-08-22 Roland McGrath <roland@hack.frob.com>
4448
f04e2132
RM
4449 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4450 * shadow/getspent_r.c: Likewise.
4451 * shadow/getspnam.c: Likewise.
4452 * shadow/getspnam_r.c: Likewise.
4453 * gshadow/getsgent.c: Likewise.
4454 * gshadow/getsgent_r.c: Likewise.
4455 * gshadow/getsgnam.c: Likewise.
4456 * gshadow/getsgnam_r.c: Likewise.
4457 * inet/getnetbyad.c: Likewise.
4458 * inet/getnetbyad_r.c: Likewise.
4459 * inet/getnetbynm.c: Likewise.
4460 * inet/getnetbynm_r.c: Likewise.
4461 * inet/getnetent.c: Likewise.
4462 * inet/getnetent_r.c: Likewise.
4463 * inet/getproto.c: Likewise.
4464 * inet/getproto_r.c: Likewise.
4465 * inet/getprtent.c: Likewise.
4466 * inet/getprtent_r.c: Likewise.
4467 * inet/getprtname.c: Likewise.
4468 * inet/getprtname_r.c: Likewise.
4469 * inet/getrpcbyname.c: Likewise.
4470 * inet/getrpcbyname_r.c: Likewise.
4471 * inet/getrpcbynumber.c: Likewise.
4472 * inet/getrpcbynumber_r.c: Likewise.
4473 * inet/getrpcent.c: Likewise.
4474 * inet/getrpcent_r.c: Likewise.
4475 * inet/getaliasent.c: Likewise.
4476 * inet/getaliasent_r.c: Likewise.
4477 * inet/getaliasname.c: Likewise.
4478 * inet/getaliasname_r.c: Likewise.
4479 * nscd/getgrgid_r.c: Likewise.
4480 * nscd/getgrnam_r.c: Likewise.
4481 * nscd/gethstbyad_r.c: Likewise.
4482 * nscd/gethstbynm3_r.c: Likewise.
4483 * nscd/getpwnam_r.c: Likewise.
4484 * nscd/getpwuid_r.c: Likewise.
4485 * nscd/getsrvbynm_r.c: Likewise.
4486 * nscd/getsrvbypt_r.c: Likewise.
4487 * nscd/gai.c: Likewise.
4488
c53d909c
RM
4489 * configure.in (build_nscd): New substituted variable, set
4490 by --disable-build-nscd and defaults to $use_nscd.
4491 * configure: Regenerated.
4492 * config.make.in (build-nscd): New substituted variable.
4493 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4494 Change conditional to require [$(build-nscd) = yes] as well.
4495 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4496
3cc3ef96
RM
4497 [BZ# 13696]
4498 * configure.in (use_nscd): New substituted variable, set by
4499 --disable-nscd. If enabled, define USE_NSCD.
4500 * configure: Regenerated.
4501 * config.h.in: Add USE_NSCD.
4502 * config.make.in (use-nscd): New substituted variable.
4503 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4504 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4505 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4506 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4507 (CFLAGS-getgrnam_r.c): Likewise.
4508 (CFLAGS-initgroups.c): Likewise.
4509 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4510 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4511 Variables removed.
4512 * inet/getnetgrent_r.c
4513 (nscd_setnetgrent): New function, broken out of ...
4514 (setnetgrent): ... here. Call it.
4515 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4516 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4517 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4518 * nscd/Makefile (routines, aux): Move definitions after include of
4519 Makeconfig. Conditionalize on [$(use-nscd) != no].
4520 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4521 Conditionalize on [USE_NSCD].
4522 (is_nscd, nscd_init_cb): Likewise.
4523 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4524 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4525 * nss/nss_db/db-init.c: Likewise.
4526 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4527 [USE_NSCD].
4528 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4529 (make_request): Use it.
4530 (cache_valid_p): New function.
4531 (__check_pf): Use it.
4532 * NEWS: Add item for --disable-nscd.
4533
07e51550
DL
45342012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4535
4536 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4537 to support sed >= 4.2.1-20-ga9bf076.
4538 * configure: Regenerated.
4539
35a5b08b
RM
45402012-08-22 Roland McGrath <roland@hack.frob.com>
4541
4542 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4543 Conditionalize whole body on [IREL].
4544
8479f23a
JL
45452012-08-22 Jeff Law <law@redhat.com>
4546
4547 [BZ #14505]
4548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4549 if the family is PF_UNSPEC.
4550
48da0b21
MF
45512012-08-22 Mike Frysinger <vapier@gentoo.org>
4552
4553 * Makerules (lib-version): Rename from V.
4554 (install-lib-nosubdir): Change V to lib-version.
4555
15d0da8c
WS
45562012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4557
4558 [BZ #14252]
4559 * powerpc32/power6/wcschr.c: New file.
4560 * powerpc32/power6/wcscpy.c: New file.
4561 * powerpc32/power6/wcsrchr.c: New file.
4562 * powerpc64/power6/wcschr.c: New file.
4563 * powerpc64/power6/wcscpy.c: New file.
4564 * powerpc64/power6/wcsrchr.c: New file.
4565
bcca0895
MK
45662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4567
4568 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4569 (two_way_short_needle): Use it.
5a4aaa33
RM
4570 * string/strstr.c (AVAILABLE1_USES_J): Define.
4571 * string/strcasestr.c: Likewise.
99677e57
MK
4572
4573 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4574 array references.
4575 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4576
400726de
MK
4577 [BZ #11607]
4578 * NEWS: Add an entry.
4579 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4580 define their defaults.
4581 (two_way_short_needle): Detect end-of-string on-the-fly.
4582 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4583 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4584 * string/bug-strcasestr1.c: New test.
4585 * string/Makefile: Run it.
4586
20a71f2c
MK
45872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4588
4589 [BZ #11607]
4590 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4591 the first character.
4592
21ad0558
RM
45932012-08-21 Roland McGrath <roland@hack.frob.com>
4594
4595 * csu/elf-init.c (__libc_csu_irel): Function removed.
4596 * csu/libc-start.c (apply_irel): New function.
4597 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4598
0e1d9911
JM
45992012-08-21 Joseph Myers <joseph@codesourcery.com>
4600
4601 * sysdeps/unix/sysv/linux/kernel-features.h
4602 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4603 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4604 <kernel-features.h>.
4605 [__NR_fadvise64_64]: Make code unconditional.
4606 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4607 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4608 !__NR_fadvise64_64)]: Likewise.
4609 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4610 !__NR_fadvise64_64))]: Likewise.
4611 [__NR_fadvise64]: Make code unconditional.
4612 [!__NR_fadvise64]: Remove conditional code.
4613 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4614 <kernel-features.h>.
4615 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4616 unconditional.
4617 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4618 conditional code.
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4620 not include <kernel-features.h>.
4621 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4622 unconditional.
4623 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4624 conditional code.
4625 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4626 include <kernel-features.h>.
4627 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4628 unconditional.
4629 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4630 conditional code.
4631
14a50c9d
WS
46322012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4633
4634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4635 slight instruction rearrangements per scrollpipe analysis.
4636 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4637
c0f4faf0
RM
46382012-08-20 Roland McGrath <roland@hack.frob.com>
4639
696da859
RM
4640 * manual/syslog.texi (syslog; vsyslog, closelog):
4641 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4642 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4643
c0f4faf0
RM
4644 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4645 DSOCAPS to match condition on defining it.
4646
348363b2
JM
46472012-08-20 Joseph Myers <joseph@codesourcery.com>
4648
a35cbf28
JM
4649 * sysdeps/unix/sysv/linux/kernel-features.h
4650 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4652 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4653 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4655 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4656 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4658 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4659 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4660
445f7ecd
JM
4661 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4662 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4663
348363b2
JM
4664 * sysdeps/unix/sysv/linux/kernel-features.h
4665 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4666 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4667 unconditional.
4668 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4669 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4670 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4671 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4672 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4673 Make code unconditional.
4674 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4675 (__mmap64) [!__NR_mmap2]: Likewise.
4676 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4677 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4678 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4679 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4680 [__NR_mmap2]: Make code unconditional.
4681 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4682 (__mmap64) [!__NR_mmap2]: Likewise.
4683
bc5bc0e5
AK
46842012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4685
4686 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4687
88d506de
AJ
46882012-08-18 Andreas Jaeger <aj@suse.de>
4689
4690 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4691
493387d2
MF
46922012-08-18 Mike Frysinger <vapier@gentoo.org>
4693
4694 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4695 * include/unistd.h (__have_sock_cloexec): Likewise.
4696 (__have_pipe2): Likewise.
4697 (__have_dup3): Likewise.
4698
a277af22
MF
46992012-08-18 Mike Frysinger <vapier@gentoo.org>
4700
4701 [BZ #9685]
4702 * include/unistd.h (__have_pipe2): Change define into an extern int.
4703 (__have_dup3): Likewise.
4704 * socket/have_sock_cloexec.c: Include fcntl.h.
4705 (__have_pipe2): New variable.
4706 (__have_dup3): Likewise.
4707
fdab8fd3
MF
47082012-08-17 Mike Frysinger <vapier@gentoo.org>
4709
4710 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4711
31035e80
MP
47122012-08-17 Marek Polacek <polacek@redhat.com>
4713
4714 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4715 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4716
3bd9e993
RM
47172012-08-17 Roland McGrath <roland@hack.frob.com>
4718
c91c505f
RM
4719 * configure.in: Add AC_SUBST for sysheaders.
4720 * configure: Regenerated.
4721 * config.make.in (sysheaders): New substituted variable.
4722
7c6f9d53
RM
4723 * sysdeps/unix/mkfifo.c: Moved ...
4724 * sysdeps/posix/mkfifo.c: ... here.
4725 * sysdeps/unix/mkfifoat.c: Moved ...
4726 * sysdeps/posix/mkfifoat.c: ... here.
4727
4728 * sysdeps/unix/utime.c: Moved ...
4729 * sysdeps/posix/utime.c: ... here.
4730
4731 * sysdeps/unix/time.c: Moved ...
4732 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4733 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4734 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4735
4736 * sysdeps/unix/nice.c: Moved ...
4737 * sysdeps/posix/nice.c: ... here.
4738
4739 * sysdeps/unix/alarm.c: Moved ...
4740 * sysdeps/posix/alarm.c: ... here.
4741
3bd9e993
RM
4742 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4743
d1f09384
JL
47442012-08-17 Jeff Law <law@redhat.com>
4745
4746 * intl/Makefile (codeset_mo): New variable.
4747 ($(codeset_mo)): New target.
4748 (tst-codeset.out): Depend on that. Remove explicit rule.
4749 (tst-gettext3.out, tst-gettext5.out): Likewise.
4750 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4751 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4752 * intl/tst-codeset.sh: Remove.
4753 * intl/tst-gettext3.sh: Likewise.
4754 * intl/tst-gettext5.sh: Likewise.
4755
2ae1ae5c
RM
47562012-08-17 Roland McGrath <roland@hack.frob.com>
4757
c31fdb83
RM
4758 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4759 * sysdeps/unix/syscalls.list: ... here.
4760
a0844057
RM
4761 * sysdeps/posix/getaddrinfo.c
4762 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4763 (gaiconf_init, gaiconf_reload): Use them.
4764 [!_STATBUF_ST_NSEC]
4765 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4766 Define using time_t rather than struct timespec.
4767
750c1f2a
RM
4768 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4769 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4770 Macros removed.
4771 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4772 [!NO_THREADS].
4773 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4774 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4775 Likewise.
4776
2ae1ae5c
RM
4777 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4778 __libc_cleanup_push argument.
4779
e66a42f5
RM
4780 * bits/param.h: New file.
4781 * misc/sys/param.h: New file.
4782 * include/sys/param.h: New file.
4783 * misc/Makefile (headers): Add bits/param.h.
4784 * sysdeps/generic/sys/param.h: File removed.
4785 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4786 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4787 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4788 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4789
b7c08a66
RM
4790 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4791 last change.
4792
b2e1c562
RM
4793 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4794 [_IO_MTSAFE_IO].
4795 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4796 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4797 New macros.
4798
c75ccd4c
RM
4799 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4800 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4801 rather than -D_IO_MTSAFE_IO conditionally.
4802 * stdio-common/Makefile (CPPFLAGS): Likewise.
4803 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4804 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4805 Use $(libio-mtsafe).
4806 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4807 of -D_IO_MTSAFE_IO.
4808 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4809 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4810 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4811 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4812 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4813 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4814 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4815 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4816 (CFLAGS-fread_u_chk.c): Likewise.
4817 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4818 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4819 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4820 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4821 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4822 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4823 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4824 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4825 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4826
4827 * libio/Makefile: Test [$(libc-reentrant) = yes]
4828 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4829
4830 * Makeconfig
4831 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4832 * sysdeps/pthread/configure: File removed.
4833 * sysdeps/pthread/Makeconfig: New file.
4834 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4835 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4836
d9195db8
GB
48372012-08-16 Gary Benson <gbenson@redhat.com>
4838
4839 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4840 unmapping the first object in a namespace.
4841
86466cd9
RM
48422012-08-16 Roland McGrath <roland@hack.frob.com>
4843
4844 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4845 (__internal_setnetgrent): ... this. Add internal_function to
4846 definition. Add libc_hidden_def.
4847 (setnetgrent): Update caller.
4848 (internal_endnetgrent): Renamed to ...
4849 (__internal_endnetgrent): ... this. Add internal_function to
4850 definition. Add libc_hidden_def.
4851 (endnetgrent): Update caller.
4852 (internal_getnetgrent_r): Renamed to ...
4853 (__internal_getnetgrent_r): ... this. Add internal_function to
4854 definition. Add libc_hidden_def.
4855 (__getnetgrent_r): Update caller.
4856 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4857
c3c8283c
JM
48582012-08-16 Joseph Myers <joseph@codesourcery.com>
4859
4860 * stdlib/longlong.h: Update from GCC.
4861
db1ee0a8
RM
48622012-08-16 Roland McGrath <roland@hack.frob.com>
4863
4864 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4865 on _QL, which is set by umul_ppmm but never used.
4866 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4867 variables, which are set by GMP macros but never used.
4868 * stdio-common/_itowa.c (_itowa): Likewise.
4869 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4870 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4871
30f69637
CD
48722012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4873
4874 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4875 struct La_sh_regs is not constant.
4876 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4877 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4878 and struct La_sparc64_regs are not constant.
4879
93a78ac4
JM
48802012-08-16 Joseph Myers <joseph@codesourcery.com>
4881
4882 * sysdeps/unix/sysv/linux/kernel-features.h
4883 (__ASSUME_POSIX_TIMERS): Remove.
4884 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4886 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4887 Make code unconditional.
4888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4889 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4890 Make code unconditional.
4891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4892 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4893 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4894 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4895 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4896 Make code unconditional.
4897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4898 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4899 (__libc_missing_posix_timers): Remove.
4900
dd924cd7
RM
49012012-08-15 Roland McGrath <roland@hack.frob.com>
4902
4b4f2771
RM
4903 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4904 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4905
601c888b
RM
4906 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4907
176790a7
RM
4908 * elf/dl-sym.c: Include <stdlib.h>.
4909
329bc018
RM
4910 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4911 constants, which avoids warnings in 32-bit builds.
4912
e04e272d
RM
4913 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4914 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4915
952bf94a
RM
4916 * misc/lseek.c: File moved to ...
4917 * io/lseek.c: ... here.
4918
7c99b50a
RM
4919 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4920
dd924cd7
RM
4921 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4922 shifting LEN more than 31 bits at once.
4923
b3f479a8
LD
49242012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4925
4926 [BZ #14195]
8c4ae0d4
RM
4927 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4928 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4929 * string/test-strncasecmp.c (check1): Renamed to...
4930 (bz12205): ...this.
4931 (bz14195): Add new testcase for two empty input strings and N > 0.
4932 (test_main): Call new testcase, adapt for renamed function.
4933
9c55864e
AJ
49342012-08-15 Andreas Jaeger <aj@suse.de>
4935
4936 [BZ #14090]
4937 * crypt/md5test2.c: New test, based on test supplied by Serge
4938 Belyshev <belyshev@depni.sinp.msu.ru>.
4939 * crypt/Makefile (xtests): Add md5test-giant..
4940 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4941
02dcb6c5
PE
49422012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4943
4944 [BZ #14090]
4945 * crypt/md5.c (md5_process_block): Don't assume the buffer
4946 length is less than 2**32.
4947 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4948 length is less than 2**64.
4949
a3f95dcc
RM
49502012-08-15 Roland McGrath <roland@hack.frob.com>
4951
be75d758
RM
4952 * string/str-two-way.h: Include <sys/param.h>.
4953 (MAX): Macro removed.
4954
7312ca90
RM
4955 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4956 Move #define and #undef of memmove to just before and after
4957 including <string.h>.
4958
9a0a5486
RM
4959 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4960 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4961 and after including <string.h>. Move declarations of
4962 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4963 to before #include "string/memmove.c".
4964
67cc348d
RM
4965 * include/dirent.h: Declare __getdirentries.
4966
a3f95dcc
RM
4967 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4968 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4969
ca98e171
MF
49702012-08-14 Mike Frysinger <vapier@gentoo.org>
4971
4972 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4973 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4974 * sysdeps/i386/configure: Regenerated.
4975 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4976 STABS_CURRENT_FILE, and STABS_FUN.
4977 (END): Remove call to STABS_FUN_END.
4978 (STABS_CURRENT_FILE1): Delete.
4979 (STABS_CURRENT_FILE): Likewise.
4980 (STABS_FUN): Likewise.
4981 (STABS_FUN_END): Likewise.
4982 (STABS_FUN2): Likewise.
4983 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4984 * sysdeps/x86_64/configure: Regenerated.
4985
5908bf46
RM
49862012-08-14 Roland McGrath <roland@hack.frob.com>
4987
4988 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4989 * elf/dl-lookup.c: Likewise.
5908bf46 4990
f2c05b9e
JM
49912012-08-14 Joseph Myers <joseph@codesourcery.com>
4992
4993 * sysdeps/unix/sysv/linux/kernel-features.h
4994 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4995 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4996 unconditionally.
4997 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4998 unconditionally.
4999 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5000 condition on __ASSUME_CLONE_THREAD_FLAGS.
5001
e11f5155
AJ
50022012-08-14 Andreas Jaeger <aj@suse.de>
5003
5004 * sysdeps/i386/fpu/libm-test-ulps: Update.
5005
51a9ba86
MK
50062012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5007
2fdd4f78
AJ
5008 * include/atomic.h (atomic_exchange_and_add): Split into ...
5009 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5010 New atomic macros.
51a9ba86 5011
ba6cba9e
MT
50122012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5013
5014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5015
42443a47
JL
50162012-08-13 Jeff Law <law@redhat.com>
5017
5018 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5019 null byte in the output string.
5020
121dce05
JM
50212012-08-10 Joseph Myers <joseph@codesourcery.com>
5022
5023 * sysdeps/unix/sysv/linux/kernel-features.h
5024 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5025 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5026 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5027 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5028 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5029 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5030 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5031
bf51f568
JL
50322012-08-09 Jeff Law <law@redhat.com>
5033
5034 [BZ #13939]
5035 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5036 When avoid_arena is set, don't retry in the that arena. Pick the
5037 next one, whatever it might be.
5038 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5039 (arena_lock): Pass in new parameter to arena_get2.
5040 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5041 arena_get2.
5042 (__libc_malloc): Unify retrying after main arena failure with
5043 __libc_memalign version.
5044 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5045
f85fa270
L
50462012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5047
5048 [BZ #14166]
5049 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5050 to __redirect_strstr.
5051 (__strstr_sse42): Use typeof __redirect_strstr.
5052 (__strstr_ia32): Likewise.
5053 (__libc_strstr): New prototype.
5054 (strstr): Renamed to ...
5055 (__libc_strstr): This.
5056 (strstr): New strong alias of __libc_strstr.
5057 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5058 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5059 __redirect_time.
5060 Include <time.h>.
5061 (__libc_time): New prototype.
5062 (time_ifunc): Replace time with __libc_time.
5063 (time): New strong alias and hidden definition of __libc_time.
5064 (__GI_time): Remove strong alias.
5065 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5066 Include <stddef.h>.
5067 (memmove): Redefined to __redirect_memmove.
5068 (__memmove_sse2): Use typeof __redirect_memmove.
5069 (__memmove_ssse3): Likewise.
5070 (__memmove_ssse3_back): Likewise.
5071 (__libc_memmove): New prototype.
5072 (memmove): Renamed to ...
5073 (__libc_memmove): This.
5074 (memmove): New strong alias of __libc_memmove.
5075
33b4a91e
MS
50762012-08-08 Mark Salter <msalter@redhat.com>
5077
5078 * elf/elf.h
5079 (R_MN10300_TLS_GD): Define.
5080 (R_MN10300_TLS_LD): Likewise.
5081 (R_MN10300_TLS_LDO): Likewise.
5082 (R_MN10300_TLS_GOTIE): Likewise.
5083 (R_MN10300_TLS_IE): Likewise.
5084 (R_MN10300_TLS_LE): Likewise.
5085 (R_MN10300_TLS_DTPMOD): Likewise.
5086 (R_MN10300_TLS_DTPOFF): Likewise.
5087 (R_MN10300_TLS_TPOFF): Likewise.
5088 (R_MN10300_SYM_DIFF): Likewise.
5089 (R_MN10300_ALIGN): Likewise.
5090 (R_MN10300_NUM): Update.
5091
b36137f1
JM
50922012-08-08 Joseph Myers <joseph@codesourcery.com>
5093
5094 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5095 Remove.
5096
cdd915fd
RM
50972012-08-08 Roland McGrath <roland@hack.frob.com>
5098
a2433aac
RM
5099 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5100
cdd915fd
RM
5101 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5102 sysdeps/unix -> sysdeps/posix move.
5103 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5104
bf9b740a
AM
51052012-08-07 Allan McRae <allan@archlinux.org>
5106
5107 [BZ #14303]
5108 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5109 (SUNOS_CPP): Likewise.
5110 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5111 not found.
5112 (open_input): Call CPP using execvp.
5113
93df14ee
JM
51142012-08-07 Joseph Myers <joseph@codesourcery.com>
5115
5116 * sysdeps/unix/sysv/linux/kernel-features.h
5117 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5118 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5119 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5120 (__ASSUME_WAITID_SYSCALL): Likewise.
5121 * sysdeps/unix/sysv/linux/dl-execstack.c
5122 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5123 code unconditional.
5124 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5125 conditional code.
5126 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5127 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5128 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5129 code.
5130 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5131 unconditional.
5132 [__ASSUME_WAITID_SYSCALL]: Likewise.
5133 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5134
d34689de
RM
51352012-08-07 Roland McGrath <roland@hack.frob.com>
5136
a281decc
RM
5137 * sysdeps/unix/closedir.c: Renamed to ...
5138 * sysdeps/posix/closedir.c: ... here.
5139 * sysdeps/unix/dirfd.c: Renamed to ...
5140 * sysdeps/posix/dirfd.c: ... here.
5141 * sysdeps/unix/dirstream.h: Renamed to ...
5142 * sysdeps/posix/dirstream.h: ... here.
5143 * sysdeps/unix/fdopendir.c: Renamed to ...
5144 * sysdeps/posix/fdopendir.c: ... here.
5145 * sysdeps/unix/opendir.c: Renamed to ...
5146 * sysdeps/posix/opendir.c: ... here.
5147 * sysdeps/unix/readdir.c: Renamed to ...
5148 * sysdeps/posix/readdir.c: ... here.
5149 * sysdeps/unix/readdir_r.c: Renamed to ...
5150 * sysdeps/posix/readdir_r.c: ... here.
5151 * sysdeps/unix/rewinddir.c: Renamed to ...
5152 * sysdeps/posix/rewinddir.c: ... here.
5153 * sysdeps/unix/seekdir.c: Renamed to ...
5154 * sysdeps/posix/seekdir.c: ... here.
5155 * sysdeps/unix/telldir.c: Renamed to ...
5156 * sysdeps/posix/telldir.c: ... here.
5157 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5158 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5159 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5160 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5161
22895b47
RM
5162 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5163 * bits/fcntl.h: ... here.
5164
707a53b6
RM
5165 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5166 not 0.
5167 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5168 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5169 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5170 (struct flock): Move l_start, l_len to the beginning.
5171 Use __pid_t for l_pid.
5172 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5173 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5174 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5175 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5176 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5177 [__USE_LARGEFILE64] (struct flock64): New type.
5178 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5179
f0bd3e25
RM
5180 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5181 * bits/dirent.h: ... here.
5182
d34689de
RM
5183 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5184 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5185
6dad2c06
JM
51862012-08-07 Joseph Myers <joseph@codesourcery.com>
5187
5188 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5189 Change from 2.6.0 to 2.6.16.
5190 * sysdeps/unix/sysv/linux/configure: Regenerated.
5191 * sysdeps/unix/sysv/linux/kernel-features.h
5192 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5193 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5194 version.
5195 (__ASSUME_UTIMES): Likewise.
5196 (__ASSUME_CLONE_STOPPED): Remove.
5197 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5198 architectures, not kernel version.
5199 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5200 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5201 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5202 (__ASSUME_WAITID_SYSCALL): Likewise.
5203 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5204 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5205 * README: State 2.6.16 as minimum Linux kernel version. Do not
5206 refer to older versions.
5207
03af9520
RM
52082012-08-06 Roland McGrath <roland@hack.frob.com>
5209
8e49df1d
RM
5210 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5211 Define alphasort64 as an alias.
5212 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5213 Define versionsort64 as an alias.
5214 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5215 Define scandir64 as an alias.
5216 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5217 Define scandirat64 as an alias.
5218 * dirent/alphasort64.c (alphasort64):
5219 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5220 * dirent/versionsort64.c: Likewise.
5221 * dirent/scandir64.c: Likewise.
5222 * dirent/scandirat64.c: Likewise.
5223 * sysdeps/wordsize-64/alphasort.c: File removed.
5224 * sysdeps/wordsize-64/alphasort64.c: File removed.
5225 * sysdeps/wordsize-64/scandir.c: File removed.
5226 * sysdeps/wordsize-64/scandir64.c: File removed.
5227 * sysdeps/wordsize-64/scandirat.c: File removed.
5228 * sysdeps/wordsize-64/scandirat64.c: File removed.
5229 * sysdeps/wordsize-64/versionsort.c: File removed.
5230 * sysdeps/wordsize-64/versionsort64.c: File removed.
5231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5237 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5239
5240 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5242 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5244 [defined __arch64__ || defined __sparcv9]
5245 (__INO_T_MATCHES_INO64_T): New macro.
5246 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5247 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5248 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5249 * sysdeps/unix/sysv/linux/bits/dirent.h
5250 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5251 (_DIRENT_MATCHES_DIRENT64): New macro.
5252
03af9520
RM
5253 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5254 Define lockf64 as an alias.
5255 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5256 Define fseeko64 as an alias.
5257 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5258 Define ftello64 as an alias.
5259 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5260 Define _IO_fgetpos64 and fgetpos64 as aliases.
5261 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5262 Define _IO_fsetpos64 and fsetpos64 as aliases.
5263 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5264 Conditionalize body on this.
5265 * libio/fseeko64.c: Likewise.
5266 * libio/ftello64.c: Likewise.
5267 * libio/iofgetpos64.c: Likewise.
5268 * libio/iofsetpos64.c: Likewise.
5269 * sysdeps/wordsize-64/lockf.c: File removed.
5270 * sysdeps/wordsize-64/lockf64.c: File removed.
5271 * sysdeps/wordsize-64/fseeko.c: File removed.
5272 * sysdeps/wordsize-64/fseeko64.c: File removed.
5273 * sysdeps/wordsize-64/ftello.c: File removed.
5274 * sysdeps/wordsize-64/ftello64.c: File removed.
5275 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5276 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5277 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5278 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5281 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5282 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5283 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5286 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5289
5290 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5292 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5294 [defined __arch64__ || defined __sparcv9]
5295 (__OFF_T_MATCHES_OFF64_T): New macro.
5296 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5297 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5299 (__OFF_T_MATCHES_OFF64_T): New macro.
5300
c5757acd
L
53012012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5302
5303 * stdlib/secure-getenv.c (__secure_getenv): Replace
5304 GLIBC_2_16 with GLIBC_2_17.
5305
3a31811e
L
53062012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5307
5308 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5309 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5310
faa2bccb
DM
53112012-08-03 David S. Miller <davem@davemloft.net>
5312
5313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5314
85fe1997
JM
53152012-08-03 Joseph Myers <joseph@codesourcery.com>
5316
5317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5318 Remove.
5319 (__ASSUME_CORRECT_SI_PID): Likewise.
5320 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5321 (__ASSUME_TMPFS_NAME): Likewise.
5322 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5323 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5324 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5325 (HAVE_AUX_SECURE): Make definition unconditional.
5326 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5327 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5328
4f75b7a0
RM
53292012-08-03 Roland McGrath <roland@hack.frob.com>
5330
5331 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5332 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5333 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5334 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5335 __eloop_threshold instead of SYMLOOP_MAX.
5336
5337 * sysdeps/generic/eloop-threshold.h: New file.
5338 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5339 of MAXSYMLINKS.
5340 * elf/chroot_canon.c (chroot_canon): Likewise.
5341
7aab07e4
JM
53422012-08-03 Joseph Myers <joseph@codesourcery.com>
5343
5344 [BZ #13717]
5345 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5346 Change to 2.6.0 everywhere.
5347 * sysdeps/unix/sysv/linux/configure: Regenerated.
5348 * sysdeps/unix/sysv/linux/kernel-features.h
5349 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5350 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5351 kernel versions.
5352 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5353 (__ASSUME_FUTEX_REQUEUE): Remove.
5354 (__ASSUME_STATFS64): Define unconditionally.
5355 (__ASSUME_AT_SECURE): Likewise.
5356 (__ASSUME_CORRECT_SI_PID): Likewise.
5357 (__ASSUME_TGKILL): Define without depending on kernel version for
5358 i386.
5359 (__ASSUME_UTIMES): Likewise.
5360 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5361 kernel version.
5362 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5363 (__ASSUME_TMPFS_NAME): Likewise.
5364 * README: Update reference to Linux kernel versions.
5365
b67e9372
MP
53662012-08-02 Marek Polacek <polacek@redhat.com>
5367
1f529f7d 5368 [BZ# 14150]
b67e9372
MP
5369 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5370 libc_cv_asm_type_prefix with %.
5371 * configure: Regenerated.
d2441631
RM
5372 * include/libc-symbols.h: Remove comment about
5373 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5374 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5375 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5376 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5377 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5378 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5379 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5380 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5381 * elf/tst-unique2mod1.c: Likewise.
5382 * elf/tst-unique1mod2.c: Likewise.
5383 * elf/tst-unique1mod1.c: Likewise.
5384 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5385 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5386 Replace ASM_TYPE_DIRECTIVE with .type.
5387 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5388 * sysdeps/i386/sysdep.h: Likewise.
5389 * sysdeps/x86_64/sysdep.h: Likewise.
5390 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5392 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5393 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5394 * sysdeps/powerpc/powerpc32/sysdep.h:
5395 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5396 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5397 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5398 * sysdeps/i386/fpu/e_powf.S: Likewise.
5399 * sysdeps/i386/fpu/e_expl.S: Likewise.
5400 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5402 * sysdeps/i386/fpu/e_pow.S: Likewise.
5403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5407 * sysdeps/i386/fpu/e_log2.S: Likewise.
5408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5410 * sysdeps/i386/fpu/e_powl.S: Likewise.
5411 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5412 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5413 * sysdeps/i386/fpu/e_logl.S: Likewise.
5414 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5415 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5416 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5417 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5418 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5419 * sysdeps/i386/fpu/e_log.S: Likewise.
5420 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5421 * sysdeps/i386/fpu/e_logf.S: Likewise.
5422 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5423 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5424 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5425 * sysdeps/i386/fpu/e_log10.S: Likewise.
5426 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5427 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5428 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5429 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5430 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5431 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5432 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5433 * sysdeps/i386/i686/strtok.S: Likewise.
5434 * sysdeps/i386/i386-mcount.S: Likewise.
5435 * sysdeps/i386/strtok.S: Likewise.
5436 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5437 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5438 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5439 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5440 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5441 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5442 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5443 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5444 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5445 * sysdeps/x86_64/_mcount.S: Likewise.
5446 * sysdeps/x86_64/strtok.S: Likewise.
5447 * sysdeps/sh/_mcount.S: Likewise.
5448
2747bf9a
RM
54492012-08-01 Roland McGrath <roland@hack.frob.com>
5450
5451 * libio/iofopen.c: Include <fcntl.h>.
5452 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5453 (_IO_fopen64, fopen64): Define as aliases.
5454 * libio/iofopen64.c: Include <fcntl.h>.
5455 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5456 Conditionalize body on this.
5457 * sysdeps/wordsize-64/iofopen.c: File removed.
5458 * sysdeps/wordsize-64/iofopen64.c: File removed.
5459
3fb791b8
MP
54602012-08-01 Marek Polacek <polacek@redhat.com>
5461
5462 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5463 Use dlfcn directly instead of a variable.
5464 (binfmt-subdir): Do not define.
5465 (dlfcn): Likewise.
5466
a9f1039f
JM
54672012-08-01 Joseph Myers <joseph@codesourcery.com>
5468
23bddc06
JM
5469 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5470 Remove all definitions.
5471 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5472 <kernel-features.h>.
5473 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5474 (miss_F_GETOWN_EX): Remove all definitions.
5475 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5476 macro definition.
5477 [!__ASSUME_FCNTL64]: Remove conditional code.
5478 [__ASSUME_FCNTL64]: Make code unconditional.
5479 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5480 <kernel-features.h>.
5481 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5482 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5483 (lockf64) [__NR_fcntl64]: Make code unconditional.
5484 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5485
a9f1039f
JM
5486 * sysdeps/unix/sysv/linux/kernel-features.h
5487 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5488 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5489 Make code unconditional.
5490 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5491 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5493 [__NR_vfork]: Make code unconditional.
5494 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5495 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5497 [__NR_vfork]: Make code unconditional.
5498 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5499 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5500
09c0ee5f
RM
55012012-08-01 Roland McGrath <roland@hack.frob.com>
5502
48aec5b9
RM
5503 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5504 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5505
cd97c966
RM
5506 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5507 Define mkstemp64 as an alias.
3f55550c
RM
5508 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5509 Define mkstemps64 as an alias.
cd97c966
RM
5510 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5511 Define mkostemp64 as an alias.
b8625cfc
RM
5512 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5513 Define mkostemps64 as an alias.
cd97c966
RM
5514 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5515 Conditionalize body on this.
5516 * misc/mkostemp64.c: Likewise.
b8625cfc 5517 * misc/mkostemps64.c: Likewise.
3f55550c 5518 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5519 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5520 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5521 * sysdeps/wordsize-64/mkostemp.c: File removed.
5522 * sysdeps/wordsize-64/mkstemp.c: File removed.
5523 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5524 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5525 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5526 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5527
09c0ee5f
RM
5528 [BZ #14138]
5529 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5530 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5531 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5532 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5533
5534 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5535 compat_symbol macros from <shlib-compat.h> rather than the underlying
5536 default_symbol_version and symbol_version macros, so that DEFAULT
5537 lines in shlib-versions are respected.
5538 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5539
7e66ee51
FW
55402012-08-01 Florian Weimer <fweimer@redhat.com>
5541
5542 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5543 Declare with warn_unused_result.
5544 (setgid, setregid, setegid, setresgid): Likewise.
5545 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5546 Likewise.
5547 * WUR-REPORT: Remove set*id functions.
5548
d2a54255
PT
55492012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5550
5551 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5552
7ecdb005
RM
55532012-07-31 Roland McGrath <roland@hack.frob.com>
5554
789bd351
RM
5555 * include/sys/socket.h (__libc_accept, __libc_accept4):
5556 Add attribute_hidden.
5557 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5558
40ce302d
RM
5559 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5560 use of PTR_MANGLE.
5561 * inet/getnetgrent_r.c (setup): Likewise.
5562
7ecdb005
RM
5563 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5564
e2eabb2c
DM
55652012-07-31 David S. Miller <davem@davemloft.net>
5566
5567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5568
d0419dbf
JM
55692012-07-31 Joseph Myers <joseph@codesourcery.com>
5570
5571 [BZ #13629]
5572 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5573 value between 1.0 and 2.0 and smaller part has absolute value less
5574 than 1.0.
5575 * math/s_clog10.c (__clog10): Likewise.
5576 * math/s_clog10f.c (__clog10f): Likewise.
5577 * math/s_clog10l.c (__clog10l): Likewise.
5578 * math/s_clogf.c (__clogf): Likewise.
5579 * math/s_clogl.c (__clogl): Likewise.
5580 * math/libm-test.inc (clog_test): Add more tests.
5581 (clog10_test): Likewise.
5582 * sysdeps/i386/fpu/libm-test-ulps: Update.
5583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5584
2bc13872
FW
55852012-07-31 Florian Weimer <fweimer@redhat.com>
5586
5587 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5588 Exit with zero in case no suitable GID is found, and write a
5589 message to standard error.
5590
bea9b193
RM
55912012-07-30 Roland McGrath <roland@hack.frob.com>
5592
5593 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5594 rather than to 1.
5595 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5596 (MAXPATHLEN): Removed.
5597 (NOGROUP, NODEV): New macros.
5598 (setbit, clrbit, isset, isclr): New macros.
5599 (howmany, roundup, powerof2): New macros.
5600 (DEV_BSIZE): New macro.
5601
5602 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5603 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5604
5605 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5606 definition on [!__NO_LONG_DOUBLE_MATH].
5607
5608 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5609 PTR_MANGLE and PTR_DEMANGLE.
5610
5611 * socket/accept4.c (accept4): Rename to __libc_accept4.
5612 Define accept4 as a weak alias.
5613
5614 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5615 on [_DIRENT_HAVE_D_TYPE].
5616 * io/ftw.c (ftw_dir): Likewise.
5617
5618 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5619
5620 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5621
5622 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5623 Use the BSD numbers rather than the arbitrary ones we had.
5624 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5625 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5626 (SIGXCPU, SIGXFSZ): New macros.
5627 (_NSIG): Now 32.
5628
5629 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5630 initializer on [_LIBC_REENTRANT].
5631
5632 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5633 definitions inside [_POSIX_MAPPED_FILES].
5634
5635 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5636
5637 * dirent/opendir.c: Include <fcntl.h>.
5638
5639 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5640 (__libc_getspecific): Likewise.
5641 (__libc_key_create): Likewise.
5642
5643 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5644 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5645 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5646 (tmpfile64): Define as alias.
5647 * sysdeps/wordsize-64/tmpfile.c: File removed.
5648 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5650 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5651
5652 * stdio-common/vfscanf.c: Include <stdbool.h>.
5653 * nss/makedb.c: Likewise.
5654 * stdio-common/_i18n_number.h: Likewise.
5655 * argp/argp-help.c: Likewise.
5656 * posix/wordexp.c: Likewise.
5657 * sysdeps/posix/spawni.c: Likewise.
5658 * nss/nss_files/files-initgroups.c: Likewise.
5659 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5660 * nss/nss_files/files-initgroups.c: Likewise.
5661 * nss/nss_db/db-netgrp.c: Likewise.
5662 * nss/nss_db/db-initgroups.c: Likewise.
5663 * io/fchmodat.c: Include <sys/stat.h>.
5664
5665 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5666 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5667
5668 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5669 [HAVE_MMAP].
5670
5671 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5672 Add multiple inclusion protection.
5673
e5abc686
DM
56742012-07-27 David S. Miller <davem@davemloft.net>
5675
5676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5677
815e6fa3
GB
56782012-07-27 Gary Benson <gbenson@redhat.com>
5679
5680 [BZ #14298]
5681 * elf/rtld.c: Include <stap-probe.h>.
5682 (dl_main): Added static probes "init_start" and "init_complete".
5683 * elf/dl-load.c: Include <stap-probe.h>.
5684 (lose): Take new parameter "nsid".
5685 Added static probe "map_failed".
5686 (_dl_map_object_from_fd): Pass namespace id to lose.
5687 Added static probe "map_start".
5688 (open_verify): Pass namespace id to lose.
5689 * elf/dl-open.c: Include <stap-probe.h>.
5690 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5691 and "reloc_complete".
5692 * elf/dl-close.c: Include <stap-probe.h>.
5693 (_dl_close_worker): Added static probes "unmap_start" and
5694 "unmap_complete".
5695 * elf/rtld-debugger-interface.txt: New file documenting the above.
5696
9f98c16c
RM
56972012-07-26 Roland McGrath <roland@hack.frob.com>
5698
5699 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5700 rather than a string variable.
5701 * sunrpc/rpc_main.c (h_output): Likewise.
5702 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5703
f3c22df3
PT
57042012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5705
5706 * inet/check_native.c: New file.
5707
3129cfc6
JM
57082012-07-26 Joseph Myers <joseph@codesourcery.com>
5709
da865e95
JM
5710 [BZ #13629]
5711 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5712 if larger part has absolute value 1.0.
5713 * math/s_clog10.c (__clog10): Likewise.
5714 * math/s_clog10f.c (__clog10f): Likewise.
5715 * math/s_clog10l.c (__clog10l): Likewise.
5716 * math/s_clogf.c (__clogf): Likewise.
5717 * math/s_clogl.c (__clogl): Likewise.
5718 * math/libm-test.inc (clog_test): Add more tests.
5719 (clog10_test): Likewise.
5720 * sysdeps/i386/fpu/libm-test-ulps: Update.
5721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5722
3129cfc6
JM
5723 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5724 (pltexit): Likewise.
5725 (La_regs): Likewise.
5726 (La_retval): Likewise.
5727 (int_retval): Likewise.
5728 Update #error for removed macros to refer only to definitions in
5729 tst-audit.h.
5730 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5731 macro.
5732 (pltexit): Likewise.
5733 (La_regs): Likewise.
5734 (La_retval): Likewise.
5735 (int_retval): Likewise.
5736 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5737 macro.
5738 (pltexit): Likewise.
5739 (La_regs): Likewise.
5740 (La_retval): Likewise.
5741 (int_retval): Likewise.
5742 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5743 macro.
5744 (pltexit): Likewise.
5745 (La_regs): Likewise.
5746 (La_retval): Likewise.
5747 (int_retval): Likewise.
5748 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5749 macro.
5750 (pltexit): Likewise.
5751 (La_regs): Likewise.
5752 (La_retval): Likewise.
5753 (int_retval): Likewise.
5754 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5755 macro.
5756 (pltexit): Likewise.
5757 (La_regs): Likewise.
5758 (La_retval): Likewise.
5759 (int_retval): Likewise.
5760 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5761 macro.
5762 (pltexit): Likewise.
5763 (La_regs): Likewise.
5764 (La_retval): Likewise.
5765 (int_retval): Likewise.
5766 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5767 macro definitions in tst-audit.h.
5768 * sysdeps/i386/tst-audit.h: New file.
5769 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5770 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5771 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5772 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5773 * sysdeps/sh/tst-audit.h: Likewise.
5774 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5775 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5776 * sysdeps/x86_64/tst-audit.h: Likewise.
5777
bfc07087
AJ
57782012-07-26 Andreas Jaeger <aj@suse.de>
5779
b1b2aaf8
AJ
5780 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5781 ptrace.
5782
5783 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5784 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5785 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5786 PTRACE_O_MASK.
5787 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5788 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5789 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5790
bfc07087
AJ
5791 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5792 value.
5793
5794 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5795 _sigsys.
5796 (si_call_addr, si_syscall, si_arch): Define new macro.
5797 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5798 _sigsys.
5799 (si_call_addr, si_syscall, si_arch): Define new marcro.
5800 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5801 _sigsys.
5802 (si_call_addr, si_syscall, si_arch): Define new macro.
5803 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5804 _sigsys.
5805 (si_call_addr, si_syscall, si_arch): Define new macro.
5806
89b4b02f
JM
58072012-07-25 Joseph Myers <joseph@codesourcery.com>
5808
5809 [BZ #13717]
5810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5811 Change to 2.4.21 where previously 2.4.1.
5812 * sysdeps/unix/sysv/linux/configure: Regenerated.
5813 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5814 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5815 Linux kernel version.
5816 (__ASSUME_STD_AUXV): Remove.
5817 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5818 kernel version.
5819 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5820 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5821 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5822 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5823 (__ASSUME_NETLINK_SUPPORT): Likewise.
5824 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5825 (__no_netlink_support): Remove conditional definition.
5826 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5827 Remove.
5828 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5829 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5830 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5831 (if_nameindex_ioctl): Remove.
5832 (if_nameindex_netlink): Do not handle __no_netlink_support.
5833 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5834 code.
5835 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5836 Remove conditional code.
5837 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5838 code.
5839 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5840 unconditional.
5841 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5842 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5843 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5844 Remove.
5845 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5846 [!__ASSUME_STD_AUXV]: Remove conditional code.
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5848 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5849 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5851 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5852 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5853 code.
5854 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5856 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5857 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5858 conditional code.
5859 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5861 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5862 code.
5863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5864 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5865 conditional code.
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5867 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5868 code unconditional.
5869 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5870 conditional code.
5871 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5872 unconditional.
5873 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5874 conditional code.
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5876 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5877 unconditional.
5878 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5879 conditional code.
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5881 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5882 code unconditional.
5883 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5884 conditional code.
5885 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5886 unconditional.
5887 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5888 conditional code.
5889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5890 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5891 code unconditional.
5892 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5893 conditional code.
5894 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5895 unconditional.
5896 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5897 conditional code.
5898
842a39cd
AS
58992012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5900
5901 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5902 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5903 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5904 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5905 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5906 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5907 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5908 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5909 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5910 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5911 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5912 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5913 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5914 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5915 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5916 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5917 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5918 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5919 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5921 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5922 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5923 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5924
84b3fd84
FW
59252012-07-25 Florian Weimer <fweimer@redhat.com>
5926
5927 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5928 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5929 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5930 Introduce __libc_secure_getenv.
0c7936d5
FW
5931 * stdlib/Versions (2.17): Add secure_getenv
5932 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5933 * stdlib/secure-getenv.c: Rename __secure_getenv to
5934 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5935 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5936 * stdlib/tst-secure-getenv.c: New.
5937 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5938 * manual/startup.texi (Environment Access): Document
5939 secure_getenv.
84b3fd84
FW
5940 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5941 __libc_secure_getenv.
5942 * inet/ruserpass.c (ruserpass): Likewise.
5943 * malloc/mtrace.c (mtrace): Likewise.
5944 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5945 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5946 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5947 * sysdeps/posix/tempname.c: Likewise. Evaluate
5948 HAVE_SECURE_GETENV.
5949 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5950 __secure_getenv to __libc_secure_getenv.
84b3fd84 5951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5953 Likewise.
5954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5955 Likewise.
5956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5963
56e49b71
JM
59642012-07-25 Joseph Myers <joseph@codesourcery.com>
5965
5966 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5967 (struct La_i86_retval): Likewise.
5968 (struct La_x86_64_regs): Likewise.
5969 (struct La_x86_64_retval): Likewise.
5970 (struct La_x32_regs): Likewise.
5971 (struct La_x32_retval): Likewise.
5972 (struct La_ppc32_regs): Likewise.
5973 (struct La_ppc32_retval): Likewise.
5974 (struct La_ppc64_regs): Likewise.
5975 (struct La_ppc64_retval): Likewise.
5976 (struct La_sh_regs): Likewise.
5977 (struct La_sh_retval): Likewise.
5978 (struct La_s390_32_regs): Likewise.
5979 (struct La_s390_32_retval): Likewise.
5980 (struct La_s390_64_regs): Likewise.
5981 (struct La_s390_64_retval): Likewise.
5982 (struct La_sparc32_regs): Likewise.
5983 (struct La_sparc32_retval): Likewise.
5984 (struct La_sparc64_regs): Likewise.
5985 (struct La_sparc64_retval): Likewise.
5986 (struct audit_ifaces): Remove architecture-specific pltenter and
5987 pltexit members.
5988 * sysdeps/i386/ldsodefs.h: New file.
5989 * sysdeps/powerpc/ldsodefs.h: Likewise.
5990 * sysdeps/s390/ldsodefs.h: Likewise.
5991 * sysdeps/sh/ldsodefs.h: Likewise.
5992 * sysdeps/sparc/ldsodefs.h: Likewise.
5993 * sysdeps/x86_64/ldsodefs.h: Likewise.
5994
354691b7
MP
59952012-07-25 Marek Polacek <polacek@redhat.com>
5996
5997 [BZ #6808]
5998 * math/libm-test.inc (yn_test): Add another test.
5999 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6000 to ERANGE when the result is +-Inf.
6001 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6002 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6003 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6004 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6005
bf9e2071
JM
60062012-07-24 Joseph Myers <joseph@codesourcery.com>
6007
6008 * conform/data/time.h-data (NULL): Use macro-constant. Require
6009 equal to 0.
6010 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6011 clock_t.
6012 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6013
57633811
TS
60142012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6015
6016 * configure.in <sysdeps resolving>: Correct printing
6017 Implies_before.
6018 * configure: Regenerate.
6019
c23c33b0
TS
60202012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6021
6022 * math/w_ilogb.c: Include <limits.h>.
6023 * math/w_ilogbl.c: Likewise.
6024
b5982523
JM
60252012-07-20 Joseph Myers <joseph@codesourcery.com>
6026
6027 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6028 va_copy. Document allowing for unavailable va_copy only as
6029 pre-C99 compatibility.
6030 * manual/string.texi (Copying and Concatenation): Use va_copy
6031 instead of __va_copy in concat example.
6032
ac4ea442
PT
60332012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6034
6035 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6036 (__sendto): Use create_address_port. Initialize APORT and deallocate
6037 it if not null.
6038
f98eafbd
PT
6039 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6040 with O_NOLINK passed to __file_name_lookup.
6041
898c7aab
PT
6042 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6043 with O_NOLINK passed to __file_name_lookup.
6044
0ced335a
PT
6045 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6046 negative N or less than NGIDS.
6047
b3404dbd
PT
6048 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6049 type to string_t. Set ERANGE as errno and return it if NAME is not big
6050 enough. Use memcpy instead of strncpy.
6051
0f48659e
JM
60522012-07-20 Joseph Myers <joseph@codesourcery.com>
6053
6054 * elf/Makefile (check-data): Remove.
6055 (localplt.data): New vpath directive.
6056 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6057 instead of $(check-data).
6058 * scripts/data/localplt-generic.data: Move to ...
6059 * sysdeps/generic/localplt.data: ... here.
6060 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6061 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6062 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6064 ... here.
6065 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6067 ... here.
6068 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6070 ... here.
6071 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6073 ... here.
6074 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6076 ... here.
6077 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6079 ... here.
6080
d37cbdaa
AZ
60812012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6082
6083 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6084 PPC32 and PPC64 files.
6085 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6086 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6087
46f85fc2
AK
60882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6089
6090 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6091 __makecontext_ret to ...
6092 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6093 ... here and call exit if uc_link is NULL. New file.
6094 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6095 __makecontext_ret.S.
6096 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6097 __makecontext_ret to ...
6098 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6099 ... here and call exit if uc_link is NULL. New file.
6100 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6101 __makecontext_ret.S.
6102
08f43f9b
AK
61032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6104
6105 * elf/elf.h (R_390_IRELATIVE): New definition.
6106 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6107 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6108 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6109 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6110 (elf_machine_lazy_rel): Likewise.
6111 * sysdeps/s390/dl-irel.h: New file.
6112 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6113 * sysdeps/s390/s390-64/memset.S: New asm code.
6114 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6115 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6116 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6117 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6118 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6119 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6120 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6121 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6122 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6123 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6124 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6125 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6126 * sysdeps/s390/s390-32/memset.S: New asm code.
6127 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6128
3b05db33
MP
61292012-07-17 Marek Polacek <polacek@redhat.com>
6130
6131 [BZ #14349]
6132 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6133 * sysdeps/s390/s390-64/configure.in: Likewise.
6134 * sysdeps/sparc/configure.in: Likewise.
6135 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6136 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6137 * sysdeps/i386/configure.in: Likewise.
6138 * sysdeps/x86_64/configure.in: Likewise.
6139 * sysdeps/sh/configure.in: Likewise.
6140 * sysdeps/s390/s390-32/configure: Regenerated.
6141 * sysdeps/s390/s390-64/configure: Likewise.
6142 * sysdeps/x86_64/configure: Likewise.
6143 * sysdeps/sh/configure: Likewise.
6144 * sysdeps/powerpc/powerpc64/configure: Likewise.
6145 * sysdeps/powerpc/powerpc32/configure: Likewise.
6146 * sysdeps/sparc/configure: Likwise.
6147 * sysdeps/i386/configure: Likewise.
6148
a66877c6
MP
6149 * elf/dl-open.c: Comment fixes.
6150
cfc82fd8
JM
61512012-07-17 Joseph Myers <joseph@codesourcery.com>
6152
bd29910a
JM
6153 * Makefile [CXX] (check-data): Remove.
6154 [CXX] (c++-types.data): New vpath directive.
6155 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6156 vpath. Do not allow for C++ type data being missing.
6157 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6158 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6159 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6160 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6161 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6162 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6163 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6165 ... here.
6166 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6168 ... here.
6169 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6171 ... here.
6172 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6174 ... here.
6175 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6177 ... here.
6178 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6180 ... here.
6181 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6183 ... here.
6184 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6186
cfc82fd8
JM
6187 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6188 definitions to architecture-specific files.
6189 (TLS_IE): Likewise.
6190 (TLS_LD): Likewise.
6191 (TLS_GD): Likewise.
6192 * sysdeps/i386/tls-macros.h: New file.
6193 * sysdeps/powerpc/tls-macros.h: Likewise.
6194 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6195 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6196 * sysdeps/sh/tls-macros.h: Likewise.
6197 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6198 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6199 * sysdeps/x86_64/tls-macros.h: Likewise.
6200
f7db3170
TS
62012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6202
07cbfc23
TS
6203 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6204 zero value for regular exit case.
6205
f7db3170
TS
6206 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6207 (__start_context): Preserve zero value for regular exit case.
6208
dc97c227
TS
62092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6210 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6211
6212 * manual/setjmp.texi (setcontext): Clarify normal process
6213 termination when uc_link is the null pointer.
6214 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6215 exit call.
6216
d0cd7d02
AS
62172012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6218
6219 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6220 preprocessor. Test for each exception mask separately.
6221
dd318934
AJ
62222012-07-16 Andreas Jaeger <aj@suse.de>
6223
6224 * po/ru.po: Update from translation team.
6225
8048311a
JM
62262012-07-15 Joseph Myers <joseph@codesourcery.com>
6227
6228 * conform/data/string.h-data (NULL): Use macro-constant. Require
6229 equal to 0.
6230 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6231 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6232 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6233 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6235
b637d46e
AJ
62362012-07-13 Andreas Jaeger <aj@suse.de>
6237
6238 * po/fr.po: Update from translation team.
6239
541428fe
MP
62402012-07-12 Marek Polacek <polacek@redhat.com>
6241
6242 [BZ #14173]
6243 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6244 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6245 loop condition.
6246
ec332e94
JM
62472012-07-12 Joseph Myers <joseph@codesourcery.com>
6248
6249 [BZ #13717]
6250 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6251 Change to 2.4.1 where previously 2.4.0.
6252 * sysdeps/unix/sysv/linux/configure: Regenerated.
6253 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6254 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6255 version.
6256 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6257 (__ASSUME_AT_CLKTCK): Remove.
6258 (__ASSUME_AT_PAGESIZE): Likewise.
6259 (__ASSUME_AT_XID): Likewise.
6260 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6261 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6262 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6263 unconditionally.
6264 (HAVE_AUX_PAGESIZE): Likewise.
6265 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6266 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6267 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6268
7b6e99be
JB
62692012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6270
6271 [BZ #14307]
6272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6273 the temporary buffer used to invoke __gethostbyname2_r,
6274 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6275 host_data / struct gaih_addrtuple.
6276 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6277 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6278 header file nss/nsswitch.h.
6279 * nss/nsswitch.h (global scope): Add definition of implementation
6280 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6281 resolv/nss_dns/dns-host.c).
6282
608404eb
AJ
62832012-07-11 Andreas Jaeger <aj@suse.de>
6284
6285 * po/fr.po: Update from translation team.
6286
71220aca
AJ
6287 * po/sv.po: Update from translation team
6288 * po/fr.po: Another update from translation team.
6289
28cfe843
AZ
62902012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6291
6292 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6293 for subnormals or multiply small sinh result by itself.
6294 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6296
6b90f981
DM
62972012-07-11 David S. Miller <davem@davemloft.net>
6298
6299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6300
c6825772
AS
63012012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6302
6303 [BZ #14347]
6304 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6305 (INTERNAL_MARK): Shift it here.
6306
7b8e0d49
MP
63072012-07-10 Marek Polacek <polacek@redhat.com>
6308
6309 [BZ #14151]
6310 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6311 libc_cv_asm_global_directive with .globl.
6312 * configure: Regenerated.
6313 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6314 with .globl.
6315 * sysdeps/i386/configure: Regenerated.
6316 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6317 with .globl.
6318 * sysdeps/x86_64/configure: Regenerated.
6319 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6320 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6321 * elf/tst-unique2mod2.c: Likewise.
6322 * elf/tst-unique2mod1.c: Likewise.
6323 * elf/tst-unique1mod2.c: Likewise.
6324 * elf/tst-unique1mod1.c: Likewise.
6325 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6326 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6328 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6329 * sysdeps/mach/sysdep.h: Likewise.
6330 * sysdeps/i386/sysdep.h: Likewise.
6331 * sysdeps/i386/i386-mcount.S: Likewise.
6332 * sysdeps/x86_64/_mcount.S: Likewise.
6333 * sysdeps/x86_64/sysdep.h: Likewise.
6334 * sysdeps/sh/_mcount.S: Likewise.
6335 * sysdeps/sh/sysdep.h: Likewise.
6336 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6337 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6338 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6339 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6340 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6341 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6342 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6343 * locale/localeinfo.h: Likewise.
6344 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6345 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6346
6c55cda3
RM
63472012-07-09 Roland McGrath <roland@hack.frob.com>
6348
6349 [BZ #14336]
6350 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6351 system".
6352 * manual/message.texi (The Uniforum approach): Likewise.
6353 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6354 (glibc iconv Implementation): Likewise.
6355
638a572e
JM
63562012-07-09 Joseph Myers <joseph@codesourcery.com>
6357
6358 [BZ #14337]
6359 * math/s_clog.c (__clog): Avoid scaling a value down where that
6360 could result in underflow.
6361 * math/s_clog10.c (__clog10): Likewise.
6362 * math/s_clog10f.c (__clog10f): Likewise.
6363 * math/s_clog10l.c (__clog10l): Likewise.
6364 * math/s_clogf.c (__clogf): Likewise.
6365 * math/s_clogl.c (__clogl): Likewise.
6366 * math/libm-test.inc (clog_test): Add more tests.
6367 (clog10_test): Likewise.
6368 * sysdeps/i386/fpu/libm-test-ulps: Update.
6369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6370
261f4859
AS
63712012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6372
0abaf3e4
AS
6373 [BZ #14283]
6374 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6375 by 7 not 8 to examine high bit of fractional part.
6376
261f4859
AS
6377 [BZ #14042]
6378 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6379 for call to __mcount_internal.
6380 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6381 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6382 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6383
f17ac40d
JM
63842012-07-06 Joseph Myers <joseph@codesourcery.com>
6385
9ad63c23
JM
6386 [BZ #14154]
6387 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6388 approximation for values within 0x1p-13f of an odd multiple of
6389 pi/4.
6390 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6391 exception. Add more tests.
6392 * sysdeps/i386/fpu/libm-test-ulps: Update.
6393
f17ac40d
JM
6394 [BZ #6778]
6395 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6396 inputs and return -1 for them. Do not check for +Inf in case not
6397 reachable for +Inf.
6398 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6399 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6401 and return -1 for them. Do not check for +Inf in case not
6402 reachable for +Inf.
6403 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6404 define.
6405 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6406 and return -1 for them. Do not check for +Inf in case not
6407 reachable for +Inf.
6408 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6409 spurious underflow.
6410 * sysdeps/i386/fpu/libm-test-ulps: Update.
6411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6412
fb21f89b
MF
64132012-07-06 Mike Frysinger <vapier@gentoo.org>
6414
6415 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6416
cdfe2c5e
JM
64172012-07-05 Joseph Myers <joseph@codesourcery.com>
6418
6419 [BZ #14157]
6420 [BZ #14331]
6421 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6422 could result in spurious underflow. Scale down values above
6423 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6424 * math/s_csqrtf.c (__csqrtf): Likewise.
6425 * math/s_csqrtl.c (__csqrtl): Likewise.
6426 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6427 spurious underflow.
6428 * sysdeps/i386/fpu/libm-test-ulps: Update.
6429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6430
70d35b67
AS
64312012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6432
704bc459
AS
6433 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6434 xopen-msg.sed.
6435 * catgets/xopen-msg.awk: New file.
6436 * catgets/xopen-msg.sed: Removed.
6437
70d35b67
AS
6438 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6439 po2text.sed.
6440 * intl/po2test.awk: New file.
6441 * intl/po2test.sed: Removed.
6442
ca61cf32
JM
64432012-07-04 Joseph Myers <joseph@codesourcery.com>
6444
6445 [BZ #14328]
6446 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6447 or multiply small sinh result by itself.
6448 * math/s_ctanf.c (__ctanf): Likewise.
6449 * math/s_ctanh.c (__ctanh): Likewise.
6450 * math/s_ctanhf.c (__ctanhf): Likewise.
6451 * math/s_ctanhl.c (__ctanhl): Likewise.
6452 * math/s_ctanl.c (__ctanl): Likewise.
6453 * math/libm-test.inc (ctan_test_tonearest): New function.
6454 (ctan_test_towardzero): Likewise.
6455 (ctan_test_downward): Likewise.
6456 (ctan_test_upward): Likewise.
6457 (ctanh_test_tonearest): Likewise.
6458 (ctanh_test_towardzero): Likewise.
6459 (ctanh_test_downward): Likewise.
6460 (ctanh_test_upward): Likewise.
6461 (main): Call these new functions.
6462 * sysdeps/i386/fpu/libm-test-ulps: Update.
6463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6464
ca48a46a
MF
64652012-07-03 Mike Frysinger <vapier@gentoo.org>
6466
6467 * .gitignore: Delete /ports entry.
6468
9d63d37d
AJ
64692012-07-03 Andreas Jaeger <aj@suse.de>
6470
6471 * po/bg.po: Update from translation team.
6472 * po/cs.po: Likewise.
6473 * po/de.po: Likewise.
6474 * po/hr.po: Likewise.
6475 * po/nl.pl: Likewise.
6476 * po/pl.po: Likewise.
6477 * po/vi.po: Likewise.
6478
370ca3d2
JM
64792012-07-03 Joseph Myers <joseph@codesourcery.com>
6480
95f5a9a8
JM
6481 * Makeconfig [!+link] (+link-before-libc): New variable.
6482 [!+link] (+link-after-libc): Likewise.
6483 [!+link] (+link-tests): Likewise.
6484 [!+link] (+link): Define in terms of $(+link-before-libc) and
6485 $(+link-after-libc).
6486 [!+link-static] (+link-static-before-libc): New variable.
6487 [!+link-static] (+link-static-after-libc): Likewise.
6488 [!+link-static] (+link-static-tests): Likewise.
6489 [!+link-static] (+link-static): Define in terms of
6490 $(+link-static-before-libc) and $(+link-static-after-libc).
6491 [build-shared] (link-libc-before-gnulib): New variable.
6492 [build-shared] (link-libc-tests): Likewise.
6493 [build-shared] (link-libc): Define in terms of
6494 $(link-libc-before-gnulib).
6495 [!build-shared] (link-libc-tests): New variable.
6496 (link-libc-static-tests): New variable.
6497 [!gnulib] (gnulib-arch): New variable.
6498 [!gnulib] (gnulib-tests): Likewise.
6499 [!gnulib] (static-gnulib-arch): Likewise.
6500 [!gnulib] (static-gnulib-tests): Likewise.
6501 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6502 Define with "=" instead of ":=".
6503 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6504 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6505 * Rules (binaries-all-notests): New variable.
6506 (binaries-all-tests): Likewise.
6507 (binaries-static-notests): Likewise.
6508 (binaries-static-tests): Likewise.
6509 (binaries-all): Define using $(binaries-all-notests) and
6510 $(binaries-all-tests).
6511 (binaries-static): Define using $(binaries-static-notests) and
6512 $(binaries-static-tests).
6513 (binaries-shared-tests): New variable.
6514 (binaries-shared-notests): Likewise.
6515 (binaries-shared): Remove variable.
6516 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6517 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6518 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6519 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6520 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6521 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6522 * elf/Makefile (sln-modules): New variable.
6523 (extra-objs): Add $(sln-modules:=.o).
6524 (ldconfig-modules): Add static-stubs.
6525 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6526 * elf/static-stubs.c: New file.
6527
7a845b2c
JM
6528 [BZ #14283]
6529 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6530 by 7 not 8 to examine high bit of fractional part. Use volatile
6531 variables when splitting into final array of floats if
6532 __FLT_EVAL_METHOD__ != 0.
6533 * math/libm-test.inc (cos_test): Add another test.
6534 (sin_test): Likewise.
6535 * sysdeps/i386/fpu/libm-test-ulps: Update.
6536
e2283f38
JM
6537 [BZ #14273]
6538 * math/libm-test.inc (cosh_test): Add more tests.
6539
370ca3d2
JM
6540 * version.h (RELEASE): Set to "development".
6541 (VERSION): Set to "2.16.90".
6542
ee9247c3
CD
65432012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6544
6545 * NEWS: Update copyright. Remove last-updated date.
6546 Mention math library bug fixes and timezone data changes.
6547 * README: Mention GNU/Hurd, x32, and HPPA support status.
6548
4648c381
TS
65492012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6550
6551 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6552
aac78a43
AJ
65532012-06-27 Andreas Jaeger <aj@suse.de>
6554
6555 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6556
ed3dbfad
AJ
65572012-06-25 Andreas Jaeger <aj@suse.de>
6558
6559 * sysdeps/s390/fpu/libm-test-ulps: Update.
6560
4d0ee855
AS
65612012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6562 Thomas Schwinge <thomas@codesourcery.com>
6563
6564 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6565 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6567 fanotify_mark.
6568
af1bce34
TS
65692012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6570
a9fa33ba
TS
6571 * sysdeps/mach/start.c: Remove file.
6572 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6573 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6574 * sysdeps/sh/init-first.c: Likewise.
6575
58f902b8
TS
6576 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6577 registers for frame unwinding purposes, add CFI directives.
6578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6579 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6580 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6581 Likewise.
6582
1518f58b
TS
6583 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6584 __fortify_fail returning.
6585 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6586
db9b5059
TS
6587 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6588 sysdeps/sh/____longjmp_chk.S.
6589 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6590 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6591 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6592 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6593
967705fe
TS
6594 * sysdeps/sh/abort-instr.h: New file.
6595 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6596 process in case exit returns.
6597
a9def8c4
TS
6598 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6599 initialize the GOT register before use.
6600
2a649725
TS
6601 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6602 calculation of ARGC > 4.
6603
af1bce34
TS
6604 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6605 meaningful names to some local labels.
6606
d230f50a
KK
66072012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6608 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6609
6610 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6611 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6612 (__arch_compare_and_exchange_val_16_acq): Likewise.
6613 (__arch_compare_and_exchange_val_32_acq): Likewise.
6614 (atomic_exchange_and_add): Fix gUSA sequence.
6615 (atomic_add): Likewise.
6616 (atomic_add_negative): Likewise.
6617 (atomic_add_zero): Likewise.
6618 (atomic_bit_test_set): Likewise.
6619
0479b305
AS
66202012-06-22 Andreas Schwab <schwab@redhat.com>
6621
6622 [BZ #13579]
6623 * include/link.h (struct link_map): Add l_free_initfini.
6624 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6625 l_initfini.
6626 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6627 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6628 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6629 set.
6630
0e3933b9
CD
66312012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6632
6633 * configure.in: Use AC_LANG_SOURCE.
6634 * configure: Regenerate.
6635
4248b1b1
RM
66362012-06-22 Roland McGrath <roland@hack.frob.com>
6637
6638 * configure.in (libc_cv_localstatedir): New substituted variable.
6639 * configure: Regenerated.
6640 * config.make.in (localstatedir): New variable, substituted from
6641 libc_cv_localstatedir.
6642 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6643 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6644 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6645 * sysdeps/gnu/configure: Regenerated.
6646
006dd861
JL
66472012-06-21 Jeff Law <law@redhat.com>
6648
6649 [BZ #14277]
6650 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6651 free. Simplify list management for _LIBC case.
6652
79662d42
JM
66532012-06-21 Joseph Myers <joseph@codesourcery.com>
6654
b7abb4bf
JM
6655 [BZ #14273]
6656 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6657 Clear sign bit of 64-bit integer value before comparing against
6658 overflow value.
6659
79662d42
JM
6660 * sysdeps/mach/configure: Regenerated.
6661
1f150908
L
66622012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6663
6664 [BZ #14278]
6665 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6666
28363bbf
JL
66672012-06-21 Jeff Law <law@redhat.com>
6668
6669 [BZ #13882]
6670 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6671 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6672 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6673 * elf/dl-open.c (dl_open_worker): Likewise.
6674
09615db4
CD
66752012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6676
6677 * scripts/list-sources.sh: Scan PORTS for translations.
6678 * po/libc.pot: Regenerated.
6679
2174c6dd
AJ
66802012-06-21 Andreas Jaeger <aj@suse.de>
6681
6682 [BZ #12194]
6683 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6684 warning.
6685 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6686 * bits/byteswap-16.h (__bswap_16): Likewise.
6687 * bits/byteswap.h (__bswap_constant_16): Likewise.
6688
3ee947b1
L
66892012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6690
6691 [BZ #14117]
a2f34833
L
6692 * sysdeps/i386/fpu_control.h: Removed.
6693 * sysdeps/x86_64/fpu_control.h: Moved to ...
6694 * sysdeps/x86/fpu_control.h: Here.
6695
3ee947b1
L
6696 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6697 (_FPU_SETCW): Likewise.
6698
ed1825f8
L
66992012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6700
25f1282a
L
6701 [BZ #14117]
6702 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6703 * sysdeps/x86/fpu/bits/mathinline.h: This.
6704 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6705
ed1825f8
L
6706 [BZ #14050]
6707 [BZ #14117]
6708 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6709 functions if __x86_64__ is defined.
6710
36d54b74
CLT
67112012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6712
6713 * string/endian.h: Add !__ASSEMBLER__ condition for including
6714 conversion interfaces.
6715
10285c21
JM
67162012-06-15 Joseph Myers <joseph@codesourcery.com>
6717
6718 [BZ #14241]
6719 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6720 of ABS(x) in calculating zero to negative powers other than odd
6721 integers.
6722 * math/libm-test.inc (pow_test): Add more tests.
6723
06c5abbd
AJ
67242012-06-15 Andreas Jaeger <aj@suse.de>
6725
6726 * manual/contrib.texi (Contributors): Update entry of Liubov
6727 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6728 Machado Filho.
6729
a3aeac40
CH
67302012-06-15 Cyril Hrubis <metan@ucw.cz>
6731
6732 * string/string.h: Add __wur to GNU version of strerror_r.
6733
49bdf4c1
L
67342012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6735
6736 [BZ #14229]
6737 * string/Makefile (tests): Add tst-strtok_r.
6738 * string/tst-strtok_r.c: New file.
6739 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6740 RAX_LP/RDX_LP on SAVE_PTR.
6741
834f9b8d
RM
67422012-06-14 Roland McGrath <roland@hack.frob.com>
6743
6744 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6745
75fa1921
JM
67462012-06-14 Joseph Myers <joseph@codesourcery.com>
6747
6748 * libm_test.inc (csqrt_test): Allow more spurious underflow
6749 exceptions.
6750 (j0_test): Likewise.
6751 (j1_test): Likewise.
6752 (y0_test): Likewise.
6753 (y1_test): Likewise.
6754
771766df
CD
67552012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6756
6757 * po/Makefile (libc.pot): Use UTF-8 charset.
6758
ceb9e56b
PP
67592012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6760
6761 [BZ #14210]
6762 Suppress sign-conversion warning from FD_SET.
6763 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6764 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6765 not unsigned long int.
6766 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6767
ddb28975
L
67682012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6769
6770 [BZ #14050]
6771 [BZ #14117]
6772 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6773 __extern_always_inline instead of __extern_inline.
6774 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6775 (__signbit): Likewise.
6776 (__signbitl): Support C++ namespace.
6777 (lrintf): New inline function.
6778 (lrint): Likewise.
6779 (llrintf): Likewise.
6780 (llrint): Likewise.
6781 (fmaxf): Likewise.
6782 (fmax): Likewise.
6783 (fminf): Likewise.
6784 (fmin): Likewise.
6785 (rint): Likewise.
6786 (rintf): Likewise.
6787 (ceil): Likewise.
6788 (ceilf): Likewise.
6789 (floor): Likewise.
6790 (floorf): Likewise.
6791 (nearbyint): Likewise.
6792 (nearbyintf): Likewise.
6793
d7b4fb26
TS
67942012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6795
6796 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6797 non-default versions.
6798
eb55f5c2
RM
67992012-06-11 Roland McGrath <roland@hack.frob.com>
6800
6801 [BZ #14218]
6802 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6803
366af02c
TS
68042012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6805
99ff6e5c
TS
6806 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6807 (FE_UPWARD, FE_DOWNWARD): Don't define.
6808 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6809 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6810
366af02c
TS
6811 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6812 reading it.
6813 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6814 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6815
793ea851
KK
68162012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6817
6818 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6819 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6820 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6821 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6822
a728a38f
L
68232012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6824
6825 [BZ #14117]
c08010c7
L
6826 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6827 * sysdeps/i386/fpu/Implies: New file.
6828 * sysdeps/x86_64/fpu/Implies: Likewise.
6829 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6830 * sysdeps/x86/fpu/bits/fenv.h: This.
6831
a728a38f
L
6832 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6833 __SSE_MATH__.
6834
6e230d11
SP
68352012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6836
6837 [BZ #14134]
6838 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6839 character 0xffff that matches the last element of the
6840 conversion table.
6841
1b671feb
AZ
68422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6843
6844 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6845 fmodl commit.
6846
6043738b
AZ
68472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6848
6849 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6850 values higher than 25.6283.
6851
34ae0b32
AZ
68522012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6853
6854 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6855 subnormal exponent extraction and add some __builtin_expect.
6856 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6857 Fix for subnormal mantissa calculation.
6858
1214ec8f
MF
68592012-06-04 Mike Frysinger <vapier@gentoo.org>
6860
6861 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6862 cpu2 is -1 and errno is not ENOSYS.
6863
f3d1f93c
L
68642012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6865
6866 [BZ #14117]
0e4a3cd7
L
6867 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6868 * sysdeps/x86/bits/string.h: This.
6869 * sysdeps/x86_64/bits/string.h: Removed.
6870
6704c645
L
6871 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6872 if not compiling for x86-64, but compiling for >= i486.
6873
48495318
L
6874 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6875 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6876
14adcbfc
L
6877 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6878 New macro from Linux kernel 3.4.0.
6879 (FP_XSTATE_MAGIC2): Likewise.
6880 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6881 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6882 (struct _fpx_sw_bytes): New struct.
6883 (struct _xsave_hdr): Likewise.
6884 (struct _ymmh_state): Likewise.
6885 (struct _xstate): Likewise.
6886
68e408ab
L
6887 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6888 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6889 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6890 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6891 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6892 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6893
f3d1f93c
L
6894 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6895 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6896 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6897 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6898 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6899 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6900
d9dc34cd
TMQMF
69012012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6902
6903 [BZ #13743]
6904 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6905 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6906 (sysdep_headers): Include sys/platform/ppc.h.
6907 * sysdeps/powerpc/test-gettimebase.c: Test for
6908 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6909 * manual/Makefile (appendices): Include platform.texi.
6910 * manual/contrib.texi (Contributors): Update @node pointers.
6911 * manual/maint.texi (Maintenance): Likewise.
6912 (Platform): New node.
6913 * manual/platform.texi: New file. Document the new features.
6914
4af3879c
SP
69152012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6916 Jakub Jelinek <jakub@redhat.com>
6917
6918 [BZ #14188]
6919 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6920 where __builtin_expect is unavailable.
6921
2fd6ff13
DM
69222012-06-03 David S. Miller <davem@davemloft.net>
6923
6924 * stdlib/longlong.h: Updated from GCC.
6925
173f7220
AS
69262012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6927
6928 [BZ #14042]
6929 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6930 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6931 __mcount_internal.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6933 (GLIBC_2.16): Likewise.
6934
f34a1c6f
L
69352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6936
6937 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6938
88a4576f
JM
69392012-06-01 Joseph Myers <joseph@codesourcery.com>
6940
ea32bcdd
JM
6941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6942 (default-abi): New variable.
6943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6944 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6945 variable.
6946 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6947 Likewise.
6948 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6949 Likewise.
6950 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6951 Likewise.
6952
88a4576f
JM
6953 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6954 definition. Document in comment.
6955
402fe938
DM
69562012-06-01 David S. Miller <davem@davemloft.net>
6957
6958 * stdlib/longlong.h: Updated from GCC.
6959
3553723f
L
69602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6961
6962 [BZ #14117]
3bd872c4
L
6963 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6964 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6965 sys/debugreg.h sys/io.h here.
6966 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6967 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6968 sys/io.h.
6969 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6970 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6971 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6972 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6973 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6974 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6975
3553723f
L
6976 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6977 Define only if __x86_64__ is defined.
6978
4842e4fe
JM
69792012-06-01 Joseph Myers <joseph@codesourcery.com>
6980
c5bfe3d5
JM
6981 [BZ #14048]
6982 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6983 Use int64_t for variable i.
6984 * math/libm-test.inc (fmod_test): Add more tests.
6985
4842e4fe
JM
6986 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6987 z computation is not scheduled after fetestexcept.
6988 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6989 Use math_force_eval instead of asm to ensure calculation scheduled
6990 before exception test.
6991 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6992 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6993
efb73488
AJ
69942012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6995
6996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6997 computation is not scheduled after fetestexcept.
6998
29bcce7c
L
69992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7000
7001 [BZ #14117]
7002 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7003 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7004
73a68f94
AZ
70052012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7006
7007 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7008 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7009
67b6df78
L
70102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7011
edf2933a 7012 [BZ #14117]
ebc64a18
L
7013 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7014 <bits/wordsize.h>.
7015 (__WCHAR_MIN): Support __WORDSIZE == 64.
7016 (__WCHAR_MAX): Likewise.
7017
edf2933a
L
7018 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7019 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7020
57c6cf40
L
7021 [BZ #14183]
7022 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7023 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7024
67b6df78 7025 [BZ #14117]
8eb6281e
L
7026 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7027 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7028
aac639f4
L
7029 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7030 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7031
67b6df78
L
7032 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7033 Defined to 1 if __x86_64__ isn't defined.
7034 (_STAT_VER_LINUX_OLD): New.
7035 (st_atime): Remove duplicate.
7036 (st_mtime): Likewise.
7037 (st_ctime): Likewise.
7038
1c2cfe81
DM
70392012-05-31 David S. Miller <davem@davemloft.net>
7040
7041 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7042 entries.
7043
5be8418c
AS
70442012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7045
e7725326
AS
7046 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7047 gen-libm-test.pl.
7048
5be8418c
AS
7049 [BZ #14132]
7050 * elf/dl-reloc.c: Include <_itoa.h>.
7051 (_dl_reloc_bad_type): Remove use of INTUSE.
7052 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7053 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7054 * stdio-common/psiginfo.c (psiginfo): Likewise.
7055 * stdio-common/psignal.c (psignal): Likewise.
7056 * string/strsignal.c (strsignal): Likewise.
7057 * include/signal.h (_sys_siglist): Declare hidden proto.
7058 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7059 INTVARDEF with libc_hidden_data_def.
7060 * stdio-common/itoa-udigits.c: Likewise.
7061 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7062 (_itoa_lower_digits_internal): Remove declaration.
7063 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7064 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7065 (_sys_sigabbrev_internal): Remove aliases.
7066 (_sys_siglist): Define hidden alias.
7067
507352f1
MT
70682012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7069
7070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7071 bits/sysctl.h.
7072
42bbb1c3
L
70732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7074
7075 [BZ #14117]
6bd784b6
L
7076 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7077 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7078
8bca20f0
L
7079 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7080 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7081 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7082 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7083 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7084 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7085
f9e890a9
L
7086 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7087 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7088 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7089
471101a1
L
7090 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7091 with __addr.
7092 (insw): Likewise.
7093 (insl): Likewise.
7094 (outsb): Likewise.
7095 (outsw): Likewise.
7096 (outsl): Likewise.
7097
6451c862
L
7098 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7099 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7100 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7101
a254b8c9
L
7102 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7103 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7104 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7105 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7106 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7107 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7108
b8dfdd92
L
7109 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7110 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7111
578cd270
L
7112 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7113 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7114
de662f5f
L
7115 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7117 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7118
25653439
L
7119 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7120 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7121 to ...
7122 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7123
6bad24a0
L
7124 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7125 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7126 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7127
42bbb1c3
L
7128 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7129 for x86-64.
7130 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7131
2d10d547
JM
71322012-05-31 Joseph Myers <joseph@codesourcery.com>
7133
7134 * math/math.h (M_El): Use two more decimal places.
7135 (M_LOG2El): Likewise.
7136 (M_LOG10El): Likewise.
7137 (M_LN2l): Likewise.
7138 (M_LN10l): Likewise.
7139 (M_PIl): Likewise.
7140 (M_PI_2l): Likewise.
7141 (M_PI_4l): Likewise.
7142 (M_1_PIl): Likewise.
7143 (M_2_PIl): Likewise.
7144 (M_2_SQRTPIl): Likewise.
7145 (M_SQRT2l): Likewise.
7146 (M_SQRT1_2l): Likewise.
7147
f230c29b
DM
71482012-05-31 David S. Miller <davem@davemloft.net>
7149
7150 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7151 values between float registers.
7152 * sysdeps/sparc/sparc64/memset.S: Likewise.
7153 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7154
fed806c3
MF
71552012-05-31 Mike Frysinger <vapier@gentoo.org>
7156
7157 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7158 -D_FORTIFY_SOURCE=1.
7159 (CPPFLAGS-tst-longjmp_chk.c): Define.
7160 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7161 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7162 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7163 CFLAGS-tst-wchar-h.c.
7164
30917259
MP
71652012-05-31 Marek Polacek <polacek@redhat.com>
7166
7167 [BZ #14132]
7168 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7169 __endmntent_internal): Remove declaration.
7170 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7171 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7172 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7173
1c58d5dc
DM
71742012-05-30 David S. Miller <davem@davemloft.net>
7175
7176 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7177 (___Q_simulate_exceptions): Use real FP ops rather than writing
7178 into the %fsr.
7179 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7180 Likewise.
7181
7dc00e0d
L
71822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7183
7184 [BZ #14117]
0bd53985
L
7185 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7186 * sysdeps/x86/bits/xtitypes.h: This.
7187
3a257e66
L
7188 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7189 * sysdeps/x86/bits/wordsize.h: This.
7190
62f62904
L
7191 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7192 * sysdeps/x86/bits/huge_vall.h: This.
7193
404fe9d9
L
7194 * sysdeps/i386/bits/select.h: Removed.
7195 * sysdeps/x86_64/bits/select.h: Renamed to ...
7196 * sysdeps/x86/bits/select.h: This.
7197
d48d0446
L
7198 * sysdeps/i386/bits/setjmp.h: Removed.
7199 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7200 * sysdeps/x86/bits/setjmp.h: This.
7201
7dc00e0d
L
7202 * sysdeps/i386/bits/mathdef.h: Removed.
7203 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7204 * sysdeps/x86/bits/mathdef.h: This.
7205
03277f8f
AS
72062012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7207
7208 [BZ #14132]
7209 * include/sys/socket.h (__connect_internal)
7210 (__libc_sa_len_internal): Remove declaration.
7211 (__connect, __libc_sa_len): Declare hidden_proto.
7212 (SA_LEN): Remove use of INTUSE.
7213 * socket/connect.c: Add libc_hidden_def.
7214 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7215 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7216 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7217 alias.
7218 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7219 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7220 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7221 of adding _internal alias.
7222
13764867
L
72232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7224
7225 [BZ #14117]
6bd97696
L
7226 * sysdeps/i386/bits/link.h: Removed.
7227 * sysdeps/i386/bits/linkmap.h: Likewise.
7228 * sysdeps/x86_64/bits/link.h: Renamed to ...
7229 * sysdeps/x86/bits/link.h: This.
7230 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7231 * sysdeps/x86/bits/linkmap.h: This.
7232
f726f0bb
L
7233 * sysdeps/i386/bits/endian.h: Removed.
7234 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7235 * sysdeps/x86/bits/endian.h: This.
7236
13764867
L
7237 * sysdeps/i386/bits/byteswap.h: Removed.
7238 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7239 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7240 * sysdeps/x86/bits/byteswap.h: This.
7241 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7242 * sysdeps/x86/bits/byteswap-16.h: This.
7243 * sysdeps/i386/Implies: Add x86.
7244 * sysdeps/x86_64/Implies: Likewise.
7245
ae251b0b
DM
72462012-05-30 David S. Miller <davem@davemloft.net>
7247
7248 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7249 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7250 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7251 (FP_TRAPPING_EXCEPTIONS): Define.
7252 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7253 (FP_TRAPPING_EXCEPTIONS): Define.
7254 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7255 subnormals only when inexact has been signalled or underflow
7256 exceptions are enabled.
7257 (_FP_PACK_CANONICAL): Likewise.
7258
d5c90867
L
72592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7260
7261 [BZ #14183]
7262 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7263 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7264
63f1549e
RH
72652012-05-30 Richard Henderson <rth@twiddle.net>
7266
8d8f2279
RH
7267 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7268 with #ifndef NOT_IN_libc.
7269
63f1549e
RH
7270 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7271 marked to avoid plt entry.
7272
0ab0291b
L
72732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7274
7275 [BZ #14112]
7276 * Makeconfig (default-abi): New macro.
7277 (abi-includes): Likewise.
7278 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7279 $(abi-$(default-abi)-lib-soname) for soname if defined.
7280 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7281 abi-variants.
7282 * Makefile (installed-stubs): Likewise.
7283 * include/stubs-biarch.h: Removed.
7284 * scripts/lib-names.awk: Only handle one library at a time.
7285 * scripts/soversions.awk: Remove WORDSIZE support.
7286 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7287 entries.
7288 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7289 Removed.
7290 (syscall-list-default-condition): Likewise.
7291 (syscall-list-default-condition): Likewise.
7292 (syscall-list-includes): Likewise.
7293 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7294 syscall-list-* with abi-*. Handle undefined abi-variants.
7295 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7296 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7297 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7298 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7299 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7300 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7301 Removed.
7302 (syscall-list-32-options): Likewise.
7303 (syscall-list-32-condition): Likewise.
7304 (syscall-list-64-options): Likewise.
7305 (syscall-list-64-condition): Likewise.
7306 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7307 macro.
7308 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7309 Renamed to ...
7310 (abi-*): This.
7311 (abi-64-ld-soname): New macro.
7312 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7313 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7314 Renamed to ...
7315 (abi-*): This.
7316 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7317 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7318
4da0431d
JM
73192012-05-30 Joseph Myers <joseph@codesourcery.com>
7320
3a85279c
JM
7321 * sysdeps/unix/sysv/linux/kernel-features.h
7322 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7323 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7324 include <kernel-features.h>.
7325 [!__NR_ftruncate64]: Remove conditional code.
7326 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7327 [__NR_ftruncate64]: Make code unconditional.
7328 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7329 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7330 include <kernel-features.h>.
7331 [!__NR_ftruncate64]: Remove conditional code.
7332 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7333 [__NR_ftruncate64]: Make code unconditional.
7334 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7336 include <kernel-features.h>.
7337 [!__NR_ftruncate64]: Remove conditional code.
7338 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7339 [__NR_ftruncate64]: Make code unconditional.
7340 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7342 include <kernel-features.h>.
7343 [!__NR_ftruncate64]: Remove conditional code.
7344 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7345 [__NR_ftruncate64]: Make code unconditional.
7346 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7347
4da0431d
JM
7348 * configure.in (libc_cv_fpie): Weaken to a compile test using
7349 LIBC_TRY_CC_OPTION.
7350 * configure: Regenerated.
7351
11ef492c
AK
73522012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7353
7354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7358 Refreshed.
7359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7365 Refreshed.
7366
d66ef399
DM
73672012-05-27 David S. Miller <davem@davemloft.net>
7368
7369 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7370 (___Q_zero): New.
7371 (__Q_simulate_exceptions): Return void. Change to simulate
7372 exceptions by writing into the %fsr.
7373 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7374 (__Qp_handle_exceptions): Likewise.
7375 (numbers): Delete.
7376 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7377 __Qp_handle_exceptions.
7378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7379 __Qp_handle_exceptions.
7380 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7381 as unused and give dummy FP_RND_NEAREST initializer.
7382 (FP_INHIBIT_RESULTS): Define.
7383 (___Q_simulate_exceptions): Update declaration.
7384 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7385 formatting.
7386 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7387 as unused and give dummy FP_RND_NEAREST initializer.
7388 (__Qp_handle_exceptions): Update declaration.
7389 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7390 formatting.
7391
04fb54b5
TS
73922012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7393
7394 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7395 the temporary FPU control word.
7396 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7397 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7398 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7399 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7400 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7401 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7402 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7403 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7404 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7405 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7406 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7407
3f99608f
KK
74082012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7409
7410 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7411 fields.
7412
65a4de4e
CLT
74132012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7414
7415 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7416 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7417 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7418 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7419 Likewise.
7420 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7421 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7422 Likewise.
7423
15749d40
UD
74242012-05-27 Ulrich Drepper <drepper@gmail.com>
7425
7426 * po/h.po: Update from translation team.
7427
25dbcb27
AS
74282012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7429
3d3f8e55
AS
7430 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7431
25dbcb27
AS
7432 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7433 handling of denormals.
7434 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7435 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7436 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7437 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7441 Likewise.
7442
7ad47a80 74432012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7444
7445 [BZ #14152]
7446 * math/libm-test.inc (fma_test): Don't always expect underflow
7447 exception.
7448
9c6ea9fa
SP
74492012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7450
7451 [BZ #12416]
7452 * elf/tst-execstack.c: Include stackinfo.h.
7453 (do_test): Adjust test case to ensure that pthread_getattr_np
7454 behaviour remains the same after marking stack executable.
7455
a8239222
JM
74562012-05-25 Joseph Myers <joseph@codesourcery.com>
7457
7458 * sysdeps/unix/sysv/linux/kernel-features.h
7459 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7460 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7461 kernel-features.h.
7462 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7463 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7464 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7465 kernel-features.h.
7466 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7467 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7468
918b5606
L
74692012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7470
7471 * configure.in: Define the default includes to being none.
7472 * configure: Regenerated.
7473
3a097cc7
RM
74742012-05-25 Roland McGrath <roland@hack.frob.com>
7475
8422c9a5
RM
7476 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7477 * sysdeps/x86_64/setjmp.S: Likewise.
7478 * sysdeps/i386/bsd-setjmp.S: Likewise.
7479 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7480 * sysdeps/i386/setjmp.S: Likewise.
7481 * sysdeps/i386/__longjmp.S: Likewise.
7482 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7483 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7484
3a097cc7
RM
7485 * include/stap-probe.h: New file.
7486 * configure.in: Handle --enable-systemtap.
7487 * configure: Regenerated.
7488 * config.h.in (USE_STAP_PROBE): New #undef.
7489 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7490 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7491 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7492
21708942
JM
74932012-05-25 Joseph Myers <joseph@codesourcery.com>
7494
7495 [BZ #13717]
7496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7497 to 2.4.0 where earlier.
7498 * sysdeps/unix/sysv/linux/configure: Regenerated.
7499 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7500 <kernel-features.h>.
7501 [__ASSUME_32BITUIDS]: Make code unconditional.
7502 [!__ASSUME_32BITUIDS]: Remove conditional code.
7503 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7504 <kernel-features.h>.
7505 [__ASSUME_32BITUIDS]: Make code unconditional.
7506 [!__ASSUME_32BITUIDS]: Remove conditional code.
7507 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7508 [__ASSUME_32BITUIDS]: Make code unconditional.
7509 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7510 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7511 <kernel-features.h>.
7512 [__ASSUME_32BITUIDS]: Make code unconditional.
7513 [!__ASSUME_32BITUIDS]: Remove conditional code.
7514 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7515 <kernel-features.h>.
7516 [__ASSUME_32BITUIDS]: Make code unconditional.
7517 [!__ASSUME_32BITUIDS]: Remove conditional code.
7518 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7519 <kernel-features.h>.
7520 [__ASSUME_32BITUIDS]: Make code unconditional.
7521 [!__ASSUME_32BITUIDS]: Remove conditional code.
7522 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7523 <kernel-features.h>.
7524 [__ASSUME_32BITUIDS]: Make code unconditional.
7525 [!__ASSUME_32BITUIDS]: Remove conditional code.
7526 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7527 <kernel-features.h>.
7528 [__ASSUME_32BITUIDS]: Make code unconditional.
7529 [!__ASSUME_32BITUIDS]: Remove conditional code.
7530 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7531 <kernel-features.h>.
7532 [__ASSUME_32BITUIDS]: Make code unconditional.
7533 [!__ASSUME_32BITUIDS]: Remove conditional code.
7534 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7535 <kernel-features.h>.
7536 [__ASSUME_32BITUIDS]: Make code unconditional.
7537 [!__ASSUME_32BITUIDS]: Remove conditional code.
7538 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7539 <kernel-features.h>.
7540 [__ASSUME_32BITUIDS]: Make code unconditional.
7541 [!__ASSUME_32BITUIDS]: Remove conditional code.
7542 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7543 <kernel-features.h>.
7544 [__ASSUME_32BITUIDS]: Make code unconditional.
7545 [!__ASSUME_32BITUIDS]: Remove conditional code.
7546 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7547 <kernel-features.h>.
7548 [__ASSUME_32BITUIDS]: Make code unconditional.
7549 [!__ASSUME_32BITUIDS]: Remove conditional code.
7550 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7551 <kernel-features.h>.
7552 [__NR_setresgid] (__setresgid): Do not declare.
7553 [__ASSUME_32BITUIDS]: Make code unconditional.
7554 [!__ASSUME_32BITUIDS]: Remove conditional code.
7555 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7556 <kernel-features.h>.
7557 [__NR_setresuid] (__setresuid): Do not declare.
7558 [__ASSUME_32BITUIDS]: Make code unconditional.
7559 [!__ASSUME_32BITUIDS]: Remove conditional code.
7560 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7561 <kernel-features.h>.
7562 [__ASSUME_32BITUIDS]: Make code unconditional.
7563 [!__ASSUME_32BITUIDS]: Remove conditional code.
7564 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7565 <kernel-features.h>.
7566 [__ASSUME_32BITUIDS]: Make code unconditional.
7567 [!__ASSUME_32BITUIDS]: Remove conditional code.
7568 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7569 <kernel-features.h>.
7570 [__ASSUME_32BITUIDS]: Make code unconditional.
7571 [!__ASSUME_32BITUIDS]: Remove conditional code.
7572 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7573 <kernel-features.h>.
7574 [__ASSUME_32BITUIDS]: Make code unconditional.
7575 [!__ASSUME_32BITUIDS]: Remove conditional code.
7576 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7577 <kernel-features.h>.
7578 [__ASSUME_32BITUIDS]: Make code unconditional.
7579 [!__ASSUME_32BITUIDS]: Remove conditional code.
7580 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7581 <kernel-features.h>.
7582 [__ASSUME_32BITUIDS]: Make code unconditional.
7583 [!__ASSUME_32BITUIDS]: Remove conditional code.
7584 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7585 <kernel-features.h>.
7586 [__ASSUME_32BITUIDS]: Make code unconditional.
7587 [!__ASSUME_32BITUIDS]: Remove conditional code.
7588 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7589 <kernel-features.h>.
7590 [__ASSUME_32BITUIDS]: Make code unconditional.
7591 [!__ASSUME_32BITUIDS]: Remove conditional code.
7592 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7593 <kernel-features.h>.
7594 [__ASSUME_32BITUIDS]: Make code unconditional.
7595 [!__ASSUME_32BITUIDS]: Remove conditional code.
7596 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7597 <kernel-features.h>.
7598 [__ASSUME_32BITUIDS]: Make code unconditional.
7599 [!__ASSUME_32BITUIDS]: Remove conditional code.
7600 * sysdeps/unix/sysv/linux/kernel-features.h
7601 (__ASSUME_SETRESUID_SYSCALL): Remove.
7602 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7603 (__ASSUME_32BITUIDS): Likewise.
7604 (__ASSUME_LDT_WORKS): Likewise.
7605 (__ASSUME_O_DIRECTORY): Likewise.
7606 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7607 architecture but not kernel version.
7608 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7609 (__ASSUME_MMAP2_SYSCALL): Likewise.
7610 (__ASSUME_STAT64_SYSCALL): Likewise.
7611 (__ASSUME_IPC64): Likewise.
7612 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7613 <kernel-features.h>.
7614 [__ASSUME_32BITUIDS]: Make code unconditional.
7615 [!__ASSUME_32BITUIDS]: Remove conditional code.
7616 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7617 <kernel-features.h>.
7618 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7619 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7620 132096]: Remove conditional code.
7621 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7622 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7623 <kernel-features.h>.
7624 [__ASSUME_32BITUIDS]: Make code unconditional.
7625 [!__ASSUME_32BITUIDS]: Remove conditional code.
7626 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7627 <kernel-features.h>.
7628 [__ASSUME_32BITUIDS]: Make code unconditional.
7629 [!__ASSUME_32BITUIDS]: Remove conditional code.
7630 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7631 <kernel-features.h>.
7632 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7633 unconditional.
7634 (__setresgid): Do not declare.
7635 [__ASSUME_32BITUIDS]: Make code unconditional.
7636 [!__ASSUME_32BITUIDS]: Remove conditional code.
7637 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7638 <kernel-features.h>.
7639 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7640 unconditional.
7641 (__setresuid): Do not declare.
7642 [__ASSUME_32BITUIDS]: Make code unconditional.
7643 [!__ASSUME_32BITUIDS]: Remove conditional code.
7644 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7645 <kernel-features.h>.
7646 [__ASSUME_32BITUIDS]: Make code unconditional.
7647 [!__ASSUME_32BITUIDS]: Remove conditional code.
7648 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7649 <kernel-features.h>.
7650 [__ASSUME_32BITUIDS]: Make code unconditional.
7651 [!__ASSUME_32BITUIDS]: Remove conditional code.
7652
a386f1cc
RH
76532012-05-25 Richard Henderson <rth@twiddle.net>
7654
7655 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7656 dl_hwcap to ifunc resolver.
7657 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7658 elf_ifunc_invoke.
7659 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7660 dl_hwcap to ifunc resolver.
7661 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7662
b6550497
JM
76632012-05-24 Joseph Myers <joseph@codesourcery.com>
7664
7665 [BZ #14153]
7666 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7667 for |x| <= 2**-26, not 2**-57.
7668 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7669 exception.
7670
b0bc23a1
JL
76712012-05-24 Jeff Law <law@redhat.com>
7672
7673 * stdio-common/Makefile (tests): Add bug25.
7674 * stdio-common/bug25.c: New test.
7675
347c92e9
L
76762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 [BZ #13576]
7679 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7680 multiple of MALLOC_ALIGNMENT in size.
7681 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7682
6bcc8b3f
JM
76832012-05-24 Joseph Myers <joseph@codesourcery.com>
7684
7685 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7686 Require >= 256.
7687 (FILENAME_MAX): Use macro-int-constant.
7688 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7689 (_IOFBF): Use macro-int-constant.
7690 (_IOLBF): Likewise.
7691 (_IONBF): Likewise.
7692 (SEEK_CUR): Likewise.
7693 (SEEK_END): Likewise.
7694 (SEEK_SET): Likewise.
7695 (TMP_MAX): Likewise.
7696 (EOF): Use macro-int-constant. Require < 0.
7697 (NULL): Use macro-constant. Require == 0.
7698 (stdin): Require type to be FILE *.
7699 (stdout): Likewise.
7700 (stderr): Likewise.
7701 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7702 macro-int-constant.
7703 (EXIT_SUCCESS): Likewise.
7704 (NULL): Use macro-constant. Require == 0.
7705 (RAND_MAX): Use macro-int-constant.
7706 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7707 [C99-based standards] (strtof): Require function.
7708 [C99-based standards] (strtold): Likewise.
7709 [C99-based standards] (strtoll): Likewise.
7710 [C99-based standards] (strtoull): Likewise.
7711 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7712 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7713 [ISO || ISO99 || ISO11] (math.h): Likewise.
7714 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7715 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7716 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7717
d18ea0c5
AS
77182012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7719
7720 [BZ #14132]
56d25bb8
AS
7721 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7722 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7723 * intl/dgettext.c (DCGETTEXT): Likewise.
7724 * intl/gettext.c (DCGETTEXT): Likewise.
7725 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7726 * posix/regex_internal.h (gettext): Likewise.
7727 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7728 Remove declaration.
7729 * include/argz.h (__argz_count_internal)
7730 (__argz_stringify_internal): Remove declaration.
7731 (__argz_count, __argz_stringify): Declare hidden proto.
7732 * intl/dcgettext.c: Remove use of INTDEF.
7733 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7734 * string/argz-stringify.c: Likewise.
7735 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7736 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7737 Declare hidden proto.
d18ea0c5
AS
7738 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7739 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7740 Declare hidden proto.
7741 * include/stdio.h (__asprintf_internal): Don't declare.
7742 (__asprintf): Don't define as macro. Declare hidden proto.
7743 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7744 (__fsetlocking): Declare hidden proto.
7745 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7746 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7747 hidden proto.
7748 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7749 (_IO_setlinebuf): Remove use of INTUSE.
7750 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7751 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7752 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7753 Remove declaration.
7754 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7755 (_IO_do_flush): Remove use of INTUSE.
7756 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7757 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7758 (_IO_adjust_column, _IO_least_wmarker)
7759 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7760 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7761 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7762 (_IO_default_doallocate, _IO_wdefault_doallocate)
7763 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7764 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7765 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7766 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7767 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7768 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7769 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7770 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7771 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7772 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7773 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7774 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7775 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7776 proto.
7777 (_IO_flush_all_internal, _IO_adjust_column_internal)
7778 (_IO_default_uflow_internal, _IO_default_finish_internal)
7779 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7780 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7781 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7782 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7783 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7784 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7785 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7786 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7787 (_IO_file_close_internal, _IO_file_close_it_internal)
7788 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7789 (_IO_file_init_internal, _IO_file_attach_internal)
7790 (_IO_file_fopen_internal, _IO_file_read_internal)
7791 (_IO_file_sync_internal, _IO_file_seek_internal)
7792 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7793 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7794 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7795 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7796 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7797 (_IO_list_all_internal, _IO_link_in_internal)
7798 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7799 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7800 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7801 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7802 (_IO_do_write_internal, _IO_padn_internal)
7803 (_IO_getline_info_internal, _IO_getline_internal)
7804 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7805 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7806 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7807 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7808 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7809 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7810 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7811 with libc_hidden_ver, remove use of INTUSE.
7812 * libio/genops.c: Likewise.
7813 * libio/freopen.c: Likewise.
7814 * libio/freopen64.c: Likewise.
7815 * libio/iofclose.c: Likewise.
7816 * libio/iofdopen.c: Likewise.
7817 * libio/iofflush.c: Likewise.
7818 * libio/iofflush_u.c: Likewise.
7819 * libio/iofgets.c: Likewise.
7820 * libio/iofgets_u.c: Likewise.
7821 * libio/iofopen.c: Likewise.
7822 * libio/iofopncook.c: Likewise.
7823 * libio/iofread.c: Likewise.
7824 * libio/iofread_u.c: Likewise.
7825 * libio/ioftell.c: Likewise.
7826 * libio/iofwrite.c: Likewise.
7827 * libio/iogetline.c: Likewise.
7828 * libio/iogets.c: Likewise.
7829 * libio/iogetwline.c: Likewise.
7830 * libio/iopadn.c: Likewise.
7831 * libio/iopopen.c: Likewise.
7832 * libio/ioseekoff.c: Likewise.
7833 * libio/ioseekpos.c: Likewise.
7834 * libio/iosetbuffer.c: Likewise.
7835 * libio/iosetvbuf.c: Likewise.
7836 * libio/ioungetc.c: Likewise.
7837 * libio/ioungetwc.c: Likewise.
7838 * libio/iovdprintf.c: Likewise.
7839 * libio/iovsprintf.c: Likewise.
7840 * libio/iovsscanf.c: Likewise.
7841 * libio/memstream.c: Likewise.
7842 * libio/obprintf.c: Likewise.
7843 * libio/oldfileops.c: Likewise.
7844 * libio/oldiofclose.c: Likewise.
7845 * libio/oldiofdopen.c: Likewise.
7846 * libio/oldiofopen.c: Likewise.
7847 * libio/oldiopopen.c: Likewise.
7848 * libio/oldstdfiles.c: Likewise.
7849 * libio/putc.c: Likewise.
7850 * libio/setbuf.c: Likewise.
7851 * libio/setlinebuf.c: Likewise.
7852 * libio/stdfiles.c: Likewise.
7853 * libio/strops.c: Likewise.
7854 * libio/vasprintf.c: Likewise.
7855 * libio/vscanf.c: Likewise.
7856 * libio/vsnprintf.c: Likewise.
7857 * libio/vswprintf.c: Likewise.
7858 * libio/wfiledoalloc.c: Likewise.
7859 * libio/wfileops.c: Likewise.
7860 * libio/wgenops.c: Likewise.
7861 * libio/wmemstream.c: Likewise.
7862 * libio/wstrops.c: Likewise.
7863 * libio/__fpurge.c: Likewise.
7864 * libio/__fsetlocking.c: Likewise.
7865 * assert/assert.c: Likewise.
7866 * debug/fgets_chk.c: Likewise.
7867 * debug/fgets_u_chk.c: Likewise.
7868 * debug/fread_chk.c: Likewise.
7869 * debug/fread_u_chk.c: Likewise.
7870 * debug/gets_chk.c: Likewise.
7871 * debug/obprintf_chk.c: Likewise.
7872 * debug/vasprintf_chk.c: Likewise.
7873 * debug/vdprintf_chk.c: Likewise.
7874 * debug/vsnprintf_chk.c: Likewise.
7875 * debug/vsprintf_chk.c: Likewise.
7876 * malloc/mtrace.c: Likewise.
7877 * misc/error.c: Likewise.
7878 * misc/syslog.c: Likewise.
7879 * stdio-common/asprintf.c: Likewise.
7880 * stdio-common/fxprintf.c: Likewise.
7881 * stdio-common/getw.c: Likewise.
7882 * stdio-common/isoc99_fscanf.c: Likewise.
7883 * stdio-common/isoc99_scanf.c: Likewise.
7884 * stdio-common/isoc99_vfscanf.c: Likewise.
7885 * stdio-common/isoc99_vscanf.c: Likewise.
7886 * stdio-common/isoc99_vsscanf.c: Likewise.
7887 * stdio-common/printf-prs.c: Likewise.
7888 * stdio-common/printf_fp.c: Likewise.
7889 * stdio-common/printf_fphex.c: Likewise.
7890 * stdio-common/printf_size.c: Likewise.
7891 * stdio-common/putw.c: Likewise.
7892 * stdio-common/scanf.c: Likewise.
7893 * stdio-common/sprintf.c: Likewise.
7894 * stdio-common/tmpfile.c: Likewise.
7895 * stdio-common/vfprintf.c: Likewise.
7896 * stdio-common/vfscanf.c: Likewise.
7897 * stdlib/strfmon_l.c: Likewise.
7898 * sunrpc/openchild.c: Likewise.
7899 * sunrpc/xdr_stdio.c: Likewise.
7900 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7901 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7902
d6c33fda
RM
79032012-05-24 Roland McGrath <roland@hack.frob.com>
7904
c1487492
RM
7905 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7906
7907 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7908 in the third column, to generate for the shared library an IFUNC
7909 that uses _dl_vdso_vsym.
7910 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7911 * Makeconfig (object-suffixes-noshared): New variable.
7912
7913 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7914 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7915 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7916 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7917
d6c33fda
RM
7918 [BZ #14132]
7919 * include/sys/time.h (__gettimeofday): Remove macro.
7920 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7921 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7922 Remove INTDEF.
7923 (__gettimeofday): Add libc_hidden_def.
7924 (gettimeofday): Add libc_hidden_weak.
7925 * sysdeps/mach/gettimeofday.c: Likewise.
7926 * sysdeps/posix/gettimeofday.c: Likewise.
7927 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7928 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7930 (__gettimeofday_internal): Remove strong_alias.
7931 (__gettimeofday): Add libc_hidden_def.
7932 (gettimeofday): Add libc_hidden_weak.
7933 * sysdeps/unix/syscalls.list (gettimeofday):
7934 Remove __gettimeofday_internal alias.
7935
b5a2bbe6
L
79362012-05-24 Daniel Jacobowitz <drow@false.org>
7937 H.J. Lu <hongjiu.lu@intel.com>
7938
7939 [BZ #12495]
7940 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7941 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7942 (largebin_index_32_big): New.
7943 (largebin_index): Use it for 16-byte alignment.
7944 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7945 correction with front_misalign.
7946
cfba4fda
L
79472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7948
7f907421
L
7949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7951 Likewise.
7952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7953 Likewise.
7954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7955 Likewise.
7956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7957 Likewise.
7958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7959 Likewise.
7960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7961 Likewise.
7962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7963 Likewise.
7964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7965 Likewise.
7966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7967 Likewise.
7968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7969 Likewise.
7970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7971 Likewise.
7972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7973 Likewise.
7974
cfba4fda
L
7975 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7976 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7977
80bad0cc
JM
79782012-05-24 Joseph Myers <joseph@codesourcery.com>
7979
7a25eb06
JM
7980 [BZ #10846]
7981 [BZ #14036]
7982 * math/libm-test.inc (exp_test): Add test from bug 14036.
7983 (pow_test): Add test from bug 10846.
7984
795405f9
JM
7985 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7986 and other flags.
7987 (special_function): Do not include flags in test name.
7988 (parse_args): Likewise.
7989 * sysdeps/i386/fpu/libm-test-ulps: Update.
7990 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7991 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7992 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7994
80bad0cc
JM
7995 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7996 exceptions.
7997 * math/libm-test.inc ("Philosophy"): Update comment about
7998 exception testing.
7999 (UNDERFLOW_EXCEPTION): New macro.
8000 (UNDERFLOW_EXCEPTION_OK): Likewise.
8001 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8002 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8003 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8004 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8005 (INVALID_EXCEPTION_OK): Update value.
8006 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8007 (OVERFLOW_EXCEPTION_OK): Likewise.
8008 (IGNORE_ZERO_INF_SIGN): Likewise.
8009 (test_exceptions): Handle underflow exceptions.
8010 (acos_test): Update for underflow exception expectations.
8011 (cexp_test): Likewise.
8012 (clog_test): Likewise.
8013 (clog10_test): Likewise.
8014 (csqrt_test): Likewise.
8015 (ctan_test): Likewise.
8016 (ctanh_test): Likewise.
8017 (exp_test): Likewise.
8018 (exp10_test): Likewise.
8019 (exp2_test): Likewise.
8020 (expm1_test): Likewise.
8021 (fma_test): Likewise.
8022 (j0_test): Likewise.
8023 (jn_test): Likewise.
8024 (nexttoward_test): Likewise.
8025 (pow_test): Likewise.
8026 (scalbn_test): Likewise.
8027 (scalbln_test): Likewise.
8028 (tan_test): Likewise.
8029 (y1_test): Likewise.
8030 * sysdeps/i386/fpu/libm-test-ulps: Update.
8031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8032
9e0e3d0b
DM
80332012-05-23 David S. Miller <davem@davemloft.net>
8034
8035 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8036 (__libc_sigaction): Remove unused local variables.
8037
ccd0a08f
L
80382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8039
8040 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8041
62bdf9a6
PE
80422012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8043
f8591f80
PE
8044 mktime: avoid signed integer overflow
8045 * time/mktime.c (__mktime_internal): Do not mishandle the case
8046 where diff == INT_MIN.
8047
94c7d826
PE
8048 mktime: simplify computation of average
8049 * time/mktime.c (ranged_convert): Use new time_t_avg function
8050 instead of rolling our own (probably-slower) code.
8051
ce73d683
PE
8052 mktime: do not assume signed right shift propagates sign bit
8053 * time/mktime.c (isdst_differ): New static function.
8054 (__mktime_internal): No need to normalize tm_isdst now.
8055 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8056 tm_isdst values.
8057
72a22e59
PE
8058 mktime: merge another wrapv change from gnulib
8059 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8060 from some compilers.
8061
68605433
PE
8062 mktime: remove incorrect attempt at unusual arithmetics
8063 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8064 The code didn't really work on such machines anyway.
8065 (TYPE_MINIMUM): Assume two's complement.
8066 (twos_complement_arithmetic): Verify that long_int and time_t
8067 are two's complement (or unsigned, in the latter case).
8068
03cf7fe3
PE
8069 mktime: check signed shifts on long_int and time_t, too
8070 * time/mktime.c (SHR): Check that shifts work as desired
8071 on the types long_int and time_t too, as SHR is used on
8072 such types.
8073
f04dfbc2
PE
8074 mktime: do not assume 'long' is wide enough
8075 * time/mktime.c (verify): Move decl up.
8076 (long_int): New type.
8077 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8078 to remove assumption in the code that 'long' is wide enough to
8079 store year values. This assumption is not true on x32 and on
8080 some non-glibc platforms.
8081
62bdf9a6
PE
8082 mktime: merge wrapv change from gnulib
8083 * time/mktime.c (WRAPV): New macro.
8084 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8085 (guess_time_tm, __mktime_internal): Do not assume that signed
8086 integer overflow wraps around; modern compilers generate code
8087 where this assumption is no longer valid.
8088
5e292e4f
L
80892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8090
8091 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8092 Replace "jmp L(pseudo_end)" with "ret".
8093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8094 Likewise.
8095
8caf8c87
AJ
80962012-05-23 Andreas Jaeger <aj@suse.de>
8097
8098 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8099 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8100
1a09dc56
AJ
81012012-05-23 Andreas Jaeger <aj@suse.de>
8102 Maximilian Attems <max@stro.at>
8103
8104 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8105 New macros.
8106
1c87aba0
L
81072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8108
8109 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8110 code so that pseudo_end is just ret and the stack pointer is
8111 correct also for static library in error case.
8112
40e45bd5
JM
81132012-05-23 Joseph Myers <joseph@codesourcery.com>
8114
c2670533
JM
8115 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8116 move to syscalls.list.
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8121
40e45bd5
JM
8122 * manual/install.texi (Running make install): Do not mention Linux
8123 kernel version for which pt_chown is not needed.
8124 (Linux): Do not mention problems with nscd with 2.0 kernels.
8125 * INSTALL: Regenerated.
8126
be08eda5
AJ
81272012-05-23 Andreas Jaeger <aj@suse.de>
8128
8129 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8130 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8131 macro.
8132 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8133 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8134 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8135 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8136 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8137 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8140 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8142 * sysdeps/unix/sysv/linux/bits/in.h
8143 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8144
a6a056bb
RM
81452012-05-22 Roland McGrath <roland@hack.frob.com>
8146
8147 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8148 (PREPARE_VERSION): Just use assert instead, it will be elided
8149 under [NDEBUG] anyway.
8150
c9009328
L
81512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8152
8153 * sysdeps/unix/sysv/linux/Makefile: Include
8154 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8155 (sysdep_routines): Remove sysctl.
c9009328
L
8156 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8157 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8158 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8159 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8160 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8161
73338355
AJ
81622012-05-22 Andreas Jaeger <aj@suse.de>
8163
8164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8165 that pseudo_end is just ret and the stack pointer is correct also
8166 for static library in error case.
8167
d44638b0
PP
81682012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8169
8170 [BZ #14122]
8171 * nss/nsswitch.c (defconfig_entries): New variable.
8172 (__nss_database_lookup): Don't leak defconfig entries.
8173 (nss_parse_service_list): Don't leak on error paths.
8174 (free_database_entries): New function.
8175 (free_defconfig): New function.
8176 (free_mem): Move common code to free_database_entries.
8177
31a39bd8
L
81782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8179
da0331a8
L
8180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8181 Add arch_prctl.
8182 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8183
31a39bd8
L
8184 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8185 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8187 New macro.
8188 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8189 (INTERNAL_SYSCALL_TYPES): Likewise.
8190 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8191 (LOAD_REGS_TYPES_[1-6]): Likewise.
8192 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8193 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8194
45470df3
AZ
81952012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8196
8197 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8198 copysignl for GLIBC_2_0.
8199 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8200 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8202 logbl for GLIBC_2_0.
8203 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8204 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8205
98a61bcb
L
82062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8207
a4f6e481
L
8208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8209 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8210
f63d5db6
L
8211 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8212 Use "neg %eax".
8213
98a61bcb
L
8214 * time/mktime.c: Update copyright years.
8215
95770f14
PE
82162012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8217
6226efbd
PE
8218 mktime: merge comment-quoting-style change from gnulib
8219 * time/mktime.c: Quote 'like this' in comments.
8220 The GNU coding standards suggest that we no longer quote `like this',
8221 as "`" and "'" are typically rendered asymmetrically nowadays.
8222 The typical gnulib style is to quote 'like this' when quoting
8223 code, and "like this" when quoting English.
8224
b99e4f78
PE
8225 * time/mktime.c (compile-command): Add "-I.".
8226
643e01e6
PE
8227 mktime: merge mktime-internal.h change from gnulib
8228 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8229
2554247d
PE
8230 mktime: merge time_r change from gnulib
8231 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8232
826dd0ab
PE
8233 mktime: merge DEBUG change from gnulib
8234 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8235 case system <time.h> has a #define.
8236
bd83aabe
PE
8237 mktime: merge <sys/types.h> change from gnulib
8238 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8239 since <time.t> is now guaranteed to define time_t.
8240
95770f14
PE
8241 mktime: merge HAVE_CONFIG_H change from gnulib
8242 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8243
5e1a27a9
L
82442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8245
0e44a77e
L
8246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8247 Use "neg %eax".
8248
5e1a27a9
L
8249 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8250 __rlim_t cast.
8251 (struct rusage): Use anonymous union to pad each field to
8252 __syscall_slong_t.
8253
46259bec
DM
82542012-05-21 David S. Miller <davem@davemloft.net>
8255
8256 * Makefules (o-iterator): Remove .s cases.
8257 (compile-command.s): Delete.
8258 (COMPILE.s): Delete.
8259 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8260
59f0c22e
JM
82612012-05-21 Joseph Myers <joseph@codesourcery.com>
8262
8263 * configure.in (libc_cv_predef_stack_protector): Only consider
8264 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8265 * configure: Regenerated.
8266
20c07380
L
82672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8268
bbb3154b
L
8269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8270 New macro. Use R*LP on int and pointer.
8271 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8272 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8273 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8274 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8275
20c07380
L
8276 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8277 [__WORDSIZE_TIME64_COMPAT32] instead of
8278 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8279 (struct utmp): Likewise.
8280 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8281 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8282 Renamed to ...
8283 (__WORDSIZE_TIME64_COMPAT32): This.
8284 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8285 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8286 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8287 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8288 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8289 (__WORDSIZE_TIME64_COMPAT32): New macro.
8290
d8d1017e
AJ
82912012-05-21 Andreas Jaeger <aj@suse.de>
8292
8293 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8294 only if [SHARED]. Add prototype for __wcschr_ia32.
8295
6c7fb145
RM
82962012-05-21 Roland McGrath <roland@hack.frob.com>
8297
8298 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8299 of %rbp unmolested in the jmp_buf while mangling the low bits.
8300 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8301 unmolested high bits of %rbp while demangling the low bits.
8302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8303
66274218
AJ
83042012-05-21 Andreas Jaeger <aj@suse.de>
8305
07c58f8f
AJ
8306 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8307 * sunrpc/svc_simple.c: Use it for registerrpc.
8308 * sunrpc/xcrypt.c: Use it for passwd2des.
8309
66274218
AJ
8310 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8311
61f65140
L
83122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8313
8314 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8315 Don't define if [__SYSCALL_WORDSIZE != 32].
8316 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8317 New macro.
8318
5fefb436
AJ
83192012-05-21 Bruno Haible <bruno@clisp.org>
8320 Andreas Jaeger <aj@suse.de>
8321
8322 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8323 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8324 inptr and inend for must_buffer_ch.
8325 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8326 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8327 * stdio-common/Makefile (tests): Remove bug15.
8328 (bug15-ENV): Remove macro.
8329 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8330 anymore.
8331
d8e272ab
AJ
83322012-05-19 Andreas Jaeger <aj@suse.de>
8333 Roland McGrath <roland@hack.frob.com>
8334
8335 * manual/contrib.texi: Completely rewritten. It contains now an
8336 alphabetical list of contributors and their contributions.
8337
4a56a162
RH
83382012-05-21 Richard Henderson <rth@twiddle.net>
8339
8340 * misc/getauxval.c (__getauxval): Use unsigned long int.
8341 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8342 (getauxval): Use unsigned long int.
8343
d024d23c
L
83442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8345
8346 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8347
cbc00a03
RM
83482012-05-21 Roland McGrath <roland@hack.frob.com>
8349
8350 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8351 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8352 __alignof__ (long double).
8353
478143fa
AZ
83542012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8355
8356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8357
c7683a6d
RH
83582012-05-20 Richard Henderson <rth@twiddle.net>
8359
8360 * misc/getauxval.c: New file.
8361 * misc/sys/auxv.h: New file.
8362 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8363 (routines): Add getauxval.
8364 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8365 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8366 * elf/dl-sysdep.c (_dl_auxv): Remove.
8367 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8368 * elf/dl-support.c (_dl_auxv): New variable.
8369 (_dl_aux_init): Initialize it.
8370 * manual/startup.texi (Auxiliary Vector): New node.
8371 * sysdeps/generic/bits/hwcap.h: New file.
8372 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8373 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8374 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8375 * sysdeps/sparc/sysdep.h: ... here. Include it.
8376 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8377 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8379 Update.
c7683a6d
RH
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8388
a6f1845d
AZ
83892012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8390
8391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8392
cbcbe830
DM
83932012-05-19 David S. Miller <davem@davemloft.net>
8394
8395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8396
e0b16cc2
JM
83972012-05-19 Joseph Myers <joseph@codesourcery.com>
8398
8399 [BZ #14123]
8400 * math/s_ccosh.c: Include <float.h>
8401 (__ccosh): Avoid internal overflow calculating sinh and cosh
8402 values before multiplying by sin and cos values.
8403 * math/s_ccoshf.c: Likewise.
8404 * math/s_ccoshl.c: Likewise.
8405 * math/s_csin.c: Likewise.
8406 * math/s_csinf.c: Likewise.
8407 * math/s_csinl.c: Likewise.
8408 * math/s_csinh.c: Likewise.
8409 * math/s_csinhf.c: Likewise.
8410 * math/s_csinhl.c: Likewise.
8411 * math/libm-test.inc (ccos_test): Add more tests.
8412 (ccosh_test): Likewise.
8413 (csin_test): Likewise.
8414 (csinh_test): Likewise.
8415 * sysdeps/i386/fpu/libm-test-ulps: Update.
8416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8417
6ad13e08
L
84182012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8419
f66f0ce8
L
8420 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8421 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8422
6ad13e08
L
8423 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8424
b1d072a7
JM
84252012-05-19 Joseph Myers <joseph@codesourcery.com>
8426
8427 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8428 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8429 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8430 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8431 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8432 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8433 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8434 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8435 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8436 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8437 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8438 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8439 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8440 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8441 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8442 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8443 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8444 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8445 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8446 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8447 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8448 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8449 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8450 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8451 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8452 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8453 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8454 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8455 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8456 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8457 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8458
9eae47cb
AJ
84592012-05-18 Andreas Jaeger <aj@suse.de>
8460
8461 * csu/.gitignore: Delete.
8462
bb07f69f
L
84632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8464
8465 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8466 (timex): Use __syscall_slong_t.
8467
e6bdb741
AJ
84682012-05-18 Andreas Jaeger <aj@suse.de>
8469 Carlos O'Donell <carlos_odonell@mentor.com>
8470
8471 * manual/install.texi (Configuring and compiling): Update
8472 description about files modified in the source directory.
d6c33fda 8473 * INSTALL: Regenerated.
e6bdb741 8474
1b74487e
L
84752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8476
8477 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8478 value. Use "or" to set return value to -1.
8479 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8480 negate return value.
8481
a88b64b9
TMQMF
84822012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8483
8484 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8485 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8486 failure if the compiler has Graphite support disabled.
8487 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8488 Likewise.
8489 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8490 CFLAGS-memmove.c): Likewise.
8491 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8492 Likewise.
8493
3707636e
L
84942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8495
610b8622
L
8496 * sysdeps/x86_64/x32/_itoa.h: New file.
8497
7cd195df
L
8498 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8499 getdents system call only if kernel and user dirents have the
8500 same d_ino and d_off.
8501
94b07d20
L
8502 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8503 LLONG_MAX != LONG_MAX.
8504 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8505 (_fitoa_word): Likewise.
8506
18298070
L
8507 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8508 years.
8509 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8510 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8511 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8512
553c7ea4
L
8513 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8514 include <bits/wordsize.h>. Check __x86_64__ instead of
8515 __WORDSIZE.
8516 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8517 if __x86_64__ is defined. Use anonymous union on fpstate.
8518
3707636e
L
8519 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8520 anonymous union.
8521
b53ef01a
AS
85222012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8523
37fb1dc0
AS
8524 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8525 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8526 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8527 Refer to _rtld_local_ro instead of _rtld_global_ro.
8528 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8529 Likewise.
8530 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8531 Likewise.
8532 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8533 Likewise.
8534 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8535 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8536 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8537
b53ef01a
AS
8538 * sysdeps/powerpc/powerpc32/dl-machine.c
8539 (__elf_machine_runtime_setup) [PROF]: Don't reference
8540 _dl_prof_resolve.
8541
7a185db2
AJ
85422012-05-18 Andreas Jaeger <aj@suse.de>
8543
8544 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8545 function only available for GCCs before 3.4 since GCC 3.4
8546 introduced a builtin.
8547 (lrint): Likewise.
8548 (llrintf): Likewise.
8549 (llrint): Likewise.
8550 (fmaxf): Likewise.
8551 (fmax): Likewise.
8552 (fminf): Likewise.
8553 (fmin): Likewise.
8554 (rint): Likewise.
8555 (rintf): Likewise.
8556 (nearbyint): Likewise.
8557 (nearbyintf): Likewise.
8558 (ceil): Likewise.
8559 (ceilf): Likewise.
8560 (floor): Likewise.
8561 (floorf): Likewise.
8562
3e5aef87
L
85632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8564
428bd707
L
8565 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8566 on both fields and cast pointer to __syscall_ulong_t.
8567
3e5aef87
L
8568 * bits/types.h (__fsword_t): New type.
8569 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8570 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8572 (__FSWORD_T_TYPE): Likewise.
8573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8574 (__FSWORD_T_TYPE): Likewise.
8575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8576 (__FSWORD_T_TYPE): Likewise.
8577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8578 (__FSWORD_T_TYPE): Likewise.
8579 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8580 __SWORD_TYPE with __fsword_t.
8581 (statfs64): Likewise.
8582
1ba7c3dc
DM
85832012-05-17 David S. Miller <davem@davemloft.net>
8584
8585 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8586
59910343
AJ
85872012-05-17 Andreas Jaeger <aj@suse.de>
8588
8589 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8590 warning.
8591
2e4c1e9e
L
85922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8593
8594 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8595
de7f5ce7
AJ
85962012-05-17 Andreas Jaeger <aj@suse.de>
8597
8598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8599 when it is used.
8600
286abc3d
CM
86012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8602
8603 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8604
477cc68e
L
86052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8606
8607 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8608 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8609
1a0994f5
CD
86102012-05-17 Andreas Jaeger <aj@suse.de>
8611 Carlos O'Donell <carlos_odonell@mentor.com>
8612
8613 [BZ #14059]
8614 * sysdeps/x86_64/multiarch/init-arch.h
8615 (bit_YMM_Usable): Rename to...
8616 (bit_AVX_Usable): ... this.
8617 (bit_FMA4_Usable): New macro.
8618 (bit_XMM_state): New macro.
8619 (bit_YMM_state): New macro.
8620 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8621 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8622 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8623 (CPUID_OSXSAVE): New macro.
8624 (CPUID_AVX): New macro.
8625 (CPUID_FMA4): New macro.
8626 (index_YMM_Usable): Rename to...
8627 (index_AVX_Usable): ... this.
8628 (HAS_AVX): Use HAS_ARCH_FEATURE.
8629 (HAS_FMA4): Likewise.
8630 (HAS_YMM_USABLE): Remove.
8631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8632 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8633 are present.
8634 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8635 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8636 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8637 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8638 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8639
0af797de
CM
86402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8641
8642 * math/libm-test.c: Support platforms without multiple rounding modes.
8643 * math/bug-nextafter.c: Support platforms without FP exceptions.
8644 * math/bug-nexttoward.c: Likewise.
8645 * math/test-fenv.c: Likewise.
8646 * math/test-misc.c: Likewise.
8647 * stdlib/bug-getcontext.c: Likewise.
8648
e39745ff
AJ
86492012-05-17 Andreas Jaeger <aj@suse.de>
8650
8651 * manual/examples/search.c (critter_cmp): Change signature to
8652 avoid warnings.
8653 * manual/string.texi (Collation Functions): Likewise.
8654
48970aba
L
86552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * bits/types.h: Fold copyright years.
8658 * bits/typesizes.h: Likewise.
8659 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8661 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8663 * time/time.h: Likewise.
8664
bedee953
PP
86652012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8666
8667 [BZ #208]
8668 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8669 in instead of returning them. Return void.
8670 (__libc_mallinfo): Accumulate over all arenas.
8671 (__malloc_stats): Adjust for change in int_mallinfo interface.
8672
61653dfb
RM
86732012-05-16 Roland McGrath <roland@hack.frob.com>
8674
30b99d79
RM
8675 [BZ #10375]
8676 * configure.in (NM): Add AC_CHECK_TOOL for it.
8677 (libc_extra_cflags): New substituted variable.
8678 Check for -fstack-protector being used implicitly.
8679 * configure: Regenerated.
8680 * config.make.in (config-extra-cflags): New variable,
8681 gets @libc_extra_cflags@.
8682 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8683
61653dfb
RM
8684 [BZ #10375]
8685 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8686 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8687 * configure: Regenerated.
8688 * config.make.in (CPPUNDEFS): New substituted variable.
8689 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8690 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8691 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8692
661768bb
L
86932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8694
8695 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8696 (mq_attr): Use __syscall_slong_t.
8697
d4261567
L
86982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8699
8700 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8701 Check __x86_64__ instead of __WORDSIZE.
8702 (_STAT_VER_LINUX): Likewise.
8703 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8704 __syscall_ulong_t and __syscall_slong_t.
8705 (stat64): Likewise.
8706
cf3ff365
L
87072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8708
8709 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8710
76cf3e4d
L
87112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8712
8713 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8714
a637753a
L
87152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8716
8717 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8718 __syscall_ulong_t.
8719
d5e05119
L
8720 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8721 include <bits/wordsize.h>. Check __x86_64__ instead of
8722 __WORDSIZE.
8723 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8724 defined.
8725 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8726
f62ee380
L
8727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8728 include <bits/wordsize.h>. Check __x86_64__ instead of
8729 __WORDSIZE.
8730 (user_regs_struct): Use "__extension__ unsigned long long"
8731 instead of "unsigned long" if __x86_64__ is defined.
8732 (user): Likewise. Pad after pointer field if __ILP32__ is
8733 defined.
8734
4e124ced
JM
87352012-05-16 Joseph Myers <joseph@codesourcery.com>
8736
6a3951a0
JM
8737 * configure.in (makeinfo): Require version 4.5 or later. Allow
8738 versions 5 to 9.
8739 * configure: Regenerated.
8740 * manual/install.texi (texinfo): Increase version requirement to
8741 4.5 or later.
8742 * INSTALL: Regenerated.
8743
4e124ced
JM
8744 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8745
953ca31a
L
87462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8747
8748 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8749
617aca05
L
8750 * sysdeps/x86_64/x32/ffs.c: New file.
8751
5762f7ae
L
8752 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8753 __syscall_ulong_t.
8754 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8755 defined. Use __syscall_ulong_t.
8756 (shminfo): Use __syscall_ulong_t.
8757 (shm_info): Likewise.
8758
a26b6856
L
8759 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8760 __syscall_ulong_t.
8761
cb2b9ef7
L
8762 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8763 <bits/wordsize.h>.
8764 (msgqnum_t): Use __syscall_ulong_t.
8765 (msglen_t): Likewise.
8766 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8767 __syscall_ulong_t.
8768
34683bb0
L
8769 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8770 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8771
84a68786
L
8772 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8773
48baa5f1
L
8774 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8775 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8776
180be88b
L
8777 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8778 __syscall_slong_t.
8779
5e90c8ad
L
8780 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8781 include <bits/wordsize.h>. Check __x86_64__ instead of
8782 __WORDSIZE.
8783
23dfb58b
L
8784 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8785 "unsigned long long int" if __x86_64__ is defined.
8786 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8787
ce5d54b0
L
8788 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8789 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8790 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8791
13dc9eac
L
8792 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8793 <stdint.h>.
8794 (GET_PC): Cast to uintptr_t first.
8795 (GET_FRAME): Likewise.
8796 (GET_STACK): Likewise.
8797
a7895d15
L
8798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8799 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8801 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8802 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8803 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8804 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8805 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8806 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8808 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8809 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8810 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8812 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8814 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8815 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8816 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8818 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8819 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8820 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8821 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8822 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8824 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8826 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8827
656416c9
AS
88282012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8829
5bd66283
AS
8830 * Makerules (+depfiles): Also collect depfiles from .oS in
8831 $(extra-objs).
8832 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8833 .oS, $(libnldbl-routines)).
8834
656416c9
AS
8835 * Makerules (native-compile-mkdep-flags): Define.
8836 * sunrpc/Makefile (extra-objs): Add $(addprefix
8837 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8838 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8839 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8840 calling $(make-target-directory).
8841
a46f2169
L
88422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8843
8844 * bits/types.h (__snseconds_t): Removed.
8845 * time/time.h (struct timespec): Replace __snseconds_t with
8846 __syscall_slong_t.
8847 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8848 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8849 Likewise.
8850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8851 (__SNSECONDS_T_TYPE): Likewise.
8852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8853 (__SNSECONDS_T_TYPE): Likewise.
8854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8855 (__SNSECONDS_T_TYPE): Likewise.
8856
6af6528b
L
88572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8858
8859 * sysdeps/mach/hurd/bits/typesizes.h
8860 (__SYSCALL_SLONG_TYPE): New macro.
8861 (__SYSCALL_ULONG_TYPE): Likewise.
8862
de986b56
L
88632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8864
8865 * bits/types.h (__syscall_slong_t): New type.
8866 (__syscall_ulong_t): Likewise.
8867
8868 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8869 (__SYSCALL_ULONG_TYPE): Likewise.
8870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8871 (__SYSCALL_SLONG_TYPE): Likewise.
8872 (__SYSCALL_ULONG_TYPE): Likewise.
8873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8874 (__SYSCALL_SLONG_TYPE): Likewise.
8875 (__SYSCALL_ULONG_TYPE): Likewise.
8876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8877 (__SYSCALL_SLONG_TYPE): Likewise.
8878 (__SYSCALL_ULONG_TYPE): Likewise.
8879
85736dc7
L
88802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8881
8882 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8883 Add sigaltstack-offsets.sym.
8884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8885 <sigaltstack-offsets.h>.
8886 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8887 longjmp_msg pointer.
8888 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8889 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8890 signal stack.
8891 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8892
cc03b296
JM
88932012-05-15 Joseph Myers <joseph@codesourcery.com>
8894
a9538892
JM
8895 * elf/stackguard-macros.h: Remove file.
8896 * sysdeps/generic/stackguard-macros.h: New file.
8897 * sysdeps/i386/stackguard-macros.h: Likewise.
8898 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8899 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8900 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8901 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8902 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8903 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8904 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8905 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8906 <elf/stackguard-macros.h>.
8907
cc03b296
JM
8908 [BZ #14109]
8909 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8910 __aligned__ in attribute.
8911 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8912 (gregset_t): Likewise.
8913
93171016
L
89142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8915
8916 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8917 * sysdeps/x86_64/64/Implies-after: Here. New file.
8918 * sysdeps/x86_64/x32/Implies-after: New file.
8919
d86813a0
L
89202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8921
8922 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8923 and access return value for _dl_profile_fixup. Use R10_LP to
8924 load frame size.
8925
2953ec75
L
89262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8929
3b550e9e
L
89302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8931
8932 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8933 * sysdeps/x86_64/x32/sysdep.h: New file.
8934
eda41706
L
89352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8936
8937 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8938 * sysdeps/x86_64/setjmp.S: Likewise.
8939
9ea01d93
AZ
89402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8941
8942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8943 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8944 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8945 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8946 remove unused global constant.
8947
02a91938
CM
89482012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8949
8950 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8951 include of <not-cancel.h>.
8952
6540185f
RM
89532012-05-15 Roland McGrath <roland@hack.frob.com>
8954
8955 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8956
509072a0
AJ
89572012-05-15 Jeff Law <law@redhat.com>
8958 Andreas Jaeger <aj@suse.de>
8959
8960 [BZ #13594]
8961 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8962 out from...
8963 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8964 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8965 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8966 code changing __hst_map_handle.map.
8967
ba75122d
RM
89682012-05-15 Roland McGrath <roland@hack.frob.com>
8969
8970 * configure.in (sysnames): Look for Implies-before and Implies-after
8971 files.
8972 * configure: Regenerated.
8973
890d8bd8
L
89742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8975
8976 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8977 8-byte data alignment with LP_SIZE alignment.
8978
f6ee6623
L
89792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8980
8981 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8982 into R10_LP.
8983
ea2626f6
L
89842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8985
8986 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8987
085f715e
L
89882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8989
8990 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8991 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8993 Likewise.
8994 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8995
be8498fc
L
89962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8997
8998 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8999 (stackinfo_sub_sp): Likewise.
9000
70bc83b9
L
90012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9002
9003 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9004 RAX_LP.
9005
9bc0b730
L
90062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9007
9008 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9009 into R*_LP.
9010
6d2850e7
L
90112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9012
9013 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9014 sizes into R*_LP.
9015
3cb84561
L
90162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9017
9018 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9019
54e2ed81
L
90202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9021
9022 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9023 into R11_LP and load __x86_64_shared_cache_size_half into
9024 R8_LP.
9025
8a17f349
L
90262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9027
9028 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9029 R8_LP.
9030
777b1eea
AZ
90312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9032
9033 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9034 logb for POWER7.
9035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9036 logbf for POWER7.
9037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9038 logbl for POWER7.
9039 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9040 powerpc32/power7/fpu/s_logb.c via #include.
9041 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9042 powerpc32/power7/fpu/s_logbf.c via #include.
9043 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9044 powerpc32/power7/fpu/s_logbl.c via #include.
9045
d20d4ac2
JM
90462012-05-15 Joseph Myers <joseph@codesourcery.com>
9047
9048 * README.libm: Remove file.
9049
6cdef1ab
L
90502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9051
9052 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9053 count for x32. Use R*_LP and omit operand-size suffix.
9054
0b254d8f
L
90552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9056
9057 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9058 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9059 * sysdeps/x86_64/x32/shlib-versions: New file.
9060
ceb809dc
RM
90612012-05-14 Roland McGrath <roland@hack.frob.com>
9062
9063 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9064 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9065 Use _dl_fatal_printf instead.
9066
37f1abd4
JM
90672012-05-14 Joseph Myers <joseph@codesourcery.com>
9068
9069 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9070 set if not set by the user. Do not allow for being unset.
9071 * sysdeps/unix/sysv/linux/configure: Regenerated.
9072
11de3a33
L
90732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9074
9075 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9076 the `q' suffix from lea and replace .quad with ASM_ADDR.
9077
e02f153a
L
90782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9081 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9082 instead of $17.
9083 (PTR_DEMANGLE): Likewise.
9084
520ae0fd
L
90852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9086
9087 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9088 (LP_OP): Likewise.
9089 (ASM_ADDR): Likewise.
9090 (RAX_LP): Likewise.
9091 (RBP_LP): Likewise.
9092 (RBX_LP): Likewise.
9093 (RCX_LP): Likewise.
9094 (RDI_LP): Likewise.
9095 (RSI_LP): Likewise.
9096 (RSP_LP): Likewise.
9097 (R8_LP): Likewise.
9098 (R9_LP): Likewise.
9099 (R10_LP): Likewise.
9100 (R10_LP): Likewise.
9101 (R11_LP): Likewise.
9102 (R12_LP): Likewise.
9103 (R13_LP): Likewise.
9104 (R14_LP): Likewise.
9105 (R15_LP): Likewise.
9106
b985be81
L
91072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9108
9109 * sysdeps/x86_64/x32/dl-machine.h: New file.
9110
6a4888ff
AJ
91112012-05-14 Andreas Jaeger <aj@suse.de>
9112
9113 * manual/Makefile (subdir): Remove export of subdir.
9114 (all): Remove target.
9115 (.PHONY): Remove all from list.
9116 (mkinstalldirs): Remove.
9117 (.PHONY): Remove installdirs from list.
9118 ($(inst_infodir)/libc.info): Use make-target-directory.
9119 (installdirs): Remove.
9120 (subdir_%): Remove.
9121 (glibc-targets): Remove.
9122 (lib): Remove.
9123 (stubs): Remove.
9124 ($(objpfx)stubs ../po/manual.pot): Remove.
9125 ($(objpfx)stamp%): Remove.
9126 (make-target-directory): Remove.
9127 (subdir_install): Remove.
9128 (routines): Remove.
9129 (aux): Remove.
9130 (sources): Remove.
9131 (objects): Remove.
9132 (headers): Remove.
9133
9134 [BZ #13750]
9135 * manual/.gitignore: Remove, it's not needed anymore.
9136 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9137 all files in it.
9138 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9139 directory.
9140 (texis): Renamed to $(objpfx)texis.
9141 (texis-path): New, contains path to generated files.
9142 (chapters.%): Use texis-path for complete path, add extra argument
9143 libc-texinfo.sh.
9144 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9145 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9146 (summary,texi, stamp-summary): Use complete path of
9147 files. Generate files in build dir.
9148 (dir-add.texi): Build in build dir.
9149 (libm-err.texi,stamp-libm-err): Likewise.
9150 (version.texi, stamp-version): Likewise.
9151 (.%c.texi): Likewise.
9152 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9153 (mostlyclean): Remove target.
9154 (realclean): Remove target.
9155 (generated): Add new variable with contents from mostlyclean and
9156 realclean, remove entries duplicated in common-mostlyclean, add
9157 stamp-libm-err and stamp-version.
9158 (generated-dirs): Add libc directory.
9159 ($(inst_infodir)/libc.info): Install files from build dir.
9160
9161 * manual/install.texi (Configuring and compiling): Adjust since
9162 the info files are not part of the tar ball anymore.
9163
7ac77294
AJ
91642012-05-14 Andreas Jaeger <aj@suse.de>
9165
9166 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9167 variable.
9168
ffb7875d
JM
91692012-05-14 Joseph Myers <joseph@codesourcery.com>
9170
9171 [BZ #13717]
9172 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9173 to 2.2.0 where earlier.
9174 * sysdeps/unix/sysv/linux/configure: Regenerated.
9175 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9176 Remove conditional code.
9177 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9178 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9179 Remove conditional code.
9180 [!__NR_lchown]: Likewise.
9181 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9182 [__NR_lchown]: Likewise.
9183 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9184 comment referencing __ASSUME_LCHOWN_SYSCALL.
9185 * sysdeps/unix/sysv/linux/i386/sigaction.c
9186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9188 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9189 Remove conditional code.
9190 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9191 (__protocol_available): Remove #if 0 code.
9192 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9193 conditional code.
9194 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9195 * sysdeps/unix/sysv/linux/kernel-features.h
9196 (__ASSUME_GETCWD_SYSCALL): Don't define.
9197 (__ASSUME_REALTIME_SIGNALS): Likewise.
9198 (__ASSUME_PREAD_SYSCALL): Likewise.
9199 (__ASSUME_PWRITE_SYSCALL): Likewise.
9200 (__ASSUME_POLL_SYSCALL): Likewise.
9201 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9202 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9203 non-SPARC.
9204 (__ASSUME_SIOCGIFNAME): Don't define.
9205 (__ASSUME_MSG_NOSIGNAL): Likewise.
9206 (__ASSUME_SENDFILE): Define unconditionally.
9207 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9208 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9209 conditional code.
9210 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9211 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9212 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9213 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9214 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9215 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9216 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9218 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9221 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9224 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9230 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9233 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9236 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9237 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9239 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9240 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9241 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9242 Remove conditional code.
9243 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9244 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9245 Remove conditional code.
9246 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9247 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9248 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9249 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9250 Remove conditional code.
9251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9252 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9253 Remove conditional code.
9254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9255 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9256 Remove conditional code.
9257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9258 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9259 Remove conditional code.
9260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9261 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9262 Remove conditional code.
9263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9264 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9265 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9267 * sysdeps/unix/sysv/linux/sigaction.c
9268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9270 * sysdeps/unix/sysv/linux/sigpending.c
9271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9273 * sysdeps/unix/sysv/linux/sigprocmask.c
9274 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9275 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9276 * sysdeps/unix/sysv/linux/sigsuspend.c
9277 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9278 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9279 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9280 (__libc_missing_rt_sigs): Remove.
9281 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9282 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9283 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9284 Remove conditional code.
9285 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9286 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9287 return 1.
9288 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9289 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9290 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9291 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9292
1bfb7291
AJ
92932012-05-14 Andreas Jaeger <aj@suse.de>
9294
caae5a81
AJ
9295 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9296 it's not used in glibc.
9297 (__coshm1): Likewise.
9298 (__acosh1p): Likewise.
9299 (__sgn): Likewise.
9300
1bfb7291
AJ
9301 * manual/string.texi (Copying and Concatenation): Add missing
9302 variable in concat example.
9303 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9304
c044d724
L
93052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9306
144c5467 9307 [BZ #14103]
c044d724
L
9308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9309 __builtin_clzl with __builtin_clzll.
9310
2523c62b
L
93112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 [BZ #14104]
9314 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9315 libc_freeres_ptr.
9316
d7bb4c42
LD
93172012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9318
9319 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9320 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9321 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9322 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9323
9dc4e1fb
MF
93242012-05-14 Mike Frysinger <vapier@gentoo.org>
9325
9326 * NEWS: Update ia64 info.
9327
c7df0112
AS
93282012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9329
9330 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9331 used as bcopy.
9332
dc70356c
TS
93332012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9334
9335 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9336 * sysdeps/unix/syscalls.list (dup3): Likewise.
9337 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9338 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9339
9fb1a21f
L
93402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9341
9342 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9343 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9344
4822a2a5
L
93452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9346
9347 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9348 thread pointer.
9349 (TLS_IE): Use mov/add instead of movq/addq to load thread
9350 pointer.
9351 (TLS_GD_PREFIX): New.
9352 (TLS_GD): Use it.
9353
842b81d6
DM
93542012-05-11 David S. Miller <davem@davemloft.net>
9355
9356 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9357 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9358 (_FPU_SETCW): Likewise.
9359
1cf463cd
L
93602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9361
9362 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9363 is 32-byte aligned.
9364
60cc4a18
AS
93652012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9366
9367 [BZ #11837]
9368 * iconvdata/gb18030.c: Update tables.
9369 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9370 characters specially.
9371 (BODY for TO_LOOP): Add encoding of missing ranges.
9372
febb44a4
TS
93732012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9374
9375 [BZ #13673]
9376 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9377 * sysdeps/mach/hurd/dup3.c: Likewise.
9378 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9379 * sysdeps/powerpc/memmove.c:: Likewise.
9380
0a10fb9e
L
93812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9382
9383 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9384 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9385
df8a552f
L
93862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9387
9388 * elf/elf.h (R_X86_64_RELATIVE64): New.
9389 (R_X86_64_NUM): Updated.
9390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9391 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9392 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9393 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9394 tst-quad1pie tst-quad2pie
9395 (modules-names): Add tst-quadmod1 tst-quadmod2.
9396 ($(objpfx)tst-quad1): New dependency.
9397 ($(objpfx)tst-quad2): Likewise.
9398 ($(objpfx)tst-quad1pie): Likewise.
9399 ($(objpfx)tst-quad2pie): Likewise.
9400 * sysdeps/x86_64/tst-quad1.c: New file.
9401 * sysdeps/x86_64/tst-quad1pie.c: New file.
9402 * sysdeps/x86_64/tst-quad2.c: Likewise.
9403 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9404 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9405 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9406 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9407 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9408
f34d6f84
ST
94092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9410
f42d41d1
ST
9411 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9412 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9413 * streams/stropts.h (t_scalar_t): Define type.
9414
3c3571fc
ST
9415 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9416 (_PATH_PRESERVE): Set to "/var/lib".
9417 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9418
61f06bd3
ST
9419 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9420 instead of int.
9421
918d4d71
ST
9422 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9423 if __dir_mkfile succeeded.
9424
f34d6f84
ST
9425 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9426 checking for _hurd_dtablesize. Unlock it right after having
9427 finished _hurd_dtable allocation.
9428
10589b4a
TS
94292012-05-10 Thomas Schwinge <thomas@schwinge.name>
9430
674cdbc7
TS
9431 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9432 * sysdeps/mach/hurd/configure: Regenerated.
9433 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9434 special-casing to...
9435 * sysdeps/gnu/configure.in: ... this new file.
9436 * sysdeps/unix/sysv/linux/configure: Regenerated.
9437 * sysdeps/gnu/configure: New generated file.
9438
8e41b99f
TS
9439 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9440 for Linux: use nsec instead of usec, as well as:
9441 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9442 members of type struct timespec.
9443 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9444 New macros.
9445 (struct stat64): Likewise.
9446 (_STATBUF_ST_NSEC): New macro.
9447 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9448
10589b4a
TS
9449 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9450 __strtoul_internal rather than strtoul.
9451
63643c85
PT
94522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9453
9454 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9455 and reject them.
9456
3faebe6a
ST
94572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9458
9459 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9460 which preserves existing values.
9461 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9462
c6474b07
PT
94632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9464
9465 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9466 TIMEOUT values. Return EINVAL for NFDS values either negative or
9467 greater than FD_SETSIZE.
9468
1043890b
ST
94692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9470
9471 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9472 allocated, call __vm_protect to finish enabling the existing space, and
9473 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9474 allocate the remainder.
9475
37ed8b9b
PT
94762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9477
9478 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9479 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9480
db653660
ST
94812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9482
37ed8b9b
PT
9483 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9484 sysdeps/mach/hurd/readlink.c.
b29d4053 9485
db653660
ST
9486 * posix/tst-sysconf.c (posix_options): Only use
9487 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9488 _POSIX_SYNCHRONIZED_IO when they are defined
9489 * sysdeps/mach/hurd/bits/posix_opt.h:
9490 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9491 (_XOPEN_REALTIME): Undefine macro.
9492 (_XOPEN_REALTIME_THREADS): Undefine macro.
9493 (_XOPEN_SHM): Undefine macro.
9494 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9495 macro to -1.
9496 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9497 macro to -1.
9498 (_POSIX_ASYNC_IO): Undefine macro.
9499 (_POSIX_PRIORITIZED_IO): Undefine macro.
9500 (_POSIX_SPIN_LOCKS): Define macro to -1.
9501
ee16e894
ST
9502 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9503 SA_NODEFER, SA_RESETHAND.
9504 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9505 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9506 F_DUPFD_CLOEXEC.
9507
6103ae3b
TS
95082012-05-10 Thomas Schwinge <thomas@schwinge.name>
9509
9510 * elf/Makefile (pldd-modules): Define unconditionally.
9511
80b4e5f3
TS
95122012-05-10 Thomas Schwinge <thomas@schwinge.name>
9513
9514 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9515
edadcbd6
ST
95162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9517
9518 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9519 Return ENOENT when name is empty.
9520 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9521
80694780
TS
95222012-05-10 Thomas Schwinge <thomas@schwinge.name>
9523
1792c087
TS
9524 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9525
80694780
TS
9526 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9527
6b645f0d
ST
95282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9529
80694780
TS
9530 Fix mlock in all cases except non-readable pages.
9531 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9532 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9533
6b645f0d
ST
9534 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9535 (__mkdir): When path is `/', just fail with EEXIST.
9536 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9537
e468f8a3
TS
95382012-05-10 Thomas Schwinge <thomas@schwinge.name>
9539
9540 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9541 <sys/uio.h> (for writev).
9542 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9543 and <sys/param.h> (for MIN).
9544
a4186cff
PT
95452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9546
9547 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9548 REQUESTED_TIME. Properly set the remaining time and return EINTR
9549 if interrupted.
9550
510bbf14
TS
95512012-05-10 Thomas Schwinge <thomas@schwinge.name>
9552
9553 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9554 Depend on against $(link-rpcuserlibs).
9555
5d5722e8
ST
95562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9557
a4186cff
PT
9558 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9559 (__libc_stack_end): Do not use attribute_relro.
9560 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9561 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9562 to libthread-provided value.
a4186cff
PT
9563 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9564 attribute_relro.
5d5722e8 9565
37233df9
TS
95662012-05-10 Thomas Schwinge <thomas@schwinge.name>
9567
be971a2b
TS
9568 [BZ #3748]
9569 * bits/libc-lock.h (__libc_once_get): New macro.
9570 * sysdeps/mach/bits/libc-lock.h: Likewise.
9571 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9572 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9573 instead of using implementation details.
9574
37233df9
TS
9575 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9576 * libio/freopen.c: Likewise.
9577 * libio/freopen64.c: Likewise.
9578 * misc/syslog.c: Likewise.
9579 * nscd/connections.c: Likewise.
9580 * nscd/netgroupcache.c: Likewise.
9581 * sysdeps/posix/getcwd.c: Likewise.
9582
38de94a5
RM
95832012-05-10 Roland McGrath <roland@hack.frob.com>
9584
9585 * math/w_ilogbf.c: Add #include <limits.h>.
9586
67530489
ST
95872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9588
a4186cff 9589 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9590 path instead of returning without unlocking.
9591
67530489
ST
9592 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9593 immediate-write ioctls.
9594 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9595
5aa3a74a
TS
95962012-05-10 Thomas Schwinge <thomas@schwinge.name>
9597
18bad2ae
TS
9598 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9599 __builtin_frame_address instead of making assumptions about the
9600 location of the return address relative to DATA. Force early load of
9601 the return address.
9602 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9603 __builtin_frame_address.
9604
5aa3a74a
TS
9605 dup3 for GNU Hurd.
9606 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9607 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9608 implement dup3 and do some further code clean-ups.
9609 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9610 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9611
ecd0de9a
ST
96122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9613
cd9fa985
ST
9614 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9615
a4186cff
PT
9616 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9617 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9618 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9619 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9620 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9621 d->port.lock.
802ca5a5 9622
a4186cff
PT
9623 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9624 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9625 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9626
bcf55240
TS
96272012-05-10 Thomas Schwinge <thomas@schwinge.name>
9628
6960eb42
TS
9629 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9630 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9631 definitions.
9632
eb43375f
TS
9633 accept4 for GNU Hurd.
9634 * include/sys/socket.h (__libc_accept4): New prototype.
9635 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9636 to implement __libc_accept4.
9637 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9638 __libc_accept4.
9639 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9640
bcf55240
TS
9641 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9642 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9643 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9644 signal-defines.sym.
9645
6178c55b
ST
96462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9647
a4186cff 9648 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9649
6f080c2f
TS
96502012-05-10 Thomas Schwinge <thomas@schwinge.name>
9651
9652 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9653 assertion on O_CLOEXEC flag.
9654 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9655 * hurd/intern-fd.c: Likewise.
9656 * hurd/port2fd.c: Likewise.
9657
bcfe3a54
ST
96582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9659
9660 [BZ #3906]
9661 * bits/in.h (IPV6_PKTINFO): Define new macro.
9662 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9663
89c9aa49
AZ
96642012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9665
9666 [BZ #13954]
9667 [BZ #13955]
9668 [BZ #13956]
9669 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9670 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9671 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9672 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9674 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9675 * math/libm-test.inc (logb_test) : Additional logb tests.
9676
021db4be
AJ
96772012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9678 Andreas Jaeger <aj@suse.de>
9679
9680 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9681 * configure: Regenerated.
9682 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9683 * config.make.in (link-obsolete-rpc): New substituted variable.
9684 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9685 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9686 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9687 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9688 so that libc.a contains the symbols.
9689 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9690 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9691 * sunrpc/auth_none.c: Likewise.
9692 * sunrpc/auth_unix.c: Likewise.
9693 * sunrpc/authdes_prot.c: Likewise.
9694 * sunrpc/authuxprot.c: Likewise.
9695 * sunrpc/clnt_gen.c: Likewise.
9696 * sunrpc/clnt_perr.c: Likewise.
9697 * sunrpc/clnt_raw.c: Likewise.
9698 * sunrpc/clnt_simp.c: Likewise.
9699 * sunrpc/clnt_tcp.c: Likewise.
9700 * sunrpc/clnt_udp.c: Likewise.
9701 * sunrpc/clnt_unix.c: Likewise.
9702 * sunrpc/des_crypt.c: Likewise.
9703 * sunrpc/des_soft.c: Likewise.
9704 * sunrpc/get_myaddr.c: Likewise.
9705 * sunrpc/key_call.c: Likewise.
9706 * sunrpc/key_prot.c: Likewise.
9707 * sunrpc/netname.c: Likewise.
9708 * sunrpc/pm_getmaps.c: Likewise.
9709 * sunrpc/pm_getport.c: Likewise.
9710 * sunrpc/pmap_clnt.c: Likewise.
9711 * sunrpc/pmap_prot.c: Likewise.
9712 * sunrpc/pmap_prot2.c: Likewise.
9713 * sunrpc/pmap_rmt.c: Likewise.
9714 * sunrpc/publickey.c: Likewise.
9715 * sunrpc/rpc_cmsg.c: Likewise.
9716 * sunrpc/rpc_common.c: Likewise.
9717 * sunrpc/rpc_dtable.c: Likewise.
9718 * sunrpc/rpc_prot.c: Likewise.
9719 * sunrpc/rpc_thread.c: Likewise.
9720 * sunrpc/rtime.c: Likewise.
9721 * sunrpc/svc.c: Likewise.
9722 * sunrpc/svc_auth.c: Likewise.
9723 * sunrpc/svc_raw.c: Likewise.
9724 * sunrpc/svc_run.c: Likewise.
9725 * sunrpc/svc_tcp.c: Likewise.
9726 * sunrpc/svc_udp.c: Likewise.
9727 * sunrpc/svc_unix.c: Likewise.
9728 * sunrpc/svcauth_des.c: Likewise.
9729 * sunrpc/xcrypt.c: Likewise.
9730 * sunrpc/xdr.c: Likewise.
9731 * sunrpc/xdr_array.c: Likewise.
9732 * sunrpc/xdr_float.c: Likewise.
9733 * sunrpc/xdr_intXX_t.c: Likewise.
9734 * sunrpc/xdr_mem.c: Likewise.
9735 * sunrpc/xdr_rec.c: Likewise.
9736 * sunrpc/xdr_ref.c: Likewise.
9737 * sunrpc/xdr_sizeof.c: Likewise.
9738 * sunrpc/xdr_stdio.c: Likewise.
9739
b5c086a2
RM
97402012-05-10 Roland McGrath <roland@hack.frob.com>
9741
9742 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9743 change. Update copyright years.
9744
6d74dd09
JM
97452012-05-10 Joseph Myers <joseph@codesourcery.com>
9746
9747 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9748
28e72501
MK
97492012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9750 Joseph Myers <joseph@codesourcery.com>
9751 Paul Pluzhnikov <ppluzhnikov@google.com>
9752
9753 [BZ #14012]
9754 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9755 requiring rpcgen.
9756 [cross-compiling] (extra-libs): Likewise.
9757 [cross-compiling] (extra-libs-others): Likewise.
9758 [cross-compiling] (librpcsvc-routines): Likewise.
9759 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9760 [cross-compiling] (omit-deps): Likewise.
9761 (sunrpc-CPPFLAGS): New variable.
9762 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9763 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9764 (cross-rpcgen-objs): New variable.
9765 (extra-objs): Append $(cross-rpcgen-objs).
9766 ($(cross-rpcgen-objs)): New rule.
9767 ($(objpfx)cross-rpcgen): Likewise.
9768 (rpcgen-cmd): Define to use $(built-program-file). Expand
9769 comment.
9770 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9771 ($(objpfx)x%.stmp): Likewise.
9772 * sunrpc/proto.h [IS_IN_build] (_): Define.
9773 [IS_IN_build] (_libc_intl_domainname): Likewise.
9774
c8c59454
L
97752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9776
9777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9778 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9779 and R_X86_64_TPOFF64.
9780
6f27cd16
JM
97812012-05-10 Joseph Myers <joseph@codesourcery.com>
9782
9783 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9784 sysdeps/unix/sysv/syscalls.list.
9785 (stime): Likewise.
9786 (utime): Likewise.
9787 * sysdeps/unix/sysv/syscalls.list: Remove file.
9788
02467e1c
PE
97892012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9790
9791 [BZ #3440]
9792 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9793 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9794 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9795 (__LC_IDENTIFICATION): Make these macros useful in #if
9796 expressions, as required by C99.
9797
da392631
AS
97982012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9799
9800 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9801 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9802 after this.
9803
8115f29b
L
98042012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9805
9806 * stdlib/longlong.h: Updated from GCC.
9807
bdd74070
AJ
98082012-05-09 Andreas Jaeger <aj@suse.de>
9809
edfe0dbe
AJ
9810 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9811 default is first entry.
9812 (run_mode): Set type.
9813 (main): Remove informal message about syslog.
9814 (options): Fix typo.
9815
bcfe3a54
ST
9816 [BZ #14053]
9817 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9818 to asm.
bcfe3a54
ST
9819 (lrint): Likewise.
9820 (llrintf): Likewise.
9821 (llrint): Likewise.
9822 (rint): Likewise.
9823 (rintf): Likewise.
9824 (nearbyint): Likewise.
9825 (nearbyintf): Likewise.
bdd74070 9826
91d8d69e
AJ
98272012-05-09 Andreas Jaeger <aj@suse.de>
9828 Pedro Alves <palves@redhat.com>
9829
9830 * nscd/nscd.c (run_mode): Use enum.
9831 (main): Cleanup coding style issue.
9832
bb90b80b
AJ
98332012-05-09 Alexandre Oliva <aoliva@redhat.com>
9834 Andreas Jaeger <aj@suse.de>
9835
bcfe3a54
ST
9836 * nscd/nscd.c (go_background): Replaced with...
9837 (run_mode): ... this.
bb90b80b 9838 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9839 (options): Add -F --foreground.
9840 (main): Implement it.
9841 (parse_opt): Parse it.
bb90b80b 9842
1a4b75a1
AJ
98432012-05-09 Andreas Jaeger <aj@suse.de>
9844
9845 [BZ #14083]
9846 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9847 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9848 -Wconversion warning.
9849 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9850 Likewise.
9851
b1cc2472
JM
98522012-05-09 Joseph Myers <joseph@codesourcery.com>
9853
9854 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9855 == 0.
9856 (LC_ALL): Use macro-int-constant.
9857 (LC_COLLATE): Likewise.
9858 (LC_CTYPE): Likewise.
9859 (LC_MESSAGES): Likewise.
9860 (LC_MONETARY): Likewise.
9861 (LC_NUMERIC): Likewise.
9862 (LC_TIME): Likewise.
9863 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9864 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9866 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9867 Specify type.
9868 [C99-based standards] (float_t): Expect type.
9869 [C99-based standards] (double_t): Expect type.
9870 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9871 type.
9872 [C99-based standards] (HUGE_VALL): Likewise.
9873 [C99-based standards] (INFINITY): Likewise.
9874 [C99-based standards] (NAN): Likewise.
9875 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9876 [C99-based standards] (FP_NAN): Likewise.
9877 [C99-based standards] (FP_NORMAL): Likewise.
9878 [C99-based standards] (FP_SUBNORMAL): Likewise.
9879 [C99-based standards] (FP_ZERO): Likewise.
9880 [C99-based standards] (FP_FAST_FMA): Use
9881 optional-macro-int-constant. Specify type. Require == 1.
9882 [C99-based standards] (FP_FAST_FMAF): Likewise.
9883 [C99-based standards] (FP_FAST_FMAL): Likewise.
9884 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9885 [C99-based standards] (FP_ILOGBNAN): Likewise.
9886 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9887 Specify type.
9888 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9889 [C99-based standards] (math_errhandling): Specify type.
9890 [ISO99 || ISO11] (signgam): Do not allow.
9891 [non-C99-based standards] (copysignf): Do not allow.
9892 [non-C99-based standards] (exp2f): Likewise.
9893 [non-C99-based standards] (log2f): Likewise.
9894 [non-C99-based standards] (modff): Allow.
9895 [non-C99-based standards] (erff): Do not allow.
9896 [non-C99-based standards] (erfcf): Likewise.
9897 [non-C99-based standards] (gammaf): Likewise.
9898 [non-C99-based standards] (hypotf): Likewise.
9899 [non-C99-based standards] (j0f): Likewise.
9900 [non-C99-based standards] (j1f): Likewise.
9901 [non-C99-based standards] (jnf): Likewise.
9902 [non-C99-based standards] (lgammaf): Likewise.
9903 [non-C99-based standards] (tgammaf): Likewise.
9904 [non-C99-based standards] (y0f): Likewise.
9905 [non-C99-based standards] (y1f): Likewise.
9906 [non-C99-based standards] (ynf): Likewise.
9907 [non-C99-based standards] (isnanf): Likewise.
9908 [non-C99-based standards] (acoshf): Likewise.
9909 [non-C99-based standards] (asinhf): Likewise.
9910 [non-C99-based standards] (atanhf): Likewise.
9911 [non-C99-based standards] (cbrtf): Likewise.
9912 [non-C99-based standards] (expm1f): Likewise.
9913 [non-C99-based standards] (ilogbf): Likewise.
9914 [non-C99-based standards] (log1pf): Likewise.
9915 [non-C99-based standards] (logbf): Likewise.
9916 [non-C99-based standards] (nextafterf): Likewise.
9917 [non-C99-based standards] (remainderf): Likewise.
9918 [non-C99-based standards] (rintf): Likewise.
9919 [non-C99-based standards] (scalbf): Likewise.
9920 [non-C99-based standards] (copysignl): Likewise.
9921 [non-C99-based standards] (exp2l): Likewise.
9922 [non-C99-based standards] (log2l): Likewise.
9923 [non-C99-based standards] (modfl): Allow.
9924 [non-C99-based standards] (erfl): Do not allow.
9925 [non-C99-based standards] (erfcl): Likewise.
9926 [non-C99-based standards] (gammal): Likewise.
9927 [non-C99-based standards] (hypotl): Likewise.
9928 [non-C99-based standards] (j0l): Likewise.
9929 [non-C99-based standards] (j1l): Likewise.
9930 [non-C99-based standards] (jnl): Likewise.
9931 [non-C99-based standards] (lgammal): Likewise.
9932 [non-C99-based standards] (tgammal): Likewise.
9933 [non-C99-based standards] (y0l): Likewise.
9934 [non-C99-based standards] (y1l): Likewise.
9935 [non-C99-based standards] (ynl): Likewise.
9936 [non-C99-based standards] (isnanl): Likewise.
9937 [non-C99-based standards] (acoshl): Likewise.
9938 [non-C99-based standards] (asinhl): Likewise.
9939 [non-C99-based standards] (atanhl): Likewise.
9940 [non-C99-based standards] (cbrtl): Likewise.
9941 [non-C99-based standards] (expm1l): Likewise.
9942 [non-C99-based standards] (ilogbl): Likewise.
9943 [non-C99-based standards] (log1pl): Likewise.
9944 [non-C99-based standards] (logbl): Likewise.
9945 [non-C99-based standards] (nextafterl): Likewise.
9946 [non-C99-based standards] (remainderl): Likewise.
9947 [non-C99-based standards] (rintl): Likewise.
9948 [non-C99-based standards] (scalbl): Likewise.
9949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9950 [non-C99-based standards] (FP_*): Do not allow.
9951 [C99-based standards] (FP_*): Change to
9952 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9953 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9954 allow.
9955 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9956 (SIG_ERR): Likewise.
9957 [X/Open-based standards] (SIG_HOLD): Likewise.
9958 (SIG_IGN): Likewise.
9959 (SIGABRT): Use macro-int-constant. Specify type. Require
9960 positive value.
9961 (SIGFPE): Likewise.
9962 (SIGILL): Likewise.
9963 (SIGINT): Likewise.
9964 (SIGSEGV): Likewise.
9965 (SIGTER): Likewise.
9966 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9967 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9968 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9969 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9970 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9971 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9972 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9973 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9974 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9975 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9976 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9977 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9978 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9979 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9980 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9981 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9982 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9983 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9984 [X/Open-based standards] (SIGTRAP): Likewise.
9985 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9986 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9987 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9988 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9989 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9990 allow.
9991
b9f1922d
IW
99922012-05-08 Ian Wienand <ianw@vmware.com>
9993
9994 [BZ #14080]
9995 * time/tzset.c (__tzset_parse_tz): Update default rules for
9996 daylight time changes in the Energy Policy Act of 2005.
9997
1db86e88
AJ
99982012-05-09 Andreas Jaeger <aj@suse.de>
9999
10000 [BZ #13983]
10001 * elf/ldconfig.c (parse_conf): Change string to make clear that
10002 ldconfig only issued a warning if ld.so.conf does not exist.
10003
dee4a4e3
DM
100042012-05-08 David S. Miller <davem@davemloft.net>
10005
ee0db190
DM
10006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10007 movxtod instead of popping the value on the stack.
10008
dee4a4e3
DM
10009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10010
6a43ec98
CD
100112012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10012
10013 * config.h.in: Add HAVE_ARM_PCS_VFP.
10014
05c2c961
RMG
100152012-05-08 Roland Mc Grath <roland@hack.frob.com>
10016
bcfe3a54
ST
10017 [BZ #13979]
10018 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10019 checking but the checks are disabled for any reason.
05c2c961 10020
4b30f61a
L
100212012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10022
10023 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10024 and ELF64_R_TYPE with ELFW(R_TYPE).
10025
eee2bc67
JM
100262012-05-08 Joseph Myers <joseph@codesourcery.com>
10027
7ea5391a
JM
10028 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10029 (ulimit): Likewise.
10030
eee2bc67
JM
10031 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10032 (settimeofday): Likewise.
10033
abb66a67
MF
100342012-05-08 Mike Frysinger <vapier@gentoo.org>
10035
10036 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10037 a struct th_u2 inside the union, and move tu_block/tu_code into
10038 a new th_u3 union of tu_block/tu_code inside of that. Move
10039 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10040 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10041 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10042 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10043 (th_stuff): Change to th_u1.tu_stuff.
10044 (th_data): Define.
10045 (th_msg): Change to th_u1.th_u2.tu_data.
10046
7f18b530
DM
100472012-05-07 David S. Miller <davem@davemloft.net>
10048
05760585
DM
10049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10050
7f18b530
DM
10051 [BZ #14074]
10052 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10053 (SETUP_PIC_REG): Use it.
10054 (SETUP_PIC_REG_LEAF): Use it.
10055
495fd99f
JM
100562012-05-07 Joseph Myers <joseph@codesourcery.com>
10057
10058 [BZ #13885]
10059 [BZ #13923]
10060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10061 USE_AS_EXPM1L.
10062 (EXPL_FINITE): Likewise.
10063 (FLDLOG): Likewise.
10064 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10065 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10066 e_expl.S.
10067 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10068 USE_AS_EXPM1L.
10069 (EXPL_FINITE): Likewise.
10070 (FLDLOG): Likewise.
10071 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10072 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10073 e_expl.S.
10074 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10075 test of -max_value argument for long double.
10076 * sysdeps/i386/fpu/libm-test-ulps: Update.
10077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10078
6693d694
DM
100792012-05-06 David S. Miller <davem@davemloft.net>
10080
10081 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10082 quad soft-float symbols whose references which are compiler
10083 generated.
10084 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10085
6c23e11c
JM
100862012-05-06 Joseph Myers <joseph@codesourcery.com>
10087
d8b82cad
JM
10088 [BZ #13884]
10089 [BZ #13914]
10090 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10091 USE_AS_EXP10L.
10092 (EXPL_FINITE): Likewise.
10093 (FLDLOG): Likewise.
10094 (c0): Likewise.
10095 (c1): Likewise.
10096 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10097 Adjust comments for base varying.
10098 (__expl_finite): Change alias to EXPL_FINITE.
10099 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10100 e_expl.S.
10101 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10102 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10103 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10104 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10105 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10106 USE_AS_EXP10L.
10107 (EXPL_FINITE): Likewise.
10108 (FLDLOG): Likewise.
10109 (c0): Likewise.
10110 (c1): Likewise.
10111 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10112 Adjust comments for base varying.
10113 (__expl_finite): Change alias to EXPL_FINITE.
10114 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10115 tests for bugs.
10116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10117
6c23e11c
JM
10118 [BZ #14064]
10119 * math/libm-test.inc (check_float_internal): Correct ulp
10120 calculation for subnormal expected results.
10121
29ba805c
AJ
101222012-05-06 Andreas Jaeger <aj@suse.de>
10123
10124 * Makeconfig (+math-flags): New, set to -frounding-math.
10125 (+cflags): Add +math-flags so that all of glibc gets compiled with
10126 it.
10127
10128 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10129
7b17aeda
JM
101302012-05-05 Joseph Myers <joseph@codesourcery.com>
10131
5779f134
JM
10132 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10133 Disable one test.
10134
41498f4d
JM
10135 [BZ #13787]
10136 [BZ #13922]
10137 [BZ #14036]
10138 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10139 (__ieee754_expl): Allow for and saturate large arguments.
10140 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10141 (u_threshold): Likewise.
10142 (__exp): Call __ieee754_exp before checking for overflow and
10143 underflow.
10144 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10145 (u_threshold): Likewise.
10146 (__expf): Call __ieee754_expf before checking for overflow and
10147 underflow.
10148 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10149 (u_threshold): Likewise.
10150 (__expl): Call __ieee754_expl before checking for overflow and
10151 underflow.
10152 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10153 (__ieee754_expl): Allow for and saturate large arguments.
10154 * math/libm-test.inc (exp_test): Add another test. Do not allow
10155 missing overflow exception on overflow.
10156 (expm1_test): Do not allow missing overflow exception on overflow.
10157
6698b8bf
JM
10158 * sysdeps/i386/fpu/e_expl.c: Move to ...
10159 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10160 rather than using inline asm.
10161 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10162 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10163 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10164
7b17aeda
JM
10165 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10166 (nice): Likewise.
10167 (poll): Likewise.
10168 (signal): Likewise.
10169 (time): Likewise.
10170 (times): Likewise.
10171
f7c85819
JM
101722012-05-04 Joseph Myers <joseph@codesourcery.com>
10173
10174 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10175 sysdeps/unix/common/syscalls.list.
10176 (fchmod): Likewise.
10177 (fchown): Likewise.
10178 (ftruncate): Likewise.
10179 (getrusage): Likewise.
10180 (gettimeofday): Likewise.
10181 (setpgid): Likewise.
10182 (setregid): Likewise.
10183 (setreuid): Likewise.
10184 (sigaction): Likewise.
10185 (truncate): Likewise.
10186 (vhangup): Likewise.
10187 * sysdeps/unix/common/syscalls.list: Remove file.
10188 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10189 * sysdeps/unix/sysv/linux/Implies: Likewise.
10190
336270d0
L
101912012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10192
10193 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10195 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10196 Moved to ...
10197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10198 Here.
10199 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10200 to ...
10201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10202 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10203 to ...
10204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10205 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10206 to ...
10207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10208 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10209 to ...
10210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10211 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10212 to ...
10213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10214 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10215 to ...
10216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10217 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10218 to ...
10219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10220 Here.
10221 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10222 to ...
10223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10224 Here.
10225 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10226 to ...
10227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10228 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10229 Moved to ...
10230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10231 Here.
10232 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10233 to ...
10234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10235
d128e450
JM
102362012-05-04 Joseph Myers <joseph@codesourcery.com>
10237
fa8ee516
JM
10238 * sysdeps/unix/common/bits/dirent.h: Remove file.
10239 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10240
d128e450
JM
10241 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10242 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10243 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10244 * sysdeps/unix/bsd/isatty.c: Likewise.
10245 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10246 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10247 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10248
ff8faaf0 102492012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10250
62881be4 10251 [BZ #13563]
31dc8730
AZ
10252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10253 long double comparison inaccuracies.
10254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10256
6fef930c
AS
102572012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10258
10259 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10260 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10261
8f203e6c
JM
102622012-05-04 Joseph Myers <joseph@codesourcery.com>
10263
10264 [BZ #14049]
10265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10266 nonzero digits before rounding a hex value.
10267 * stdlib/tst-strtod.c (tests): Add another test.
10268
5197d9c2
AK
102692012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10270
10271 * sysdeps/s390/fpu/libm-test-ulps: Update.
10272
f0c1dedf
AJ
102732012-05-03 Andreas Jaeger <aj@suse.de>
10274
10275 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10276 does not get optimized out.
10277 (malloc_opt_barrier): New.
10278
a65ef2ae 102792012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10280 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10281
2b942cb7 10282 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10283 intermediate file deletion.
2b942cb7 10284 (generated): Add .symlist files.
a65ef2ae 10285
54b71e02
JM
102862012-05-03 Joseph Myers <joseph@codesourcery.com>
10287
10288 [BZ #13775]
10289 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10290 Redirect under this condition.
10291 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10292 [__USE_GNU] (__dprintf_chk): Not under this condition.
10293 [__USE_GNU] (__vdprintf_chk): Likewise.
10294 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10295 under this condition.
10296 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10297 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10298 [__USE_XOPEN2K8] (vdprintf): Likewise.
10299 [__USE_GNU] (__dprintf_chk): Not under this condition.
10300 [__USE_GNU] (__vdprintf_chk): Likewise.
10301 [__USE_GNU] (dprintf): Likewise.
10302 [__USE_GNU] (vdprintf): Likewise.
10303
d3dfcc41
RM
103042012-05-03 Roland McGrath <roland@hack.frob.com>
10305
10306 * elf/Makefile (common-generated): Set this instead of generated for
10307 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10308 $(all-built-dso)-derived lists.
10309
7ac30cc5
AJ
103102012-05-03 Andreas Jaeger <aj@suse.de>
10311
0c51e550
AJ
10312 * sysdeps/i386/fpu/libm-test-ulps: Update.
10313
7ac30cc5
AJ
10314 * FAQ: Removed.
10315 * FAQ.in: Likewise.
10316 * scripts/gen-FAQ.pl: Likewise.
10317 * manual/install.texi (Installation): Point to online location of
10318 FAQ.
10319 * Makefile (files-for-dist): Remove FAQ.
10320 (FAQ): Remove.
10321
d4c2917f
AM
103222012-05-02 Allan McRae <allan@archlinux.org>
10323
10324 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10325 (LDFLAGS-reldepmod5.so): Likewise.
10326 (LDFLAGS-reldep6mod1.so): Likewise.
10327 (LDFLAGS-reldep6mod4.so): Likewise.
10328 (LDFLAGS-reldep8mod3.so): Likewise.
10329 (LDFLAGS-unload4mod1.so): Likewise.
10330 (LDFLAGS-unload4mod2.so): Likewise.
10331 (LDFLAGS-tst-initorder): Likewise.
10332 (LDFLAGS-tst-initordera2.so): Likewise.
10333 (LDFLAGS-tst-initordera3.so): Likewise.
10334 (LDFLAGS-tst-initordera4.so): Likewise.
10335 (LDFLAGS-tst-initorderb2.so): Likewise.
10336 (LDFLAGS-noload): Likewise.
10337 (LDFLAGS-next): Likewise.
10338 (LDFLAGS-order2mod1.so): Likewise.
10339 (LDFLAGS-order2mod2.so): Likewise.
10340 (LDFLAGS-tst-initorder2): Likewise.
10341 (LDFLAGS-tst-initorder2a.so): Likewise.
10342 (LDFLAGS-tst-initorder2b.so): Likewise.
10343 (LDFLAGS-tst-initorder2c.so): Likewise.
10344 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10345
d77f993f
DM
103462012-05-02 David S. Miller <davem@davemloft.net>
10347
10348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10349
171a70b4
PP
103502012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10351
10352 [BZ #14055]
10353 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10354
0be196ad
AJ
103552012-05-02 Andreas Jaeger <aj@suse.de>
10356
10357 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10358 since we manipulate rounding mode.
10359 (CPPFLAGS-test-idouble.c): Likewise.
10360 (CPPFLAGS-test-ifloat.c): Likewise.
10361 (CFLAGS-test-ldouble.c): Likewise.
10362 (CFLAGS-test-double.c): Likewise.
10363 (CFLAGS-test-float.c): Likewise.
10364 (CFLAGS-test-misc.c): Likewise.
10365 (CFLAGS-test-test-fenv.c): Likewise.
10366
4f9d04aa
AZ
103672012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10368
2b942cb7
RM
10369 [BZ #2550]
10370 [BZ #2570]
10371 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10372 comparisons to determine direction to adjust input.
4f9d04aa 10373
82a79e7d
RM
103742012-05-01 Roland McGrath <roland@hack.frob.com>
10375
f5a01ca9
RM
10376 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10377 output to the target.
10378
90fe4186
RM
10379 * scripts/localplt.awk: New file.
10380 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10381 (check-localplt-CFLAGS): Variable removed.
10382 ($(all-built-dso:=.jmprel)): New static pattern rule.
10383 (generated): Add those targets.
10384 (localplt-built-dso): New variable.
10385 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10386
10387 * elf/check-localplt.c: File removed.
10388
82397ed6
RM
10389 * scripts/check-execstack.awk: New file.
10390 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10391 (check-execstack-CFLAGS): Variable removed.
10392 ($(objpfx)check-execstack.h): Target removed.
10393 ($(objpfx)execstack-default): New target.
10394 (generated): Add that instead of check-execstack.h.
10395 ($(all-built-dso:=.phdr)): New static pattern rule.
10396 (generated): Add those targets.
10397 * elf/check-execstack.c: File removed.
10398
82a79e7d
RM
10399 * scripts/check-textrel.awk: New file.
10400 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10401 (check-textrel-CFLAGS): Variable removed.
10402 (all-built-dso): Use := to define.o
10403 ($(all-built-dso:=.dyn)): New static pattern rule.
10404 (generated): Add those targets.
10405 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10406 * config.make.in (READELF): New substituted variable.
10407 * elf/check-textrel.c: File removed.
10408
62fde54f 104092012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10410
615605c9
JM
10411 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10412 allow.
10413 * conform/data/ctype.h-data [C99-based standards] (isblank):
10414 Expect function.
10415 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10416 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10418 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10419 Specify type. Require positive value.
10420 (EILSEQ): Likewise.
10421 (ERANGE): Likewise.
10422 [ISO || POSIX] (EILSEQ): Do not expect.
10423 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10424 Specify type. Require positive value.
10425 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10426 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10427 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10432 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10433 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10434 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10441 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10442 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10443 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10444 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10445 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10446 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10447 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10448 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10449 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10450 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10451 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10452 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10453 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10454 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10455 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10456 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10457 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10458 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10459 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10461 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10462 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10463 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10464 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10465 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10466 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10467 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10468 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10469 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10470 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10471 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10472 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10473 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10474 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10475 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10476 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10477 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10478 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10479 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10480 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10481 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10482 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10483 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10484 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10485 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10486 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10487 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10488 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10490 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10492 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10493 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10496 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10497 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10499 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10500 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10501 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10502 Require >= 2.
10503 (FLT_ROUNDS): Expect as macro, not constant.
10504 (FLT_MANT_DIG): Use macro-int-constant.
10505 (DBL_MANT_DIG): Likewise.
10506 (LDBL_MANT_DIG): Likewise.
10507 (FLT_DIG): Likewise.
10508 (DBL_DIG): Likewise.
10509 (LDBL_DIG): Likewise.
10510 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10511 (DBL_MIN_EXP): Likewise.
10512 (LDBL_MIN_EXP): Likewise.
10513 (FLT_MAX_EXP): Use macro-int-constant.
10514 (DBL_MAX_EXP): Likewise.
10515 (LDBL_MAX_EXP): Likewise.
10516 (FLT_MAX_10_EXP): Likewise.
10517 (DBL_MAX_10_EXP): Likewise.
10518 (LDBL_MAX_10_EXP): Likewise.
10519 (FLT_MAX): Use macro-constant.
10520 (DBL_MAX): Likewise.
10521 (LDBL_MAX): Likewise.
10522 (FLT_EPSILON): Use macro-constant. Give upper bound.
10523 (DBL_EPSILON): Likewise.
10524 (LDBL_EPSILON): Likewise.
10525 (FLT_MIN): Likewise.
10526 (DBL_MIN): Likewise.
10527 (LDBL_MIN): Likewise.
10528 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10529 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10530 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10531 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10532 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10533 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10534 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10535 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10536 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10537 [ISO11] (FLT_TRUE_MIN): Likewise.
10538 [ISO11] (LDBL_TRUE_MIN): Likewise.
10539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10540 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10541 (SCHAR_MIN): Use macro-int-constant. Specify type.
10542 (SCHAR_MAX): Likewise.
10543 (UCHAR_MAX): Likewise.
10544 (CHAR_MIN): Likewise.
10545 (CHAR_MAX): Likewise.
10546 (MB_LEN_MAX): Use macro-int-constant.
10547 (SHRT_MIN): Use macro-int-constant. Specify type.
10548 (SHRT_MAX): Likewise.
10549 (USHRT_MAX): Likewise.
10550 (INT_MAX): Likewise.
10551 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10552 bound negative.
10553 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10554 bound with "U".
10555 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10556 bound with "L".
10557 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10558 bound negative. Suffix upper bound with "L".
10559 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10560 bound with "UL".
10561 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10562 Specify type.
10563 [C99-based standards] (LLONG_MAX): Likewise.
10564 [C99-based standards] (ULLONG_MAX): Likewise.
10565 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10566 == 0.
10567 [ISO11] (max_align_t): Require type.
10568 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10569
c9140a62
JM
10570 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10571 from $CFLAGS, without defining away __attribute__ calls.
10572 (checknamespace): Use $CFLAGS_namespace.
10573
9af0bf29
JM
10574 * conform/conformtest.pl (@keywords): Only include C99 keywords
10575 for standards based on C99 or C11.
10576
343222a2
JM
10577 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10578 Disable tests.
10579 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10580 UNIX98]: Likewise.
10581
661f8cf0
JM
10582 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10583 usability of symbols in #if.
10584
ee74b9cb
JM
10585 * conform/conformtest.pl: If macro or constant types start
10586 "promoted:", expect the symbol to be of the following type
10587 promoted by the integer promotions.
62fde54f 10588
aafc49b3
JM
10589 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10590 in one place. Also handle "macro-constant".
10591
fefdf574
JM
10592 * conform/conformtest.pl: Only accept expected macro values with
10593 "==". Parse all "macro" lines in one place.
10594 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10595
f2d922fe
JM
10596 * conform/conformtest.pl: Handle braced types on "constant" lines
10597 instead of handling "typed-constant".
10598 * conform/data/signal.h-data: Use "constant" instead of
10599 "typed-constant".
10600
d22956c9
JM
10601 * conform/conformtest.pl: Handle "optional-" at start of lines in
10602 one place rather than duplicating several cases. Handle each
10603 format of "macro" line with initial "optional-".
10604
028e2e38
JM
10605 * conform/conformtest.pl: Only accept expected constant or
10606 optional-constant values with "==". Parse all "constant" lines in
10607 one place. Parse all "optional-constant" lines in one place.
10608 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10609 * conform/data/fmtmsg.h-data: Likewise.
10610 * conform/data/netinet/in.h-data: Likewise.
10611 * conform/data/tar.h-data: Likewise.
10612 * conform/data/limits.h-data: Use "==" form on "constant" and
10613 "optional-constant" lines.
10614
1b8f2850
JM
10615 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10616 Use -std=c99 for XOPEN2K.
10617 (@knownproblems): Remove.
10618 (newtoken): Don't check %isknown.
10619
a05a144b
JM
10620 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10621 Do not expect macro.
10622 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10623 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10624 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10625 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10626 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10627 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10628 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10629 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10630 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10631 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10632 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10633 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10634 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10635 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10636 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10637 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10638 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10639 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10640 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10641 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10642 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10643 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10645 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10646 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10647 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10648 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10649 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10650 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10651 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10652 [XPG3] (acosh): Likewise.
10653 [XPG3] (asinh): Likewise.
10654 [XPG3] (atanh): Likewise.
10655 [XPG3] (cbrt): Likewise.
10656 [XPG3] (expm1): Likewise.
10657 [XPG3] (ilogb): Likewise.
10658 [XPG3] (log1p): Likewise.
10659 [XPG3] (logb): Likewise.
10660 [XPG3] (nextafter): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10663 [XPG3] (remainder): Likewise.
10664 [XPG3] (rint): Likewise.
10665 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10671 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10672 [UNIX98 || XOPEN2K] (scalb): Expect.
10673 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10674 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10675 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10810
73c5ebe3
JM
10811 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10812 _XOPEN_SOURCE_EXTENDED for XPG4.
10813
39c33b6c
JM
10814 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10815
62fde54f
JM
10816 * Makeconfig (localtime): Remove variable.
10817 (inst_localtime-file): Likewise.
10818
0741d64c
AS
108192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10820
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10822 Update.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10824 Update.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10826 Update.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10828 Update.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10830 Update.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10832 Update.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10834 Update.
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10836 Update.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10838 Update.
10839
7cb029ee
JM
108402012-05-01 Joseph Myers <joseph@codesourcery.com>
10841
10842 [BZ #2550]
10843 [BZ #2570]
10844 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10845 comparisons to determine direction to adjust input.
10846 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10847 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10848 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10849 Likewise.
10850 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10851 Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10853 Likewise.
10854 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10855 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10856 Likewise.
10857 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10858 Likewise.
10859 * math/libm-test.inc (nexttoward_test): Add more tests.
10860
412bd966
AS
108612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10862
10863 [BZ #14040]
10864 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10865 in version GLIBC_2.1, not GLIBC_2.0.
10866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10867 Likewise.
10868
9568c0c2
JM
108692012-04-30 Joseph Myers <joseph@codesourcery.com>
10870
adfbc8ac
JM
10871 [BZ #13942]
10872 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10873 (1 - x) * (1 + x).
10874 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10875 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10876 * math/libm-test.inc (acos_test): Add more tests.
10877 (asin_test): Likewise.
10878 * sysdeps/i386/fpu/libm-test-ulps: Update.
10879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10880
5ba3cc69
JM
10881 [BZ #14034]
10882 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10883 of square root.
10884 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10885 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10886 * math/libm-test.inc (acos_test_tonearest): New function.
10887 (acos_test_towardzero): Likewise.
10888 (acos_test_downward): Likewise.
10889 (acos_test_upward): Likewise.
10890 (asin_test_tonearest): Likewise.
10891 (asin_test_towardzero): Likewise.
10892 (asin_test_downward): Likewise.
10893 (asin_test_upward): Likewise.
10894 (main): Call the new functions.
10895 * sysdeps/i386/fpu/libm-test-ulps: Update.
10896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10897
9568c0c2
JM
10898 [BZ #13884]
10899 [BZ #13924]
10900 * math/e_exp10.c: Include <float.h>.
10901 (__ieee754_exp10): Handle underflow here rather than multiplying
10902 large negative argument by M_LN10.
10903 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10904 of __ieee754_expf.
10905 * math/e_exp10l.c: Include <float.h>.
10906 (__ieee754_exp10l): Handle underflow here rather than multiplying
10907 large negative argument by M_LN10l.
10908 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10909 spurious overflow exception on underflow.
10910
5ac3ea17
MP
109112012-04-29 Marek Polacek <polacek@redhat.com>
10912
10913 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10914 (__fortify_function): New macro.
10915 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10916 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10917 __extern_always_inline.
10918 * libio/bits/stdio2.h: Likewise.
10919 * libio/bits/stdio.h: Likewise.
10920 * string/string.h: Likewise.
10921 * string/bits/string3.h: Likewise.
10922 * include/stdio.h: Likewise.
10923 * stdlib/bits/stdlib.h: Likewise.
10924 * stdlib/stdlib.h: Likewise.
10925 * rt/bits/mqueue2.h: Likewise.
10926 * rt/mqueue.h: Likewise.
10927 * posix/bits/unistd.h: Likewise.
10928 * posix/unistd.h: Likewise.
10929 * io/bits/poll2.h: Likewise.
10930 * io/bits/fcntl2.h: Likewise.
10931 * io/fcntl.h: Likewise.
10932 * io/sys/poll.h: Likewise.
10933 * misc/bits/syslog.h: Likewise.
10934 * misc/bits/syslog-ldbl.h: Likewise.
10935 * misc/sys/syslog.h: Likewise.
10936 * socket/bits/socket2.h: Likewise.
10937 * socket/sys/socket.h: Likewise.
10938 * debug/tst-chk1.c: Likewise.
10939 * wcsmbs/bits/wchar2.h: Likewise.
10940 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10941 * wcsmbs/wchar.h: Likewise.
10942
ecf0ebfb
AJ
109432012-04-29 Andreas Jaeger <aj@suse.de>
10944
10945 * Makerules (tests): Remove enable-check-abi protection.
10946 (check-abi-warn): Remove.
10947 (check-abi-%): Remove check-abi-warn usage.
10948
10949 * configure.in: Remove check-abi configure option.
10950 * configure: Regenerated.
10951 * config.make.in (enable-check-abi): Remove.
10952
6d5c57fa
AS
109532012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10954
24c5d07e 10955 [BZ #14033]
ded5180a
AS
10956 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10957 double functions to double *_finite functions.
10958
7e0d315d
AS
10959 [BZ #13941]
10960 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10961 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10962 LDBL_MIN_EXP.
10963 * stdio-common/Makefile (tests): Add tst-sprintf3.
10964 * stdio-common/tst-sprintf3.c: New file.
10965
6d5c57fa
AS
10966 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10967 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10968
0749ff8b
JM
109692012-04-28 Joseph Myers <joseph@codesourcery.com>
10970
10971 * conform/conformtest.pl: Remove duplicate typed-constant
10972 handling.
10973
8dbd5d7b
DM
109742012-04-28 David S. Miller <davem@davemloft.net>
10975
10976 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10977 (check-abi-%): Remove AWK script prerequisite and explicit
10978 abilist directory.
10979 (check-abi): Rewrite to just diff the symlist with the abilist.
10980 (config-tls, config-abi-config): Delete, no longer used.
10981 (update-abi-%): Remove AWK script and explicit abilist directory.
10982 (update-abi): Rewrite to simply compare and conditionally copy the
10983 symlist and the sysdep abilist file. Remove update-abi-config
10984 checks.
10985 * abilist/ld.abilist: Remove.
10986 * abilist/libBrokenLocale.abilist: Remove.
10987 * abilist/libanl.abilist: Remove.
10988 * abilist/libcrypt.abilist: Remove.
10989 * abilist/libdl.abilist: Remove.
10990 * abilist/librt.abilist: Remove.
10991 * abilist/libthread_db.abilist: Remove.
10992 * abilist/libutil.abilist: Remove.
10993 * scripts/extract-abilist.awk: Remove.
10994 * scripts/merge-abilist.awk: Remove.
10995 * sysdeps/generic/libcidn.abilist: New file.
10996 * sysdeps/generic/libnss_compat.abilist: New file.
10997 * sysdeps/generic/libnss_db.abilist: New file.
10998 * sysdeps/generic/libnss_dns.abilist: New file.
10999 * sysdeps/generic/libnss_files.abilist: New file.
11000 * sysdeps/generic/libnss_hesiod.abilist: New file.
11001 * sysdeps/generic/libnss_nis.abilist: New file.
11002 * sysdeps/generic/libnss_nisplus.abilist: New file.
11003 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11004 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11005 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11006 file.
11007 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11008 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11009 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11010 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11011 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11012 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11013 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11014 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11015 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11016 file.
11017 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11018 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11019 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11020 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11021 file.
11022 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11023 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11024 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11025 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11026 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11027 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11028 file.
11029 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11030 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11031 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11032 file.
11033 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11035 New file.
11036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11037 New file.
11038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11039 New file.
11040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11041 New file.
11042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11043 New file.
11044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11045 New file.
11046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11047 New file.
11048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11049 New file.
11050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11051 New file.
11052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11053 New file.
11054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11055 New file.
11056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11057 New file.
11058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11059 New file.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11061 file.
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11063 New file.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11065 New file.
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11067 file.
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11069 New file.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11071 New file.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11073 file.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11075 New file.
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11077 New file.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11079 New file.
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11081 New file.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11083 New file.
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11085 New file.
11086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11088 file.
11089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11090 New file.
11091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11092 file.
11093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11094 file.
11095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11096 file.
11097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11098 file.
11099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11100 file.
11101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11102 New file.
11103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11104 file.
11105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11106 file.
11107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11108 New file.
11109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11110 file.
11111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11113 file.
11114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11115 New file.
11116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11117 file.
11118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11119 file.
11120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11121 file.
11122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11123 file.
11124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11125 file.
11126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11127 New file.
11128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11129 file.
11130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11131 file.
11132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11133 New file.
11134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11135 file.
11136 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11137 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11138 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11139 file.
11140 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11141 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11142 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11143 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11144 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11145 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11146 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11147 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11148 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11149 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11152 file.
11153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11154 New file.
11155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11156 file.
11157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11158 file.
11159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11160 file.
11161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11162 file.
11163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11164 file.
11165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11166 New file.
11167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11168 New file.
11169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11170 file.
11171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11172 New file.
11173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11174 file.
11175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11177 file.
11178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11179 New file.
11180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11181 file.
11182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11183 file.
11184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11185 file.
11186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11187 file.
11188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11189 file.
11190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11191 New file.
11192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11193 New file.
11194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11195 file.
11196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11197 New file.
11198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11199 file.
11200
41d73a1b
JM
112012012-04-28 Joseph Myers <joseph@codesourcery.com>
11202
11203 * conform/conformtest.pl: Fix typo in handling typed-constant from
11204 allow-header.
11205
28aeeda4
JM
112062012-04-27 Joseph Myers <joseph@codesourcery.com>
11207
adae8f5e
JM
11208 * README: Cut down references to pre-2.6 Linux kernels and
11209 Linuxthreads. Update lists of configurations in libc and ports
11210 and sort alphabetically. Say "or newer" with Linux kernel version
11211 requirements.
11212
28aeeda4
JM
11213 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11214
a462cb63
RA
112152012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11216
11217 [BZ #887]
11218 * math/libm-test.inc (logb_test_downward): New test to expose
11219 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11220 rounding mode.
11221
6ad3493e
JM
112222012-04-27 Joseph Myers <joseph@codesourcery.com>
11223
11224 [BZ #14027]
11225 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11226 to be done.
11227 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11228 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11229
2ce4f015
JM
112302012-04-26 Joseph Myers <joseph@codesourcery.com>
11231
5aeb141a
JM
11232 * sysdeps/unix/i386/brk.S: Remove file.
11233 * sysdeps/unix/i386/dl-brk.S: Likewise.
11234 * sysdeps/unix/i386/pipe.S: Likewise.
11235 * sysdeps/unix/i386/sigreturn.S: Likewise.
11236 * sysdeps/unix/i386/syscall.S: Likewise.
11237 * sysdeps/unix/i386/vfork.S: Likewise.
11238 * sysdeps/unix/i386/wait.S: Likewise.
11239
7143acae
JM
11240 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11241 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11242
2ce4f015
JM
11243 * configure.in (arm*-none*): Do not allow without
11244 --enable-hacker-mode.
11245 (netbsd*): Remove case setting base_os.
11246 (386bsd*): Likewise.
11247 (freebsd*): Likewise.
11248 (bsdi*): Likewise.
11249 (osf*): Likewise.
11250 (sunos*): Likewise.
11251 (ultrix*): Likewise.
11252 (newsos*): Likewise.
11253 (dynix*): Likewise.
11254 (*bsd*): Likewise.
11255 (sysv*): Likewise.
11256 (isc*): Likewise.
11257 (esix*): Likewise.
11258 (sco*): Likewise.
11259 (minix*): Likewise.
11260 (irix4*): Likewise.
11261 (irix6*): Likewise.
11262 (solaris[2-9]*): Likewise.
11263 (none): Likewise.
11264 * configure: Regenerated.
11265
0ac229c8
AZ
112662012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11267
11268 [BZ #11521]
11269 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11270 overflow or cancellation in calculating denominator.
11271 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11272 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11273 down expression to avoid unexpected rounding in newer GCCs.
11274 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11275
33f244f4
DM
112762012-04-26 David S. Miller <davem@davemloft.net>
11277
11278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11279 long-double compat symbols.
11280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11293
cfa1f3e8
DM
112942012-04-25 David S. Miller <davem@davemloft.net>
11295
11296 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11297 HWCAP_* values only after the memory barriers have been defined.
11298 (atomic_full_barrier): Define.
11299 (atomic_read_barrier): Define.
11300 (atomic_write_barrier): Define.
11301
6e236b92
SP
113022012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11303
11304 * shlib-versions: Add libgcc_s version information.
11305 * sysdeps/generic/libgcc_s.h: Remove.
11306 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11307 libgcc_s.h.
11308 * sysdeps/gnu/unwind-resume.c: Likewise.
11309 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11310
aab39a09
DM
113112012-04-25 David S. Miller <davem@davemloft.net>
11312
11313 * sysdeps/unix/sparc/brk.S: Delete.
11314 * sysdeps/unix/sparc/dl-brk.S: Delete.
11315 * sysdeps/unix/sparc/pipe.S: Delete.
11316 * sysdeps/unix/sparc/sysdep.S: Delete.
11317 * sysdeps/unix/sparc/sysdep.h: Delete.
11318 * sysdeps/unix/sparc/vfork.S: Delete.
11319 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11320 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11321 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11322 ret_ERRVAL, r0, r1, MOVE): Define.
11323 (JUMPTARGET): Remove.
11324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11325 sysdeps/unix/sparc/sysdep.h
11326 (ENTRY, END): Remove.
11327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11328
a3cc4f48
JM
113292012-04-25 Joseph Myers <joseph@codesourcery.com>
11330
2ed8cda2
JM
11331 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11332 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11333 -DIS_IN_build.
11334
35d76d59
JM
11335 * timezone/README: Update upstream location and email address for
11336 tzcode and tzdata.
11337 * timezone/zdump.c: Update from tzcode 2012b.
11338 * timezone/zic.c: Likewise.
11339
a3cc4f48
JM
11340 * configure.in (libc_cv_as_needed): Remove test.
11341 * configure: Regenerated.
11342 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11343 conditional definition.
11344 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11345 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11346 * config.make.in (have-as-needed): Remove variable.
11347
ceab42c3
SP
113482012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11349 Paul Pluzhnikov <ppluzhnikov@google.com>
11350
11351 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11352 strings correctly.
11353
3ce2865f
CLT
113542012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11355
11356 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11357 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11358 * sysdeps/sh/strlen.S: Likewise.
11359
f37e0d68
JM
113602012-04-24 Joseph Myers <joseph@codesourcery.com>
11361
ae186e9a
JM
11362 * sysdeps/unix/fork.S: Remove file.
11363 * sysdeps/unix/i386/fork.S: Likewise.
11364 * sysdeps/unix/sparc/fork.S: Likewise.
11365
b96914af
JM
11366 * sysdeps/unix/system.c: Remove file.
11367 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11368
f37e0d68
JM
11369 * sysdeps/unix/getegid.S: Remove file.
11370 * sysdeps/unix/geteuid.S: Likewise.
11371
87ef29ca
RM
113722012-04-24 Roland McGrath <roland@hack.frob.com>
11373
83bcd236
RM
11374 * scripts/check-localplt.awk: New file.
11375 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11376 of diff.
11377 * scripts/data/localplt-generic.data: Add a comment.
11378
87ef29ca
RM
11379 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11380 NODE when __dir_mkfile failed.
11381 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11382 Reported by Ludovic Courtès <ludo@gnu.org>.
11383
e5a6e567
AJ
113842012-04-24 Andreas Jaeger <aj@suse.de>
11385
11386 * Makerules (common-clean): Also remove gen-as-const-headers
11387 files.
11388
c1820385
JM
113892012-04-24 Joseph Myers <joseph@codesourcery.com>
11390
11391 * Makerules (native-compile): Do not change working directory for
11392 build. Use $(OUTPUT_OPTION) in command.
11393 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11394
94e02fc4
AZ
113952012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11396
11397 [BZ #13886]
11398 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11399 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11400 * math/libm-test.inc (floor_test): Add more tests.
11401 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11402
3a533ca3
JM
114032012-04-24 Joseph Myers <joseph@codesourcery.com>
11404
940ab4b3
JM
11405 * sysdeps/unix/getdents.c: Remove file.
11406 * sysdeps/unix/sysv/getdents.c: Likewise.
11407 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11408
90e037bd
JM
11409 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11410 sysdeps/unix/mman/syscalls.list.
11411 (mmap): Likewise.
11412 (mprotect): Likewise.
11413 (msync): Likewise.
11414 (munmap): Likewise.
11415 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11416 * sysdeps/unix/mman/syscalls.list: Remove.
11417 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11418
3a533ca3
JM
11419 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11420 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11421 * configure: Regenerated.
11422 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11423 $(libgcc_s_suffix).
11424 * config.make.in (libgcc_s_suffix): Remove variable.
11425
1ad743de
JM
114262012-04-23 Joseph Myers <joseph@codesourcery.com>
11427
4ad451e2
JM
11428 * sysdeps/unix/sysv/gethostname.c: Move to ...
11429 * sysdeps/posix/gethostname.c: ... here.
11430
5e37ce39
JM
11431 * sysdeps/unix/execve.S: Remove file.
11432
1ad743de
JM
11433 * sysdeps/unix/_exit.S: Remove file.
11434
4e681b5b
AJ
114352012-04-23 Andreas Jaeger <aj@suse.de>
11436
11437 [BZ #13739]
11438 * manual/Makefile: Remove make dist support, there's no
11439 need for a stand-alone documentation tar ball.
11440 (TEXI2DVI): Define always, it's not in Makeconfig.
11441 (dist): Removed.
11442 (tar-it): Removed.
11443 (edition): Removed.
11444 (glibc-doc-$(edition).tar): Removed
11445 (%.Z): Removed.
11446 (%.gz): Removed.
11447 (%.uu): Removed.
11448 (ETAGS): Remove, it's in Makeconfig.
11449 (move-if-change): Remove, it's in Makeconfig.
11450
c0baea34
PE
114512013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11452
11453 [BZ #13970]
11454 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11455 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11456 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11457 (strtod_l, strtof_l, strtold_l): Remove __wur.
11458 It is not necessarily an error to ignore strtol's return value.
11459 One can reliably look at the stored endptr to decide whether
11460 the number had valid syntax.
11461
7c0616fa
AJ
114622012-04-21 Andreas Jaeger <aj@suse.de>
11463
803cb6b7 11464 [BZ #13739]
7c0616fa
AJ
11465 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11466
b0fe253f
JM
114672012-04-21 Joseph Myers <joseph@codesourcery.com>
11468
11469 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11470 * sysdeps/unix/sysv/Versions: Remove file.
11471
8280f22d
MT
114722012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11473
11474 [BZ #13927]
11475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11476
75ce411f 114772012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11478
11479 [BZ #7064]
11480 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11481 version from __vm86.
11482
097d59fa
JM
114832012-04-20 Joseph Myers <joseph@codesourcery.com>
11484
a90f3bcb
JM
11485 * sysdeps/unix/common/lxstat.c: Remove file.
11486 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11487
edc7ea78
JM
11488 * sysdeps/unix/sysv/Makefile: Remove file.
11489
cb78c221
JM
11490 * sysdeps/unix/sysv/direct.h: Remove file.
11491
efa6a45f
JM
11492 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11493 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11494 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11495 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11496 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11497 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11498 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11499
9c9f2d0c
JM
11500 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11501
4541c83b
JM
11502 * sysdeps/unix/xmknod.c: Remove file.
11503 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11504
f5d153a0
JM
11505 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11506
aa746595
JM
11507 * sysdeps/unix/sysv/i386/time.S: Remove file.
11508
cce5905e
JM
11509 * sysdeps/unix/fxstat.c: Remove file.
11510 * sysdeps/unix/xstat.c: Likewise.
11511 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11512
37fa3841
JM
11513 * sysdeps/unix/sysv/sigaction.c: Remove file.
11514
ff1962a3
JM
11515 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11516 (sysdep_headers): Remove variable.
11517 [termio.h not in sysdep_headers] (generated): Likewise.
11518 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11519 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11520 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11521 * sysdeps/unix/sysv/tcflow.c: Likewise.
11522 * sysdeps/unix/sysv/tcflush.c: Likewise.
11523 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11524 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11525 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11526 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11527 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11528
e7740d31
JM
11529 * sysdeps/unix/siglist.c: Remove file.
11530
ee06f18b
JM
11531 * sysdeps/unix/getppid.S: Remove file.
11532
097d59fa
JM
11533 * sysdeps/unix/mkdir.c: Remove file.
11534 * sysdeps/unix/rmdir.c: Likewise.
11535
ff3d51ec
AS
115362012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11537
11538 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11539 ERR_MAX value.
11540 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11541 errlist-compat value.
11542
50f81fd7
DM
115432012-04-18 David S. Miller <davem@davemloft.net>
11544
11545 * sysdeps/generic/memcopy.h (reg_char): Delete.
11546 * debug/strcat_chk.c: Use char, not reg_char.
11547 * debug/strcpy_chk.c: Likewise.
11548 * debug/strncat_chk.c: Likewise.
11549 * debug/strncpy_chk.c: Likewise.
11550 * string/memchr.c: Likewise.
11551 * string/memrchr.c: Likewise.
11552 * string/rawmemchr.c: Likewise.
11553 * string/strcat.c: Likewise.
11554 * string/strchr.c: Likewise.
11555 * string/strchrnul.c: Likewise.
11556 * string/strcmp.c: Likewise.
11557 * string/strcpy.c: Likewise.
11558 * string/strncat.c: Likewise.
11559 * string/strncmp.c: Likewise.
11560 * string/strncpy.c: Likewise.
11561
8ff41c46
WS
115622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11563
11564 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11565 __builtin_memcopy is called when src and dest ranges are known to not
11566 overlap.
11567
6b652f46
WS
115682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11569
11570 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11571 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11572 fwd_align_merge macro call.
11573 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11574 bwd_align_merge macro call.
11575 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11576
b282631e
WS
115772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11578
11579 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11580 bwd_align_merge macros.
11581 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11582 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11583 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11584
95aa737c
DM
115852012-04-18 David S. Miller <davem@davemloft.net>
11586
11587 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11588
7a99a614
AJ
115892012-04-18 Andreas Jaeger <aj@suse.de>
11590
11591 [BZ# 6794]
11592 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11593 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11594 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11595
11596 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11597 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11598 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11599
11600 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11601 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11602 Adjust for changed ldbl-128 files.
11603
11604 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11605 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11606 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11607
e5270c23
DM
116082012-04-17 David S. Miller <davem@davemloft.net>
11609
11610 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11611
fb5e92c9
AS
116122012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11613
11614 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11615 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11616 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11617 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11618 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11619 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11620
76da7265
AZ
116212012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11622
11623 [BZ #6794]
11624 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11625 * math/libm-test.inc: Add ilogb errno and exception tests.
11626 * math/w_ilogb.c: New file: ilogb wrapper.
11627 * math/w_ilogbf.c: New file: ilogbf wrapper.
11628 * math/w_ilogbl.c: New file: ilogbl wrapper.
11629 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11630 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11631 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11632 exception being thrown with 0.0 as argument.
11633 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11634 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11635 exception being thrown with 0.0 as argument.
11636 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11637 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11638 exception being thrown with 0.0 as argument.
11639 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11640 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11641 exception being thrown with 0.0 as argument.
11642 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11643 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11644 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11645 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11646 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11647 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11648 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11649 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11650 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11651
0396e69d
PB
116522012-04-17 Petr Baudis <pasky@ucw.cz>
11653
11654 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11655 with altivec.
11656
750b5926
MP
116572012-04-16 Marek Polacek <polacek@redhat.com>
11658
11659 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11660
751728a1
MP
116612012-04-16 Marek Polacek <polacek@redhat.com>
11662
11663 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11664 operands of fdivp instruction.
11665
34a27407
L
116662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11667
11668 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11669 * elf/tst-auditmod3b.c: Likewise.
11670 * elf/tst-auditmod4b.c: Likewise.
11671 * elf/tst-auditmod5b.c: Likewise.
11672 * elf/tst-auditmod6b.c: Likewise.
11673 * elf/tst-auditmod6c.c: Likewise.
11674 * elf/tst-auditmod7b.c: Likewise.
11675 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11676 * sysdeps/x86_64/preconfigure.in: Likewise.
11677 * sysdeps/x86_64/preconfigure: Regenerated.
11678
7e73e17d
L
116792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11680
11681 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11682 __ILP32__.
11683
c7a6ab72
AB
116842012-04-13 Antoine Balestrat <merkil33@gmail.com>
11685
11686 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11687 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11688
a9e8e0e0
CL
116892012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11690
11691 [BZ #13973]
11692 * locale/iso-639.def: Fix gl language name. Spotted by
11693 Yaron Shahrabani.
11694
ec98af7d
RM
116952012-04-12 Roland McGrath <roland@hack.frob.com>
11696
11697 [BZ #2074]
11698 * libio/libio.h (__io_write_fn): Update comment.
11699
247c3ede
PB
117002012-04-12 Petr Baudis <pasky@ucw.cz>
11701
11702 [BZ #2074]
11703 * stdio.texi (Hook Functions): The user provided writer function
11704 is not allowed to return -1.
11705
55939d6d
DM
117062012-04-11 David S. Miller <davem@davemloft.net>
11707
11708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11709
90020f5a
MF
117102012-04-11 Mike Frysinger <vapier@gentoo.org>
11711
11712 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11713 Add a leading slash to rtkaio.
11714
288f9098
JM
117152012-04-11 Jim Meyering <meyering@redhat.com>
11716
90020f5a
MF
11717 [BZ #11959]
11718 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11719 It is not necessarily an error to ignore fwrite's return
11720 value. One can reliably use ferror to test for errors after
11721 the fact.
288f9098 11722
4be2b570
L
117232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 * bits/types.h (__snseconds_t): New type.
11726 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11727
11728 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11730 (__SNSECONDS_T_TYPE): Likewise.
11731 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11732 (__SNSECONDS_T_TYPE): Likewise.
11733 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11734 (__SNSECONDS_T_TYPE): Likewise.
11735
288f9098 117362012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11737
11738 [BZ #2636]
11739 * manual/time.texi (Processor Time): Return type of times is
11740 elapsed real time since an arbitrary point in the past.
11741 (CPU Time): Move CLK_TCK from here...
11742 (Processor Time): ...to here. Correct description.
11743 * manual/conf.texi (Constants for Sysconf): Correct description of
11744 _SC_CLK_TCK.
11745
d7dd4413
DM
117462012-04-10 David S. Miller <davem@davemloft.net>
11747
11748 [BZ #13967]
11749 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11750 where the is a gap between DT_REL(A) and DT_JMPREL.
11751
b46068fc
L
117522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11753
11754 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11755 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11756 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11757
73d65cc3
SP
117582012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11759
11760 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11761 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11762 (dl_main): Handle --inhibit-cache.
11763 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11764 _dl_inhibit_cache.
11765 * elf/dl-load.c (_dl_map_object): Use it.
11766 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11767
bcc8d661
JM
117682012-04-09 Joseph Myers <joseph@codesourcery.com>
11769
8f9a2fae
JM
11770 [BZ #13872]
11771 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11772 (__ieee754_powl): Saturate large exponents rather than testing for
11773 overflow of y*log2(x).
11774 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11775 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11776 exceptions.
11777
bcc8d661
JM
11778 [BZ #11521]
11779 * math/s_ctan.c: Include <float.h>.
11780 (__ctan): Avoid internal overflow or cancellation in calculating
11781 denominator.
11782 * math/s_ctanf.c: Likewise.
11783 * math/s_ctanl.c: Likewise.
11784 * math/s_ctanh.c: Likewise.
11785 * math/s_ctanhf.c: Likewise.
11786 * math/s_ctanhl.c: Likewise.
11787 * math/libm-test.inc (ctan_test): Add more tests.
11788 (ctanh_test): Likewise.
11789 * sysdeps/i386/fpu/libm-test-ulps: Update.
11790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11791
823fbbb4
AJ
117922012-04-09 Andreas Jaeger <aj@suse.de>
11793
03879793
AJ
11794 [BZ #6894]
11795 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11796 is an optional BSD extension.
11797
823fbbb4
AJ
11798 [BZ #10254]
11799 * manual/stdio.texi (Opening Streams): Document additional fopen
11800 parameters.
11801
8de131cb
RM
118022012-04-09 Roland McGrath <roland@hack.frob.com>
11803
11804 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11805 %eax without telling the compiler.
11806
c0ed9d7d
CD
118072012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11808
11809 [BZ # 13963]
11810 * manual/install.texi: Use sourceware.org.
11811
c483f6b4
JM
118122012-04-09 Joseph Myers <joseph@codesourcery.com>
11813
d7dd9453
JM
11814 [BZ #13873]
11815 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11816 (__ieee754_pow): Generate overflow and underflow using huge*huge
11817 and tiny*tiny rather than just returning constant infinity or zero
11818 for large exponents.
11819 * math/libm-test.inc (pow_test): Require overflow exceptions for
11820 applicable cases of large exponents.
11821
c483f6b4
JM
11822 [BZ #706]
11823 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11824 (__ieee754_pow): Use iterative multiplication algorithm only for
11825 integer exponents with absolute value below 1024. Check for odd
11826 integer exponents when using algorithm for real exponents.
11827 * math/libm-test.inc (pow_test): Add more tests.
11828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11829
d2de7579
JM
118302012-04-08 Joseph Myers <joseph@codesourcery.com>
11831
11832 [BZ #13705]
11833 * math/libm-test.inc (exp_test): Do not allow overflow exception
11834 on underflow test.
11835
f77f1232
AJ
118362012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11837
11838 [BZ #13705]
11839 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11840 instead of __kernel_standard_f.
11841
3884932b
MF
118422012-04-08 Mike Frysinger <vapier@gentoo.org>
11843
11844 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11845 * sysdeps/x86_64/memset_chk.S: Likewise.
11846
54472e9c
AJ
118472012-04-08 Andreas Jaeger <aj@suse.de>
11848
6ab0fbfc
AJ
11849 [BZ #10153]
11850 * manual/startup.texi (Environment Access): Describe return value
11851 for putenv and setenv.
11852
61efba8c
AJ
11853 [BZ #6895]
11854 * manual/filesys.texi (Directory Entries): Add description for
11855 DT_LNK.
11856
95c3f29a
AJ
11857 [BZ #6890]
11858 * manual/filesys.texi (Directory Entries): Clarify that it's file
11859 system not operating system in the description of DT_UNKNOWN.
11860
54472e9c
AJ
11861 [BZ #6578]
11862 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11863
624254b1
SC
118642012-04-08 Stephen Compall <s11@member.fsf.org>
11865
11866 [BZ #6649]
11867 * manual/llio.texi (Opening and Closing Files): Add cross
11868 reference to explain mode argument.
11869
1e4920e0
MF
118702012-04-07 Mike Frysinger <vapier@gentoo.org>
11871
11872 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11873 * sysdeps/x86_64/memset_chk.S: Likewise.
11874
5ed848f3
DM
118752012-04-07 David S. Miller <davem@davemloft.net>
11876
11877 * elf/elf.h (R_SPARC_WDISP10): Define.
11878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11879 R_SPARC_SIZE32.
11880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11881 R_SPARC_SIZE64 and R_SPARC_H34.
11882
96154cd8
CD
118832012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11884
11885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11886 conditions and remove no longer applicable assertion.
11887
9904dc47
L
118882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11889
11890 * bits/byteswap.h: Include <features.h>.
11891 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11892 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11893
f8887d0a
L
118942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11895
11896 * bits/byteswap.h (__bswap_16): Removed.
11897 Include <bits/byteswap-16.h> to get __bswap_16.
11898 * sysdeps/i386/bits/byteswap.h: Likewise.
11899 * sysdeps/s390/bits/byteswap.h: Likewise.
11900 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11901 * bits/byteswap-16.h: New file.
11902 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11903 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11904 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11905 * string/Makefile (headers): Add bits/byteswap-16.h.
11906
62470f60
PP
119072012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11908
11909 [BZ #13895]
11910 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11911 extra indirection.
11912 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11913 * nss/tst-nss-static.c: New.
11914
4dad7bab
RM
119152012-04-06 Robert Millan <rmh@gnu.org>
11916
11917 [BZ #6486]
11918 * manual/llio.texi (File Position Primitive): lseek
11919 refers to WHENCE when it really means OFFSET.
11920
e9142a17
AJ
119212012-04-06 Andreas Jaeger <aj@suse.de>
11922
2c040eff
AJ
11923 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11924 strncmp declarations.
11925
e9142a17
AJ
11926 * abilist/libc.abilist: Add __poll and __ppoll.
11927
ff9f1c5f
DM
119282012-04-05 David S. Miller <davem@davemloft.net>
11929
dcd2ae90
DM
11930 * scripts/check-local-headers.sh: Accept a host triplet in the
11931 path matched by the exclude regexp.
11932
993eb054
DM
11933 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11934 definition.
11935 * sysdeps/powerpc/powerpc32/dl-machine.h
11936 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11937 * sysdeps/s390/s390-32/dl-machine.h
11938 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11939 * sysdeps/sparc/sparc32/dl-machine.h
11940 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11941 * sysdeps/sparc/sparc64/dl-machine.h
11942 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11943
ff9f1c5f
DM
11944 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11945 lazy binding.
48e2e132 11946 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11947 undefined symbol errors.
11948
48e2e132 11949 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11950 DT_NEEDED entries.
11951
e80d6f94
MM
119522012-04-05 Michael Matz <matz@suse.de>
11953
11954 [BZ #13592]
11955 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11956
349fa79f
AJ
119572012-04-05 Andreas Jaeger <aj@suse.de>
11958
11959 [BZ #13908]
11960 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11961 comment.
11962
f402708f
KK
119632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11964
11965 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11966 which ROUND is no valid rounding mode.
11967
2ecccfc9
KK
119682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11969
11970 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11971 read again.
11972 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11973
8a53f50f
KK
119742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11975
11976 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11977 an exception using FPU order intentionally.
11978
119792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11980
11981 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11982 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11983 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11984 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11985
d653abb7
SJ
119862012-04-05 Simon Josefsson <simon@josefsson.org>
11987
11988 [BZ #12340]
11989 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11990 EINVAL when BUFLEN is too smal.
11991
c3b1bf7d
TS
119922012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11993
11994 [BZ #13553]
11995 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11996 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11997
b1aa60f3
AJ
119982012-04-03 Andreas Jaeger <aj@suse.de>
11999
c3b1bf7d 12000 [BZ #13938]
67f60a26
AJ
12001 * manual/setjmp.texi (System V contexts): Fix sentence.
12002
b1aa60f3
AJ
12003 [BZ #13926]
12004 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12005 New macro for this case.
12006 [!__GNUC__] (__bswap_64): New inline function for this case.
12007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12008 * bits/byteswap.h: Likewise.
12009 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12010 ull, guard with __GLIBC_HAVE_LONG_LONG.
12011
12012 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12013 __GLIBC_HAVE_LONG_LONG.
12014
12015 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12016 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12017
39c59c35
TMQMF
120182012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12019
12020 [BZ #13691]
12021 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12022 inptr and inend, rather than using last_ch.
12023
135ffda8
DM
120242012-04-02 David S. Miller <davem@davemloft.net>
12025
12026 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12027 * stdio-common/printf-parse.h (read_int): Change return type to
12028 'int', return -1 on INT_MAX overflow.
12029 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12030 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12031 overflows INT_MAX. Check for overflow of in-format-string precision
12032 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12033 SIZE_MAX not INT_MAX for integer overflow test.
12034 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12035 skip the construct in the format string but do not record anything.
12036 * stdio-common/bug22.c: Adjust to test both width/prevision
12037 INT_MAX overflow as well as total length INT_MAX overflow. Check
12038 explicitly for proper errno values.
12039
228c019e
TS
120402012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12041
302cadd3
TS
12042 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12043 CHAR_MAX.
12044 * string/test-strcmp.c [! WIDE]: Likewise.
12045 * time/tst-mktime2.c: Likewise for INT_MAX.
12046 * string/test-string.h: #include <sys/param.h> for MIN.
12047
228c019e
TS
12048 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12049 * sysdeps/i386/init-first.c (init): Likewise.
12050 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12051 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12052 * sysdeps/sh/init-first.c (init): Likewise.
12053
cfa633f5
UD
120542012-04-01 Ulrich Drepper <drepper@gmail.com>
12055
12056 * po/ru.po: Update from translation team.
d1635ef8 12057 * po/vi.po: Likewise.
cfa633f5 12058
6cd0a5ea
SP
120592012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12060
12061 * resolv/nss_dns/dns-host.c: Merge copyright years.
12062
4b43400f
LD
120632012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12064
12065 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12066 Optimize memcpy with prefetch if
12067 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12068 src, dst pointers have unequal 16 byte alignments.
12069
48c41d04
SP
120702012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12071
12072 [BZ #13928]
12073 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12074 from a CNAME entry and return the minimum ttl for the query.
12075 (gaih_getanswer_slice): Likewise.
12076
b8dc394d
JL
120772012-03-30 Jeff Law <law@redhat.com>
12078
12079 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12080 due to long keys.
12081 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12082 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12083
2f5a5ed0
JL
12084 * resolv/nss_dns/dns-host.c: Update copyright year.
12085
1d39e359
UD
120862012-03-30 Ulrich Drepper <drepper@gmail.com>
12087
c030f70c 12088 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12089 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12090
1d39e359
UD
12091 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12092 comments for sendmmsg.
12093
120942012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12095
12096 [BZ #13691]
12097 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12098 with only 1 character between 0x0041 and 0x01b0.
12099 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12100 * wcsmbs/tst-mbsnrtowcs.c: New file.
12101
20fde227
DM
121022012-03-29 David S. Miller <davem@davemloft.net>
12103
12104 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12105 small copies by hand.
12106
984a4237
JL
121072012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12108
12109 [BZ #13761]
12110 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12111 _nss_compat_initgroups_dyn): Fall back to malloc/free
12112 for large group memberships.
12113
18c9d62b
DM
121142012-03-28 David S. Miller <davem@davemloft.net>
12115
88d85d4f
DM
12116 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12117 that branches into memcpy.
12118 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12120 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12121 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12123 bits.
12124 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12125 implementation too.
12126 * sysdeps/sparc/mempcpy.S: New file.
12127
e5aa83e1
DM
12128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12129 the IFUNC routine in the libc case.
12130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12131
88570753
DM
12132 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12133 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12134 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12135 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12136 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12137 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12138 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12139 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12140
249d7567
DM
12141 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12142 loop to 256 bytes instead of 64 bytes and fix test signedness.
12143
18c9d62b
DM
12144 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12145 * sysdeps/sparc/sparc32/Makefile: rather than here...
12146 * sysdeps/sparc/sparc64/Makefile: and here.
12147
05f3d1f6
UD
121482012-03-28 Ulrich Drepper <drepper@gmail.com>
12149
12150 * malloc/mallocbug.c: Avoid warnings about unused variables.
12151
86ae07a8
JL
121522012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12153
12154 [BZ #13760]
12155 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12156 in the right place. Discard and retry query if response is
12157 larger than input buffer size.
12158
41bf21a1
JM
121592012-03-28 Joseph Myers <joseph@codesourcery.com>
12160
d6270972
JM
12161 [BZ #369]
12162 [BZ #2678]
12163 [BZ #3866]
12164 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12165 x for large integer exponent.
12166 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12167 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12168 sign of result as needed afterwards.
12169 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12170 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12171 result for underflowing pow the same as for overflow.
12172 (__kernel_standard_l): Handle powl overflow and underflow here
12173 rather than calling __kernel_standard.
12174 * math/libm-test.inc (pow_test): Add more tests.
12175
414fca03 12176 [BZ #3868]
41bf21a1
JM
12177 [BZ #13879]
12178 [BZ #13910]
12179 [BZ #13911]
12180 [BZ #13912]
12181 [BZ #13913]
12182 [BZ #13915]
12183 [BZ #13916]
12184 [BZ #13917]
12185 [BZ #13918]
12186 [BZ #13919]
12187 [BZ #13920]
12188 [BZ #13921]
12189 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12190 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12191 (__kernel_standard_l): New function.
12192 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12193 __kernel_standard.
12194 * math/w_acosl.c (__acosl): Likewise.
12195 * math/w_asinl.c (__asinl): Likewise.
12196 * math/w_atan2l.c (__atan2l): Likewise.
12197 * math/w_atanhl.c (__atanhl): Likewise.
12198 * math/w_coshl.c (__coshl): Likewise.
12199 * math/w_exp10l.c (__exp10l): Likewise.
12200 * math/w_exp2l.c (__exp2l): Likewise.
12201 * math/w_fmodl.c (__fmodl): Likewise.
12202 * math/w_hypotl.c (__hypotl): Likewise.
12203 * math/w_j0l.c (__j0l, __y0l): Likewise.
12204 * math/w_j1l.c (__j1l, __y1l): Likewise.
12205 * math/w_jnl.c (__jnl, __ynl): Likewise.
12206 * math/w_lgammal.c (__lgammal): Likewise.
12207 * math/w_log10l.c (__log10l): Likewise.
12208 * math/w_log2l.c (__log2l): Likewise.
12209 * math/w_logl.c (__logl): Likewise.
12210 * math/w_powl.c (__powl): Likewise.
12211 * math/w_remainderl.c (__remainderl): Likewise.
12212 * math/w_scalbl.c (sysv_scalbl): Likewise.
12213 * math/w_sinhl.c (__sinhl): Likewise.
12214 * math/w_sqrtl.c (__sqrtl): Likewise.
12215 * math/w_tgammal.c (__tgammal): Likewise.
12216 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12217 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12218 * math/libm-test.inc (acos_test): Add more tests.
12219 (acosh_test): Likewise.
12220 (asin_test): Likewise.
12221 (atanh_test): Likewise.
12222 (exp_test): Likewise.
12223 (exp10_test): Likewise.
12224 (exp2_test): Likewise.
12225 (expm1_test): Likewise.
12226 (lgamma_test): Likewise.
12227 (log_test): Likewise.
12228 (log10_test): Likewise.
12229 (log1p_test): Likewise.
12230 (log2_test): Likewise.
12231 (pow_test): Do not allow some spurious overflow exceptions.
12232 (sqrt_test): Add more tests.
12233 (tgamma_test): Likewise.
12234 (y0_test): Likewise.
12235 (y1_test): Likewise.
12236 (yn_test): Likewise.
12237
dd62fda6
AB
122382012-03-27 Anton Blanchard <anton@samba.org>
12239
12240 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12241 MAP_HUGETLB.
12242 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12243 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12244 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12245
1e3cdfda
AJ
122462012-03-27 David S. Miller <davem@davemloft.net>
12247
b855ab85
DM
12248 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12249
1e3cdfda
AJ
12250 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12251 have-as-vis3 check.
12252
122532012-03-27 Andreas Jaeger <aj@suse.de>
12254
12255 * sysdeps/x86_64/elf/configure.in: Moved to ...
12256 * sysdeps/x86_64/configure.in: ... here.
12257 * sysdeps/x86_64/elf/start.S: Moved to ...
12258 * sysdeps/x86_64/start.S: ... here.
12259 * sysdeps/x86_64/elf/configure: Delete.
12260
12261 * sysdeps/x86_64/configure.in: Merge contents from
12262 sysdeps/i386/configure.in (without i686 check).
12263
12264 * sysdeps/i386/elf/Versions: Merge into ...
12265 * sysdeps/i386/Versions: ... this.
12266 * sysdeps/i386/elf/Versions: Delete file.
12267 * sysdeps/i386/elf/start.S: Moved to ...
12268 * sysdeps/i386/start.S: ...here.
12269 * sysdeps/i386/elf/configure.in: Merge into...
12270 * sysdeps/i386/configure.in: ...here.
12271 * sysdeps/i386/elf/configure.in: Delete file.
12272 * sysdeps/i386/elf/configure: Delete file.
12273
12274 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12275 * debug/backtracesyms.c: ... here.
12276 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12277 * debug/backtracesymsfd.c: ... here.
12278 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12279 * sysdeps/generic/ifunc-sel.h: ... here.
12280
12281 * sysdeps/unix/i386/start.c: Delete file.
12282 * sysdeps/unix/sparc/start.c: Delete file.
12283 * sysdeps/unix/start.c: Delete file.
12284
12285 * sysdeps/sh/elf/configure.in: Moved to ...
12286 * sysdeps/sh/configure.in: ... here.
12287 * sysdeps/sh/elf/start.S: Moved to ...
12288 * sysdeps/sh/start.S: ... here.
12289 * sysdeps/sh/elf/configure: Delete file.
12290
12291 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12292 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12293 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12294 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12295 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12296 * sysdeps/powerpc/powerpc64/start.S: here.
12297 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12298 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12299 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12300 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12301 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12302
12303 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12304 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12305 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12306 * sysdeps/powerpc/powerpc32/start.S: ... here.
12307 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12308 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12309 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12310
12311 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12312 * sysdeps/powerpc/ifunc-sel.h: ... here.
12313 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12314 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12315
12316 * sysdeps/sparc/elf/configure.in: Moved to ...
12317 * sysdeps/sparc/configure.in: ... here.
12318 * sysdeps/sparc/elf/configure: Delete file.
12319 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12320 * sysdeps/sparc/sparc32/start.S: ... here.
12321 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12322 * sysdeps/sparc/sparc64/start.S: ... here.
12323 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12324 * sysdeps/sparc/sparc32/Makefile: ... this.
12325 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12326 * sysdeps/sparc/sparc64/Makefile: ... this.
12327
12328 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12329 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12330 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12331 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12332 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12333 * sysdeps/s390/s390-32/setjmp.S: ... here.
12334 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12335 * sysdeps/s390/s390-32/configure.in: ... here.
12336 * sysdeps/s390/s390-32/elf/configure: Delete file.
12337 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12338 * sysdeps/s390/s390-32/start.S: ... here.
12339
12340 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12341 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12342 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12343 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12344 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12345 * sysdeps/s390/s390-64/setjmp.S: ... here.
12346 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12347 * sysdeps/s390/s390-64/configure.in: ... here
12348 * sysdeps/s390/s390-64/elf/configure: Delete file.
12349 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12350 * sysdeps/s390/s390-64/start.S: ... here.
12351 * sysdeps/s390/s390-64/elf/configure: Delete.
12352
12353 * configure.in: Remove support for elf directories in sysdeps.
12354
12355 * configure: Regenerated.
12356 * sysdeps/i386/configure: Regenerated.
12357 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12358 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12359 * sysdeps/s390/s390-32/configure: Regenerated.
12360 * sysdeps/s390/s390-64/configure: Regenerated.
12361 * sysdeps/sh/configure: Regenerated.
12362 * sysdeps/sparc/configure: Regenerated.
12363 * sysdeps/x86_64/configure: Regenerated.
12364
a3f61311
AS
123652012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12366
c876e002
AS
12367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12368
a3f61311
AS
12369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12370 denormal result into account.
12371
ac4c54f0
RM
123722012-03-25 Roland McGrath <roland@hack.frob.com>
12373
12374 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12375 Reported by Allan McRae <allan@archlinux.org>.
12376
6a9b9c02
JL
123772012-03-23 Jeff Law <law@redhat.com>
12378
12379 * nss/getnssent.c (__nss_getent): Fix typo.
12380
4c42a0c1
DM
123812012-03-23 David S. Miller <davem@davemloft.net>
12382
12383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12384
1532c7ac
L
123852012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12386
12387 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12388 to pad to uint64_t for each field.
12389 (dl_tls_index): Replace unsigned long with uint64_t.
12390
3ff42526
PP
123912012-03-23 Daniel Jacobowitz <dmj@google.com>
12392 Paul Pluzhnikov <ppluzhnikov@google.com>
12393
12394 [BZ #6528]
12395 * grp/Makefile (otherlibs): Don't set it.
12396 * inet/Makefile (otherlibs): Likewise.
12397 * login/Makefile (otherlibs): Likewise.
12398 * nscd/Makefile (otherlibs): Likewise.
12399 * posix/Makefile (otherlibs): Likewise.
12400 * pwd/Makefile (otherlibs): Likewise.
12401 * rt/Makefile (otherlibs): Likewise.
12402 * sunrpc/Makefile (otherlibs): Likewise.
12403 * nss/Makefile (otherlibs): Likewise.
12404 Add libnss_files to routines and static-only-routines.
12405 ($(objpfx)getent): Remove rule.
12406 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12407 static-only-routines.
12408
7c69cd14
JM
124092012-03-22 Joseph Myers <joseph@codesourcery.com>
12410
12411 [BZ #13892]
12412 * math/s_cexp.c: Include <float.h>.
12413 (__cexp): Handle exp result overflowing not necessarily
12414 overflowing both real and imaginary parts of result.
12415 * math/s_cexpf.c: Likewise.
12416 * math/s_cexpl.c: Likewise.
12417 * math/libm-test.inc (cexp_test): Add more tests.
12418 * sysdeps/i386/fpu/libm-test-ulps: Update.
12419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12420
81b035fe
L
124212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12422
12423 * include/link.h (ELFW): New macro.
12424 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12425 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12426
1da7940c
L
124272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12428
12429 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12430 with uint64_t.
12431
b749dbb9
L
124322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12433
12434 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12435 declaration.
12436 (struct La_x32_retval): Likewise.
12437
2ff87f3f
L
124382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12439
12440 * sysdeps/x86_64/preconfigure.in: New file.
12441 * sysdeps/x86_64/preconfigure: New generated file.
12442
c0df8e69
JM
124432012-03-22 Joseph Myers <joseph@codesourcery.com>
12444
48e44791
JM
12445 [BZ #13824]
12446 * math/e_exp2l.c: Include <float.h>.
12447 (__ieee754_exp2l): Handle overflow and underflow cases
12448 separately. Only pass fractional part of argument to
12449 __ieee754_expl.
12450 * math/libm-test.inc (exp2_test): Add more tests.
12451
c0df8e69
JM
12452 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12453 negating x to take absolute value.
12454 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12455 Likewise.
12456 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12457 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12458 Likewise.
12459 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12460 computing low part if x was negated.
12461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12462
c8e43ba7
L
124632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12464
12465 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12466 la_x32_gnu_pltexit.
12467 (pltexit): Cast int_retval to ptrdiff_t.
12468 * elf/tst-auditmod3b.c: Likewise.
12469 * elf/tst-auditmod4b.c: Likewise.
12470 * elf/tst-auditmod5b.c: Likewise.
12471 * elf/tst-auditmod6b.c: Likewise.
12472 * elf/tst-auditmod6c.c: Likewise.
12473 * elf/tst-auditmod7b.c: Likewise.
12474
12475 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12476 and x32_gnu_pltexit.
12477
12478 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12479 __ELF_NATIVE_CLASS.
12480 (La_x32_regs): New macro.
12481 (La_x32_retval): Likewise.
12482 (la_x32_gnu_pltenter): New function prototype.
12483 (la_x32_gnu_pltexit): Likewise.
12484
7998fa78
AS
124852012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12486
dcb33988
AS
12487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12488 exponent.
12489
233fc563
AS
12490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12491
7998fa78
AS
12492 * configure.in (libc_cv_cc_nofma): Check for option to disable
12493 generation of FMA instructions.
12494 * configure: Regenerate.
12495 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12496 * sysdeps/ieee754/dbl-64/Makefile: New file.
12497 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12498 Remove brandred-fma4.
12499 (CFLAGS-brandred-fma4.c): Remove.
12500 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12502 define.
12503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12504 define.
12505
8e95c99a
L
125062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12507
12508 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12509 LLONG_MAX != LONG_MAX.
12510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12511 (_fitoa_word): Likewise.
12512 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12513 LLONG_MAX != LONG_MAX.
12514 * stdio-common/_itowa.h: Include <_itoa.h>.
12515 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12516 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12517 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12518 only if not defined.
12519 (_ITOA_WORD_TYPE): Likewise.
12520 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12521 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12522
6f4db457
DM
125232012-03-21 David S. Miller <davem@davemloft.net>
12524
12525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12526
7785fe5a
L
125272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12528
12529 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12530 of x86_64 when setting libc_cv_slibdir, libdir and
12531 libc_cv_localedir.
12532 * sysdeps/unix/sysv/linux/configure: Regenerated.
12533
4535cd55
JM
125342012-03-21 Joseph Myers <joseph@codesourcery.com>
12535
12536 * manual/lang.texi (Old Varargs): Remove section.
12537 (How Variadic): Update menu.
12538 (va_start): Do not mention varargs.h.
12539
17228132
TS
125402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12541 Joseph Myers <joseph@codesourcery.com>
12542
12543 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12544 link test.
12545 * configure: Regenerated.
12546
8149f976
TS
125472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12548
05f3d1f6
UD
12549 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12550 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12551 conformtest.pl
8149f976 12552
1a4ac776
JM
125532012-03-21 Joseph Myers <joseph@codesourcery.com>
12554
be22ce65
JM
12555 * NOTES: Remove.
12556 * Makefile (files-for-dist): Remove NOTES.
12557 (NOTES): Remove rule.
12558 * README: Don't refer to NOTES.
12559 * manual/creature.texi: Don't include macros.texi.
12560 * manual/intro.texi (creature.texi): Remove comment referring to
12561 NOTES.
12562
40b601fb
JM
12563 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12564 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12565 * configure: Regenerated.
12566 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12567 LIBC_TRY_CC_OPTION.
12568 (libc_cv_as_i686): Likewise.
12569 (libc_cv_cc_avx): Likewise.
12570 (libc_cv_cc_sse2avx): Likewise.
12571 (libc_cv_cc_fma4): Likewise.
12572 (libc_cv_cc_novzeroupper): Likewise.
12573 * sysdeps/i386/configure: Regenerated.
12574
1a4ac776
JM
12575 [BZ #13883]
12576 * sysdeps/i386/fpu/s_cexp.S: Remove.
12577 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12578 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12579 * math/libm-test.inc (cexp_test): Add more tests.
12580 * sysdeps/i386/fpu/libm-test-ulps: Update.
12581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12582
a458e7fe
AM
125832012-03-21 Allan McRae <allan@archlinux.org>
12584
12585 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12586
0cb7efc5
JM
125872012-03-21 Joseph Myers <joseph@codesourcery.com>
12588
12589 [BZ #13871]
12590 * math/w_exp2.c: Do not include <float.h>.
12591 (o_threshold, u_threshold): Remove.
12592 (__exp2): Calculate result before checking finiteness and calling
12593 __kernel_standard.
12594 * math/w_exp2f.c: Likewise.
12595 * math/w_exp2l.c: Likewise.
12596 * math/libm-test.inc (exp2_test): Require overflow exception for
12597 1e6 input.
2460d3aa
JM
12598
12599 [BZ #3866]
12600 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12601 range of signed 64-bit integers before using fistpll. Remove
12602 checks for whether integers fit in mantissa bits.
12603 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12604 the range of signed 32-bit integers before using fistpl. Remove
12605 checks for whether integers fit in mantissa bits.
12606 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12607 (__ieee754_powl): Test for y outside the range of signed 64-bit
12608 integers before using fistpll. Reduce 64-bit values to 63-bit
12609 ones as needed.
12610 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12611 divide-by-zero is raised for zero to large negative powers.
12612 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12613 (__ieee754_powl): Test for y outside the range of signed 64-bit
12614 integers before using fistpll. Reduce 64-bit values to 63-bit
12615 ones as needed.
12616 * math/libm-test.inc (pow_test): Add more tests.
12617
eb96ffb0
L
126182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12619
12620 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12621 <stdio-common/_itoa.h>.
12622 * debug/segfault.c: Likewise.
12623 * elf/dl-cache.c: Likewise.
12624 * elf/dl-minimal.c: Likewise.
12625 * elf/dl-misc.c: Likewise.
12626 * elf/dl-sysdep.c: Likewise.
12627 * elf/dl-version.c: Likewise.
12628 * elf/rtld.c: Likewise.
12629 * hurd/hurdsock.c: Likewise.
12630 * hurd/lookup-retry.c: Likewise.
12631 * malloc/malloc.c: Likewise.
12632 * malloc/mtrace.c: Likewise.
12633 * nscd/nscd_getgr_r.c: Likewise.
12634 * nscd/nscd_getpw_r.c: Likewise.
12635 * nscd/nscd_getserv_r.c: Likewise.
12636 * posix/getopt_init.c: Likewise.
12637 * posix/wordexp.c: Likewise.
12638 * stdio-common/_itoa.c: Likewise.
12639 * stdio-common/printf_fphex.c: Likewise.
12640 * stdio-common/vfprintf.c: Likewise.
12641 * string/_strerror.c: Likewise.
12642 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12643 * sysdeps/i386/i686/hp-timing.h: Likewise.
12644 * sysdeps/mach/_strerror.c: Likewise.
12645 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12646 * sysdeps/mach/hurd/sethostid.c: Likewise.
12647 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12648 * sysdeps/mach/xpg-strerror.c: Likewise.
12649 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12650 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12651 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12652 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12653 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12654 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12655 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12656 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12657 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12658 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12659 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12660 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12661 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12662 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12663 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12664 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12665 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12666 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12667 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12668 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12669 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12670
12671 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12672
12673 * stdio-common/_itoa.h: Moved to ...
12674 * sysdeps/generic/_itoa.h: Here.
12675
12676 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12677
12678 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12679 instead of "_itoa.h" and "_itowa.h".
12680 * stdio-common/vfprintf.: Likewise.
12681
d1af992d
L
126822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12683
12684 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12685 <bits/wordsize.h>.
12686 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12687 (__signbit): Likwise.
12688 (llrintf): Likwise.
12689 (llrint): Likwise.
12690
114883e0
L
126912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12692
12693 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12694 __WORDSIZE != 64.
12695
c135cc1b
JM
126962012-03-20 Joseph Myers <joseph@codesourcery.com>
12697
12698 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12699 OVERFLOW_EXCEPTION_OK.
12700 * math/libm-test.inc ("Philosophy"): Update comment about
12701 exception testing.
12702 (OVERFLOW_EXCEPTION): Define.
12703 (OVERFLOW_EXCEPTION_OK): Likewise.
12704 (INVALID_EXCEPTION_OK): Renumber.
12705 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12706 (IGNORE_ZERO_INF_SIGN): Likewise.
12707 (test_exceptions): Handle FE_OVERFLOW.
12708 (exp10_test): Expect overflow exceptions.
12709 (exp2_test): Likewise.
12710 (expm1_test): Likewise.
12711 (nextafter_test): Likewise.
12712 (pow_test): Likewise.
12713 (scalbn_test): Likewise.
12714 (scalbln_test): Likewise.
12715
95443d88
L
127162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12717
12718 * sysdeps/x86_64/bits/atomic.h
12719 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12720 64bit integer.
12721 (atomic_exchange_acq): Likewise.
12722 (__arch_exchange_and_add_body): Likewise.
12723 (__arch_add_body): Likewise.
12724 (atomic_add_negative): Likewise.
12725 (atomic_add_zero): Likewise.
12726
490df6c4
L
127272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12728
c2722551 12729 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12730 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12731
5e52b189
L
127322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12733
12734 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12735 Check __x86_64__ instead of __WORDSIZE.
12736
a9879d4c
L
127372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12738
12739 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12740
5df98260
DM
127412012-03-19 David S. Miller <davem@davemloft.net>
12742
e1497744
DM
12743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12744
5df98260
DM
12745 * sysdeps/sparc/fpu/fenv_private.h: New file.
12746 * sysdeps/sparc/fpu/math_private.h: Use it.
12747 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12748 Remove.
12749 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12750 (libc_feholdexcept_setroundl): Remove.
12751 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12752 Remove.
12753 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12754 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12755
b4c35121
L
127562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12757
12758 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12759 int64_t instead of long int.
12760 (INSERT_WORDS64): Likwise.
12761
56965fd7
L
127622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12763
12764 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12765 _Unwind_GetCFA return to _Unwind_Ptr first.
12766
83d1aec8
JM
127672012-03-19 Joseph Myers <joseph@codesourcery.com>
12768
1897ad44
JM
12769 [BZ #13629]
12770 * math/s_clog.c: Include <float.h>.
12771 (__clog): Scale large or subnormal inputs.
12772 * math/s_clogf.c: Likewise.
12773 * math/s_clogl.c: Likewise.
12774 * math/s_clog10.c: Include <float.h>.
12775 (M_LOG10_2): Define.
12776 (__clog10): Scale large or subnormal inputs.
12777 * math/s_clog10f.c: Likewise.
12778 * math/s_clog10l.c: Likewise.
12779 * math/libm-test.inc (clog_test): Add more tests.
12780 (clog10_test): Likewise.
12781 * sysdeps/i386/fpu/libm-test-ulps: Update.
12782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12783
7726d6a9
JM
12784 [BZ #11451]
12785 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12786 x and y.
12787 * math/libm-test.inc (atan2_test): Add another test.
12788
83d1aec8
JM
12789 * Makerules (common-objdir-compile): Remove.
12790 * sysdeps/unix/Makefile (config-generated): Do not add
12791 $(unix-generated) to variable.
12792 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12793 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12794 Remove rule.
12795 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12796 Likewise.
12797 [generic bits/local_lim.h] (before-compile): Do not append to
12798 variable.
12799 [generic bits/local_lim.h] (common-generated): Likewise.
12800 [generic sys/param.h] (before-compile): Do not append to variable.
12801 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12802 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12803 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12804 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12805 include.
12806 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12807 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12808 [generic sys/param.h] ($(addprefix
12809 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12810 [generic sys/param.h] (common-generated): Do not append to
12811 variable.
12812 [generic sys/param.h] (sysdep_headers): Likewise.
12813 [generic bits/errno.h] (before-compile): Do not append to
12814 variable.
12815 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12816 rule.
12817 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12818 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12819 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12820 [generic bits/errno.h] (common-generated): Do not append to
12821 variable.
12822 [generic bits/ioctls.h] (before-compile): Do not append to
12823 variable.
12824 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12825 rule.
12826 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12827 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12828 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12829 rule.
12830 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12831 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12832 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12833 [generic bits/ioctls.h] (common-generated): Do not append to
12834 variable.
12835 [generic sys/syscall.h] (syscall.h): Remove variable.
12836 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12837 rule.
12838 [generic sys/syscall.h] (before-compile): Do not append to
12839 variable.
12840 [generic sys/syscall.h] (common-generated): Likewise.
12841 * sysdeps/unix/errnos-tmpl.c: Remove file.
12842 * sysdeps/unix/errnos.awk: Likewise.
12843 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12844 * sysdeps/unix/ioctls.awk: Likewise.
12845 * sysdeps/unix/mk-local_lim.c: Likewise.
12846 * sysdeps/unix/snarf-ioctls: Likewise.
12847
4851a949
RH
128482012-03-19 Richard Henderson <rth@twiddle.net>
12849
bd37f2ee
RH
12850 * sysdeps/i386/fpu/fenv_private.h: New file.
12851 * sysdeps/i386/fpu/math_private.h: Use it.
12852 (math_opt_barrier, math_force_eval): Remove.
12853 (libc_feholdexcept_setround_53bit): Remove.
12854 (libc_feupdateenv_53bit): Remove.
12855 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12856 (math_opt_barrier, math_force_eval): Remove.
12857 (libc_feholdexcept): Remove.
12858 (libc_feholdexcept_setround): Remove.
12859 (libc_fetestexcept, libc_fesetenv): Remove.
12860 (libc_feupdateenv_test): Remove.
12861 (libc_feupdateenv, libc_feholdsetround): Remove.
12862 (libc_feresetround): Remove.
12863
d0adc922
RH
12864 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12865 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12866
0fe0f1f8
RH
12867 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12868 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12869 (libc_feupdateenv_testl): New.
12870 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12871 (libc_feupdateenv_testf): New.
12872 (libc_feupdateenv): Use libc_feupdateenv_test.
12873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12874 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12875
eb92c487
RH
12876 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12877 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12878 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12879 (libc_feresetround_noex): New.
12880 (libc_feresetround_noexf): New.
12881 (libc_feresetround_noexl): New.
12882 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12883 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12884 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12885 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12886 SET_RESTORE_ROUND.
12887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12888 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12889 (__cos): Likewise.
12890 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12891 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12892 SET_RESTORE_ROUND_NOEX.
12893 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12894 SET_RESTORE_ROUND_NOEXF.
12895 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12896 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12897 (libc_feholdsetroundf): New.
12898 (libc_feresetround, libc_feresetroundf): New.
12899
7d2e8012
RH
12900 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12901 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12902 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12903
b4dabbb4
RH
12904 * sysdeps/generic/math_private.h: Include <fenv.h>.
12905 (default_libc_feholdexcept): New.
12906 (default_libc_feholdexcept_setround): New.
12907 (default_libc_fesetenv, default_libc_feupdateenv): New.
12908 (libc_feholdexcept): Only define if undefined.
12909 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12910 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12911 (libc_feholdexcept_setroundl): Likewise.
12912 (libc_feholdexcept_setround_53bit): Likewise.
12913 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12914 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12915 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12916 (libc_feupdateenv_53bit): Likewise.
12917 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12918 (libc_feholdexcept): Convert from macro to inline function.
12919 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12920 (libc_fesetenv, libc_feupdateenv): Likewise.
12921
4851a949
RH
12922 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12923 not previously defined.
12924 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12925 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12926 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12927 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12928 * sysdeps/ieee754/flt-32/math_private.h: New file.
12929 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12930 math_private.h below SET_FLOAT_WORD.
12931 (__isnan, __isinf_ns, __finite): Remove.
12932 (__isnanf, __isinf_nsf, __finitef): Remove.
12933
e79d442e
AS
129342012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12935
12936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12937
90b80344
DM
129382012-03-17 David S. Miller <davem@davemloft.net>
12939
12940 [BZ #6471]
12941 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12942 for 2.16.
12943
edc21804
DM
129442012-03-16 David S. Miller <davem@davemloft.net>
12945
77e927af
DM
12946 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12947 warnings.
12948
374976dd
DM
12949 [BZ #6471]
12950 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12951 properly.
12952 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12953 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12954 sysdep_routines when subdir is sysvipc.
12955 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12956 __getshmlba helper.
12957
edc21804
DM
12958 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12959
473c3ef3
L
129602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12961
12962 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12963 [__LP64__].
12964
eb0f39b6
L
129652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12966
12967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12968 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12969 (__lround): Renamed to ...
12970 (__llround): This. Replace long int with long long int.
12971 Define lround functions as aliases of llround functions.
12972 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12973
6b6cd74b
L
129742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12975
12976 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12977 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12978 adresses to uintptr_t. Replace "long int" and "unsigned long
12979 int" with "greg_t" on va_arg.
12980
f1a77b01
L
129812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12982
12983 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12984 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12985
12986 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12987 Move e_machine check before EI_CLASS check. Handle x32
12988 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12989 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12990 SKIP_EM_IA_64 and include
12991 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12992
12993 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12994 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12995 (add_system_dir): New macro.
12996
12997 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12998 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12999
11b90b9f
JM
130002012-03-16 Joseph Myers <joseph@codesourcery.com>
13001
c36e1d23
JM
13002 [BZ #2551]
13003 [BZ #2552]
13004 [BZ #2553]
13005 [BZ #2554]
13006 [BZ #2562]
13007 [BZ #2563]
13008 [BZ #2565]
13009 [BZ #2566]
13010 [BZ #2576]
13011 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13012 (y0): Likewise.
13013 * math/w_j0f.c (j0f): Likewise.
13014 (y0f): Likewise.
13015 * math/w_j0l.c (__j0l): Likewise.
13016 (__y0l): Likewise.
13017 * math/w_j1.c (j1): Likewise.
13018 (y1): Likewise.
13019 * math/w_j1f.c (j1f): Likewise.
13020 (y1f): Likewise.
13021 * math/w_j1l.c (__j1l): Likewise.
13022 (__y1l): Likewise.
13023 * math/w_jn.c (jn): Likewise.
13024 (yn): Likewise.
13025 * math/w_jnf.c (jnf): Likewise.
13026 (ynf): Likewise.
13027 * math/w_jnl.c (__jnl): Likewise.
13028 (__ynl): Likewise.
13029 * math/libm-test.inc (j0_test): Add more tests.
13030 (j1_test): Likewise.
13031 (jn_test): Likewise. Add trailing semicolon to existing test.
13032 (y0_test): Likewise.
13033 (y1_test): Likewise.
13034 * sysdeps/i386/fpu/libm-test-ulps: Update.
13035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13036
11b90b9f
JM
13037 [BZ #13851]
13038 [BZ #13854]
13039 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13040 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13041 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13043 (__tanl): Set errno for infinite argument.
13044 * sysdeps/i386/fpu/mptan.c: Remove.
13045 * sysdeps/i386/fpu/s_tan.S: Likewise.
13046 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13047 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13048 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13049 * math/libm-test.inc (tan_test): Add more tests and enable more
13050 tests for double and long double.
13051 * sysdeps/i386/fpu/libm-test-ulps: Update.
13052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13053
6a1bd2a1
JK
130542012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13055
13056 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13057 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13058
10a803e0
RM
130592012-03-16 Roland McGrath <roland@hack.frob.com>
13060
13061 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13062 * configure.in: Use it for both main tree and add-ons.
13063 * configure: Regenerated.
13064
f196c7f7
L
130652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13066
13067 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13068
8848d99d
JM
130692012-03-16 Joseph Myers <joseph@codesourcery.com>
13070
96cbe7f4
JM
13071 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13072 in comment.
13073
8848d99d
JM
13074 [BZ #13851]
13075 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13076 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13080 infinite argument.
13081 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13083 != 0 for prec == 2.
13084 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13085 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13086 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13087 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13088 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13089 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13090 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13091 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13092 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13093 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13094 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13095 * math/libm-test.inc (cos_test): Add more tests and enable more
13096 tests for long double.
13097 (sin_test): Likewise.
13098 (sincos_test): Likewise.
13099 * sysdeps/i386/fpu/libm-test-ulps: Update.
13100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13101
dd7f4703
DM
131022012-03-16 David S. Miller <davem@davemloft.net>
13103
13104 * sysdeps/sparc/fpu/math_private.h: New file.
13105
006f1daa
DM
131062012-03-15 David S. Miller <davem@davemloft.net>
13107
c0c83bc8
DM
13108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13109 file.
e6a62e18 13110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13112 file.
e6a62e18
DM
13113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13118 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13119 sysdep routines.
13120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13121
88cb87d9
DM
13122 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13123 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13124
006f1daa 13125 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13127 sparc-ifunc.h
006f1daa 13128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13130 Likewise.
13131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13132 Likewise.
006f1daa
DM
13133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13137 Likewise.
006f1daa
DM
13138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13143 Likewise.
13144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13145 Likewise.
006f1daa
DM
13146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13170
11e0098e
AS
131712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13172
13173 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13174 scaling.
13175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13176
e85b09d0
AJ
131772012-03-15 Andreas Jaeger <aj@suse.de>
13178
13179 [BZ #13852]
13180 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13181 ieee754/flt-32 implementation for sin, cos and sincos.
13182 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13183 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13184 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13185 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13186 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13187 ieee754/flt-32 implementation for tan.
13188
13189 * math/libm-test.inc (cos_test): Enable some large input tests for
13190 float as well
13191 (sin_test): Likewise.
13192 (sincos_test): Likewise.
13193 (tan_test): Add tests for large input.
13194
13195 * sysdeps/i386/fpu/libm-test-ulps: Update.
13196
81c64153
AJ
131972012-03-15 Andreas Jaeger <aj@suse.de>
13198
13199 [BZ #13658]
13200 * math/libm-test.inc (cos_test): Add more test cases.
13201 (sin_test): Likewise.
13202 (sincos_test): Likewise.
13203
7bbfa5c6
AJ
132042012-03-15 Andreas Jaeger <aj@suse.de>
13205
13206 [BZ #13837]
13207 * math/libm-test.inc (cos_test): Add a test case for large input
13208 value.
13209 (sin_test): Likewise.
13210 (sincos_test): Likewise.
13211
132122012-03-15 Andreas Jaeger <aj@suse.de>,
13213 Joseph Myers <joseph@codesourcery.com>
13214
13215 [BZ #13658]
0671f479 13216 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13217 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13218 * sysdeps/i386/fpu/branred.c: Likewise.
13219 * sysdeps/i386/fpu/dosincos.c: Likewise.
13220 * sysdeps/i386/fpu/mpa.c: Likewise.
13221 * sysdeps/i386/fpu/s_cos.S: Likewise.
13222 * sysdeps/i386/fpu/s_sin.S: Likewise.
13223 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13224 * sysdeps/i386/fpu/sincos32.c: Likewise.
13225
13226 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13227 Define.
13228 (libc_feupdateenv_53bit): Define.
13229 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13230 Define.
13231 (libc_feupdateenv_53bit): Define.
13232
13233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13234 53 bit (without extend i386 double precision).
13235
13236 * math/libm-test.inc (sincos_test): Add tests for large input.
13237 (sin): Likewise.
13238 (cos): Likewise.
13239
13240 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13241
9cad04ea
AS
132422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13243
13244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13245
f7062b9a
DM
132462012-03-15 David S. Miller <davem@davemloft.net>
13247
13248 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13249 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13250 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13251 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13264 file.
f7062b9a 13265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13267 file.
f7062b9a 13268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13270 file.
f7062b9a 13271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13273 file.
f7062b9a
DM
13274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13276 fmin/fmax sysdep routines.
13277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13278
7bd951ff
DM
132792012-03-14 David S. Miller <davem@davemloft.net>
13280
559398ab
DM
13281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13310 routines.
13311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13312 file.
559398ab 13313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13315 file.
559398ab 13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13318 file.
559398ab 13319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13321 file.
559398ab 13322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13324 file.
559398ab 13325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13327 file.
13328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13329 file.
13330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13331 file.
13332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13333 file.
13334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13335 New file.
13336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13337 file.
13338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13339 file.
559398ab 13340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13342 file.
559398ab 13343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13345 file.
559398ab 13346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13348 file.
559398ab 13349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13351 VIS3 routines.
559398ab
DM
13352
13353 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13354 New file.
13355
5a1c1e32
DM
13356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13357
eae47a36
DM
13358 * sysdeps/sparc/configure.in: New file.
13359 * sysdeps/sparc/configure: Generate.
13360 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13361 * configure: Regenerate.
13362 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13363 * config.make.in (have-as-vis3): New.
13364 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13365 available use -Av9d instead of -Av9a.
13366 * sysdeps/sparc/sparc64/Makefile: Likewise.
13367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13369 New file.
13370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13371 file.
13372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13373 New file.
13374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13375 file.
eae47a36
DM
13376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13381
c0c83bc8
DM
13382 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13383 fzeros/fnegs to load 0x80000000 into a float register instead of
13384 using the stack.
7bd951ff
DM
13385 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13386
bd951ccb
JM
133872012-03-14 Joseph Myers <joseph@codesourcery.com>
13388
13389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13390 bits/syscall.h.
13391 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13392 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13393 ($(inst_includedir)/bits/syscall.h): Remove rule.
13394 ($(objpfx)bits/syscall.d): Include instead of
13395 $(objpfx)syscall-list.d.
13396 (generated): Change syscall-list.h and syscall-list.d to
13397 bits/syscall.h and bits/syscall.d.
13398
bb4e6db2
RM
133992012-03-14 Roland McGrath <roland@hack.frob.com>
13400
13401 [BZ #13846]
13402 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13403
aa4a2ae1
JM
134042012-03-14 Joseph Myers <joseph@codesourcery.com>
13405
e456826d
JM
13406 [BZ #13841]
13407 * math/s_csqrt.c: Include <float.h>.
13408 (__csqrt): Scale large or subnormal inputs.
13409 * math/s_csqrtf.c: Likewise.
13410 * math/s_csqrtl.c: Likewise.
13411 * math/libm-test.inc (csqrt_test): Add more tests.
13412 * sysdeps/i386/fpu/libm-test-ulps: Update.
13413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13414
aa4a2ae1
JM
13415 [BZ #13840]
13416 * math/libm-test.inc (hypot_test): Add more tests.
13417
7c10fd35
DM
134182012-03-13 David S. Miller <davem@davemloft.net>
13419
13420 [BZ #13840]
13421 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13422 double-precision for the calculation instead of scaling.
13423
f453b98b
JM
134242012-03-13 Joseph Myers <joseph@codesourcery.com>
13425
13426 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13427 manipulate bits before adding and subtracting TWO52[sx].
13428 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13429 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13430 Likewise.
13431 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13432
09a3453f
DM
134332012-03-13 David S. Miller <davem@davemloft.net>
13434
8e59da90
DM
13435 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13436 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13438 rtld-global-offsets.h
13439 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13440
2a8ab7f2
DM
13441 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13442 large parameters.
13443
10f62770
DM
13444 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13445
5f0bdb18
DM
13446 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13447 'err' in the ifdef scope in which it is actually used.
13448
09a3453f
DM
13449 * nss/nss_db/db-init.c: Include string.h
13450
b4b2eb5e
DM
134512012-03-12 David S. Miller <davem@davemloft.net>
13452
98bb2f1c
DM
13453 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13454 masking out of the most significant byte of random value used.
13455 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13456 Fix coding style in previous change.
13457
b4b2eb5e
DM
13458 * sysdeps/unix/sysv/linux/kernel-features.h
13459 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13460 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13461 expression.
13462 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13463 later.
13464
6e226b09
DM
134652012-03-11 David S. Miller <davem@davemloft.net>
13466
a1bcbd40
DM
13467 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13468 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13469 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13470 for 'resultvar' otherwise things get truncated on 64-bit.
13471
cb9d6174
DM
13472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13473 Fix masking out of the most significant byte of random value used.
13474
6e226b09
DM
13475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13476
058c132d
AS
134772012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13478
13479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13480
2d2cd515
DM
134812012-03-09 David S. Miller <davem@davemloft.net>
13482
13483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13484 variables with appropriate CPP guards.
13485 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13486 frame pointer, not the stack pointer. Correct layout comments. Fix test
13487 on resulting framesize and the management of the outregs buffer for pltexit.
13488 Preserve floating point return values across _dl_call_pltexit call.
13489 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13490 framesize and the management of the outregs buffer for pltexit.
13491 Preserve floating point return values across _dl_call_pltexit
13492 call.
13493 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13494 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13495 (print_exit): Fix format string for return register value.
13496
9a07f9d0
JM
134972012-03-10 Joseph Myers <joseph@codesourcery.com>
13498
13499 * sunrpc/Makefile (others): Add rpcgen.
13500 ($(objpfx)rpcgen): Remove special build rule and dependency on
13501 libc.
13502 * sunrpc/rpcgen.c: New file.
13503
547b5e30
PE
135042012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13505
c524201a
PE
13506 [BZ #13673]
13507 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13508 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13509 * sysdeps/i386/crti.S: Likewise.
13510 * sysdeps/i386/crtn.S: Likewise.
13511 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13512 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13513 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13514 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13515 * sysdeps/sh/crti.S: Likewise.
13516 * sysdeps/sh/crtn.S: Likewise.
13517 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13518
7b6235f2
PE
13519 [BZ #13673]
13520 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13521 with URL.
13522 * locale/programs/locfile-kw.gperf: Likewise.
13523 * locale/programs/charmap-kw.h: Regenerated.
13524 * locale/programs/locfile-kw.h: Likewise.
13525
547b5e30
PE
13526 [BZ #13673]
13527 * intl/plural.y: Replace FSF snail mail address with URL.
13528 * intl/plural.c: Regenerated.
13529
5f0a5dae
RH
135302012-03-09 Richard Henderson <rth@twiddle.net>
13531
13532 * include/math_private.h: Remove file.
13533 * math/math_private.h: Move file ...
13534 * sysdeps/generic/math_private.h: ... here.
13535
b8c03620
RH
13536 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13537 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13538 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13539
4e234f5d 13540 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13541 and <math_private.h>.
13542 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13543 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13544 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13545 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13546 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13630 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13631 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13632 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13633 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13634 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13635 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13636 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13637 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13638 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13639 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13640 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13641 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13642 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13643 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13644 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13645 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13646 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13647 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13648 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13649 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13650 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13651 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13652 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13653 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13654 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13655 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13656 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13657 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13658 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13659 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13661 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13662 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13663 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13664 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13665 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13666 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13668 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13669 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13670 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13671 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13672 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13673 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13674 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13675 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13676 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13677 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13678 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13679 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13680 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13681 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13682 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13683 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13684 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13685 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13686 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13687 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13688 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13689 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13690 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13691 * sysdeps/ieee754/k_standard.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13807 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13811 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13814 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13819 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13824 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13840 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13841 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13842 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13848 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13852 * sysdeps/ieee754/s_lib_version.c: Likewise.
13853 * sysdeps/ieee754/s_matherr.c: Likewise.
13854 * sysdeps/ieee754/s_signgam.c: Likewise.
13855 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13856 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13857 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13858 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13859 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13860 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13861 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13862 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13863 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13864 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13865 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13866 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13867 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13868 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13869 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13870 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13871 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13872 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13873 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13876
1991fa03
JM
138772012-03-09 Joseph Myers <joseph@codesourcery.com>
13878
13879 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13880 * sunrpc/rpc_main.c: Likewise.
13881 * sunrpc/rpc_svcout.c: Likewise.
13882
60d6f5a6
DM
138832012-03-09 David S. Miller <davem@davemloft.net>
13884
13885 * include/math_private.h: New file.
13886
4962050e
JM
138872012-03-09 Joseph Myers <joseph@codesourcery.com>
13888
02a6f887
JM
13889 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13890 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13891 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13892 from <bits/socket_type.h>.
13893 (enum __socket_type): Don't define here.
13894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13896 bits/socket_type.h.
13897
c6e013c1
JM
13898 [BZ #13566]
13899 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13900 checking __USE_GNU.
13901
4962050e
JM
13902 * Makerules ($(inst_includedir)/%.h): New rule.
13903 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13904 (install-others): Remove variable setting.
13905 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13906
38842f45
RH
139072012-03-08 Richard Henderson <rth@twiddle.net>
13908
67bb6da6
RH
13909 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13910 from macro to inline function; merge with the
13911 !__LIBC_INTERNAL_MATH_INLINES version.
13912 (__ieee754_sqrtf): Likewise.
13913
15194b4b
RH
13914 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13915 to inline function.
13916 (__rintf, __floor, __floorf): Likewise.
13917
64e21ede
RH
13918 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13919 macro to inline function.
13920 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13921
38842f45
RH
13922 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13923 not <math/math_private.h>.
13924
c64bf5fe
DM
139252012-03-08 David S. Miller <davem@davemloft.net>
13926
13927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13928 copyright year.
13929 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13930
82d86f28
TS
139312012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13932
13933 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13934 normalization.
13935 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13936 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13937
aea5d727
UD
139382012-03-08 Ulrich Drepper <drepper@gmail.com>
13939
13940 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13941 be defined individually, they must be defined as a block. Define
13942 S for printing a string instead of hidint the different by using a
13943 macro for adding the 'l'.
13944 * stdio-common/tst-fphex-wide.c: Adjust.
13945
70bca0a3
MP
139462012-03-07 Marek Polacek <polacek@redhat.com>
13947
13948 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13949
65b81130
MP
139502012-03-08 Marek Polacek <polacek@redhat.com>
13951
13952 [BZ #13806]
13953 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13954 * stdio-common/tst-fphex.c: Define a few macros to make the
13955 test reusable. Use them.
13956 * stdio-common/tst-fphex-wide.c: New file.
13957
07037eeb
JM
139582012-03-08 Joseph Myers <joseph@codesourcery.com>
13959
a7a93d50
JM
13960 [BZ #6911]
13961 * manual/macros.texi (gnusystems): New macro.
13962 (nongnusystems): Likewise.
13963 (gnulinuxhurdsystems): Likewise.
13964 (gnuhurdsystems): Likewise..
13965 (gnulinuxsystems): Likewise.
13966 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13967 variants of the GNU system, not "GNU system".
13968 * manual/conf.texi: Likewise.
13969 * manual/errno.texi: Likewise. Update example of errno macro
13970 expansion.
13971 * manual/filesys.texi: Likewise.
13972 (getumask): Document as specific to GNU/Hurd.
13973 * manual/install.texi: Likewise. Reword some references to
13974 GNU/Linux.
13975 * manual/intro.texi: Likewise.
13976 * manual/io.texi: Likewise.
13977 (File Name Portability): Detail which constraints are inapplicable
13978 to all GNU systems and which are only inapplicable to GNU/Hurd.
13979 * manual/job.texi: Likewise.
13980 * manual/llio.texi: Likewise.
13981 (O_NOCTTY): Document as present on GNU/Linux.
13982 * manual/maint.texi: Likewise.
13983 * manual/memory.texi: Likewise.
13984 * manual/pattern.texi: Likewise.
13985 * manual/pipe.texi: Likewise.
13986 * manual/process.texi: Likewise.
13987 * manual/resource.texi: Likewise.
13988 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13989 child on GNU/Hurd.
13990 * manual/setjmp.texi: Likewise.
13991 * manual/signal.texi: Likewise.
13992 * manual/startup.texi: Likewise.
13993 * manual/stdio.texi: Likewise.
13994 * manual/terminal.texi: Likewise.
13995 (ONLCR): Document as POSIX.
13996 (OXTABS): Document availability on GNU/Linux as XTABS.
13997 (ONOEOT): Document availability separately from other bits.
13998 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13999 * manual/time.texi: Likewise.
14000 * manual/users.texi: Likewise.
14001 * INSTALL: Regenerated.
14002 * sysdeps/gnu/errlist.c: Regenerated.
14003
07037eeb
JM
14004 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14005 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14006 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14007 puts.
14008 * configure: Regenerated.
14009
d1d3431a
JM
140102012-03-07 Joseph Myers <joseph@codesourcery.com>
14011
af6a1e37
JM
14012 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14013 default includes instead of AC_HEADER_CHECK.
14014 * sysdeps/i386/configure: Regenerated.
14015
d1d3431a
JM
14016 [BZ #10716]
14017 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14018 * math/s_cacoshf.c (__cacoshf): Likewise.
14019 * math/s_cacoshl.c (__cacoshl): Likewise.
14020 * math/s_casinh.c (__casinh): Set signs of result from argument.
14021 * math/s_casinhf.c (__casinhf): Likewise.
14022 * math/s_casinhl.c (__casinhl): Likewise.
14023 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14024 (casinh_test): Add more tests.
14025 * sysdeps/i386/fpu/libm-test-ulps: Update.
14026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14027
482ff4da
UD
140282012-03-07 Ulrich Drepper <drepper@gmail.com>
14029
872fda05
UD
14030 * po/zh_TW.po: Update from translation team.
14031
a4300c7a
UD
14032 * login/Makefile (distribute): Remove variable.
14033 * catgets/Makefile: Likewise.
14034 * mach/Makefile: Likewise.
14035 * malloc/Makefile: Likewise.
14036 * misc/Makefile: Likewise.
14037 * iconv/Makefile: Likewise.
14038 * nscd/Makefile: Likewise.
14039 * hurd/Makefile: Likewise.
14040 * manual/Makefile: Likewise.
14041 * locale/Makefile: Likewise.
14042 * intl/Makefile: Likewise.
14043 * conform/Makefile: Likewise.
14044 * nss/Makefile: Likewise.
14045 * time/Makefile: Likewise.
14046 * soft-fp/Makefile: Likewise.
14047 * dirent/Makefile: Likewise.
14048 * gmon/Makefile: Likewise.
14049 * po/Makefile: Likewise.
14050 * rt/Makefile: Likewise.
14051 * socket/Makefile: Likewise.
14052 * math/Makefile: Likewise.
14053 * signal/Makefile: Likewise.
14054 * debug/Makefile: Likewise.
14055 * elf/Makefile: Likewise.
14056 * timezone/Makefile: Likewise.
14057 * stdlib/Makefile: Likewise.
14058 * iconvdata/Makefile: Likewise.
14059 * sunrpc/Makefile: Likewise.
14060 * io/Makefile: Likewise.
14061 * argp/Makefile: Likewise.
14062 * inet/Makefile: Likewise.
14063 * hesiod/Makefile: Likewise.
14064 * grp/Makefile: Likewise.
14065 * csu/Makefile: Likewise.
14066 * wctype/Makefile: Likewise.
14067 * crypt/Makefile: Likewise.
14068 * libio/Makefile: Likewise.
14069 * string/Makefile: Likewise.
14070 * nis/Makefile: Likewise.
14071 * resolv/Makefile: Likewise.
14072 * stdio-common/Makefile: Likewise.
14073 * wcsmbs/Makefile: Likewise.
14074 * dlfcn/Makefile: Likewise.
14075 * posix/Makefile: Likewise.
14076
3b7c4e74 14077 [BZ #6959]
482ff4da
UD
14078 * timezone/Makefile: Don't install timezone files, just the programs
14079 and scripts.
14080
f72ed77d
UD
140812012-03-06 Ulrich Drepper <drepper@gmail.com>
14082
a000466f
UD
14083 * nss/databases.def: Add missing gshadow entry.
14084
f72ed77d
UD
14085 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14086
a53b7a4e
MP
140872012-03-06 Marek Polacek <polacek@redhat.com>
14088
14089 [BZ #13726]
14090 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14091 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14092 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14093 * stdio-common/tst-long-dbl-fphex.c: New file.
14094
e9258400
DM
140952012-03-06 David S. Miller <davem@davemloft.net>
14096
14097 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14098 (set_obp_int): New function.
14099 (get_obp_int): New function.
14100 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14101 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14102 Avoid unused variable warnings on 'val' and use builtin_expect.
14103 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14104 __builtin_expect.
e9258400
DM
14105 (INLINE_CLONE_SYSCALL): Likewise.
14106
3bd2c723
DM
141072012-03-05 David S. Miller <davem@davemloft.net>
14108
14109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14110
bbb78d03
AS
141112012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14112
884c5db4
AS
14113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14114
bbb78d03
AS
14115 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14116 only for |x| >= 40.
14117 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14118
1c9f702a 141192012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14120
14121 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14122 Replace gettimeofday with __vdso_gettimeofday.
14123
7be16f82
RM
14124 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14125 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14126 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14127
14128 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14129 time with __vdso_time.
14130
ed58a00f
JM
141312012-03-05 Joseph Myers <joseph@codesourcery.com>
14132
14133 * manual/lang.texi (size_t): Note types to which size_t may be
14134 equivalent with the GNU C Library, but do not describe when
14135 differences between them are significant.
14136
30ee4ced
AJ
141372012-03-05 Andreas Jaeger <aj@suse.de>
14138
14139 * sysdeps/i386/fpu/libm-test-ulps: Update.
14140
b7cd39e8
JM
141412012-03-05 Joseph Myers <joseph@codesourcery.com>
14142
14143 [BZ #3976]
14144 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14145 (__ieee754_pow): Save and restore rounding mode and use
14146 round-to-nearest for main computations.
14147 * math/libm-test.inc (pow_test_tonearest): New function.
14148 (pow_test_towardzero): Likewise.
14149 (pow_test_downward): Likewise.
14150 (pow_test_upward): Likewise.
14151 (main): Call the new functions.
14152 * sysdeps/i386/fpu/libm-test-ulps: Update.
14153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14154
14155 [BZ #3976]
14156 * math/libm-test.inc (cosh_test_tonearest): New function.
14157 (cosh_test_towardzero): Likewise.
14158 (cosh_test_downward): Likewise.
14159 (cosh_test_upward): Likewise.
14160 (sinh_test_tonearest): Likewise.
14161 (sinh_test_towardzero): Likewise.
14162 (sinh_test_downward): Likewise.
14163 (sinh_test_upward): Likewise.
14164 (main): Call the new functions.
14165 * sysdeps/i386/fpu/libm-test-ulps: Update.
14166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14167
6c6a98c9
TV
141682012-03-05 Tom de Vries <tom@codesourcery.com>
14169
14170 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14171 default stack guard is set in last bytes.
14172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14173
21bb2d2e 141742012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14175
21bb2d2e 14176 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14177
21bb2d2e
AJ
14178 [BZ #13656]
14179 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14180 possibly allocate from heap instead of stack.
14181 * stdio-common/bug-vfprintf-nargs.c: New file.
14182 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14183
c6922934
AS
141842012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14185
14186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14187
bc957d53
MP
141882012-03-03 Marek Polacek <polacek@redhat.com>
14189
14190 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14191 * math/math_private.h: Likewise.
14192 * stdlib/tst-strtod.c: Likewise.
14193 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14194 * sysdeps/x86_64/bits/atomic.h: Likewise.
14195
6358490d
DM
141962012-03-02 David S. Miller <davem@davemloft.net>
14197
14198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14202 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14203 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14204 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14205 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14206
01ae168d
RM
142072012-03-02 Roland McGrath <roland@hack.frob.com>
14208
d9a17c07
RM
14209 [BZ #13792]
14210 * manual/examples/README: New file, says the example source files
14211 can be used under GPL>=2.
14212 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14213 line containing just "*/".
14214 * manual/examples/add.c: Add copyright header (GPL>=2).
14215 * manual/examples/argp-ex1.c: Likewise.
14216 * manual/examples/argp-ex2.c: Likewise.
14217 * manual/examples/argp-ex3.c: Likewise.
14218 * manual/examples/argp-ex4.c: Likewise.
14219 * manual/examples/atexit.c: Likewise.
14220 * manual/examples/db.c: Likewise.
14221 * manual/examples/dir.c: Likewise.
14222 * manual/examples/dir2.c: Likewise.
14223 * manual/examples/execinfo.c: Likewise.
14224 * manual/examples/filecli.c: Likewise.
14225 * manual/examples/filesrv.c: Likewise.
14226 * manual/examples/fmtmsgexpl.c: Likewise.
14227 * manual/examples/genpass.c: Likewise.
14228 * manual/examples/inetcli.c: Likewise.
14229 * manual/examples/inetsrv.c: Likewise.
14230 * manual/examples/isockad.c: Likewise.
14231 * manual/examples/longopt.c: Likewise.
14232 * manual/examples/memopen.c: Likewise.
14233 * manual/examples/memstrm.c: Likewise.
14234 * manual/examples/mkfsock.c: Likewise.
14235 * manual/examples/mkisock.c: Likewise.
14236 * manual/examples/mygetpass.c: Likewise.
14237 * manual/examples/pipe.c: Likewise.
14238 * manual/examples/popen.c: Likewise.
14239 * manual/examples/rprintf.c: Likewise.
14240 * manual/examples/search.c: Likewise.
14241 * manual/examples/select.c: Likewise.
14242 * manual/examples/setjmp.c: Likewise.
14243 * manual/examples/sigh1.c: Likewise.
14244 * manual/examples/sigusr.c: Likewise.
14245 * manual/examples/stpcpy.c: Likewise.
14246 * manual/examples/strdupa.c: Likewise.
14247 * manual/examples/strftim.c: Likewise.
14248 * manual/examples/strncat.c: Likewise.
14249 * manual/examples/subopt.c: Likewise.
14250 * manual/examples/swapcontext.c: Likewise.
14251 * manual/examples/termios.c: Likewise.
14252 * manual/examples/testopt.c: Likewise.
14253 * manual/examples/testpass.c: Likewise.
14254 * manual/examples/timeval_subtract.c: Likewise.
14255
01ae168d
RM
14256 [BZ #13792]
14257 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14258 function to ...
14259 * manual/timeval_subtract.c.texi: ... here, new file.
14260
49efa33d
DM
142612012-03-02 David S. Miller <davem@davemloft.net>
14262
14263 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14264
28afd92d
JM
142652012-03-02 Joseph Myers <joseph@codesourcery.com>
14266
804360ed
JM
14267 [BZ #3976]
14268 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14269 (__sin): Save and restore rounding mode and use round-to-nearest
14270 for all computations.
14271 (__cos): Save and restore rounding mode and use round-to-nearest
14272 for all computations.
14273 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14274 <fenv.h>.
14275 (tan): Save and restore rounding mode and use round-to-nearest for
14276 all computations.
14277 * math/libm-test.inc (cos_test_tonearest): New function.
14278 (cos_test_towardzero): Likewise.
14279 (cos_test_downward): Likewise.
14280 (cos_test_upward): Likewise.
14281 (sin_test_tonearest): Likewise.
14282 (sin_test_towardzero): Likewise.
14283 (sin_test_downward): Likewise.
14284 (sin_test_upward): Likewise.
14285 (tan_test_tonearest): Likewise.
14286 (tan_test_towardzero): Likewise.
14287 (tan_test_downward): Likewise.
14288 (tan_test_upward): Likewise.
14289 (main): Call the new functions.
14290 * sysdeps/i386/fpu/libm-test-ulps: Update.
14291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14292
a6d06d7b
JM
14293 [BZ #10135]
14294 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14295 small n, then large n, before computing and testing k+n.
14296 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14298 Likewise.
14299 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14300 Likewise.
14301 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14302 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14305 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14307 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14308 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14309 * math/libm-test.inc (scalbn_test): Add more tests.
14310 (scalbln_test): Likewise.
14311
07e12bb3
JM
14312 * manual/filesys.texi (mode_t): Describe constraints on size and
14313 signedness, not exact equivalence to a particular type.
14314 (ino_t): Likewise.
14315 (ino64_t): Likewise.
14316 (dev_t): Likewise.
14317 (nlink_t): Likewise.
14318 (blkcnt_t): Likewise.
14319 (blkcnt64_t): Likewise.
14320 * manual/llio.texi (off_t): Likewise.
14321
28afd92d
JM
14322 [BZ #3976]
14323 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14324 (__ieee754_exp): Save and restore rounding mode and use
14325 round-to-nearest for all computations.
14326 * math/libm-test.inc (exp_test_tonearest): New function.
14327 (exp_test_towardzero): Likewise.
14328 (exp_test_downward): Likewise.
14329 (exp_test_upward): Likewise.
14330 (main): Call the new functions.
14331 * sysdeps/i386/fpu/libm-test-ulps: Update.
14332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14333
b1eeb65d
CD
143342012-03-01 Chris Demetriou <cgd@google.com>
14335
14336 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14337 have predictable order.
14338
53362a4b
DM
143392012-03-01 David S. Miller <davem@davemloft.net>
14340
3c969083
DM
14341 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14342
759707de
DM
14343 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14344 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14345 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14346 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14347
dfdb8ff2
DM
14348 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14349 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14350 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14352 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14353 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14354 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14355 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14356 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14357
ead89f96
DM
14358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14359
7f66bd07
DM
14360 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14361 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14362 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14363
53362a4b
DM
14364 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14365 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14366 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14367 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14368 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14371 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14372 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14373 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14374 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14377 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14378 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14380 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14381 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14382 * sysdeps/sparc/elf/configure: Regenerated.
14383
7b1902cb
JM
143842012-03-01 Joseph Myers <joseph@codesourcery.com>
14385
bec039bc
JM
14386 * configure.in (AS, LD): Require binutils 2.20 or later.
14387 * configure: Regenerated.
14388 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14389 as required minimum version.
14390 * INSTALL: Regenerated.
14391
7b1902cb
JM
14392 [BZ #2541]
14393 [BZ #4108]
14394 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14395 before squaring exponent.
14396 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14397 bottom long double and 27 bits of top long double before squaring
14398 exponent.
14399 * math/libm-test.inc (erfc_test): Add more tests.
14400 * sysdeps/i386/fpu/libm-test-ulps: Update.
14401 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14403
f775c276
KT
144042012-03-01 Kai Tietz <ktietz@redhat.com>
14405
14406 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14407 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14408 containing bit-fields.
14409 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14410 * soft-fp/single.h (_FP_UNION_S): Likewise.
14411 * soft-fp/double.h (_FP_UNION_D): Likewise.
14412
5b8a4d4a
JM
144132012-02-29 Joseph Myers <joseph@codesourcery.com>
14414
0bab47b6
JM
14415 [BZ #13786]
14416 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14417 not include ../strcmp.S.
14418 [USE_AS_STRNCASECMP_L]: Likewise.
14419 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14420 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14421 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14422 (__strncasecmp_l_ia32): Define as alias to
14423 __strncasecmp_l_nonascii.
14424
0fcad3e2
JM
14425 [BZ #5794]
14426 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14427 * sysdeps/i386/fpu/libm-test-ulps: Update.
14428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14429
5b8a4d4a
JM
14430 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14432
8fdceb2e
JL
144332012-02-29 Jeff Law <law@redhat.com>
14434
14435 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14436 out of bounds read.
14437
1f393a11
MP
144382012-02-29 Marek Polacek <polacek@redhat.com>
14439
14440 [BZ #13706]
14441 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14442 * elf/Makefile: Add rules to run tst-unused-dep.out.
14443
8847f037
DM
144442012-02-28 David S. Miller <davem@davemloft.net>
14445
14446 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14447 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14450 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14451 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14452
169d7f11
JM
144532012-02-29 Joseph Myers <joseph@codesourcery.com>
14454
14455 * math/libm-test.inc (llround_test): Move one test from
14456 lround_test. Use TEST_f_L in moved test.
14457 (lround_test): Move misplaced test to llround_test. Add testcase
14458 from bug 2561.
14459
39adf059
UD
144602012-02-28 Ulrich Drepper <drepper@gmail.com>
14461
14462 * sysdeps/x86_64/fpu/e_expf.S: New file.
14463 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14464
71b5d1c5
SB
144652012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14466
14467 [BZ #13637]
14468 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14469 of remain_len that may cause incomplete multi-byte character and
14470 false match.
14471 * posix/bug-regex33.c: New file.
14472 * posix/Makefile (tests): Add bug-regex33.
14473
1f77f049
JM
144742012-02-28 Joseph Myers <joseph@codesourcery.com>
14475
14476 * manual/macros.texi: New file.
14477 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14478 * manual/libc.texinfo: Include macros.texi.
14479 * manual/creatute.texi: Likewise.
14480 * manual/install.texi: Likewise.
14481 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14482 @glibcadj{} in references to the GNU C Library.
14483 * manual/charset.texi: Likewise.
14484 * manual/conf.texi: Likewise.
14485 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14486 when not using those macros.
14487 * manual/creature.texi: Likewise.
14488 * manual/crypt.texi: Likewise.
14489 * manual/errno.texi: Likewise.
14490 * manual/filesys.texi: Likewise.
14491 * manual/header.texi: Likewise.
14492 * manual/install.texi: Likewise.
14493 * manual/intro.texi: Likewise.
14494 * manual/io.texi: Likewise.
14495 * manual/job.texi: Likewise.
14496 * manual/lang.texi: Likewise.
14497 * manual/libc.texiinfo: Likewise.
14498 * manual/llio.texi: Likewise.
14499 * manual/locale.texi: Likewise.
14500 * manual/maint.texi: Likewise.
14501 * manual/math.texi: Likewise.
14502 * manual/memory.texi: Likewise.
14503 * manual/message.texi: Likewise.
14504 * manual/nss.texi: Likewise.
14505 * manual/pattern.texi: Likewise.
14506 * manual/process.texi: Likewise.
14507 * manual/resource.texi: Likewise.
14508 * manual/search.texi: Likewise.
14509 * manual/setjmp.texi: Likewise.
14510 * manual/signal.texi: Likewise.
14511 * manual/socket.texi: Likewise.
14512 * manual/startup.texi: Likewise.
14513 * manual/stdio.texi: Likewise.
14514 * manual/string.texi: Likewise.
14515 * manual/sysinfo.texi: Likewise.
14516 * manual/syslog.texi: Likewise.
14517 * manual/terminal.texi: Likewise.
14518 * manual/time.texi: Likewise.
14519 * manual/users.texi: Likewise.
14520 * INSTALL: Regenerated.
14521 * NOTES: Regenerated.
d40c5d54 14522 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14523
450bf206
AS
145242012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14525
14526 * include/dirent.h: Include <dirstream.h> before
14527 <dirent/dirent.h>.
14528
741a235b
DM
145292012-02-28 David S. Miller <davem@davemloft.net>
14530
14531 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14532 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14533 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14534 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14535
d6b5aa58
DM
145362012-02-27 David S. Miller <davem@davemloft.net>
14537
1aff59a3
DM
14538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14540 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14541 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14542
d6b5aa58
DM
14543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14544 frame pointer instead of stack pointer relative arg slot.
14545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14546 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14547 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14548
433f48bf
CD
145492012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14550
14551 [BZ #3992]
14552 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14553
d674b76d
DM
145542012-02-27 David S. Miller <davem@davemloft.net>
14555
14556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14560 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14561 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14562 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14563 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14564
0e7727f7
JM
145652012-02-27 Joseph Myers <joseph@codesourcery.com>
14566
14567 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14568 later. Allow versions 5-9.
43be4ca2 14569 * configure: Regenerated.
0e7727f7
JM
14570 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14571 required minimum version and 4.6 as recommended version. Do not
14572 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14573 * INSTALL: Regenerated.
0e7727f7 14574
a78bc654
DM
145752012-02-27 David S. Miller <davem@davemloft.net>
14576
428d5830
DM
14577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14581 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14582 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14583 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14584 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14585
a78bc654
DM
14586 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14587 manipulate bits before adding and subtracting TWO112[sx].
14588 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14589
4579f81c
RM
145902012-02-27 Roland McGrath <roland@hack.frob.com>
14591
36c8acb4
RM
14592 [BZ #13775]
14593 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14594 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14595 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14596 being in POSIX, because they are in 1003.1-2008.
14597
84ad622b
RM
14598 * rt/tst-aio.c: Include <fcntl.h>.
14599 * rt/tst-aio7.c: Likewise.
14600 * rt/tst-aio64.c: Likewise.
14601
4579f81c
RM
14602 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14603
abd923db
JM
146042012-02-27 Joseph Myers <joseph@codesourcery.com>
14605
14606 * manual/install.texi (--with-headers): Describe headers as
14607 interface headers, not private headers.
14608 (Specific advice for GNU/Linux systems): Describe use of headers
14609 from "make headers_install", not private headers from older
14610 kernels.
43be4ca2 14611 * INSTALL: Regenerated.
abd923db
JM
14612 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14613 Change to 2.6.19.
14614 * sysdeps/unix/sysv/linux/configure: Regenerated.
14615
6664049b
JM
14616 * manual/llio.texi (fclean): Remove documentation.
14617
bb8b6697
JM
14618 * manual/Makefile (libc-texi-generated): New variable. Include
14619 version.texi.
14620 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14621 $(libc-texi-generated), not duplicated list of files.
14622 (version.texi, stamp-version): New rules.
14623 (realclean): Remove $(libc-texi-generated), not individual files
14624 from that list. Do not remove dir-add.texinfo.
14625 * manual/libc.texinfo: Comment out uses of edition numbers and
14626 references to printed manual. Remove last-updated dates.
14627 (EDITION): Comment out.
14628 (ISBN): Likewise.
14629 (VERSION, UPDATED): Remove.
14630 (version.texi): Include.
14631
12e5c3b9
AS
146322012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14633
14634 * sysdeps/posix/spawni.c: Include <signal.h>.
14635 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14636 * sysdeps/pthread/aio_fsync.c: Likewise.
14637
4efeffc1 146382012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14639
ba63ba08
UD
14640 * conform/Makefile (tests): Run only when not cross-compiling and
14641 when fast-check is not defined.
14642
d94a4670
UD
14643 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14644 * conform/data/limits.h-data: Fixes for POSIX2008.
14645 * conform/run-conformtest.sh: Run all tests.
14646 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14647 headers.
14648 * include/bits/dlfcn.h: Likewise.
14649 * include/langinfo.h: Likewise.
14650 * include/monetary.h: Likewise.
14651 * include/sys/poll.h: Likewise.
14652
14653 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14654 for __USE_GNU.
14655 * posix/spawn.h: Define __need_sigset_t.
14656 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14657 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14658 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14659 to get sigevent_t only.
14660 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14661 only for __USE_GNU.
14662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14663 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14664 process_vm_writev only for __USE_GNU.
14665 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14666
14667 * conform/Makefile: For now ignore errors from run-conformtest.
14668 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14669 POSIX to avoid namespace pollution. Don't prepend headers.
14670 * conform/data/aio.h-data: Fixes for POSIX testing.
14671 * conform/data/fcntl.h-data: Likewise.
14672 * conform/data/glob.h-data: Likewise.
14673 * conform/data/grp.h-data: Likewise.
14674 * conform/data/pthread.h-data: Likewise.
14675 * conform/data/pwd.h-data: Likewise.
14676 * conform/data/signal.h-data: Likewise.
14677 * conform/data/spawn.h-data: Likewise.
14678 * conform/data/stdio.h-data: Likewise.
14679 * conform/data/stdlib.h-data: Likewise.
14680 * conform/data/stropts.h-data: Likewise.
14681 * conform/data/sys/mman.h-data: Likewise.
14682 * conform/data/sys/stat.h-data: Likewise.
14683 * conform/data/sys/types.h-data: Likewise.
14684 * conform/data/sys/wait.h-data: Likewise.
14685 * conform/data/time.h-data: Likewise.
14686 * conform/data/unistd.h-data: Likewise.
14687 * conform/data/utime.h-data: Likewise.
14688
14689 * io/sys/stat.h: fchmod was always in POSIX.
14690 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14691 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14692 * rt/aio.h: Define __need_timespec before including <time.h>.
14693 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14694 struct. Add forward declaration of pthread_attr_t and use it in
14695 sigevent.
14696 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14697 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14698 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14699 always remove CLK_TCK definition.
14700
c20105c3
AS
147012012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14702
14703 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14704
7a270350
UD
147052012-02-25 Ulrich Drepper <drepper@gmail.com>
14706
31341567
UD
14707 * conform/run-conformtest.sh: New file.
14708 * conform/Makefile: Run run-conformtest for tests.
14709 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14710 support.
14711
14712 * conform/data/uchar.h-data: New file.
14713 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14714 * conform/data/arpa/inet.h-data: Likewise.
14715 * conform/data/assert.h-data: Likewise.
14716 * conform/data/complex.h-data: Likewise.
14717 * conform/data/cpio.h-data: Likewise.
14718 * conform/data/ctype.h-data: Likewise.
14719 * conform/data/dirent.h-data: Likewise.
14720 * conform/data/dlfcn.h-data: Likewise.
14721 * conform/data/errno.h-data: Likewise.
14722 * conform/data/fcntl.h-data: Likewise.
14723 * conform/data/float.h-data: Likewise.
14724 * conform/data/fmtmsg.h-data: Likewise.
14725 * conform/data/fnmatch.h-data: Likewise.
14726 * conform/data/ftw.h-data: Likewise.
14727 * conform/data/glob.h-data: Likewise.
14728 * conform/data/grp.h-data: Likewise.
14729 * conform/data/iconv.h-data: Likewise.
14730 * conform/data/inttypes.h-data: Likewise.
14731 * conform/data/langinfo.h-data: Likewise.
14732 * conform/data/libgen.h-data: Likewise.
14733 * conform/data/limits.h-data: Likewise.
14734 * conform/data/locale.h-data: Likewise.
14735 * conform/data/math.h-data: Likewise.
14736 * conform/data/monetary.h-data: Likewise.
14737 * conform/data/mqueue.h-data: Likewise.
14738 * conform/data/ndbm.h-data: Likewise.
14739 * conform/data/net/if.h-data: Likewise.
14740 * conform/data/netdb.h-data: Likewise.
14741 * conform/data/netinet/in.h-data: Likewise.
14742 * conform/data/nl_types.h-data: Likewise.
14743 * conform/data/poll.h-data: Likewise.
14744 * conform/data/pthread.h-data: Likewise.
14745 * conform/data/pwd.h-data: Likewise.
14746 * conform/data/regex.h-data: Likewise.
14747 * conform/data/sched.h-data: Likewise.
14748 * conform/data/search.h-data: Likewise.
14749 * conform/data/semaphore.h-data: Likewise.
14750 * conform/data/setjmp.h-data: Likewise.
14751 * conform/data/signal.h-data: Likewise.
14752 * conform/data/spawn.h-data: Likewise.
14753 * conform/data/stdarg.h-data: Likewise.
14754 * conform/data/stdio.h-data: Likewise.
14755 * conform/data/stdlib.h-data: Likewise.
14756 * conform/data/string.h-data: Likewise.
14757 * conform/data/strings.h-data: Likewise.
14758 * conform/data/stropts.h-data: Likewise.
14759 * conform/data/sys/ipc.h-data: Likewise.
14760 * conform/data/sys/mman.h-data: Likewise.
14761 * conform/data/sys/msg.h-data: Likewise.
14762 * conform/data/sys/resource.h-data: Likewise.
14763 * conform/data/sys/select.h-data: Likewise.
14764 * conform/data/sys/sem.h-data: Likewise.
14765 * conform/data/sys/shm.h-data: Likewise.
14766 * conform/data/sys/socket.h-data: Likewise.
14767 * conform/data/sys/stat.h-data: Likewise.
14768 * conform/data/sys/statvfs.h-data: Likewise.
14769 * conform/data/sys/time.h-data: Likewise.
14770 * conform/data/sys/timeb.h-data: Likewise.
14771 * conform/data/sys/times.h-data: Likewise.
14772 * conform/data/sys/types.h-data: Likewise.
14773 * conform/data/sys/uio.h-data: Likewise.
14774 * conform/data/sys/un.h-data: Likewise.
14775 * conform/data/sys/utsname.h-data: Likewise.
14776 * conform/data/sys/wait.h-data: Likewise.
14777 * conform/data/syslog.h-data: Likewise.
14778 * conform/data/tar.h-data: Likewise.
14779 * conform/data/termios.h-data: Likewise.
14780 * conform/data/utime.h-data: Likewise.
14781 * conform/data/utmpx.h-data: Likewise.
14782 * conform/data/varargs.h-data: Likewise.
14783 * conform/data/wchar.h-data: Likewise.
14784 * conform/data/wctype.h-data: Likewise.
14785 * conform/data/wordexp.h-data: Likewise.
14786
14787 * include/stropts.h: New file.
14788 * include/uchar.h: New file.
14789 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14790 * include/assert.h: Likewise.
14791 * include/ctype.h: Likewise.
14792 * include/dirent.h: Likewise.
14793 * include/dlfcn.h: Likewise.
14794 * include/fcntl.h: Likewise.
14795 * include/fnmatch.h: Likewise.
14796 * include/glob.h: Likewise.
14797 * include/grp.h: Likewise.
14798 * include/libio.h: Likewise.
14799 * include/locale.h: Likewise.
14800 * include/math.h: Likewise.
14801 * include/net/if.h: Likewise.
14802 * include/netdb.h: Likewise.
14803 * include/netinet/in.h: Likewise.
14804 * include/pthread.h: Likewise.
14805 * include/pwd.h: Likewise.
14806 * include/regex.h: Likewise.
14807 * include/sched.h: Likewise.
14808 * include/search.h: Likewise.
14809 * include/setjmp.h: Likewise.
14810 * include/signal.h: Likewise.
14811 * include/stdio.h: Likewise.
14812 * include/stdlib.h: Likewise.
14813 * include/string.h: Likewise.
14814 * include/sys/cdefs.h: Likewise.
14815 * include/sys/mman.h: Likewise.
14816 * include/sys/msg.h: Likewise.
14817 * include/sys/resource.h: Likewise.
14818 * include/sys/select.h: Likewise.
14819 * include/sys/socket.h: Likewise.
14820 * include/sys/stat.h: Likewise.
14821 * include/sys/statvfs.h: Likewise.
14822 * include/sys/time.h: Likewise.
14823 * include/sys/times.h: Likewise.
14824 * include/sys/uio.h: Likewise.
14825 * include/sys/utsname.h: Likewise.
14826 * include/sys/wait.h: Likewise.
14827 * include/termios.h: Likewise.
14828 * include/time.h: Likewise.
14829 * include/ulimit.h: Likewise.
14830 * include/unistd.h: Likewise.
14831 * include/utime.h: Likewise.
14832 * include/wchar.h: Likewise.
14833 * include/wctype.h: Likewise.
14834 * include/wordexp.h: Likewise.
14835
14836 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14837
7a270350
UD
14838 * time/time.h: TIME_UTC must be a macro.
14839 Make timespec_get available for ISO C11 only as well.
14840
7724defc
UD
148412012-02-24 Ulrich Drepper <drepper@gmail.com>
14842
14843 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14844 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14845
6b1d1d46
JM
148462012-02-24 Joseph Myers <joseph@codesourcery.com>
14847
14848 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14849
0f8bbd69
JM
148502012-02-24 Joseph Myers <joseph@codesourcery.com>
14851
14852 * manual/texinfo.tex: Update to version 2012-01-19.16.
14853
66ab80bc
JM
148542012-02-24 Joseph Myers <joseph@codesourcery.com>
14855
14856 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14857
74981cc5
RM
148582012-02-24 Roland McGrath <roland@hack.frob.com>
14859
ee968201
RM
14860 [BZ #13738]
14861 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14862 * manual/fdl-1.3.texi: New file.
14863 * manual/fdl-1.1.texi: File removed.
14864
74981cc5
RM
14865 [BZ #13738]
14866 * manual/libc.texinfo (FDL_VERSION): New @set.
14867 Use it for mention of FDL in cover text.
14868 (Documentation License): Use it in @include file name.
14869
7bb764bc
JM
148702012-02-22 Joseph Myers <joseph@codesourcery.com>
14871 Roland McGrath <roland@hack.frob.com>
14872
14873 [BZ #5461]
14874 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14875 not LONG_LONG_MAX and LONG_LONG_MIN.
14876 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14877 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14878 name.
14879 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14880
6cbeae47
JM
148812012-02-22 Joseph Myers <joseph@codesourcery.com>
14882
14883 [BZ #2547]
14884 [BZ #11365]
14885 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14886 manipulate bits before adding and subtracting TWO23[sx].
14887 * math/libm-test.inc (nearbyint_test): Add more tests.
14888
fe45ce09
JM
148892012-02-22 Joseph Myers <joseph@codesourcery.com>
14890
14891 [BZ #2548]
14892 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14893 bits before adding and subtracting TWO23[sx].
14894 * math/libm-test.inc (rint_test): Add more tests.
14895 (rint_test_tonearest): Likewise.
14896 (rint_test_towardzero): Likewise.
14897 (rint_test_downward): Likewise.
14898 (rint_test_upward: Likewise.
14899
ff3b3d82
JM
149002012-02-22 Joseph Myers <joseph@codesourcery.com>
14901
14902 [BZ #10110]
14903 * include/stdc-predef.h: New file. Extracted from features.h.
14904 * include/features.h: Include stdc-predef.h.
14905 * Makefile (headers): Add stdc-predef.h.
14906 * CONFORMANCE (Compiler limitations): Update.
14907
ef0aab35
JM
149082012-02-22 Joseph Myers <joseph@codesourcery.com>
14909
14910 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14911
58639409
DM
149122012-02-21 David S. Miller <davem@davemloft.net>
14913
14914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14915 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14916
c0e70b25
DM
149172012-02-20 David S. Miller <davem@davemloft.net>
14918
14919 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14920 using a normal save/restore sequence, rather than allocating a
14921 dummy stack frame just to store a frame pointer and restore.
14922 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14923
fb06851d
JM
149242012-02-21 Joseph Myers <joseph@codesourcery.com>
14925
14926 * manual/install.texi: Fix stray word in line-wrapped comment.
14927
7a8b71c3
DM
149282012-02-20 David S. Miller <davem@davemloft.net>
14929
d510c123
DM
14930 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14931 both binutils and gcc support GOTDATA.
14932
0722d7c2
DM
14933 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14934 "rd %pc" in the PIC register setup sequences.
14935
3d2b3019
DM
14936 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14937 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14938 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14939 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14940 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14942 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14943 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14945 (SYSCALL_ERROR_HANDLER): Likewise.
14946 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14947 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14949 (SYSCALL_ERROR_HANDLER): Likewise.
14950
c80098a9
DM
14951 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14952 (HAVE_GCC_GOTDATA): New.
14953 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14954 relocation support in both binutils and gcc.
14955 * sysdeps/sparc/elf/configure: Regenerate.
14956
3a2545a0
DM
14957 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14958 * sysdeps/sparc/sparc32/elf/configure: Delete.
14959 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14960 * sysdeps/sparc/sparc64/elf/configure: Delete.
14961 * sysdeps/sparc/elf/configure.in: New file.
14962 * sysdeps/sparc/elf/configure: Generate.
14963
7a8b71c3
DM
14964 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14965 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14966 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14967 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14968 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14969
f1e86fca
JM
149702012-02-21 Joseph Myers <joseph@codesourcery.com>
14971
14972 * manual/install.texi: Do not mention specific glibc version
14973 numbers.
14974 * manual/libc.texinfo (VERSION, UPDATED): Update.
14975 (@copying): Use @copyright{} and range of years.
14976
0e7dfaef
JM
149772012-02-21 Joseph Myers <joseph@codesourcery.com>
14978
14979 [BZ #13695]
14980 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14981 [crti.S not in sysdirs] (generated): Do not append.
14982 [crti.S not in sysdirs] (omit-deps): Likewise.
14983 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14984 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14985 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14986 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14987 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14988 Likewise.
14989 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14990 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14991 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14992 * csu/defs.awk: Remove file.
14993 * sysdeps/generic/initfini.c: Likewise.
14994 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14995 variable.
14996 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14997 Likewise.
14998
599af3ca
JM
149992012-02-20 Joseph Myers <joseph@codesourcery.com>
15000
15001 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15002 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15003 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15004 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15005 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15006 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15007 <bits/epoll.h>.
15008 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15009 (__EPOLL_PACKED): Define to empty if not defined by
15010 <bits/epoll.h>.
15011 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15013 bits/epoll.h.
15014
0e499750
JM
150152012-02-20 Joseph Myers <joseph@codesourcery.com>
15016
15017 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15018 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15019 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15020 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15021 <bits/timerfd.h>.
15022 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15024 bits/timerfd.h.
15025
5ad91f6e
JM
150262012-02-20 Joseph Myers <joseph@codesourcery.com>
15027
15028 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15029 in C locale.
15030 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15031 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15032 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15034
06b99b02
AJ
150352012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15036
15037 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15038 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15039
7638c0fd
AS
150402012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15041
15042 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15043 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15044 defined.
15045 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15046 Likewise.
15047 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15048 entry for 2.16.
15049
92221550
AJ
150502012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15051
15052 * math/w_acos.c: Use non-signaling floating-point comparisons.
15053 * math/w_acosf.c: Likewise.
15054 * math/w_acosh.c: Likewise.
15055 * math/w_acoshf.c: Likewise.
15056 * math/w_acoshl.c: Likewise.
15057 * math/w_acosl.c: Likewise.
15058 * math/w_asin.c: Likewise.
15059 * math/w_asinf.c: Likewise.
15060 * math/w_asinl.c: Likewise.
15061 * math/w_atanh.c: Likewise.
15062 * math/w_atanhf.c: Likewise.
15063 * math/w_atanhl.c: Likewise.
15064 * math/w_exp2.c: Likewise.
15065 * math/w_exp2f.c: Likewise.
15066 * math/w_exp2l.c: Likewise.
15067 * math/w_j0.c: Likewise.
15068 * math/w_j0f.c: Likewise.
15069 * math/w_j0l.c: Likewise.
15070 * math/w_j1.c: Likewise.
15071 * math/w_j1f.c: Likewise.
15072 * math/w_j1l.c: Likewise.
15073 * math/w_jn.c: Likewise.
15074 * math/w_jnf.c: Likewise.
15075 * math/w_log.c: Likewise.
15076 * math/w_log10.c: Likewise.
15077 * math/w_log10f.c: Likewise.
15078 * math/w_log10l.c: Likewise.
15079 * math/w_log2.c: Likewise.
15080 * math/w_log2f.c: Likewise.
15081 * math/w_log2l.c: Likewise.
15082 * math/w_logf.c: Likewise.
15083 * math/w_logl.c: Likewise.
15084 * math/w_sqrt.c: Likewise.
15085 * math/w_sqrtf.c: Likewise.
15086 * math/w_sqrtl.c: Likewise.
15087 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15088 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15090 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15091 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15092
ebaf36eb
JM
150932012-02-19 Joseph Myers <joseph@codesourcery.com>
15094
15095 [BZ #9739]
15096 * manual/string.texi (strnlen): Use correct parameter name in
15097 equivalent expression.
15098
71c254a6
JM
150992012-02-19 Joseph Myers <joseph@codesourcery.com>
15100
15101 [BZ #11174]
15102 * manual/users.texi (seteuid): Consistently use neweuid for
15103 argument name.
15104
16d2c631
JM
151052012-02-19 Joseph Myers <joseph@codesourcery.com>
15106
15107 [BZ #13704]
15108 * manual/nss.texi (Services in the NSS configuration): Correct
15109 list of services in example configuration file.
15110
cd837b09
NB
151112012-02-19 Nick Bowler <nbowler@draconx.ca>
15112
15113 [BZ #11322]
15114 * manual/arith.texi: Remove statements about negative zero
15115 behaving identically to zero.
15116
02c4bbad
JM
151172012-02-18 Joseph Myers <joseph@codesourcery.com>
15118
15119 [BZ #5993]
15120 * manual/install.texi: Do not document upgrading from libc5.
15121
366842e7
JM
151222012-02-18 Joseph Myers <joseph@codesourcery.com>
15123
15124 [BZ #4596]
15125 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15126
dd54084d
DM
151272012-02-18 David S. Miller <davem@davemloft.net>
15128
15129 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15130 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15131 %o7 across the call.
15132 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15133 instead.
15134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15135 SETUP_PIC_REG_LEAF.
15136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15137 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15138 * sysdeps/sparc/crtn.S: Likewise.
15139
2bcc53a3
UD
151402012-02-17 Ulrich Drepper <drepper@gmail.com>
15141
15142 * aout/Makefile: Remove.
15143
09c093b5
RK
151442012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15145
15146 [BZ #13058]
15147 * manual/examples/argp-ex1.c (main): Format definition in GNU
15148 style.
15149 * manual/examples/argp-ex2.c (main): Likewise.
15150 * manual/examples/argp-ex3.c (main): Likewise.
15151 * manual/examples/argp-ex4.c (main): Likewise.
15152 * manual/examples/longopt.c (main): Use new-style prototype
15153 definition.
15154 * manual/examples/strncat.c (main): Specify return type and use
15155 (void) for arguments.
15156 * manual/examples/subopt.c (main): Use char **argv argument.
15157
2ee633a2
JM
151582012-02-17 Joseph Myers <joseph@codesourcery.com>
15159
15160 [BZ #5077]
15161 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15162 rounding modes.
15163
0520adde
FB
151642012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15165
15166 [BZ #6907]
15167 * manual/string.texi (strchr): Change when strchrnul is
15168 recommended.
15169
3f4081cd
DGM
151702012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15171
15172 [BZ #174]
15173 * manual/locale.texi (setlocale): Document LOCPATH.
15174
d1b10e78
JM
151752012-02-17 Joseph Myers <joseph@codesourcery.com>
15176
15177 [BZ #10210]
15178 * manual/process.texi (execle): Move @dots{} before last argument.
15179
79c6869c
PB
151802012-02-17 Paul Bolle <pebolle@tiscali.nl>
15181
15182 [BZ #12047]
15183 * manual/charset.texi (Generic Charset Conversion): Fix typo
15184 (LC_TYPE -> LC_CTYPE).
15185
cc6e48bc
NB
151862012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15187
15188 [BZ #5805]
15189 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15190 (scalbnf): Likewise.
15191 (scalbnl): Likewise.
15192 (scalbln): Likewise.
15193 (scalblnf): Likewise.
15194 (scalblnl): Likewise.
15195 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15196 (vwarnx): Likewise.
15197 (verr): Likewise.
15198 (verrx): Likewise.
15199 * manual/filesys.texi (telldir): Use braces around return type.
15200 * manual/llio.texi (mmap): Add space after comma.
15201 (mmap64): Likewise.
15202 * manual/math.texi (jn): Use @var{} on parameter names.
15203 (jnf): Likewise.
15204 (jnl): Likewise.
15205 (yn): Likewise.
15206 (ynf): Likewise.
15207 (ynl): Likewise.
15208 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15209 line.
15210 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15211 "...".
15212 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15213 (sched_get_priority_max): Likewise.
15214 * manual/signal.texi (sigvec): Add space after comma.
15215 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15216 names.
15217 (if_indextoname): Likewise.
15218 (if_freenameindex): Likewise.
15219 (sendto): Use ',' instead of '.' in prototype.
15220 * manual/startup.texi (syscall): Use @dots{} instead of literal
15221 "...".
15222 * manual/stdio.texi (__fpending): Separate initial words of
15223 paragraph from @deftypefun line.
15224 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15225 "...".
15226 (vsyslog): Use @var{} on parameter names.
15227 * manual/terminal.texi (stty): Use @var{} on parameter names.
15228 * manual/users.texi (getutmp): Use @var{} on parameter names.
15229 (getutmpx): Likewise.
15230
5b23062f
JM
152312012-02-17 Joseph Myers <joseph@codesourcery.com>
15232
15233 [BZ #6884]
15234 * manual/stdio.texi (fopen): Fix typos in description of
15235 ",ccs=STRING".
15236
8dee4833
AJ
152372012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15238
15239 [BZ #4026]
15240 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15241 get clock_id definition.
15242
9078ce93
TS
152432012-02-17 Thomas Schwinge <thomas@schwinge.name>
15244
15245 [BZ #4822]
15246 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15247 (madvise): Cast every argument to void on its own.
15248
3835c55f
JM
152492012-02-17 Joseph Myers <joseph@codesourcery.com>
15250
15251 [BZ #9902]
15252 * manual/startup.texi (Exit Status): Fix typo.
15253
35c47e37
JM
152542012-02-17 Joseph Myers <joseph@codesourcery.com>
15255
15256 [BZ #10140]
15257 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15258 * manual/examples/argp-ex2.c: Likewise.
15259 * manual/examples/argp-ex3.c: Likewise.
15260
e3b69ca7
RH
152612012-02-16 Richard Henderson <rth@redhat.com>
15262
15263 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15264 * sysdeps/s390/s390-32/initfini.c: Remove.
15265 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15266 * sysdeps/s390/s390-64/initfini.c: Remove.
15267
df83af67
KK
152682012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15269
15270 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15271 compiler output for sysdeps/generic/initfini.c.
15272 * sysdeps/sh/elf/initfini.c: Remove file.
15273
f63f3380
DM
152742012-02-16 David S. Miller <davem@davemloft.net>
15275
fb59b3a4
DM
15276 [BZ #11494]
15277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15278
f63f3380
DM
15279 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15280 * sysdeps/sparc/crti.S: New file.
15281 * sysdeps/sparc/crtn.S: New file.
15282 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15283 * sysdeps/sparc/sparc64/Makefile: Likewise.
15284
df6a4a4a
MF
152852012-02-15 Mike Frysinger <vapier@gentoo.org>
15286
6dd8f3dc 15287 [BZ #3335]
df6a4a4a
MF
15288 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15289
1cac7236
RM
152902012-02-15 Roland McGrath <roland@hack.frob.com>
15291
d2c736f8
RM
15292 [BZ #4822]
15293 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15294
1cac7236
RM
15295 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15296 (write, read, close): Likewise.
15297 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15298
8e475601
JM
152992012-02-15 Joseph Myers <joseph@codesourcery.com>
15300
15301 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15302 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15303 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15304 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15305 <bits/signalfd.h>.
15306 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15308 bits/signalfd.h.
15309
ed656b40
MP
153102012-02-14 Marek Polacek <polacek@redhat.com>
15311
15312 * sysdeps/x86_64/crti.S: New file.
15313 * sysdeps/x86_64/crtn.S: New file.
15314 * sysdeps/x86_64/elf/initfini.c: Remove file.
15315
2a979d3a
JM
153162012-02-13 Joseph Myers <joseph@codesourcery.com>
15317
15318 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15319 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15320 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15321 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15322 <bits/inotify.h>.
15323 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15325 bits/inotify.h.
15326
2a418ac3
JM
153272012-02-13 Joseph Myers <joseph@codesourcery.com>
15328
15329 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15330 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15331 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15332 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15333 <bits/eventfd.h>.
15334 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15336 bits/eventfd.h.
15337
fb779be7
TS
153382012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15339
e19e83c5
RM
15340 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15341 __feraiseexcept instead of feraiseexcept.
7c35ffed 15342
fb779be7
TS
15343 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15344 nanosleep invocations.
15345 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15346 strings, and add error checking for a nanosleep invocations.
15347
59ba27a6
PE
153482012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15349
15350 Replace FSF snail mail address with URLs, as per GNU coding standards.
15351 Most of the snail mail addresses were wrong anyway, and omitting
15352 them makes the source code easier to maintain. Almost all of the
15353 changes are to license notices and to locale LC_IDENTIFICATION
15354 addresses, except for this one:
15355 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15356 not its snail mail address.
15357
57b957eb
RH
153582012-02-09 Richard Henderson <rth@twiddle.net>
15359
af850b1c
RH
15360 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15361 of kernel-features.h.
15362
57b957eb
RH
15363 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15364
6b73181a
MP
153652012-02-08 Marek Polacek <polacek@redhat.com>
15366
15367 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15368 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15369 * sysdeps/gnu/_G_config.h: Likewise.
15370 * sysdeps/generic/_G_config.h: Likewise.
15371
26ecc33a
AS
153722012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15373
6c6dbc63
AS
15374 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15375 tests.
15376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15377
e216c012
AS
15378 * sysdeps/powerpc/powerpc32/crti.S: New file.
15379 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15380 * sysdeps/powerpc/powerpc64/crti.S: New file.
15381 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15382
26ecc33a
AS
15383 * Makeconfig (have-initfini): Don't set.
15384 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15385 * configure.in (nopic_initfini): Don't substitute.
15386 * config.h.in (HAVE_INITFINI): Don't #undef.
15387 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15388 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15389
3add8e13
JM
153902012-02-08 Joseph Myers <joseph@codesourcery.com>
15391
15392 Support crti.S and crtn.S provided directly by architectures.
15393 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15394 [crti.S in sysdirs] (omit-deps): Likewise.
15395 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15396 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15397 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15398 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15399 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15400 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15401 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15402 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15403 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15404 compiler output for sysdeps/generic/initfini.c.
15405 * sysdeps/i386/elf/Makefile: Remove file.
15406 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15407
a22f12b4
MP
154082012-02-07 Marek Polacek <polacek@redhat.com>
15409
15410 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15411 * sysdeps/gnu/_G_config.h: Likewise.
15412 * sysdeps/mach/hurd/_G_config.h: Likewise.
15413
148cf100
MP
154142012-02-07 Marek Polacek <polacek@redhat.com>
15415
15416 * math/Makefile (tests): Add tst-CMPLX2.
15417 * math/tst-CMPLX2.c: New file.
15418
cfdc0dd7
AS
154192012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15420
84ba42c4
AS
15421 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15422
cfdc0dd7
AS
15423 * math/libm-test.inc (jn_test): Add missing L suffix.
15424
622c86f4
MP
154252012-02-06 Marek Polacek <polacek@redhat.com>
15426
15427 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15428 * sysdeps/i386/fpu/e_powf.S: Likewise.
15429 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15430 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15431 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15432 * sysdeps/i386/fpu/e_pow.S: Likewise.
15433 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15434 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15435 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15436 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15437 * sysdeps/i386/fpu/e_log2.S: Likewise.
15438 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15439 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15440 * sysdeps/i386/fpu/e_powl.S: Likewise.
15441 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15442 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15443 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15444 * sysdeps/i386/fpu/e_logl.S: Likewise.
15445 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15446 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15447 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15448 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15449 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15450 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15451 * sysdeps/i386/fpu/e_log.S: Likewise.
15452 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15453 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15454 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15455 * sysdeps/i386/fpu/e_logf.S: Likewise.
15456 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15457 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15458 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15459 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15460 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15461 * sysdeps/i386/fpu/e_log10.S: Likewise.
15462 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15463 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15464 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15465 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15466 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15467 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15468 * sysdeps/i386/asm-syntax.h: Likewise.
15469 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15470 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15471 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15472 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15473 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15474 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15475 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15476 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15477 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15478 * sysdeps/powerpc/sysdep.h: Likewise.
15479 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15480 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15481
d4a54ac6
JM
154822012-02-06 Joseph Myers <joseph@codesourcery.com>
15483
15484 [BZ #411]
15485 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15486
314054ea
JM
154872012-02-06 Joseph Myers <joseph@codesourcery.com>
15488
15489 * sysdeps/i386/sysdep.h: Include <features.h>.
15490 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15491 version.
15492
d8e0ca50
JM
154932012-02-05 Joseph Myers <joseph@codesourcery.com>
15494
15495 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15496 Define.
15497 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15498 LOAD_PIC_REG_STR.
15499
b1da7dd9
JM
155002012-02-03 Joseph Myers <joseph@codesourcery.com>
15501
15502 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15503 (SETUP_PIC_REG): Use GET_PC_THUNK.
15504 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15505 macro.
15506
9a1d9254
JM
155072012-02-03 Joseph Myers <joseph@codesourcery.com>
15508
15509 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15510 for non-PIC compilation.
15511 (SETUP_PIC_REG): Add .p2align directive.
15512 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15513 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15514 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15515 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15517 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15518 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15519 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15520 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15521 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15522 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15523 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15524 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15525 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15526 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15527 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15528 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15529 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15530 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15531 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15532 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15533 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15534 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15535 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15536 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15538 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15540 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15541 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15542 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15544 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15545 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15546 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15547 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15548 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15549 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15550 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15551 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15552 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15553
65dc3b75
JM
155542012-02-03 Joseph Myers <joseph@codesourcery.com>
15555
15556 * math/tst-CMPLX.c: Include <stdio.h>.
15557
d55bf177
JM
155582012-01-31 Joseph Myers <joseph@codesourcery.com>
15559
15560 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15561 float.
15562 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15563 * sysdeps/sparc/bits/mathdef.h: Likewise.
15564
69db4f8f
MP
155652012-01-31 Marek Polacek <polacek@redhat.com>
15566
15567 * libio/libio.h: Don't define _PARAMS.
15568 * locale/programs/config.h: Don't define PARAMS.
15569 * stdlib/strtol_l.c: Likewise.
15570 (__strtol_l): Remove PARAMS from the prototype.
15571
41b81892
UD
155722012-01-31 Ulrich Drepper <drepper@gmail.com>
15573
3b49edc0
UD
15574 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15575 names. Just use the correct names. Remove unnecessary wrapper
15576 functions.
15577 * malloc/arena.c: Likewise.
15578 * malloc/hooks.c: Likewise.
15579
41b81892
UD
15580 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15581 ARENA_TEST says not to. Simplify test for creation of a new arena.
15582 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15583
27a25b6e
UD
155842012-01-30 Ulrich Drepper <drepper@gmail.com>
15585
15586 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15587 into tail calls.
15588 (update_get_addr): New function.
15589 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15590 GET_ADDR_MODULE parameter.
15591
c8a89e7d
JM
155922012-01-30 Joseph Myers <joseph@codesourcery.com>
15593
15594 * crypt/cert.c: Remove __STDC__ conditionals.
15595 * crypt/crypt-entry.c: Likewise.
15596 * crypt/crypt_util.c: Likewise.
15597 * libio/filedoalloc.c: Likewise.
15598 * libio/fileops.c: Likewise.
15599 * libio/genops.c: Likewise.
15600 * libio/iofclose.c: Likewise.
15601 * libio/iofdopen.c: Likewise.
15602 * libio/iofopen.c: Likewise.
15603 * libio/iofopen64.c: Likewise.
15604 * libio/iogetdelim.c: Likewise.
15605 * libio/iopopen.c: Likewise.
15606 * libio/obprintf.c: Likewise.
15607 * libio/oldfileops.c: Likewise.
15608 * libio/oldiofclose.c: Likewise.
15609 * libio/oldiofdopen.c: Likewise.
15610 * libio/oldiofopen.c: Likewise.
15611 * libio/oldiopopen.c: Likewise.
15612 * libio/wfiledoalloc.c: Likewise.
15613 * libio/wgenops.c: Likewise.
15614 * locale/programs/xmalloc.c: Likewise.
15615 * misc/syslog.c: Likewise.
15616 * stdio-common/xbug.c: Likewise.
15617 * string/memchr.c: Likewise.
15618 * string/memcmp.c: Likewise.
15619 * string/memrchr.c: Likewise.
15620 * string/rawmemchr.c: Likewise.
15621 * sysdeps/posix/getcwd.c: Likewise.
15622 * time/strftime_l.c: Likewise.
15623
3b100462
JM
156242012-01-30 Joseph Myers <joseph@codesourcery.com>
15625
15626 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15627 * config.make.in (config-cflags-sse2avx): Define.
15628 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15629 Fix typo.
15630
607998af
CM
156312012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15632
15633 * scripts/config.guess: Update from upstream config git repository.
15634 * scripts/config.sub: Likewise.
15635
3601428f
CM
156362012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15637
3ac8b282
CM
15638 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15639 (EM_NUM): Update.
15640 (R_TILEPRO_*, R_TILEGX_*): New macros.
15641
e034841e
CM
15642 * scripts/firstversions.awk: Fix bug in version range handling.
15643
540d7568
CM
15644 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15645
3601428f
CM
15646 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15647
463de862
CM
15648 * include/sys/epoll.h: New file.
15649 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15650 libc_hidden_def.
15651
73139a76
UD
156522012-01-28 Ulrich Drepper <drepper@gmail.com>
15653
96bc5b45
UD
15654 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15655 Avoid unnecessary __WORDSIZE == 64 test.
15656 (fmaxf): Use VEX format if possible.
15657 (fmax): Likewise.
15658 (fminf): Likewise.
15659 (fmin): Likewise.
15660
56f6f6a2
UD
15661 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15662 * math/math_private.h: Remove libc_fegetround* and
15663 libc_fesetround*.
15664 * sysdeps/i386/configure.in: Check for -msse2avx.
15665 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15666 also if SSE2AVX is defined.
15667 Remove libc_fegetround* and libc_fesetround*.
15668 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15669 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15670 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15671 of HAS_YMM_USABLE.
15672 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15673 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15674 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15675 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15676 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15677
73139a76
UD
15678 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15679
d73f93a4
AZ
156802012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15681
15682 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15683 size is not set.
15684 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15685
6ee65ed6
UD
156862012-01-27 Ulrich Drepper <drepper@gmail.com>
15687
15688 [BZ #13618]
15689 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15690 relocation.
15691 * Makeconfig (libm): Define.
15692 * elf/Makefile: Add rules to build and run tst-relsort1.
15693 * elf/tst-relsort1.c: New file.
15694 * elf/tst-relsort1mod1.c: New file.
15695 * elf/tst-relsort1mod2.c: New file.
15696
8db21882
JM
156972012-01-27 Joseph Myers <joseph@codesourcery.com>
15698
15699 * math/s_ldexp.c: Remove __STDC__ conditionals.
15700 * math/s_ldexpf.c: Likewise.
15701 * math/s_ldexpl.c: Likewise.
15702 * math/s_nextafter.c: Likewise.
15703 * math/s_nexttowardf.c: Likewise.
15704 * math/s_significand.c: Likewise.
15705 * math/s_significandf.c: Likewise.
15706 * math/s_significandl.c: Likewise.
15707 * math/w_jnl.c: Likewise.
15708 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15709 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15710 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15711 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15712 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15718 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15719 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15720 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15721 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15722 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15725 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15727 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15728 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15729 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15730 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15733 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15734 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15735 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15736 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15737 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15738 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15739 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15740 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15741 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15742 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15743 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15744 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15745 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15746 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15747 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15748 * sysdeps/ieee754/k_standard.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15797 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15806 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15810 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15815 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15822 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15823 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15824 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15825 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15826 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15827 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15828 * sysdeps/ieee754/s_matherr.c: Likewise.
15829 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15830 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15833
965a54a4
JM
158342012-01-26 Joseph Myers <joseph@codesourcery.com>
15835
15836 * crypt/md5.h: Remove __STDC__ conditionals.
15837 * libio/libioP.h: Likewise.
15838 * locale/programs/config.h: Likewise.
15839 * sysdeps/generic/sysdep.h: Likewise.
15840 * sysdeps/i386/asm-syntax.h: Likewise.
15841 * sysdeps/s390/asm-syntax.h: Likewise.
15842 * sysdeps/unix/sysdep.h: Likewise.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15845
7071ad79
JM
158462012-01-26 Joseph Myers <joseph@codesourcery.com>
15847
15848 * libio/libio.h: Remove __STDC__ conditionals.
15849 * malloc/obstack.h: Likewise.
15850 * math/complex.h: Likewise.
15851 * math/math.h: Likewise.
15852 * sysdeps/generic/_G_config.h: Likewise.
15853 * sysdeps/gnu/_G_config.h: Likewise.
15854 * sysdeps/mach/hurd/_G_config.h: Likewise.
15855 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15856 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15857 * sysdeps/sparc/bits/mathdef.h: Likewise.
15858
afc5ed09
UD
158592012-01-26 Ulrich Drepper <drepper@gmail.com>
15860
15861 [BZ #13583]
15862 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15863 Clean up HAS_* macros.
afc5ed09 15864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15865 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15866 possible.
15867 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15868 HAS_AVX.
15869 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15870 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15871 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15872 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15873 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15874
bdb6de1d
JM
158752012-01-25 Joseph Myers <joseph@codesourcery.com>
15876
15877 * elf/tst-unique3.cc (gets): Remove declaration.
15878 * elf/tst-unique3lib.cc (gets): Likewise.
15879 * elf/tst-unique3lib2.cc (gets): Likewise.
15880 * elf/tst-unique4.cc (gets): Likewise.
15881
b15549e6
UD
158822012-01-24 Ulrich Drepper <drepper@gmail.com>
15883
15884 * include/stdio.h: Add C++ protection. Add gets declarations and
15885 definitions.
15886 * debug/tst-chk1.c: Don't declare gets here.
15887 * stdio-common/tst-gets.c: Likewise.
15888
a037381f
JM
158892012-01-24 Joseph Myers <joseph@codesourcery.com>
15890
15891 * posix/glob: Remove directory.
15892
f1d4aa75
JM
158932012-01-24 Joseph Myers <joseph@codesourcery.com>
15894
15895 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15896
81c0c964
PT
158972012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15898
15899 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15900 of the non-standard EPFNOSUPPORT.
15901
0ea698ae
ST
159022011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15903
15904 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15905 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15906 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15907
d220b117
UD
159082012-01-21 Ulrich Drepper <drepper@gmail.com>
15909
15910 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15911
3e1aa84e
UD
159122012-01-20 Ulrich Drepper <drepper@gmail.com>
15913
15914 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15915 transient errors.
15916 * nscd/grpcache.c (cache_addgr): Likewise.
15917 * nscd/hstcache.c (cache_addhst): Likewise.
15918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15919 * nscd/pwdcache.c (cache_addpw): Likewise.
15920 * nscd/servicescache.c (cache_addserv): Likewise.
15921
400aa020
UD
159222012-01-16 Ulrich Drepper <drepper@gmail.com>
15923
d77e7869
UD
15924 * malloc/malloc.c: Various cleanups.
15925 * malloc/hooks.c: Likewise.
15926
400aa020
UD
15927 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15928 * stdlib/bug-fmtmsg1.c: New file.
15929
15930 * stdlib/fmtmsg.c (init): Add missing unlock.
15931 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15932
e0a309cf
MP
159332012-01-12 Marek Polacek <polacek@redhat.com>
15934
15935 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15936 and _GNU_SOURCE.
15937
929d11c7
WS
159382012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15939
15940 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15941 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15942 macro to ensure uniqueness of label name.
15943 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15944 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15945
41d0e869
UD
159462012-01-11 Ulrich Drepper <drepper@gmail.com>
15947
0cc5ed3b
UD
15948 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15949
41d0e869
UD
15950 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15951 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15952 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15954
a47a831a
UD
159552012-01-10 Ulrich Drepper <drepper@gmail.com>
15956
daa891c0
UD
15957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15958
15959 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15960 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15961 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15962
e58ef0f2
UD
15963 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15964
a47a831a 15965 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15966 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15967 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15968 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15969
15970 * math/bits/math-finite.h: Add ldexp support.
15971
a0bfc9c7
MP
159722012-01-10 Marek Polacek <polacek@redhat.com>
15973
15974 * locale/programs/localedef.h (show_archive_content): Add noreturn
15975 attribute.
15976
d6e97a1d
UD
159772012-01-09 Ulrich Drepper <drepper@gmail.com>
15978
15979 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15980
d5835c26
UD
159812012-01-08 Ulrich Drepper <drepper@gmail.com>
15982
e5f484c6
UD
15983 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15984
d5835c26
UD
15985 * io/Makefile (headers): Add bits/poll2.h.
15986
d1f741e9
WS
159872011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15988
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15990 typo #include statement.
15991
ec09c1c4
UD
159922012-01-08 Ulrich Drepper <drepper@gmail.com>
15993
15994 * include/sys/cdefs.h: Define __attribute_alloc_size.
15995 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15996 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15997 * elf/pldd.c: Likewise.
15998 * iconv/iconv_charmap.c: Likewise.
15999 * iconv/iconvconfig.c: Likewise.
16000 * iconv/strtab.c: Likewise.
16001 * locale/programs/locale.c: Likewise.
16002 * locale/programs/localedef.h: Likewise.
16003 * locale/programs/simple-hash.c: Likewise.
16004 * nscd/nscd.h: Likewise.
16005 * nss/makedb.c: Likewise.
16006 * sysdeps/generic/ldconfig.h: Likewise.
16007 * locale/programs/localedef.c: Remove xmalloc prototype.
16008 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16009
20b38e03
PP
160102012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16011
16012 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16013 appropriate.
16014
a0da5fe1
UD
160152012-01-08 Ulrich Drepper <drepper@gmail.com>
16016
1d5a644a 16017 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16018 * math/tst-CMPLX.c: New file.
1d5a644a 16019
8784a6db
UD
16020 * math/complex.h (CMPLXL): Fix typo.
16021
d9a216c0
UD
16022 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16023 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16024 GLIBC_2.16.
16025 * debug/tst-chk1.c: Add poll and ppoll tests.
16026 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16027 * include/sys/poll.h: Add hidden proto for ppoll.
16028 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16029 * sysdeps/mach/hurd/ppoll.c: Likewise.
16030 * io/ppoll.c: Likewise.
16031 * debug/poll_chk.c: New file.
16032 * debug/ppoll_chk.c: New file.
16033 * include/bits/poll2.h: New file.
16034 * io/bits/poll2.h: New file.
16035
ac097f5c
UD
16036 [BZ #1350]
16037 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16038
2119dcfa
UD
16039 * configure.in: static is always set to yes. Remove.
16040 * config.make.in: Don't set build-static.
16041 * Makeconfig: Remove use of build-static.
16042 * dlfcn/Makefile: Likewise.
16043 * elf/Makefile: Likewise.
16044 * math/Makefile: Likewise.
16045 * misc/Makefile: Likewise.
16046 * nptl/Makefile: Likewise.
16047 * sysdeps/mach/hurd/Makefile: Likewise.
16048
121766a9
UD
16049 * configure.in: PWD_P is not used anymore.
16050 * config.make.in: Remove PWD_P entry.
16051
51a1d39c 16052 * configure.in: Remove last remnants of RANLIB.
8720d066 16053 No need to check for signed size_t anymore.
215f4bdc
UD
16054 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16055 and IA-64.
3857022a 16056 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16057 * aclocal.m4: Likewise.
16058
d3ed7225
UD
16059 * wcsmbs/mbrtoc16.c: Implement using towc function.
16060 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16061 * wcsmbs/wcsmbsload.c: Likewise.
16062 * iconv/gconv_simple.c: Likewise.
16063 * iconv/gconv_int.h: Likewise.
16064 * iconv/gconv_builtin.h: Likewise.
16065 * iconv/iconv_prog.c: Remove CHAR16 handling.
16066
16067 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16068
16069 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16070
a0da5fe1
UD
16071 * configure.in: Remove --with-elf and --enable-bounded options.
16072 Dont set base_machine for ia64. More non-ELF conditions removed.
16073 Remove testing and setting of leading underscore information.
16074 * config.make.in (build-bounded): Set to no.
16075 * config.h.in: Remove NO_UNDERSCORES entry.
16076 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16077 them.
16078 * csu/start.c: Remove !NO_UNDERSCORE code.
16079 * locale/localeinfo.h: Likewise.
16080 * sysdeps/generic/machine-gmon.h: Likewise.
16081 * sysdeps/generic/sysdep.h: Likewise.
16082 * sysdeps/i386/sysdep.h: Likewise.
16083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16084 * sysdeps/mach/sysdep.h: Likewise.
16085 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16086 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16087 * sysdeps/sh/sysdep.h: Likewise.
16088 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16089 * sysdeps/unix/i386/sysdep.S: Likewise.
16090 * sysdeps/unix/sparc/start.c: Likewise.
16091 * sysdeps/unix/sparc/sysdep.S: Likewise.
16092 * sysdeps/unix/sparc/sysdep.h: Likewise.
16093 * sysdeps/unix/start.c: Likewise.
16094 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16095 * sysdeps/x86_64/sysdep.h: Likewise.
16096
df78418a
UD
160972012-01-07 Ulrich Drepper <drepper@gmail.com>
16098
a784e502
UD
16099 [BZ #13553]
16100 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16101 for non-gcc.
16102 * argp/argp-fmtstream.h: Use const instead __const.
16103 * argp/argp.h: Likewise.
16104 * assert/assert.h: Likewise.
16105 * bits/fenv.h: Likewise.
16106 * bits/sched.h: Likewise.
16107 * bits/sigset.h: Likewise.
16108 * bits/sigthread.h: Likewise.
16109 * catgets/nl_types.h: Likewise.
16110 * conform/data/pthread.h-data: Likewise.
16111 * crypt/crypt-private.h: Likewise.
16112 * crypt/crypt.h: Likewise.
16113 * crypt/crypt_util.c: Likewise.
16114 * ctype/ctype.h: Likewise.
16115 * debug/execinfo.h: Likewise.
16116 * debug/mbsnrtowcs_chk.c: Likewise.
16117 * debug/mbsrtowcs_chk.c: Likewise.
16118 * debug/wcsnrtombs_chk.c: Likewise.
16119 * debug/wcsrtombs_chk.c: Likewise.
16120 * debug/wcstombs_chk.c: Likewise.
16121 * dirent/dirent.h: Likewise.
16122 * dlfcn/dlfcn.h: Likewise.
16123 * elf/neededtest4.c: Likewise.
16124 * grp/grp.h: Likewise.
16125 * gshadow/gshadow.h: Likewise.
16126 * iconv/gconv.h: Likewise.
16127 * iconv/gconv_int.h: Likewise.
16128 * iconv/gconv_simple.c: Likewise.
16129 * iconv/iconv.h: Likewise.
16130 * iconv/loop.c: Likewise.
16131 * iconv/skeleton.c: Likewise.
16132 * include/aio.h: Likewise.
16133 * include/aliases.h: Likewise.
16134 * include/argz.h: Likewise.
16135 * include/arpa/inet.h: Likewise.
16136 * include/assert.h: Likewise.
16137 * include/dirent.h: Likewise.
16138 * include/dlfcn.h: Likewise.
16139 * include/execinfo.h: Likewise.
16140 * include/fcntl.h: Likewise.
16141 * include/fenv.h: Likewise.
16142 * include/glob.h: Likewise.
16143 * include/grp.h: Likewise.
16144 * include/libintl.h: Likewise.
16145 * include/mntent.h: Likewise.
16146 * include/netdb.h: Likewise.
16147 * include/pwd.h: Likewise.
16148 * include/rpc/netdb.h: Likewise.
16149 * include/sched.h: Likewise.
16150 * include/search.h: Likewise.
16151 * include/shadow.h: Likewise.
16152 * include/signal.h: Likewise.
16153 * include/stdio.h: Likewise.
16154 * include/stdlib.h: Likewise.
16155 * include/string.h: Likewise.
16156 * include/sys/socket.h: Likewise.
16157 * include/sys/stat.h: Likewise.
16158 * include/sys/statfs.h: Likewise.
16159 * include/sys/statvfs.h: Likewise.
16160 * include/sys/syslog.h: Likewise.
16161 * include/sys/time.h: Likewise.
16162 * include/sys/uio.h: Likewise.
16163 * include/time.h: Likewise.
16164 * include/unistd.h: Likewise.
16165 * include/utmp.h: Likewise.
16166 * include/wchar.h: Likewise.
16167 * include/wctype.h: Likewise.
16168 * inet/aliases.h: Likewise.
16169 * inet/arpa/inet.h: Likewise.
16170 * inet/netinet/ether.h: Likewise.
16171 * inet/netinet/in.h: Likewise.
16172 * intl/libintl.h: Likewise.
16173 * io/bits/fcntl2.h: Likewise.
16174 * io/fcntl.h: Likewise.
16175 * io/ftw.h: Likewise.
16176 * io/sys/poll.h: Likewise.
16177 * io/sys/stat.h: Likewise.
16178 * io/sys/statfs.h: Likewise.
16179 * io/sys/statvfs.h: Likewise.
16180 * io/utime.h: Likewise.
16181 * libio/bits/stdio.h: Likewise.
16182 * libio/bits/stdio2.h: Likewise.
16183 * libio/libio.h: Likewise.
16184 * libio/libioP.h: Likewise.
16185 * libio/stdio.h: Likewise.
16186 * locale/lc-ctype.c: Likewise.
16187 * locale/locale.h: Likewise.
16188 * login/utmp.h: Likewise.
16189 * malloc/arena.c: Likewise.
16190 * malloc/malloc.c: Likewise.
16191 * malloc/malloc.h: Likewise.
16192 * malloc/mcheck.c: Likewise.
16193 * malloc/mtrace.c: Likewise.
16194 * math/bits/mathcalls.h: Likewise.
16195 * math/fenv.h: Likewise.
16196 * math/math_private.h: Likewise.
16197 * misc/bits/error.h: Likewise.
16198 * misc/bits/syslog.h: Likewise.
16199 * misc/err.h: Likewise.
16200 * misc/error.h: Likewise.
16201 * misc/fstab.h: Likewise.
16202 * misc/mntent.h: Likewise.
16203 * misc/regexp.h: Likewise.
16204 * misc/search.h: Likewise.
16205 * misc/sgtty.h: Likewise.
16206 * misc/sys/mman.h: Likewise.
16207 * misc/sys/syslog.h: Likewise.
16208 * misc/sys/uio.h: Likewise.
16209 * misc/sys/xattr.h: Likewise.
16210 * misc/ttyent.h: Likewise.
16211 * nis/rpcsvc/ypclnt.h: Likewise.
16212 * nss/nss.h: Likewise.
16213 * posix/bits/unistd.h: Likewise.
16214 * posix/fnmatch.h: Likewise.
16215 * posix/glob.h: Likewise.
16216 * posix/sched.h: Likewise.
16217 * posix/spawn.h: Likewise.
16218 * posix/sys/wait.h: Likewise.
16219 * posix/unistd.h: Likewise.
16220 * posix/wordexp.h: Likewise.
16221 * pwd/pwd.h: Likewise.
16222 * resolv/netdb.h: Likewise.
16223 * resource/sys/resource.h: Likewise.
16224 * rt/aio.h: Likewise.
16225 * rt/bits/mqueue2.h: Likewise.
16226 * rt/mqueue.h: Likewise.
16227 * shadow/shadow.h: Likewise.
16228 * signal/signal.h: Likewise.
16229 * socket/send.c: Likewise.
16230 * socket/sendto.c: Likewise.
16231 * socket/sys/socket.h: Likewise.
16232 * stdio-common/printf.h: Likewise.
16233 * stdlib/bits/stdlib.h: Likewise.
16234 * stdlib/fmtmsg.h: Likewise.
16235 * stdlib/monetary.h: Likewise.
16236 * stdlib/stdlib.h: Likewise.
16237 * stdlib/ucontext.h: Likewise.
16238 * streams/stropts.h: Likewise.
16239 * string/argz.h: Likewise.
16240 * string/bits/string2.h: Likewise.
16241 * string/string.h: Likewise.
16242 * string/strings.h: Likewise.
16243 * sunrpc/rpc/auth.h: Likewise.
16244 * sunrpc/rpc/auth_des.h: Likewise.
16245 * sunrpc/rpc/clnt.h: Likewise.
16246 * sunrpc/rpc/netdb.h: Likewise.
16247 * sunrpc/rpc/pmap_clnt.h: Likewise.
16248 * sunrpc/rpc/xdr.h: Likewise.
16249 * sysdeps/generic/inttypes.h: Likewise.
16250 * sysdeps/generic/net/if.h: Likewise.
16251 * sysdeps/generic/sys/swap.h: Likewise.
16252 * sysdeps/gnu/net/if.h: Likewise.
16253 * sysdeps/gnu/utmpx.h: Likewise.
16254 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16255 * sysdeps/i386/i486/bits/string.h: Likewise.
16256 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16257 * sysdeps/s390/bits/string.h: Likewise.
16258 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16259 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16260 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16261 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16262 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16263 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16264 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16265 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16266 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16267 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16268 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16269 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16270 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16271 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16272 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16273 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16274 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16276 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16277 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16278 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16279 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16280 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16281 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16282 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16283 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16284 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16285 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16286 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16287 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16288 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16289 * sysvipc/sys/ipc.h: Likewise.
16290 * sysvipc/sys/msg.h: Likewise.
16291 * sysvipc/sys/sem.h: Likewise.
16292 * sysvipc/sys/shm.h: Likewise.
16293 * termios/termios.h: Likewise.
16294 * time/sys/time.h: Likewise.
16295 * time/time.h: Likewise.
16296 * wcsmbs/bits/wchar2.h: Likewise.
16297 * wcsmbs/uchar.h: Likewise.
16298 * wcsmbs/wchar.h: Likewise.
16299 * wctype/wctype.h: Likewise.
16300
0269750c
UD
16301 [BZ #13551]
16302 * Makeconfig: Remove all but ELF support including AIX support.
16303 * Makerules: Likewise.
16304 * config.h.in: Likewise.
16305 * config.make.in: Likewise.
16306 * configure: Likewise.
16307 * configure.in: Likewise.
16308 * csu/Makefile: Likewise.
16309 * csu/version.c: Likewise.
16310 * debug/Makefile: Likewise.
16311 * dlfcn/Makefile: Likewise.
16312 * elf/Makefile: Likewise.
16313 * extra-lib.mk: Likewise.
16314 * iconv/Makefile: Likewise.
16315 * include/libc-symbols.h: Likewise.
16316 * include/shlib-compat.h: Likewise.
16317 * resolv/Makefile: Likewise.
16318 * resolv/res_libc.c: Likewise.
16319 * rt/Makefile: Likewise.
16320 * sysdeps/i386/asm-syntax.h: Likewise.
16321 * sysdeps/i386/sysdep.h: Likewise.
16322 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16323 * sysdeps/mach/sysdep.h: Likewise.
16324 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16325 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16326 * sysdeps/s390/asm-syntax.h: Likewise.
16327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16329 * sysdeps/sh/sysdep.h: Likewise.
16330 * sysdeps/unix/sparc/sysdep.h: Likewise.
16331 * sysdeps/wordsize-32/divdi3.c: Likewise.
16332 * sysdeps/x86_64/sysdep.h: Likewise.
16333
00bbd29b
UD
16334 * argp/Versions: Remove _argp_unlock_xxx.
16335
16336 [BZ #13559]
16337 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16338 * abilist/libBrokenLocale.abilist: Likewise.
16339 * abilist/libanl.abilist: Likewise.
16340 * abilist/libc.abilist: Likewise.
16341 * abilist/libcrypt.abilist: Likewise.
16342 * abilist/libdl.abilist: Likewise.
16343 * abilist/libm.abilist: Likewise.
16344 * abilist/libnsl.abilist: Likewise.
16345 * abilist/libpthread.abilist: Likewise.
16346 * abilist/libresolv.abilist: Likewise.
16347 * abilist/librt.abilist: Likewise.
16348 * abilist/libthread_db.abilist: Likewise.
16349 * abilist/libutil.abilist: Likewise.
16350 * abilist/libnss_db.abilist: New file.
16351
16352 * scripts/abilist.awk: Add support for indirect functions.
16353
a2693a0e
UD
16354 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16355
3f05895f
UD
16356 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16357
ecb6fb48
UD
16358 * shlib-versions: Remove entries for ports architectures.
16359
664f8cb9
UD
16360 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16361 files in ports.
16362 * elf/stackguard-macros.h: Remove support for IA-64.
16363 * elf/tst-auditmod1.c: Likewise.
16364 * sysdeps/generic/ldsodefs.h: Likewise.
16365
7ae81d88
UD
16366 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16367 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16368 configure files.
16369
bdeba135
UD
16370 [BZ #13552]
16371 * configure.in: Remove --enable-omitfp support.
16372 * FAQ.in: Adjust.
16373 * config.make.in: Likewise.
16374 * Makeconfig: Likewise.
16375 * manual/install.texi: Likewise.
16376
d75a0a62
UD
16377 In case anyone cares, the IA-64 architecture could move to ports.
16378 * sysdeps/ia64/*: Removed.
16379 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16380 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16381
dcc9756b
UD
16382 [BZ #13555]
16383 * configure.in: Remove entries for unsupported architectures.
16384
d3761ebc 16385 [BZ #13533]
9954432e
UD
16386 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16387 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16388 routines.
16389 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16390 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16391 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16392 fall back to using wcrtomb.
16393 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16394 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16395 renaming.
16396 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16397 * wcsmbs/tst-c16c32-1.c: New file.
16398
16399 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16400 local variable.
16401
c3a87236
UD
16402 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16403
28926a1b
UD
16404 * elf/tst-unique3.cc: Add explicit declaration of gets.
16405 * elf/tst-unique3lib.cc: Likewise.
16406 * elf/tst-unique3lib2.cc: Likewise.
16407 * elf/tst-unique4.cc: Likewise.
16408
df78418a
UD
16409 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16410
8ecd6b2a
JM
164112012-01-06 Joseph Myers <joseph@codesourcery.com>
16412
16413 [BZ #13566]
16414 * assert/assert.h (static_assert): Don't define for C++.
16415 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16416 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16417
9f115170
UD
164182012-01-03 Ulrich Drepper <drepper@gmail.com>
16419
5e0d0300
UD
16420 * iconv/loop.c (single loop): Fix assertion in storing of
16421 remaining bytes.
16422
9f115170
UD
16423 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16424
81fb02b0
UD
164252012-01-01 Ulrich Drepper <drepper@gmail.com>
16426
16427 * posix/getconf.c: Update copyright year.
16428 * nss/getent.c: Likewise.
a316c1f6 16429 * nss/makedb.c: Likewise.
81fb02b0
UD
16430 * iconv/iconvconfig.c: Likewise.
16431 * iconv/iconv_prog.c: Likewise.
16432 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16433 * elf/pldd.c: Likewise.
16434 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16435 * catgets/gencat.c: Likewise.
16436 * csu/version.c: Likewise.
16437 * elf/ldd.bash.in: Likewise.
16438 * elf/sprof.c (print_version): Likewise.
16439 * locale/programs/locale.c: Likewise.
16440 * locale/programs/localedef.c: Likewise.
a316c1f6 16441 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16442 * nscd/nscd.c (print_version): Likewise.
16443 * debug/xtrace.sh: Likewise.
16444 * malloc/memusage.sh: Likewise.
16445 * malloc/mtrace.pl: Likewise.
16446 * debug/catchsegv.sh: Likewise.
16447
2ba92745
JJ
164482011-12-30 Jakub Jelinek <jakub@redhat.com>
16449
16450 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16451 pure attribute.
16452
dadebdae
UD
164532011-12-24 Ulrich Drepper <drepper@gmail.com>
16454
d3761ebc 16455 [BZ #13533]
db6af3eb
UD
16456 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16457 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16458 transformations.
16459 * iconv/gconv_int.h: Likewise.
16460 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16461 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16462 from libc for GLIBC_2.16.
16463 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16464 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16465 * wcsmbs/uchar.h: Really define mbstate_t.
16466 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16467 * wcsmbs/c16rtomb.c: New file.
16468 * wcsmbs/mbrtoc16.c: New file.
16469 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16470 for C/POSIX locale.
16471 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16472 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16473
dadebdae
UD
16474 * wcsmbs/wchar.h: Add missing __restrict.
16475
67371b56
UD
164762011-12-23 Ulrich Drepper <drepper@gmail.com>
16477
74033a25
UD
16478 [BZ #13532]
16479 * time/Makefile (routines): Add timespec_get.
16480 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16481 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16482 timespec for ISO C11.
16483 * time/timespec_get.c: New file.
16484 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16485 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16486
380d7e87
UD
16487 [BZ #13531]
16488 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16489 * stdlib/stdlib.h: Declare aligned_alloc.
16490 * Versions.def: Add GLIBC_2.16 for libc.
16491 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16492
4e9e7a35
UD
16493 [BZ 13527]
16494 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16495 ISO C11.
16496
380d7e87 16497 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16498 code.
16499
03a71829
UD
16500 [BZ #13528]
16501 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16502
839e283e
UD
16503 [BZ #13529]
16504 * assert/assert.h (static_assert): Define.
16505
ce5294e2 16506 * version.h: Update for 2.16 development version.
90fa7312 16507
8d44e150 16508 [BZ #13526]
d7809905
UD
16509 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16510 _ISOC11_SOURCE.
16511
c0da14cd
UD
16512 * version.h (RELEASE): Bump for 2.15 release.
16513 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16514
530a3249
MP
16515 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16516 Patch by Marek Polacek <mpolacek@redhat.com>.
16517
67371b56
UD
16518 * bits/byteswap.h: Protect long long constants with __extension__.
16519 * sysdeps/i386/bits/byteswap.h: Likewise.
16520 * sysdeps/ia64/bits/byteswap.h: Likewise.
16521 * sysdeps/s390/bits/byteswap.h: Likewise.
16522 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16523
15db4de1
LD
165242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16525
16526 [BZ #13540]
bbe315ea
LD
16527 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16528 destination buffer.
15db4de1
LD
16529 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16530
2b2596b1
MP
165312011-12-23 Marek Polacek <polacek@redhat.com>
16532
16533 * elf/dl-addr.c (determine_info): Add inline keyword.
16534 * elf/tst-auditmod4b.c (check_avx): Likewise.
16535 * elf/tst-auditmod6b.c (check_avx): Likewise.
16536 * elf/tst-auditmod6c.c (check_avx): Likewise.
16537 * elf/tst-auditmod7b.c (check_avx): Likewise.
16538
70c6c246
UD
165392011-12-23 Ulrich Drepper <drepper@gmail.com>
16540
16541 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16542 !__SSE_MATH__.
16543
c044cf14
LD
165442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16545
15db4de1 16546 [BZ #13540]
c044cf14
LD
16547 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16548 processing for last bytes.
16549
6b13d9d9
BH
165502011-08-06 Bruno Haible <bruno@clisp.org>
16551
d455f537
BH
16552 [BZ #13061]
16553 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16554 U+0385, not to U+1FEE.
16555
6b13d9d9
BH
16556 [BZ #13062]
16557 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16558 entry for U+00A5 U+0301.
16559
db910efd
UD
165602011-12-22 Ulrich Drepper <drepper@gmail.com>
16561
27deeafc
UD
16562 [BZ #13166]
16563 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16564 buffer for the output is too small.
16565
aed9d171
UD
16566 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16567 optimization.
16568
db910efd
UD
16569 [BZ #13185]
16570 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16571 SSE flags if possible.
16572
2bd779ae
LD
165732011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16574
e7f9dac3 16575 [BZ #13540]
2bd779ae
LD
16576 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16577 processing for last bytes.
16578
154bfc16
JM
165792011-12-22 Joseph Myers <joseph@codesourcery.com>
16580
16581 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16582 (syscall-list-default-options, syscall-list-default-condition)
16583 (syscall-list-includes): Define.
16584 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16585 list of ABIs and options and #if conditions for each ABI. Do not
16586 handle common syscalls between ABIs specially.
16587 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
16593 (syscall-list-variants, syscall-list-32bit-options)
16594 (syscall-list-32bit-condition, syscall-list-64bit-options)
16595 (syscall-list-64bit-condition): Define.
16596 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16597 Remove.
16598 (syscall-list-variants, syscall-list-32bit-options)
16599 (syscall-list-32bit-condition, syscall-list-64bit-options)
16600 (syscall-list-64bit-condition): Define.
16601 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16602 Remove.
16603 (syscall-list-variants, syscall-list-32bit-options)
16604 (syscall-list-32bit-condition, syscall-list-64bit-options)
16605 (syscall-list-64bit-condition): Define.
16606
21eaf3a5
UD
166072011-12-22 Ulrich Drepper <drepper@gmail.com>
16608
16c6f992
UD
16609 * locale/iso-639.def: Add brx entry.
16610
41043168
UD
16611 [BZ #13328]
16612 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16613 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16614
21eaf3a5
UD
16615 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16616 __feraiseexcept_renamed.
16617
e3a851a2
UD
166182011-12-21 Ulrich Drepper <drepper@gmail.com>
16619
4920765e
UD
16620 [BZ #13538]
16621 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16622 EPOLLET with unsigned values.
16623 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16625
e3a851a2
UD
16626 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16627 to large cancellation.
16628 * math/s_cacoshf.c: Likewise.
16629 * math/s_cacoshl.c: Likewise.
16630
b27e24b8
RK
166312011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16632
16633 [BZ #13305]
aebefeee 16634 [BZ #12786]
b27e24b8
RK
16635 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16636 * math/s_cacoshf.c: Likewise.
16637 * math/s_cacoshl.c: Likewise.
16638
ee190f67
UD
166392011-12-21 Ulrich Drepper <drepper@gmail.com>
16640
16641 [BZ #13439]
16642 * iconv/gconv.h: Define __GCONV_SWAP.
16643 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16644 * iconvdata/utf-16.c: Likewise.
16645 * iconvdata/utf-32.c: Likewise.
16646
707f25df
AS
166472011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16648
16649 [BZ #13524]
16650 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16651 numerator after shifting it by one limb.
16652
d2daaa1e
RÁE
166532011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16654
16655 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16656 under [__USE_EXTERN_INLINES].
16657
a4647e72
UD
166582011-12-17 Ulrich Drepper <drepper@gmail.com>
16659
16660 [BZ #13446]
16661 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16662
f0b264f1
AZ
166632011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16664
16665 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16666 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16667 optimized code.
16668 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16669 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16670 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16671 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16672 for strncasecmp/strncasecmp_l compilation.
16673 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16674 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16675
8ef4f244
MP
166762011-12-08 Marek Polacek <mpolacek@redhat.com>
16677
16678 [BZ #13484]
16679 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16680 of __asm__.
16681
97ac2654
UD
166822011-12-17 Ulrich Drepper <drepper@gmail.com>
16683
16684 [BZ #13506]
16685 * time/tzfile.c (__tzfile_read): Check values from file header.
16686
91d2a845
WS
166872011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16688
16689 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16690 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16691 * powerpc/powerpc32/dl-start.S: Likewise.
16692 * powerpc/powerpc32/elf/start.S: Likewise.
16693 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16694 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16695 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16696 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16697 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16698 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16699 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16700 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16701 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16702 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16703 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16704 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16705 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16706 * powerpc/powerpc32/memset.S: Likewise.
16707 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16708 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16709 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16710 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16711 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16712 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16713 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16714 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16715 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16716 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16717 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16718 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16719 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16720
a1267ba1
AZ
167212011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16722
16723 * math/libm-test.inc: Added more nearbyint tests.
16724 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16725 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16728
ad8ac1bd
RL
167292011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16730
16731 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16732 FD_CLOEXEC.
16733
1d3e4b61
UD
167342011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16735
16736 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16737 Add wcscpy-ssse3 wcscpy-c.
16738 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16739 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16740 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16741 * sysdeps/x86_64/wcschr.S: New file.
16742 * sysdeps/x86_64/wcsrchr.S: New file.
16743 * string/test-strcmp.c: Remove checking of wcscmp function for
16744 wrong alignments.
16745 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16746 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16747 wcsrchr-sse2 wcsrchr-c.
16748 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16749 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16750 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16751 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16752 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16753 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16754 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16755 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16756 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16757 * wcsmbc/wcschr.c (WCSCHR): New macro.
16758
5b330a2d
UD
167592011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16760
16761 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16762 * wcsmbs/test-wcsrchr.c: New file.
16763 * string/test-strrchr.c: Add wcsrchr support.
16764 (WIDE): New macro.
16765 * wcsmbs/test-wcscpy.c: New file.
16766 * string/test-strcpy.c: Add wcscpy support.
16767 (WIDE): New macro.
26428b7c 16768
f039c043
UD
167692011-12-10 Ulrich Drepper <drepper@gmail.com>
16770
16771 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16772 the inner loop.
16773
850fb039
AS
167742011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16775
16776 [BZ #13472]
16777 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16778
4efbd5cb
UD
167792011-12-04 Ulrich Drepper <drepper@gmail.com>
16780
52ff5dd0 16781 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16782 Minor optimizations.
52ff5dd0 16783
4efbd5cb
UD
16784 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16785 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16786 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16787
8a426e12
UD
167882011-12-03 Ulrich Drepper <drepper@gmail.com>
16789
aff2453d
UD
16790 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16791 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16792 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16793 for gcc to avoid warnings.
16794 * inet/Makefile (tests): Add tst-checks.
16795 * inet/tst-checks.c: New file.
16796
16797 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16798 warning.
16799
16800 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16801 __wmemcmp_sse2.
16802
16803 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16804 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16805
8a426e12
UD
16806 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16807
9bea3473
UD
168082011-12-02 Ulrich Drepper <drepper@gmail.com>
16809
3a965496
UD
16810 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16811 problem.
16812
9bea3473
UD
16813 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16814
f101631b
UD
168152011-11-29 Joseph Myers <joseph@codesourcery.com>
16816
16817 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16818 conditional on GCC version.
16819 (__arch_compare_and_exchange_val_8_acq)
16820 (__arch_compare_and_exchange_val_16_acq)
16821 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16822 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16823 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16824
a98275aa
UD
168252011-12-02 Joseph Myers <joseph@codesourcery.com>
16826
16827 * sysdeps/sh/backtrace.c: New file.
16828
d4cc29a2
AS
168292011-12-02 Andreas Schwab <schwab@redhat.com>
16830
16831 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16832 parenthesis.
16833
6257af2d
AS
168342011-12-01 Andreas Schwab <schwab@redhat.com>
16835
16836 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16837 falling back to utime.
16838
b5f44c1a
AS
168392011-11-30 Andreas Schwab <schwab@redhat.com>
16840
16841 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16842 expectations for float.
16843
f3a6cc0a
AS
168442011-11-29 Andreas Schwab <schwab@redhat.com>
16845
16846 * locale/weight.h (findidx): Add parameter len.
16847 * locale/weightwc.h (findidx): Likewise.
16848 * posix/fnmatch_loop.c (FCT): Adjust caller.
16849 * posix/regcomp.c (build_equiv_class): Likewise.
16850 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16851 * posix/regexec.c (check_node_accept_bytes): Likewise.
16852 * string/strcoll_l.c (STRCOLL): Likewise.
16853 * string/strxfrm_l.c (STRXFRM): Likewise.
16854
9d65ea3a
UD
168552011-11-17 Ulrich Drepper <drepper@gmail.com>
16856
16857 * Makefile.in: Remove CVSOPT handling.
16858 * configure.in: Remove use of AC_REVISION.
16859 * iconvdata/Makefile (distribute): No need to filter out CVS.
16860 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16861 handling.
16862
5583a086
AS
168632011-11-16 Andreas Schwab <schwab@redhat.com>
16864
16865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16866 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16867 [USE_AS_STRNCASECMP_L]: Likewise.
16868 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16869 NO_TLS_DIRECT_SEG_REFS.
16870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16871 Fix argument offsets for non-PIC.
16872 [USE_AS_STRNCASECMP_L]: Likewise.
16873 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16874 NO_TLS_DIRECT_SEG_REFS.
16875
d62a8200
UD
168762011-11-15 Ulrich Drepper <drepper@gmail.com>
16877
9d65ea3a 16878 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16879 O_CLOEXEC.
16880 * locale/loadlocale.c (_nl_load_locale): Likewise.
16881
09f93bd3
AS
168822011-11-15 Andreas Schwab <schwab@redhat.com>
16883
446514f9
AS
16884 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16885 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16887 (SYSCALL_GETTIME): Set errno on error.
16888
09f93bd3
AS
16889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16890 count references to noai6ai_cached.
16891
312be3f9
UD
168922011-11-15 Ulrich Drepper <drepper@gmail.com>
16893
16894 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16895
16896 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16897 FD_CLOEXEC for /proc/self/maps.
16898
16899 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16900 FD_CLOEXEC for /proc/meminfo.
16901
16902 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16903 gai.conf.
16904
16905 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16906 FD_CLOEXEC for given file.
16907
16908 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16909
16910 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16911 FD_CLOEXEC for /etc/hosts.
16912 (_gethtent): Likewise.
16913
16914 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16915
16916 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16917 cancellation and set FD_CLOEXEC for /etc/netgroup.
16918
16919 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16920 reading /etc/publickey.
16921
16922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16923 allow cancellation when reading /etc/group.
16924
16925 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16926 cancellation.
16927 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16928
16929 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16930 when using data file.
16931
16932 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16933
16934 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16935 (write_nis_obj): Use "c" and "e" in fopen.
16936
16937 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16938
16939 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16940
16941 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16942
16943 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16944
16945 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16946 locale.alias.
16947
16948 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16949
16950 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16951
16952 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16953
16954 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16955 file parsing and set FD_CLOEXEC.
16956
82af0fa8
UD
169572011-11-14 Ulrich Drepper <drepper@gmail.com>
16958
16959 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16960
a5fb313c
AS
169612011-11-14 Andreas Schwab <schwab@redhat.com>
16962
16963 * malloc/arena.c (arena_get2): Don't call reused_arena when
16964 _int_new_arena failed.
16965
6abf3465
UD
169662011-11-14 Ulrich Drepper <drepper@gmail.com>
16967
16968 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16969 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16970 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16972 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16973 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16974 to compile strcasecmp and strncasecmp.
16975 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16976 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16977
16978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16979
76e3966e
UD
169802011-11-13 Ulrich Drepper <drepper@gmail.com>
16981
16982 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16983 locale-defines.sym to gen-as-const-headers.
16984 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16985 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16987 to compile strcasecmp and strncasecmp.
16988 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16989 strcasecmp_l and strncasecmp_l.
16990 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16991 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16992 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16993 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16994 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16995 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16996 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16997 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16998 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16999 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17000 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17001
ab26144e
UD
170022011-11-12 Ulrich Drepper <drepper@gmail.com>
17003
7edb22ef
UD
17004 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17005 result of SYSDEP_GETTIME_CPU to retval.
17006 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17007 parameter list to macro. Remove trailing semicolon. Adjust users.
17008
9694fc44
UD
17009 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17010 variable.
17011
8ad89ef8
UD
17012 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17013 mantissa words.
17014 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17015
0c822ef9
UD
17016 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17017 from unused variable.
17018
874e0564
UD
17019 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17020 DWARF definitions.
17021 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17022 for assembling.
17023
3a2edc79
UD
17024 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17025 over namespaces.
17026
f3c2577f
UD
17027 * sunrpc/rpc_prot.c (rejected): Fix case value.
17028
294ce126
UD
17029 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17030 unsigned long long int to avoid warnings in shift.
17031
5e2b63c6
UD
17032 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17033 of use of trans.
17034 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17035 variable tmp.
17036
e7f4b08e
UD
17037 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17038 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17039 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17040
ab26144e
UD
17041 * nis/nis_table.c (nis_list): Use variable of correct type for
17042 result of __follow_path call.
17043
8a6d5255
AZ
170442011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17045
17046 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17047 of math functions ceil, trunc, floor, round, and sqrt, when
17048 avaliable on the platform.
17049 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17050 name clash.
17051 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17052 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17053 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17054
aaddc98c
MP
170552011-10-30 Marek Polacek <mpolacek@redhat.com>
17056
17057 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17058 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17059
95b7042b
RM
170602011-11-11 Roland McGrath <roland@hack.frob.com>
17061
17062 * include/unistd.h: Fix __readlink return type.
17063 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17064
57769839
UD
170652011-11-11 Ulrich Drepper <drepper@gmail.com>
17066
17067 * stdlib/ucontext.h: Undo last change for makecontext.
17068
edc5984d
AS
170692011-11-11 Andreas Schwab <schwab@redhat.com>
17070
98591e58
AS
17071 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17072
edc5984d
AS
17073 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17074 * setjmp/setjmp.h: Mark functions as non-leaf.
17075 * setjmp/bits/setjmp2.h: Likewise.
17076 * stdlib/ucontext.h: Likewise.
17077
77cdc054
AS
170782011-11-10 Andreas Schwab <schwab@redhat.com>
17079
17080 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17081 (reused_arena): Don't check arena limit.
17082 (arena_get2): Atomically check arena limit.
17083
fe72eebd
UD
170842011-11-08 Ulrich Drepper <drepper@gmail.com>
17085
5f078c32
UD
17086 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17087 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17088
fe72eebd
UD
17089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17090 instructions.
17091
ae1bc2fa
AS
170922011-11-07 Andreas Schwab <schwab@redhat.com>
17093
7583a88d
AS
17094 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17095 handler when locking.
17096
ae1bc2fa
AS
17097 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17098 Fix size of allocated buffer.
17099
10fb0bfa
AS
171002011-11-04 Andreas Schwab <schwab@redhat.com>
17101
998832a4
AS
17102 [BZ #10103]
17103 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17104 declarations for long double functions.
17105 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17106
10fb0bfa
AS
17107 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17108
3d7ba52b
AS
171092011-11-03 Andreas Schwab <schwab@redhat.com>
17110
a9ae54a1
AS
17111 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17112 installed.
17113
3d7ba52b
AS
17114 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17115 is disabled.
17116
bc8db248
ST
171172011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17118
17119 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17120
45b96dd6
AS
171212011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17122
647776f6
AS
17123 * include/alloca.h (stackinfo_alloca_round): Define.
17124 (extend_alloca): Use it.
17125 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17126 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17127 here.
17128
d91a8b93
AS
17129 * scripts/check-local-headers.sh: Ignore libaudit.h.
17130
45b96dd6
AS
17131 * nscd/Makefile (extra-objs): Make recursively expanded.
17132
432d41ce
UD
171332011-11-01 Ulrich Drepper <drepper@gmail.com>
17134
34372fc6
UD
17135 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17136 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17137
fadb59f8
UD
17138 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17139 * posix/tst-rfc3484-2.c: Likewise.
17140 * posix/tst-rfc3484-3.c: Likewise.
17141
78239589
UD
17142 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17143 process_vm_writev.
17144 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17145 process_vm_writev.
17146 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17147 process_vm_writev from libc using GLIBC_2.15 version.
17148
432d41ce
UD
17149 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17150
02f9c6cf
PP
171512011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17152
17153 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17154 stack usage.
17155
3a2c0242
UD
171562011-10-31 Ulrich Drepper <drepper@gmail.com>
17157
f4ec4833
UD
17158 [BZ #13367]
17159 * nss/getent.c (initgroups_keys): Show error message in case no group
17160 names are given.
17161
3a2c0242
UD
17162 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17163 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17164 __bump_nl_timestamp.
17165 * nscd/connections (nscd_init): When host database is served open
17166 netlink socket and request notification about configuration changes.
17167 (main_loop_poll): Track netlink file descriptor and bump timestamp
17168 in case data becomes available.
17169 (main_loop_epoll): Likewise.
17170 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17171 (database_pers_head): Add extra_data fileds.
17172 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17173 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17174 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17175 Adjust caller.
17176 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17177 in6ai data, call __free_in6ai.
17178 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17179 Add -DHAVE_NETLINK.
17180 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17181 interface information. Reuse previous data if netlink timestamp
17182 is not changed.
17183 (__bump_nl_timestamp): New function.
17184 (__free_in6ai): New function.
17185
636064eb
UD
171862011-10-30 Ulrich Drepper <drepper@gmail.com>
17187
17188 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17189 close_not_cancel_no_status here.
17190 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17191
9beb2334
UD
171922011-10-29 Ulrich Drepper <drepper@gmail.com>
17193
6ef76f3b
UD
17194 [BZ #13276]
17195 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17196 return value.
17197
0ffc4f3e 17198 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17199 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17200 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17201
cb95113e
UD
172022011-07-03 Andreas Jaeger <aj@suse.de>
17203
17204 [BZ #10709]
17205 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17206 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17207 * math/libm-test.inc (sin_test): Add test case.
17208
a1b560ff
UD
172092011-10-29 Ulrich Drepper <drepper@gmail.com>
17210
c9aaface
UD
17211 [BZ #13337]
17212 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17213 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17214
d272e7f1
UD
17215 * elf/chroot_canon.c (chroot_canon): Cleanups.
17216
1bc33071
UD
17217 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17218
1760874d
TJ
17219 [BZ #13335]
17220 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17221 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17222
51d91b18
UD
17223 * string/test-strchr.c: Make usable for strchrnul testing.
17224 * string/test-strchrnul.c: New file.
17225 * string/Makefile (strop-tests): Add strchrnul.
17226
a1b560ff 17227 * po/it.po: Update from translation team.
b611fb81 17228 * po/es.po: Likewise.
a1b560ff 17229
a5b81e1f
UD
172302011-10-28 Ulrich Drepper <drepper@gmail.com>
17231
fd52bc6d
UD
17232 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17233 the three constants needed as parameters. Drop the others.
17234 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17235 __m128i_strloadu_tolower.
52e4b9eb
UD
17236 Create and initialize variable zero and use it in all the places
17237 where _mm_setzero_si128 was used.
fd52bc6d 17238
a5b81e1f
UD
17239 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17240 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17241 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17242 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17243 anymore.
17244 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17245 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17246 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17247 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17248 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17249 __mpranred, __mptan.
17250 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17251 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17252 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17253 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17254 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17255 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17256 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17257 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17258 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17259
b4343346
AS
172602011-10-28 Andreas Schwab <schwab@redhat.com>
17261
0c92d8a8
AS
17262 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17263 redefine if SHARED.
17264 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17265
b4343346
AS
17266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17267 wide char related routines to wcsmbs subdir.
17268
3871f58f
AS
172692011-10-27 Andreas Schwab <schwab@redhat.com>
17270
17271 [BZ #13344]
17272 * misc/sys/cdefs.h (__THROWNL): Define.
17273 * posix/unistd.h: Use __THREADNL instead of __THREAD
17274 for memory synchronization functions.
17275
94d44d9f
RM
172762011-10-26 Roland McGrath <roland@hack.frob.com>
17277
21b64b15 17278 [BZ #13349]
94d44d9f
RM
17279 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17280 doesn't exist.
17281 * manual/stdio.texi (Obstack Streams): Node removed.
17282
f6ce9294
AS
172832011-10-26 Andreas Schwab <schwab@redhat.com>
17284
80479147
AS
17285 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17286 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17287 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17288
f6ce9294
AS
17289 * math/math_private.h (math_force_eval): Allow non-addressable
17290 arguments.
17291 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17292
618280a1
UD
172932011-10-25 Ulrich Drepper <drepper@gmail.com>
17294
e0016b11
UD
17295 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17296 file is not needed.
17297
17298 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17299 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17300 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17301 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17302 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17303 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17304 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17305 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17306 Add AVX variants.
17307 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17308 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17309 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17310 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17311 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17312 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17313 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17314 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17315 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17316 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17317 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17318 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17319 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17320 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17321 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17322 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17323 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17324 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17325 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17326
17327 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17328 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17329
618280a1
UD
17330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17331 place. Use VEX encoding when compiling for AVX.
17332
37822576
AS
173332011-10-25 Andreas Schwab <schwab@redhat.com>
17334
1f1e1947
AS
17335 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17336 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17337
37822576
AS
17338 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17339
31ea014d
UD
173402011-10-25 Ulrich Drepper <drepper@gmail.com>
17341
d7826aa1 17342 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17343 useless if() expression.
d7826aa1
UD
17344 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17352 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17354 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17355 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17356 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17357 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17358 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17359 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17360 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17362 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17363
31ea014d
UD
17364 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17365
16437fec
AS
173662011-10-25 Andreas Schwab <schwab@redhat.com>
17367
17368 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17369 condition.
17370 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17371
31d3cc00
UD
173722011-10-25 Ulrich Drepper <drepper@gmail.com>
17373
17374 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17375 .text section. Avoid duplicate constants.
17376 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17386 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17388 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17391 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17393 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17399 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17400 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17401 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17402 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17403 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17404 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17405 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17406 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17407 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17408 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17409 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17410 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17411 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17412 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17413 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17414 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17415 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17416 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17417 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17418 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17419 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17420 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17421
58985aa9
UD
174222011-10-24 Ulrich Drepper <drepper@gmail.com>
17423
202c9deb
UD
17424 * sysdeps/x86_64/dla.h: Move to ...
17425 * sysdeps/x86_64/fpu/dla.h: ...here.
17426 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17427 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17428
af968f62
UD
17429 * config.make.in: Add have-mfma4 entry.
17430 * configure.in: Substitute libc_cv_cc_fma4.
17431 * math/Makefile (dbl-only-routines): Add sincostab.
17432 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17433 Use __sincostab not sincos.
17434 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17435 name is a macro.
17436 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17439 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17440 using __copysign.
17441 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17442 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17443 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17444 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17445 and __inv.
17446 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17447 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17448 __copysign.
17449 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17450 define aliases when function name is a macro.
17451 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17452 sysdeps/ieee754/dbl-64/sincos.tbl.
17453 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17454 fma4-enabled routines.
17455 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17456 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17457 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17458 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17459 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17460 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17461 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17462 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17463 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17464 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17465 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17466 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17467 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17468 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17469 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17470 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17471 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17472 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17473 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17474 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17475 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17476 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17477 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17478 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17479 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17480 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17481 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17482 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17483 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17484 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17485
58985aa9
UD
17486 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17487 rename.
17488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17495 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17496
a201fbcf
AS
174972011-10-24 Andreas Schwab <schwab@redhat.com>
17498
17499 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17500
fc2ee42a
LD
175012011-10-23 Ulrich Drepper <drepper@gmail.com>
17502
bb3129bd
UD
17503 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17504
0275fff8
UD
17505 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17506 prediction.
17507 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17508
2fa2ae85
UD
17509 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17510 Remove unused variable magic_bits.
17511 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17512
fc2ee42a
LD
17513 * string/strnlen.c: Define and use STRNLEN macro.
17514 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17515 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17516 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17517 * wcsmbs/wcslen.c: Define and use WCSLEN.
17518 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17519 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17520 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17521 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17522 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17523 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17524 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17525
ce7dd29f
LD
175262011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17527
17528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17529 strnlen-sse2-no-bsf.
17530 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17531 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17532 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17533 Add strnlen support.
17534 (USE_AS_STRNLEN): New macro.
17535 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17536 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17537 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17538 * sysdeps/x86_64/wcslen.S: New file.
17539
979c70a3
MZ
175402011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17541
17542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17543 XMM-moves are used for copying on small sizes.
17544
2d09f82f
LD
175452011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17546
17547 * wcsmbs/Makefile (strop-tests): Add wcschr.
17548 * wcsmbs/test-wcschr.c: New file.
17549 * string/test-strchr.c: Update.
17550 Add wcschr support.
17551 (WIDE): New macro.
17552
619fccca
LD
175532011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17554
2d09f82f 17555 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17556 * wcsmbs/test-wcslen.c: New file.
17557 * string/test-strlen.c: Update.
17558 Add wcslen support.
17559 (WIDE): New macro.
17560
09f699ea
UD
175612011-10-23 Ulrich Drepper <drepper@gmail.com>
17562
17563 * po/it.po: Update from translation team.
17564
95584d3b
LD
175652011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17566
17567 * sysdeps/x86_64/wcscmp.S: Update.
17568 Fix wrong comparison semantics.
17569 wcscmp shall use signed comparison not unsigned.
17570 Don't use substraction to avoid overflow bug.
17571 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17572 * wcsmbc/wcscmp.c: Likewise.
17573 * string/test-strcmp.c: Likewise.
17574 Add new tests to check cases with negative values.
17575
c8b3296b
UD
175762011-10-23 Ulrich Drepper <drepper@gmail.com>
17577
17578 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17579 * sysdeps/x86_64/dla.h: ...here. New file.
17580 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17581 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17585 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17587 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17588 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17589
246ad57a
AS
175902011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17591
17592 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17593 __ynl_finite aliases.
17594
a1a87169
UD
175952011-10-22 Ulrich Drepper <drepper@gmail.com>
17596
0d355eb7
UD
17597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17598
a1a87169
UD
17599 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17600 define DLA_FMA.
17601 [DLA_FMA] (EMULV): Use DLA_FMA.
17602 [DLA_FMA] (MUL12): Use EMULV.
17603 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17604 that are not needed.
17605 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17612
ee2aafe0
AS
176132011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17614
17615 * math/s_nan.c: Undef __nan.
17616 * math/s_nanf.c: Undef __nanf.
17617 * math/s_nanl.c: Undef __nanl.
17618 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17619 "math_private.h".
17620
bc62c2fb
UD
176212011-10-22 Ulrich Drepper <drepper@gmail.com>
17622
77425c63
UD
17623 * math/s_catan.c: Add branch predictions.
17624 * math/s_catanf.c: Likewise.
17625 * math/s_catanh.c: Likewise.
17626 * math/s_catanhf.c: Likewise.
17627 * math/s_catanhl.c: Likewise.
17628 * math/s_catanl.c: Likewise.
17629 * math/s_cexp.c: Likewise.
17630 * math/s_cexpf.c: Likewise.
17631 * math/s_cexpl.c: Likewise.
17632 * math/s_clog.c: Likewise.
17633 * math/s_clog10.c: Likewise.
17634 * math/s_clog10f.c: Likewise.
17635 * math/s_clog10l.c: Likewise.
17636 * math/s_clogf.c: Likewise.
17637 * math/s_clogl.c: Likewise.
17638 * math/s_csqrt.c: Likewise.
17639 * math/s_csqrtf.c: Likewise.
17640 * math/s_csqrtl.c: Likewise.
17641 * math/s_ctanf.c: Likewise.
17642 * math/s_ctanh.c: Likewise.
17643 * math/s_ctanhf.c: Likewise.
17644 * math/s_ctanhl.c: Likewise.
17645 * math/s_ctanl.c: Likewise.
17646
bc62c2fb
UD
17647 * math/math_private.h: Define __nan, __nanf, __nanl.
17648 * math/s_cacosh.c: Include <math_private.h>.
17649 * math/s_cacoshl.c: Likewise.
17650 * math/s_casinh.c: Likewise.
17651 * math/s_casinhf.c: Likewise.
17652 * math/s_casinhl.c: Likewise.
17653 * math/s_ccos.c: Rely entire on ccosh.
17654 * math/s_ccosf.c: Rely entire on ccoshf.
17655 * math/s_ccosl.c: Rely entirely on ccoshl.
17656 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17657 Remove tests for FE_INVALID.
17658 * math/s_ccoshf.c: Likewise.
17659 * math/s_ccoshl.c: Likewise.
17660 * math/s_csin.c: Likewise.
17661 * math/s_csinf.c: Likewise.
17662 * math/s_csinh.c Likewise.
17663 * math/s_csinhf.c: Likewise.
17664 * math/s_csinhl.c: Likewise.
17665 * math/s_csinl.c: Likewise.
17666 * math/s_ctan.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17668 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17669 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17670
8ec250a4
UD
176712011-10-21 Ulrich Drepper <drepper@gmail.com>
17672
c196fed8
UD
17673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17674 compilation problems.
17675
8ec250a4
UD
17676 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17677 __builtin_expect.
17678
8d4f46c6
UD
176792011-10-20 Ulrich Drepper <drepper@gmail.com>
17680
ed72b654
UD
17681 * sysdeps/i386/configure.in: Test for -mfma4 option.
17682 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17683 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17684 COMMON_CPUID_INDEX_80000001.
17685 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17686 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17687 use it if FMA3 is not supported.
17688 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17689
8d4f46c6
UD
17690 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17691 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17692
d45c60c2
AS
176932011-10-20 Andreas Schwab <schwab@redhat.com>
17694
17695 [BZ #12892]
17696 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17697 it would create a cycle with a link time dependency.
17698
d9a4d2ab
UD
176992011-10-19 Ulrich Drepper <drepper@gmail.com>
17700
855d1560
UD
17701 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17702 instruction.
17703 * string/Makefile (strop-tests): Add rawmemchr.
17704 * string/test-rawmemchr.c: New file.
17705
d9a4d2ab
UD
17706 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17707 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17708 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17709 when compiling str{,n}casecmp and when AVX is available. Hook up
17710 new optimized code in initializers.
17711
8f3b1ffe
AS
177122011-10-19 Andreas Schwab <schwab@redhat.com>
17713
17714 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17715 __feraiseexcept instead of feraiseexcept.
17716
d38f1dba
UD
177172011-10-18 Ulrich Drepper <drepper@gmail.com>
17718
d9a8d0ab
UD
17719 * math/math_private.h: Define defaults for libc_fetestexcept and
17720 libc_feupdateenv.
17721 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17722 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17723 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17724 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17725 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17726 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17727 libc_fetestexcept and libc_feupdateenv.
17728
4855e3dd
UD
17729 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17730 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17731 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17732 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17733 libc_feholdexcept_setround.
17734
581d30e3
UD
17735 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17736 Add s_nearbyint-c and s_nearbyintf-c.
17737 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17738 nearbyintf inlines.
17739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17740 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17741 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17742 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17743
d38f1dba
UD
17744 * math/math_private.h: Define defaults for libc_fegetround,
17745 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17746 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17747 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17748 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17749 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17750 standard functions.
17751 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17752 Remove comments and hacks for old compiler versions.
17753 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17754 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17755 libc_feholdexceptl.
17756
caa6c9d8
AS
177572011-10-18 Andreas Schwab <schwab@redhat.com>
17758
17759 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17760 (__feraiseexcept_renamed): Add __NTH.
17761 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17762 namespace violations.
17763
97c066e6
UD
177642011-10-17 Ulrich Drepper <drepper@gmail.com>
17765
99ce7b04
UD
17766 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17767
1004d182
UD
17768 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17769
228a984d
UD
17770 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17771 recently added interfaces.
17772 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17773
c8553a6a
UD
17774 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17775 about macro parameter expansion.
17776
ed22dcf6
UD
17777 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17778 __NO_MATH_INLINES is defined. Cleanups.
17779
17780 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17781 and __floorf is target has SSE4.1.
17782 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17783 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17784 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17785 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17786
b171c137
UD
17787 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17788 name.
17789 (floorf): Likewise.
17790
97c066e6
UD
17791 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17792
629f62ef
AS
177932011-10-17 Andreas Schwab <schwab@redhat.com>
17794
49a43d80
AS
17795 * misc/sys/cdefs.h: Fix last change.
17796
629f62ef
AS
17797 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17798 database lookup.
17799
e453f6cd
UD
178002011-10-16 Ulrich Drepper <drepper@gmail.com>
17801
aa78043a
UD
17802 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17803
ad0f5cad
UD
17804 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17806 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17810 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17811 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17812 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17813 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17814 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17815 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17816 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17817 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17818 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17819 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17820 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17821 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17822 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17823 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17824 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17825 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17826
17827 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17828 ceil, ceilf, floor, floorf.
17829
17830 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17831 Perform IRELATIVE relocations last.
17832
e453f6cd
UD
17833 * elf/do-rel.h: Add another parameter nrelative, replacing the
17834 local variable with the same name. Change name of the function
17835 to end in Rel or Rela (uppercase).
17836 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17837 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17838 elf_dynamic_do_##reloc function.
17839
fd5bdc09
UD
178402011-10-15 Ulrich Drepper <drepper@gmail.com>
17841
79b195b5
UD
17842 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17843 is sufficient, at least on modern CPUs.
17844
d4a28569
UD
17845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17846
b61099b5
UD
17847 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17848 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17849
bcf01e6d
UD
17850 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17851 __expl_finite.
17852 * math/bits/math-finite.h: Add entries for exp.
17853 * math/e_expl.c: Add __*_finite alias.
17854 * sysdeps/i386/fpu/e_exp.S: Likewise.
17855 * sysdeps/i386/fpu/e_expf.S: Likewise.
17856 * sysdeps/i386/fpu/e_expl.c: Likewise.
17857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17858 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17861 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17862 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17863 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17864
ba1a0d59
UD
17865 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17866 is sufficient, at least on modern CPUs.
17867
fd5bdc09
UD
17868 * ctype/ctype-info.c (__ctype_init): Define.
17869 * include/ctype.h (__ctype_init): Declare.
17870 (__ctype_b_loc): The variable is always initialized.
17871 (__ctype_toupper_loc): Likewise.
17872 (__ctype_tolower_loc): Likewise.
17873 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17874 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17875
7872cfb0
AS
178762011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17877
b468825a
AS
17878 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17879
7872cfb0
AS
17880 * configure.in: Also look in $cxxmachine/include for C++ system
17881 headers.
17882
be13f7bf
LD
178832011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17884
17885 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17886 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17887 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17888 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17889 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17890 (USE_AS_WMEMCMP): New macro.
17891 Fixing indents.
17892 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17893 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17894 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17895 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17897 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17898 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17899 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17900 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17901 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17902 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17903 (USE_AS_WMEMCMP): New macro.
17904 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17905 * sysdeps/string/test-memcmp.c: Update.
17906 Fix simple_wmemcmp.
17907 Add new tests.
17908 * wcsmbs/wmemcmp.c: Update.
17909 (WMEMCMP): New macro.
17910 Fix overflow bug.
17911
556a2007
AJ
179122011-10-12 Andreas Jaeger <aj@suse.de>
17913
17914 [BZ #13268]
17915 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17916
538faaa7
UD
179172011-10-15 Ulrich Drepper <drepper@gmail.com>
17918
ab6737ff
UD
17919 * libio/iofwide.c (do_length): Avoid warning.
17920
538faaa7
UD
17921 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17922
396a21b1
UD
179232011-10-14 Ulrich Drepper <drepper@gmail.com>
17924
cdf2901f
UD
17925 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17926
38ad40ce
UD
17927 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17928 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17929 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17930 * sysdeps/i386/i686/fpu/e_log.S: New file.
17931 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17932 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17933
396a21b1
UD
17934 * ctype/ctype.h: Add support for inlined isXXX functions when
17935 compiling C++ code.
17936
6b1f68c9
AS
179372011-10-14 Andreas Schwab <schwab@redhat.com>
17938
349290c0
AS
17939 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17940
6b1f68c9
AS
17941 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17942
f2282d42
RM
179432011-10-13 Roland McGrath <roland@hack.frob.com>
17944
17945 [BZ #13291]
17946 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17947
5298ffa8
AS
179482011-10-13 Andreas Schwab <schwab@redhat.com>
17949
714fad23
AS
17950 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17951 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17952 feraiseexcept.
17953
81dcc7fb
AS
17954 * sysdeps/x86_64/memrchr.S: Check for zero size.
17955
5298ffa8
AS
17956 * string/stratcliff.c: Add memrchr tests.
17957
951fbcec
LD
179582011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17959
17960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17961 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17962 rawmemchr-sse2 rawmemchr-sse2-bsf.
17963 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17964 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17965 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17966 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17967 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17968 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17969 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17970 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17971 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17972 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17973 * string/memrchr.c (MEMRCHR): New macro.
17974
0ac5ae23
UD
179752011-10-12 Ulrich Drepper <drepper@gmail.com>
17976
17977 Add integration with gcc's -ffinite-math-only and optimize wrapper
17978 functions in libm.
17979 * Versions.def: Define GLIBC_2.15 version for libm.
17980 * math/Makefile (headers): Add bits/math-finite.h.
17981 * math/bits/math-finite.h: New file.
17982 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17983 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17984 * math/e_acoshl.c: Add __*_finite alias.
17985 * math/e_acosl.c: Likewise.
17986 * math/e_asinl.c: Likewise.
17987 * math/e_atan2l.c: Likewise.
17988 * math/e_atanhl.c: Likewise.
17989 * math/e_coshl.c: Likewise.
17990 * math/e_exp10.c: Likewise.
17991 * math/e_exp10f.c: Likewise.
17992 * math/e_exp10l.c: Likewise.
17993 * math/e_exp2l.c: Likewise.
17994 * math/e_fmodl.c: Likewise.
17995 * math/e_gammal_r.c: Likewise.
17996 * math/e_hypotl.c: Likewise.
17997 * math/e_j0l.c: Likewise.
17998 * math/e_j1l.c: Likewise.
17999 * math/e_jnl.c: Likewise.
18000 * math/e_lgammal_r.c: Likewise.
18001 * math/e_log10l.c: Likewise.
18002 * math/e_log2l.c: Likewise.
18003 * math/e_logl.c: Likewise.
18004 * math/e_powl.c: Likewise.
18005 * math/e_sinhl.c: Likewise.
18006 * math/e_sqrtl.c: Likewise.
18007 * math/e_scalb.c: Completely rewritten and optimized.
18008 * math/e_scalbf.c: Likewise.
18009 * math/e_scalbl.c: Likewise.
18010 * math/w_acos.c: Likewise.
18011 * math/w_acosf.c: Likewise.
18012 * math/w_acosl.c: Likewise.
18013 * math/w_acosh.c: Likewise.
18014 * math/w_acoshf.c: Likewise.
18015 * math/w_acoshl.c: Likewise.
18016 * math/w_asin.c: Likewise.
18017 * math/w_asinf.c: Likewise.
18018 * math/w_asinl.c: Likewise.
18019 * math/w_atan2.c: Likewise.
18020 * math/w_atan2f.c: Likewise.
18021 * math/w_atan2l.c: Likewise.
18022 * math/w_atanh.c: Likewise.
18023 * math/w_atanhf.c: Likewise.
18024 * math/w_atanhl.c: Likewise.
18025 * math/w_exp10.c: Likewise.
18026 * math/w_exp10f.c: Likewise.
18027 * math/w_exp10l.c: Likewise.
18028 * math/w_fmod.c: Likewise.
18029 * math/w_fmodf.c: Likewise.
18030 * math/w_fmodl.c: Likewise.
18031 * math/w_j0.c: Likewise.
18032 * math/w_j0f.c: Likewise.
18033 * math/w_j0l.c: Likewise.
18034 * math/w_j1.c: Likewise.
18035 * math/w_j1f.c: Likewise.
18036 * math/w_j1l.c: Likewise.
18037 * math/w_jn.c: Likewise.
18038 * math/w_jnf.c: Likewise.
18039 * math/w_log.c: Likewise.
18040 * math/w_logf.c: Likewise.
18041 * math/w_logl.c: Likewise.
18042 * math/w_log10.c: Likewise.
18043 * math/w_log10f.c: Likewise.
18044 * math/w_log10l.c: Likewise.
18045 * math/w_log2.c: Likewise.
18046 * math/w_log2f.c: Likewise.
18047 * math/w_log2l.c: Likewise.
18048 * math/w_pow.c: Likewise.
18049 * math/w_powf.c: Likewise.
18050 * math/w_powl.c: Likewise.
18051 * math/w_remainder.c: Likewise.
18052 * math/w_remainderf.c: Likewise.
18053 * math/w_remainderl.c: Likewise.
18054 * math/w_scalb.c: Likewise.
18055 * math/w_scalbf.c: Likewise.
18056 * math/w_scalbl.c: Likewise.
18057 * math/w_sqrt.c: Likewise.
18058 * math/w_sqrtf.c: Likewise.
18059 * math/w_sqrtl.c: Likewise.
18060 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18061 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18062 used.
18063 * math/math_private.h: Declare __kernel_standard_f.
18064 * math/w_cosh.c: Remove cruft and optimize a bit.
18065 * math/w_coshf.c: Likewise.
18066 * math/w_coshl.c: Likewise.
18067 * math/w_exp2.c: Likewise.
18068 * math/w_exp2f.c: Likewise.
18069 * math/w_exp2l.c: Likewise.
18070 * math/w_hypot.c: Likewise.
18071 * math/w_hypotf.c: Likewise.
18072 * math/w_hypotl.c: Likewise.
18073 * math/w_lgamma.c: Likewise.
18074 * math/w_lgamma_r.c: Likewise.
18075 * math/w_lgammaf.c: Likewise.
18076 * math/w_lgammaf_r.c: Likewise.
18077 * math/w_lgammal.c: Likewise.
18078 * math/w_lgammal_r.c: Likewise.
18079 * math/w_sinh.c: Likewise.
18080 * math/w_sinhf.c: Likewise.
18081 * math/w_sinhl.c: Likewise.
18082 * math/w_tgamma.c: Likewise.
18083 * math/w_tgammaf.c: Likewise.
18084 * math/w_tgammal.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18087 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18088 Minor optimizations. Pretty printing. Remove cruft.
18089 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18090 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18091 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18092 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18093 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18094 * sysdeps/i386/fpu/e_asin.S: Likewise.
18095 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18096 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18097 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18098 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18099 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18100 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18101 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18102 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18103 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18104 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18105 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18106 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18107 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18108 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18109 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18110 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18111 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18112 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18113 * sysdeps/i386/fpu/e_log.S: Likewise.
18114 * sysdeps/i386/fpu/e_log10.S: Likewise.
18115 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18116 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18117 * sysdeps/i386/fpu/e_log2.S: Likewise.
18118 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18119 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18120 * sysdeps/i386/fpu/e_logf.S: Likewise.
18121 * sysdeps/i386/fpu/e_logl.S: Likewise.
18122 * sysdeps/i386/fpu/e_pow.S: Likewise.
18123 * sysdeps/i386/fpu/e_powf.S: Likewise.
18124 * sysdeps/i386/fpu/e_powl.S: Likewise.
18125 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18126 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18127 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18128 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18129 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18130 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18131 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18132 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18133 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18152 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18153 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18154 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18155 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18156 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18157 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18158 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18159 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18160 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18161 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18163 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18164 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18165 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18166 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18167 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18168 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18169 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18170 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18171 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18172 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18173 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18174 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18175 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18214 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18217 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18219 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18220 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18222 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18225 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18226 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18227 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18228 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18229 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18230 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18231 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18232 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18233 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18234 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18235 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18236 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18237 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18238 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18239 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18240 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18241 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18242 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18243 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18244 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18245 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18246 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18247 (__isnanf): Likewise.
18248 (__isinf_ns): Likewise.
18249 (__isinf_nsf): Likewise.
18250 (__finite): Likewise.
18251 (__finitef): Likewise.
18252 (__ieee754_sqrt): Define as macro.
18253 (__ieee754_sqrtf): Define as macro.
18254 (__ieee754_sqrtl): Define as macro.
18255 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18256 inlined copy.
18257 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18258 __FINITE_MATH_ONLY__ consistent.
18259 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18260
12cc2fcd
AS
182612011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18262
a843a204
AS
18263 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18264 of rawmemchr.
18265
12cc2fcd
AS
18266 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18267
c853acd5
UD
182682011-10-09 Ulrich Drepper <drepper@gmail.com>
18269
18270 * po/ja.po: Update from translation team.
18271
c658d255
RM
182722011-10-08 Roland McGrath <roland@hack.frob.com>
18273
110946e4
RM
18274 * locale/programs/locarchive.c (prepare_address_space): New function.
18275 (create_archive, enlarge_archive, open_archive): Use it.
18276
50604220
RM
18277 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18278 inside [SHARED], where it is used.
18279
c658d255
RM
18280 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18281
18282 * nss/getent.c (netgroup_keys): Remove unused variable.
18283 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18284
6a621eb7
UD
182852011-10-08 Ulrich Drepper <drepper@gmail.com>
18286
7edb55ce
UD
18287 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18288 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18289 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18290 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18291 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18292 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18293 * math/Makefile (libm-calls): Add s_isinf_ns.
18294 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18295 * math/multc3.c: Likewise.
18296 * math/s_casin.c: Likewise.
18297 * math/s_casinf.c: Likewise.
18298 * math/s_casinl.c: Likewise.
18299 * math/s_ccos.c: Likewise.
18300 * math/s_ccosf.c: Likewise.
18301 * math/s_ccosl.c: Likewise.
18302 * math/s_ctan.c: Likewise.
18303 * math/s_ctanf.c: Likewise.
18304 * math/s_ctanh.c: Likewise.
18305 * math/s_ctanhf.c: Likewise.
18306 * math/s_ctanhl.c: Likewise.
18307 * math/s_ctanl.c: Likewise.
18308 * math/w_fmod.c: Likewise.
18309 * math/w_fmodf.c: Likewise.
18310 * math/w_fmodl.c: Likewise.
18311 * math/w_remainder.c: Likewise.
18312 * math/w_remainderf.c: Likewise.
18313 * math/w_remainderl.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18315 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18316 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18318 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18319 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18320 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18321 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18322
187da0ae
UD
18323 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18324 of the number.
18325 * stdio-common/printf_fphex.c: Likewise.
18326 * stdio-common/printf_size.c: Likewise.
18327
9277c064
UD
18328 * math/e_exp10.c: Include math_private.h using <...> not "...".
18329 * math/e_exp10f.c: Likewise.
18330 * math/e_exp10l.c: Likewise.
18331 * math/e_exp2l.c: Likewise.
18332 * math/e_j0l.c: Likewise.
18333 * math/e_j1l.c: Likewise.
18334 * math/e_jnl.c: Likewise.
18335 * math/e_lgammal_r.c: Likewise.
18336 * math/e_rem_pio2l.c: Likewise.
18337 * math/e_scalb.c: Likewise.
18338 * math/e_scalbf.c: Likewise.
18339 * math/e_scalbl.c: Likewise.
18340 * math/k_cosl.c: Likewise.
18341 * math/k_sinl.c: Likewise.
18342 * math/k_tanl.c: Likewise.
18343 * math/s_cacoshf.c: Likewise.
18344 * math/s_catan.c: Likewise.
18345 * math/s_catanf.c: Likewise.
18346 * math/s_catanh.c: Likewise.
18347 * math/s_catanhf.c: Likewise.
18348 * math/s_catanhl.c: Likewise.
18349 * math/s_catanl.c: Likewise.
18350 * math/s_ccosh.c: Likewise.
18351 * math/s_ccoshf.c: Likewise.
18352 * math/s_ccoshl.c: Likewise.
18353 * math/s_cexp.c: Likewise.
18354 * math/s_cexpf.c: Likewise.
18355 * math/s_cexpl.c: Likewise.
18356 * math/s_clog.c: Likewise.
18357 * math/s_clog10.c: Likewise.
18358 * math/s_clog10f.c: Likewise.
18359 * math/s_clog10l.c: Likewise.
18360 * math/s_clogf.c: Likewise.
18361 * math/s_clogl.c: Likewise.
18362 * math/s_csin.c: Likewise.
18363 * math/s_csinf.c: Likewise.
18364 * math/s_csinh.c: Likewise.
18365 * math/s_csinhf.c: Likewise.
18366 * math/s_csinhl.c: Likewise.
18367 * math/s_csinl.c: Likewise.
18368 * math/s_csqrt.c: Likewise.
18369 * math/s_csqrtf.c: Likewise.
18370 * math/s_csqrtl.c: Likewise.
18371 * math/s_ctan.c: Likewise.
18372 * math/s_ctanf.c: Likewise.
18373 * math/s_ctanh.c: Likewise.
18374 * math/s_ctanhf.c: Likewise.
18375 * math/s_ctanhl.c: Likewise.
18376 * math/s_ctanl.c: Likewise.
18377 * math/s_ldexp.c: Likewise.
18378 * math/s_ldexpf.c: Likewise.
18379 * math/s_ldexpl.c: Likewise.
18380 * math/s_significand.c: Likewise.
18381 * math/s_significandf.c: Likewise.
18382 * math/s_significandl.c: Likewise.
18383 * math/w_acos.c: Likewise.
18384 * math/w_acosf.c: Likewise.
18385 * math/w_acosh.c: Likewise.
18386 * math/w_acoshf.c: Likewise.
18387 * math/w_acoshl.c: Likewise.
18388 * math/w_acosl.c: Likewise.
18389 * math/w_asin.c: Likewise.
18390 * math/w_asinf.c: Likewise.
18391 * math/w_asinl.c: Likewise.
18392 * math/w_atan2.c: Likewise.
18393 * math/w_atan2f.c: Likewise.
18394 * math/w_atan2l.c: Likewise.
18395 * math/w_atanh.c: Likewise.
18396 * math/w_atanhf.c: Likewise.
18397 * math/w_atanhl.c: Likewise.
18398 * math/w_cosh.c: Likewise.
18399 * math/w_coshf.c: Likewise.
18400 * math/w_coshl.c: Likewise.
18401 * math/w_dremf.c: Likewise.
18402 * math/w_exp10.c: Likewise.
18403 * math/w_exp10f.c: Likewise.
18404 * math/w_exp10l.c: Likewise.
18405 * math/w_exp2.c: Likewise.
18406 * math/w_exp2f.c: Likewise.
18407 * math/w_fmod.c: Likewise.
18408 * math/w_fmodf.c: Likewise.
18409 * math/w_fmodl.c: Likewise.
18410 * math/w_hypot.c: Likewise.
18411 * math/w_hypotf.c: Likewise.
18412 * math/w_hypotl.c: Likewise.
18413 * math/w_j0.c: Likewise.
18414 * math/w_j0f.c: Likewise.
18415 * math/w_j0l.c: Likewise.
18416 * math/w_j1.c: Likewise.
18417 * math/w_j1f.c: Likewise.
18418 * math/w_j1l.c: Likewise.
18419 * math/w_jn.c: Likewise.
18420 * math/w_jnf.c: Likewise.
18421 * math/w_jnl.c: Likewise.
18422 * math/w_lgamma.c: Likewise.
18423 * math/w_lgamma_r.c: Likewise.
18424 * math/w_lgammaf.c: Likewise.
18425 * math/w_lgammaf_r.c: Likewise.
18426 * math/w_lgammal.c: Likewise.
18427 * math/w_lgammal_r.c: Likewise.
18428 * math/w_log.c: Likewise.
18429 * math/w_log10.c: Likewise.
18430 * math/w_log10f.c: Likewise.
18431 * math/w_log10l.c: Likewise.
18432 * math/w_log2.c: Likewise.
18433 * math/w_log2f.c: Likewise.
18434 * math/w_log2l.c: Likewise.
18435 * math/w_logf.c: Likewise.
18436 * math/w_logl.c: Likewise.
18437 * math/w_pow.c: Likewise.
18438 * math/w_powf.c: Likewise.
18439 * math/w_powl.c: Likewise.
18440 * math/w_remainder.c: Likewise.
18441 * math/w_remainderf.c: Likewise.
18442 * math/w_remainderl.c: Likewise.
18443 * math/w_scalb.c: Likewise.
18444 * math/w_scalbf.c: Likewise.
18445 * math/w_scalbl.c: Likewise.
18446 * math/w_sinh.c: Likewise.
18447 * math/w_sinhf.c: Likewise.
18448 * math/w_sinhl.c: Likewise.
18449 * math/w_sqrt.c: Likewise.
18450 * math/w_sqrtf.c: Likewise.
18451 * math/w_sqrtl.c: Likewise.
18452 * math/w_tgamma.c: Likewise.
18453 * math/w_tgammaf.c: Likewise.
18454 * math/w_tgammal.c: Likewise.
18455
6a621eb7
UD
18456 * po/ja.po: Update from translation team.
18457
bf582445
AJ
184582011-09-29 Andreas Jaeger <aj@suse.de>
18459
f9efbf3a
AJ
18460 [BZ #13179]
18461 * sunrpc/netname.c (netname2host): Fix logic.
18462
bf582445
AJ
18463 [BZ #6779]
18464 [BZ #6783]
18465 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18466 correctly.
18467 * math/w_remainder.c (__remainder): Likewise.
18468 * math/w_remainderf.c (__remainderf): Likewise.
18469 * math/libm-test.inc (remainder_test): Add test cases.
18470
48693bea
AK
184712011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18472
18473 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18474 sdiv_qrnnd.
18475
42622229
LD
184762011-10-07 Ulrich Drepper <drepper@gmail.com>
18477
18478 * string/test-memcmp.c: Avoid unncessary #defines.
18479 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18480
093ecf92
LD
184812011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18482
18483 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18484 Use new sse2 version for core i3 - i7 as it's faster
18485 than sse42 version.
18486 (bit_Prefer_PMINUB_for_stringop): New.
18487 * sysdeps/x86_64/rawmemchr.S: Update.
18488 Replace with faster SSE2 version.
18489 * sysdeps/x86_64/memrchr.S: New file.
18490 * sysdeps/x86_64/memchr.S: Update.
18491 Replace with faster SSE2 version.
18492
fde56e5c
MP
184932011-09-12 Marek Polacek <mpolacek@redhat.com>
18494
18495 * elf/dl-load.c (lose): Add cast to avoid warning.
18496
21fd49a9
UD
184972011-10-07 Ulrich Drepper <drepper@gmail.com>
18498
5a06e643
UD
18499 * po/ca.po: Update from translation team.
18500
684ae515
UD
18501 * inet/getnetgrent_r.c: Hook up nscd.
18502 * nscd/Makefile (routines): Add nscd_netgroup.
18503 (nscd-modules): Add netgroupcache.
18504 (CFLAGS-netgroupcache.c): Define.
18505 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18506 (cache_search): Add const to second parameter.
18507 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18508 INNETGR.
18509 (dbs): Add netgrdb entry.
18510 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18511 (verify_persistent_db): Handle netgrdb.
18512 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18513 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18514 GETFDNETGR.
18515 (netgroup_response_header): Define.
18516 (innetgroup_response_header): Define.
18517 (datahead): Add netgroup_response_header and innetgroup_response_header
18518 elements.
18519 * nscd/nscd.conf: Add entries for netgroup cache.
18520 * nscd/nscd.h (dbtype): Add netgrdb.
18521 (_PATH_NSCD_NETGROUP_DB): Define.
18522 (netgroup_iov_disabled): Declare.
18523 (xmalloc, xcalloc, xrealloc): Move declarations here.
18524 (cache_search): Adjust prototype.
18525 Add netgroup-related prototypes.
18526 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18527 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18528 (__nscd_innetgr): Declare.
18529 * nscd/selinux.c (perms): Use access_vector_t as element type and
18530 add netgroup-related initializers.
18531 * nscd/netgroupcache.c: New file.
18532 * nscd/nscd_netgroup.c: New file.
18533 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18534 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18535 For four parameters use innetgr.
18536 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18537 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18538 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18539 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18540
21fd49a9
UD
18541 * nscd/connections.c (register_traced_file): Don't register file
18542 for disabled databases.
18543
054c0457
UD
185442011-10-06 Ulrich Drepper <drepper@gmail.com>
18545
32b63198
UD
18546 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18547
054c0457
UD
18548 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18549 from tree and freeing node.
18550
64031225
JO
185512011-09-25 Jiri Olsa <jolsa@redhat.com>
18552
18553 * nss/nsswitch.c (__nss_database_lookup): Handle
18554 nss_parse_service_list out of memory case.
18555
0490345c
JO
185562011-09-15 Jiri Olsa <jolsa@redhat.com>
18557
18558 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18559 out of memory case.
18560
3a62d00d
AS
185612011-10-04 Andreas Schwab <schwab@redhat.com>
18562
18563 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18564 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18565 pass it down.
18566 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18567 elf_machine_rela, elf_machine_lazy_rel.
18568 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18569 (ELF_DYNAMIC_DO_REL): Likewise.
18570 (ELF_DYNAMIC_DO_RELA): Likewise.
18571 (ELF_DYNAMIC_RELOCATE): Likewise.
18572 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18573 to ELF_DYNAMIC_DO_REL.
18574 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18575 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18576 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18577 elf_machine_rela.
18578 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18579 skip_ifunc, don't call ifunc function if non-zero.
18580 (elf_machine_rela): Likewise.
18581 (elf_machine_lazy_rel): Likewise.
18582 (elf_machine_lazy_rela): Likewise.
18583 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18584 (elf_machine_lazy_rel): Likewise.
18585 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18586 Likewise.
18587 (elf_machine_lazy_rel): Likewise.
18588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18589 Likewise.
18590 (elf_machine_lazy_rel): Likewise.
18591 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18592 (elf_machine_lazy_rel): Likewise.
18593 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18594 (elf_machine_lazy_rel): Likewise.
18595 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18596 (elf_machine_lazy_rel): Likewise.
18597 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18598 (elf_machine_lazy_rel): Likewise.
18599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18600 (elf_machine_lazy_rel): Likewise.
18601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18602 (elf_machine_lazy_rel): Likewise.
18603
68577918
UD
186042011-09-28 Ulrich Drepper <drepper@gmail.com>
18605
18606 * nss/nss_files/files-init.c (_nss_files_init): Use static
18607 initialization for all the *_traced_file variables.
18608
68822d74
AS
186092011-09-28 Andreas Schwab <schwab@redhat.com>
18610
18611 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18612
2056100b
RM
186132011-09-27 Roland McGrath <roland@hack.frob.com>
18614
18615 [BZ #13226]
18616 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18617
32c76b63
AS
186182011-09-27 Andreas Schwab <schwab@redhat.com>
18619
18620 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18621 Reread the line before reparsing it.
18622
bf972c9d
AS
186232011-09-26 Andreas Schwab <schwab@redhat.com>
18624
18625 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18626
e057a1b5
JM
186272011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18628 Maxim Kuvyrkov <maxim@codesourcery.com>
18629 Joseph Myers <joseph@codesourcery.com>
18630
18631 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18632 if needed for __stack_chk_guard.
18633
bc7e1c36
RM
186342011-09-19 Roland McGrath <roland@hack.frob.com>
18635
ecb1482f
RM
18636 * sysdeps/posix/spawni.c (script_execute): Always define it.
18637 It will be optimized away if unused.
18638 (maybe_script_execute): New function.
18639 (__spawni): Call it.
18640
bc7e1c36
RM
18641 * Makerules: Don't include tls.make.
18642 (config-tls): Always set to thread.
18643 * tls.make.c: File removed.
18644
1c3b002b
MF
186452011-09-19 Mike Frysinger <vapier@gentoo.org>
18646
18647 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18648 * config.make.in (CPPFLAGS-config): New substituted variable.
18649
2840865d
UD
186502011-09-15 Ulrich Drepper <drepper@gmail.com>
18651
88738eb6
UD
18652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18653
cbf645a6 18654 [BZ #13192]
2840865d
UD
18655 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18656 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18657
b402e91a
RM
186582011-09-15 Roland McGrath <roland@hack.frob.com>
18659
18660 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18661 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18662 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18663 (CALL_FAIL): Likewise.
18664 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18665 (CALL_FAIL): Macro removed.
18666 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18667
4c1a1f71
UD
186682011-09-15 Ulrich Drepper <drepper@gmail.com>
18669
18670 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18671 for __FINITE_MATH_ONLY__ == 1.
18672
edc121be
AS
186732011-09-15 Andreas Schwab <schwab@redhat.com>
18674
18675 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18676 __ieee754_sqrt instead of sqrt.
18677 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18678 __ieee754_sqrtf instead of sqrtf.
18679 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18680 __floorf instead of floorf.
18681 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18682 __floorf, __truncf instead of floorf, truncf.
18683
cd205654
UD
186842011-09-14 Ulrich Drepper <drepper@gmail.com>
18685
ee4d0315
UD
18686 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18687
cd205654
UD
18688 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18689 __extern_always_inline.
18690 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18691 32-bit.
18692
48b67d71
AS
186932011-09-14 Andreas Schwab <schwab@redhat.com>
18694
18695 * elf/rtld.c (dl_main): Also relocate in dependency order when
18696 doing symbol dependency testing.
18697
1ae12c75
AS
186982011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18699
18700 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18701 Always define `refsym'.
18702
995a80df
AS
187032011-09-13 Andreas Schwab <schwab@redhat.com>
18704
e529793b
AS
18705 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18706 (__FD_ELT): Renamed from __FDELT.
18707 * misc/bits/select2.h (__FD_ELT): Likewise.
18708 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18709 __FD_MASK instead of __FDELT, __FDMASK.
18710 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18711 Likewise.
18712 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18713 Likewise.
18714
52d4fef8
AS
18715 * elf/Makefile (gen-ldd): Fix pattern.
18716
995a80df
AS
18717 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18718 (init_tls): Likewise.
18719
8682f8b0
UD
187202011-09-12 Ulrich Drepper <drepper@gmail.com>
18721
18722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18723
de82006d
AS
187242011-09-12 Andreas Schwab <schwab@redhat.com>
18725
a7c8e6a1
AS
18726 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18727 `struct cmsghdr *' instead of `void *'.
18728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18729 Likewise.
18730
0f31fe77
AS
187312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18732
18733 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18734 if non-absolute.
18735 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18736 ldd_rewrite_script.
0f31fe77 18737
32b4c839
UD
187382011-09-11 Ulrich Drepper <drepper@gmail.com>
18739
83cd1420
UD
18740 * configure.in: Remove --with-tls option.
18741 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18742 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18743 out in case it is missing.
18744 * sysdeps/ia64/elf/configure.in: Likewise.
18745 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18746 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18747 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18748 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18749 * sysdeps/sh/elf/configure.in: Likewise.
18750 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18751 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18752 * sysdeps/x86_64/elf/configure.in: Likewise.
18753 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18754 * sysdeps/mach/hurd/tls.h: Likewise.
18755
633f745d
UD
18756 [BZ #13067]
18757 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18758
f318beb8
UD
18759 [BZ #13090]
18760 * configure.in: Fix use of AC_INIT.
18761
32b4c839
UD
18762 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18763
3ce1f295
UD
187642011-09-10 Ulrich Drepper <drepper@gmail.com>
18765
bb016596
UD
18766 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18767 __set_errno.
8e58439c
UD
18768 * malloc/hooks.c: Likewise.
18769
aebae053 18770 [BZ #11929]
02d46fc4
UD
18771 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18772 variables statically.
18773 (narenas): Initialize.
18774 (list_lock): Initialize.
bb016596
UD
18775 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18776 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18777 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18778 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18779 Add initializers to main_arena and mp_.
18780 (malloc_state): Remove pagesize member. Change all users to use
18781 GLRO(dl_pagesize).
18782
18783 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18784 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18785 is always initialized.
18786
22a89187
UD
18787 * malloc/malloc.c: Removed unused configurations and dead code.
18788 * malloc/arena.c: Likewise.
18789 * malloc/hooks.c: Likewise.
02d46fc4 18790 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18791
d063d164
UD
18792 * include/tls.h: Removed. USE___THREAD must always be defined.
18793 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18794 * elf/dl-libc.c: Likewise.
18795 * elf/dl-tsd.c: Likewise.
18796 * include/errno.h: Likewise.
18797 * include/netdb.h: Likewise.
18798 * include/resolv.h: Likewise.
18799 * inet/herrno-loc.c: Likewise.
18800 * inet/herrno.c: Likewise.
18801 * malloc/arena.c: Likewise.
18802 * malloc/hooks.c: Likewise.
18803 * malloc/malloc.c: Likewise.
18804 * resolv/res-state.c: Likewise.
18805 * resolv/res_libc.c: Likewise.
18806 * sysdeps/i386/dl-machine.h: Likewise.
18807 * sysdeps/ia64/dl-machine.h: Likewise.
18808 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18809 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18810 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18811 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18812 * sysdeps/sh/dl-machine.h: Likewise.
18813 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18814 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18815 * sysdeps/unix/i386/sysdep.S: Likewise.
18816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18817 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18822 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18826 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18827 * sysdeps/x86_64/dl-machine.h: Likewise.
18828 * tls.make.c: Likewise.
18829
3ce1f295
UD
18830 * configure.in: Remove --with-__thread option. Make tests for
18831 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18832 tls_model attribute fail if no support is available. Remove
18833 USE_IN_LIBIO.
18834 * Makeconfig: Adjust for dropped configure option. All features are
18835 now mandatory.
18836 * Makerules: Likewise.
18837 * Versions.def: Likewise.
18838 * argp/argp-fmtstream.c: Likewise.
18839 * argp/argp-fmtstream.h: Likewise.
18840 * argp/argp-help.c: Likewise.
18841 * assert/assert.c: Likewise.
18842 * config.h.in: Likewise.
18843 * config.make.in: Likewise.
18844 * configure: Likewise.
18845 * configure.in: Likewise.
18846 * csu/Versions: Likewise.
18847 * csu/init.c: Likewise.
18848 * elf/tst-audit2.c: Likewise.
18849 * elf/tst-tls10.c: Likewise.
18850 * elf/tst-tls10.h: Likewise.
18851 * elf/tst-tls11.c: Likewise.
18852 * elf/tst-tls12.c: Likewise.
18853 * elf/tst-tls14.c: Likewise.
18854 * elf/tst-tlsmod11.c: Likewise.
18855 * elf/tst-tlsmod12.c: Likewise.
18856 * elf/tst-tlsmod13.c: Likewise.
18857 * elf/tst-tlsmod13a.c: Likewise.
18858 * elf/tst-tlsmod14a.c: Likewise.
18859 * elf/tst-tlsmod15b.c: Likewise.
18860 * elf/tst-tlsmod16a.c: Likewise.
18861 * elf/tst-tlsmod16b.c: Likewise.
18862 * elf/tst-tlsmod7.c: Likewise.
18863 * elf/tst-tlsmod8.c: Likewise.
18864 * elf/tst-tlsmod9.c: Likewise.
18865 * gmon/gmon.c: Likewise.
18866 * grp/fgetgrent_r.c: Likewise.
18867 * grp/putgrent.c: Likewise.
18868 * hurd/fopenport.c: Likewise.
18869 * include/libc-symbols.h: Likewise.
18870 * include/tls.h: Likewise.
18871 * intl/gettextP.h: Likewise.
18872 * intl/loadinfo.h: Likewise.
18873 * locale/global-locale.c: Likewise.
18874 * locale/localeinfo.h: Likewise.
18875 * mach/devstream.c: Likewise.
18876 * malloc/arena.c: Likewise.
18877 * malloc/set-freeres.c: Likewise.
18878 * misc/err.c: Likewise.
18879 * misc/getttyent.c: Likewise.
18880 * misc/mntent_r.c: Likewise.
18881 * posix/getopt.c: Likewise.
18882 * posix/wordexp.c: Likewise.
18883 * pwd/fgetpwent_r.c: Likewise.
18884 * resolv/Versions: Likewise.
18885 * resolv/res_hconf.c: Likewise.
18886 * shadow/fgetspent_r.c: Likewise.
18887 * shadow/putspent.c: Likewise.
18888 * stdio-common/printf_fphex.c: Likewise.
18889 * stdio-common/tmpfile.c: Likewise.
18890 * stdlib/abort.c: Likewise.
18891 * stdlib/fmtmsg.c: Likewise.
18892 * sunrpc/auth_unix.c: Likewise.
18893 * sunrpc/clnt_perr.c: Likewise.
18894 * sunrpc/clnt_tcp.c: Likewise.
18895 * sunrpc/clnt_udp.c: Likewise.
18896 * sunrpc/clnt_unix.c: Likewise.
18897 * sunrpc/openchild.c: Likewise.
18898 * sunrpc/svc_simple.c: Likewise.
18899 * sunrpc/svc_tcp.c: Likewise.
18900 * sunrpc/svc_udp.c: Likewise.
18901 * sunrpc/svc_unix.c: Likewise.
18902 * sunrpc/xdr.c: Likewise.
18903 * sunrpc/xdr_array.c: Likewise.
18904 * sunrpc/xdr_rec.c: Likewise.
18905 * sunrpc/xdr_ref.c: Likewise.
18906 * sunrpc/xdr_stdio.c: Likewise.
18907
1248c1c4
PB
189082011-09-09 Ulrich Drepper <drepper@gmail.com>
18909
18910 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18911
189122011-07-03 Andreas Jaeger <aj@suse.de>
18913
18914 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18915 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18916 regenerate with gen-libm-tests.pl.
18917
189182010-05-12 Petr Baudis <pasky@suse.cz>
18919
18920 [BZ #11589]
18921 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18922 around j0() zero points by switching to j1().
18923 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18927
f22e1074
UD
189282011-09-09 Ulrich Drepper <drepper@gmail.com>
18929
f19009c1
UD
18930 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18931 instead of 0.
18932 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18933 instead of 0. .
18934 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18935 Patch in part by Pavel Roskin <proski@gnu.org>.
18936
3f8cc204
UD
18937 [BZ #13138]
18938 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18939 realloc.
18940 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18941 Free memory block if necessary.
18942
f22e1074
UD
18943 [BZ #12847]
18944 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18945 be NULL. Don't lock in this case.
18946
0a2349f9
RM
189472011-09-09 Roland McGrath <roland@hack.frob.com>
18948
18949 * elf/elf.h (ELFOSABI_GNU): New macro.
18950 (ELFOSABI_LINUX): Define to that.
18951
f3cdd467
DZ
189522011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18953
18954 * string/strncat.c (strncat): Undef the symbol in case it has been
18955 defined in bits/string.h.
18956
74718d13
UD
189572011-09-09 Ulrich Drepper <drepper@gmail.com>
18958
633e9e0f
UD
18959 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18960
0a2349f9 18961 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18962 link map.
18963
f9924780
AJ
189642011-08-17 Andreas Jaeger <aj@suse.de>
18965
18966 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18967
7f5517aa
PP
189682011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18969 Ian Lance Taylor <iant@google.com>
18970
18971 * math/libm-test.inc (lround_test): New testcase.
18972 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18973
762011fe
UD
189742011-09-08 Ulrich Drepper <drepper@gmail.com>
18975
92963737
UD
18976 * Makefile: Remove support for automatic cvs check-ins.
18977 * Makerules: Likewise.
18978 * config.make.in: Likewise.
18979 * configure.in: Likewise.
18980 * intl/Makefile: Likewise.
18981 * locale/Makefile: Likewise.
18982 * po/Makefile: Likewise.
18983 * posix/Makefile: Likewise.
18984 * sysdeps/gnu/Makefile: Likewise.
18985 * sysdeps/mach/hurd/Makefile: Likewise.
18986 * sysdeps/sparc/sparc32/Makefile: Likewise.
18987
b0727fd8
JS
18988 [BZ #13118]
18989 * posix/Makefile (bug-regex32-ENV): Define.
18990 Patch by John Stanley <jpsinthemix@verizon.net>.
18991
a0f33f99
UD
18992 * misc/Makefile (headers): Add bits/select2.h.
18993 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18994 * misc/bits/select2.h: New file.
18995 * include/bits/select2.h: New file.
18996 * debug/Makefile (routines): Add fdelt_chk.
18997 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18998 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18999 FD_ISSET.
19000 * debug/fdelt_chk.c: New file.
19001
762011fe
UD
19002 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19003 * wcsmbs/test-wmemcmp.c: Likewise.
19004 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19005 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19006
190072011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19008
19009 * string/Makefile (strop-tests): Add memcmp.
19010 * string/test-wmemcmp.c: New file.
19011 * string/test-memcmp.c: Add wmemcmp support.
19012
7f513ec8
RM
190132011-09-08 Roland McGrath <roland@hack.frob.com>
19014
0442afb4
RM
19015 [BZ #13153]
19016 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19017 2011-07-19 change.
19018
7f513ec8
RM
19019 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19020 garbage value in a __mach_port_mod_refs call in the cases of the
19021 task-self and thread-self ports.
19022
a12b2239
ST
190232011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19024
19025 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19026
610f9ab4
AS
190272011-09-08 Andreas Schwab <schwab@redhat.com>
19028
7f513ec8 19029 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19030
48882a1a
LD
190312011-09-07 Ulrich Drepper <drepper@gmail.com>
19032
b49865be
UD
19033 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19034
fdc86bc9
UD
19035 * elf/dl-libc.c (dlerror_run): Pass back error code from
19036 dl_catch_error.
19037
c966526a
UD
19038 [BZ #13123]
19039 * elf/dl-load.c (lose): Free l_origin if it is valid.
19040
48882a1a
LD
19041 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19042 names.
19043 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19044 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19045 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19046 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19047 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19048 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19049
77a2a8b4
AZ
190502011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19051
19052 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19053 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19054 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19055 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19056 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19057 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19058 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19059 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19060 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19061 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19062
24f579d8
AM
190632011-08-15 Alan Modra <amodra@gmail.com>
19064
19065 [BZ #13092]
19066 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19067 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19068 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19069 ppc_mcount to static-only-routines.
19070 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19071 __mcount_internal.
19072 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19073 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19074
3d4837df
UD
190752011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19076
19077 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19078 for finite and infinity parameters.
19079
22700377
WS
190802011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19081
19082 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19083 and add nop instructions for throughput optimization.
19084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19085
5025581e
WS
190862011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19087
19088 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19089 aligned copy for power7 with vector-scalar instructions.
19090 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19091
08a300c9
L
190922011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19093
19094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19095 AVX check.
19096
59178ef9
AS
190972011-09-07 Andreas Schwab <schwab@redhat.com>
19098
19099 [BZ #13144]
19100 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19101 last change.
19102
e38ba7ab
UD
191032011-09-07 Ulrich Drepper <drepper@gmail.com>
19104
19105 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19106 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19107 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19108 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19109 clock_gettime.
19110
d53a73ac
UD
191112011-09-06 Ulrich Drepper <drepper@gmail.com>
19112
fc8bffcc
UD
19113 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19114 Forgot to demangle the pointer.
19115
ceaa0c5d
UD
19116 * sysdeps/i386/sysdep.h: Define atom_text_section.
19117 * sysdeps/x86_64/sysdep.h: Likewise.
19118 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19119 section with atom_text_section.
19120 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19121 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19122 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19123 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19124 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19125
a77d3c17
UD
19126 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19127 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19128 already be defined. Change to take two parameters and don't assign
19129 result to variable. Adjust all users.
19130 Define INTERNAL_GETTIME if not already defined.
19131 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19132 call.
19133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19134 HAVE_CLOCK_GETTIME_VSYSCALL.
19135 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19136
d53a73ac
UD
19137 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19138 gettimeofday vsyscall, just use time.
19139
a8f84144
AS
191402011-09-06 Andreas Schwab <schwab@redhat.com>
19141
19142 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19143 <errno.h>.
19144
ef606249
UD
191452011-09-06 Ulrich Drepper <drepper@gmail.com>
19146
19147 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19148 syscall on x86-64.
19149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19150 syscall.
19151 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19152 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19153 syscall if possible.
19154
6585cb60
UD
191552011-09-05 Ulrich Drepper <drepper@gmail.com>
19156
19157 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19158 e_ident. Don't pass to find_mapsXX.
19159 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19160
a5f524e4
LD
191612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19162
19163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19164 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19165 * sysdeps/x86_64/multiarch/strchr.S: Update.
19166 Check bit_slow_BSF bit.
19167 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19168 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19169 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19170
554881ef
UD
191712011-09-05 Ulrich Drepper <drepper@gmail.com>
19172
d96de963
UD
19173 [BZ #13134]
19174 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19175 before glibc 2.15.
19176 (tryshell): Define.
19177 (__spawni): Change last parameter to be flag. Test
19178 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19179 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19180 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19181 * posix/spawni.c: Likewise.
19182 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19183 * posix/spawnp.c: Likewise. Change normal version to use
19184 SPAWN_XFLAGS_USE_PATH.
19185 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19186 SPAWN_XFLAGS_TRY_SHELL.
19187
d48e5868
UD
19188 [BZ #13150]
19189 * posix/glob.h: Remove gcc 1.x support.
19190
554881ef
UD
19191 [BZ #13068]
19192 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19193
693fb948
LD
191942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19195
19196 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19197 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19198 strrchr-sse2-bsf
19199 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19200 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19201 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19202 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19203 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19204 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19205
1b48c537
UD
192062011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19207
49d42c37
UD
19208 * sysdeps/x86_64/wcscmp.S: New file.
19209
1b48c537
UD
19210 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19211 wcscmp-c wcscmp-sse2
19212 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19213 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19214 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19215 * wcsmbs/wcscmp.c: Allow renaming.
19216
15c95c5d
DM
192172011-09-05 David S. Miller <davem@davemloft.net>
19218
19219 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19220 stack slot, rather than the struct return pointer slot.
19221 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19222 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19224 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19225
2f0ad8f3
UD
192262011-09-05 Ulrich Drepper <drepper@gmail.com>
19227
d88ae418
UD
19228 * po/ja.po: Update from translation team.
19229
2f0ad8f3
UD
19230 [BZ #13144]
19231 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19232 kernel in 64-bit binaries.
19233
5f4318d1
DM
192342011-09-01 David S. Miller <davem@davemloft.net>
19235
19236 * elf/elf.h (HWCAP_SPARC_*): Move to..
19237 * sysdeps/sparc/sysdep.h: this new file and add new values.
19238 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19239 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19240 _DL_HWCAP_COUNT to 24.
19241 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19242 entries.
19243 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19244 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19245 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19247 instead of magic constants.
19248 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19249
3ba57516
DM
192502011-08-31 David S. Miller <davem@davemloft.net>
19251
19252 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19253 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19254 Reimplement to do errno handling inline.
19255 (SYSCALL_ERROR_HANDLER): New macro.
19256 (__SYSCALL_STRING): Do not do errno handling in asm.
19257 (__CLONE_SYSCALL_STRING): Delete.
19258 (__INTERNAL_SYSCALL_STRING): Delete.
19259 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19260 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19261 (PSEUDO): Reimplement to do errno handling inline.
19262 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19263 (SYSCALL_ERROR_HANDLER): New macro.
19264 (__SYSCALL_STRING): Do not do errno handling in asm.
19265 (__CLONE_SYSCALL_STRING): Delete.
19266 (__INTERNAL_SYSCALL_STRING): Delete.
19267 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19268 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19269 i386.
19270 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19271 (inline_syscall*): Add 'err' argument.
19272 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19273 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19274 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19275 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19276
19277 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19278 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19279
2bc17433
AS
192802011-08-30 Andreas Schwab <schwab@redhat.com>
19281
19282 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19283
fbeb5f4d
JO
192842011-08-29 Jiri Olsa <jolsa@redhat.com>
19285
19286 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19287 directive.
19288
ad69cc26
DM
192892011-08-24 David S. Miller <davem@davemloft.net>
19290
19291 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19292
39dd69df
AS
192932011-08-24 Andreas Schwab <schwab@redhat.com>
19294
19295 * elf/Makefile: Add rules to build and run unload8 test.
19296 * elf/unload8.c: New file.
19297 * elf/unload8mod1.c: New file.
19298 * elf/unload8mod1x.c: New file.
19299 * elf/unload8mod2.c: New file.
19300 * elf/unload8mod3.c: New file.
19301
19302 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19303 it wasn't used.
19304
2c0b250a
DM
193052011-08-23 David S. Miller <davem@davemloft.net>
19306
19307 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19308 subtract stack bias.
19309 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19310 %sp not %fp in calculations.
19311 (_JMPBUF_UNWINDS_ADJ): Likewise.
19312
22044b48
DM
19313 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19314 (aio_suspend): Call it to force an exception region around the
19315 AIO_MISC_WAIT() invocation.
19316
2cae4995
AS
193172011-08-23 Andreas Schwab <schwab@redhat.com>
19318
19319 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19320 backslash.
19321
873a772e
AJ
193222011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19323
19324 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19325 protection macro.
19326 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19327 and <dl-machine.h>.
19328 (Elf64_FuncDesc): Remove.
19329
25ad0df1
DM
193302011-08-22 David S. Miller <davem@davemloft.net>
19331
19332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19333 sigaltstack check, add missing cfi directives.
19334 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19335 missing cfi directives, and sigaltstack handling.
19336
e888bcbe
AS
193372011-08-16 Andreas Schwab <schwab@redhat.com>
19338
19339 [BZ #11724]
19340 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19341 object is seen twice.
19342 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19343
19344 * elf/Makefile (distribute): Add tst-initorder2.c.
19345 (tests): Add tst-initorder2.
19346 (modules-names): Add tst-initorder2a tst-initorder2b
19347 tst-initorder2c tst-initorder2d. Add rules to build them.
19348 ($(objpfx)tst-initorder2.out): New rule.
19349 * elf/tst-initorder2.c: New file.
19350 * elf/tst-initorder2.exp: New file.
19351
87162f46
AS
193522011-08-22 Andreas Schwab <schwab@redhat.com>
19353
70538b7f
AS
19354 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19355
f55ffe58
AS
19356 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19357 dependencies back to end of function.
19358
87162f46
AS
19359 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19360 $(elfobjdir)/ld.so.
19361
91b392a4
UD
193622011-08-21 Ulrich Drepper <drepper@gmail.com>
19363
19364 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19365 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19366 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19367 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19368 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19369 of __vdso_gettimeofday.
19370 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19371 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19372 attribute_hidden.
19373 (_libc_vdso_platform_setup): Remove initialization of
19374 __vdso_gettimeofday and __vdso_time.
19375
5c43483f
UD
193762011-08-20 Ulrich Drepper <drepper@gmail.com>
19377
775a77e7
UD
19378 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19379 and fgetc_unlocked.
19380 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19381 getc_unlocked.
89f447ed 19382
49c74ba9
UD
19383 * elf/dl-open.c (add_to_global): Report additions to the global scope
19384 for LD_DEBUG=scopes.
19385 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19386 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19387
5c43483f
UD
19388 [BZ #13114]
19389 * stdio-common/Makefile (tests): Add bug24.
19390 * stdio-common/bug24.c: New file.
19391
a101b025
AJ
193922011-08-19 Andreas Jaeger <aj@suse.de>
19393
19394 [BZ #13114]
19395 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19396 non-existant file when using close-on-exec mode.
19397
c88f1766
UD
193982011-08-20 Ulrich Drepper <drepper@gmail.com>
19399
0276a718
UD
19400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19401 the very first instruction.
19402
c88f1766
UD
19403 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19404 the CFI state in the end.
19405 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19406 inclusion of dl-trampoline.h.
19407 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19408
51ccffa0
AS
194092011-08-19 Andreas Schwab <schwab@redhat.com>
19410
94d7165f
AS
19411 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19412 expectations for long double.
19413
51ccffa0
AS
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19415 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19416
fd708658 194172011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19418
19419 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19420 artificual limit depends upon the system page size.
19421
44f0a71e
UD
194222011-08-17 Ulrich Drepper <drepper@gmail.com>
19423
19424 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19425 * resolv/Makefile: Define CFLAGS-libresolv.
19426
8de79a24
AS
194272011-08-17 Andreas Schwab <schwab@redhat.com>
19428
19429 * nss/makedb.c (compute_tables): Make variables used in nested
19430 function static.
19431
27724598
UD
194322011-08-17 Ulrich Drepper <drepper@gmail.com>
19433
c5305d88
UD
19434 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19435 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19436 if buffer was too small.
19437
27724598
UD
19438 * elf/pldd.c (main): Attach to all threads in the process.
19439 Rewrite /proc handling to use *at functions.
19440
076fe015
UD
194412011-08-16 Ulrich Drepper <drepper@gmail.com>
19442
174baab3
UD
19443 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19444 specifies first scope to show.
19445 (dl_open_worker): Update callers. Move printing scope of new
19446 object to before the relocation.
44f0a71e 19447 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19448 * sysdeps/generic/ldsodefs.h: Update declaration.
19449
076fe015
UD
19450 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19451 string for the scope number.
19452
a60df2c3
UD
194532011-08-14 Ulrich Drepper <drepper@gmail.com>
19454
19455 * nscd/servicescache.c (cache_addserv): Make sure written is always
19456 initialized.
19457
5e4287d1
RM
194582011-08-14 Roland McGrath <roland@hack.frob.com>
19459
85ae0589
RM
19460 * sysdeps/i386/i486/bits/atomic.h
19461 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19462 statement expression, so as to suppress "set but not used" warning.
19463 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19464
69f63097
RM
19465 * string/strncat.c (STRNCAT): Use prototype definition.
19466
675456ef
RM
19467 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19468 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19469 -Iprograms here.
19470 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19471 (localedef-modules): Add localedef.
19472 (locale-modules): Add locale.
19473
5e4287d1
RM
19474 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19475 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19476 to avoid a warning.
19477
9c96ff23
DM
194782011-08-14 David S. Miller <davem@davemloft.net>
19479
19480 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19481 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19482
f9ddf089
UD
194832011-08-13 Ulrich Drepper <drepper@gmail.com>
19484
44f0a71e 19485 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19486 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19487 * elf/rtld.c (dl_main): Set l_name of vDSO.
19488 Call _dl_show_scope when DL_DEBUG_SCOPES.
19489 (process_dl_debug): Recognize scopes flag and also set it for all.
19490 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19491 Declare _dl_show_scope.
19492
1dc27704
UD
19493 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19494 (do_dlopen): Pass caller_dlopen to dl_open.
19495 (__libc_dlopen_mode): Initialize caller_dlopen.
19496
f9ddf089
UD
19497 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19498 of libc. Make tolower call locale-independent. Optimize a bit by
19499 using isdigit instead of isalnum.
19500 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19501
9ac533d3
UD
195022011-08-12 Ulrich Drepper <drepper@gmail.com>
19503
19504 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19505 was a dependency or dynamically loaded.
19506
89edf2e9
UD
195072011-08-11 Ulrich Drepper <drepper@gmail.com>
19508
8e999d29
UD
19509 * intl/l10nflist.c: Allow architecture-specific pop function.
19510 * sysdeps/x86_64/l10nflist.c: New file.
19511
89edf2e9
UD
19512 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19513 classification.
19514
14d96785
AS
195152011-08-10 Andreas Schwab <schwab@redhat.com>
19516
19517 * include/dirent.h: Add libc_hidden_proto for scandirat and
19518 scandirat64. Don't declare __scandirat64.
19519 * dirent/scandirat.c: Add libc_hidden_def.
19520 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19521 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19522
6761ac04
DM
195232011-08-10 David S. Miller <davem@davemloft.net>
19524
19525 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19526 enum.
19527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19528 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19529 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19530
c55fbd1e
UD
195312011-08-09 Ulrich Drepper <drepper@gmail.com>
19532
19533 * Versions.def [libc]: Add GLIBC_2.15.
19534 * dirent/Makefile (routines): Add scandirat and scandirat64.
19535 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19536 GLIBC_2.15.
19537 * dirent/dirent.h: Declare scandirat and scandirat64.
19538 * dirent/scandirat.c: New file.
19539 * dirent/scandirat64.c: New file.
19540 * sysdeps/wordsize-64/scandirat.c: New file.
19541 * sysdeps/wordsize-64/scandirat64.c: New file.
19542 * dirent/opendir.c: Define opendirat.
19543 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19544 using scandirat.
19545 * dirent/scandir64.c: Adjust for scandir.c change.
19546 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19547 __scandirat64, and __scandir_cancel_handler.
19548 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19549 additional parameter and use openat instead of open (outside of ld.so).
19550 Add new __opendir as wrapper around __opendirat.
19551 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19552 here without requiring old scandirat implementation.
19553
879165f2
UD
195542011-08-08 Ulrich Drepper <drepper@gmail.com>
19555
19556 * dirent/scandir.c (cancel_handler): Renamed to
19557 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19558 defined. Adjust users.
19559 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19560 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19561
cb7e923b
UD
195622011-08-04 Ulrich Drepper <drepper@gmail.com>
19563
16292edd
UD
19564 * string/test-string.h (IMPL): Use __STRING to expand name and then
19565 stringify it.
19566
cb7e923b
UD
19567 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19568 of cleanups.
19569
cff82933
LD
195702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19571
19572 * string/Makefile: Update.
19573 (strop-tests): Append strncat.
19574 * string/test-wcscmp.c: New file.
19575 New comprehensive test for wcscmp.
19576 * string/test-strcmp.c: Update.
19577 (WIDE): New define.
19578
9be9bfcc
AS
195792011-07-22 Andreas Schwab <schwab@redhat.com>
19580
19581 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19582 line.
19583
2e96f1c7
AS
195842011-07-26 Andreas Schwab <schwab@redhat.com>
19585
19586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19587 encoding to ACE if AI_IDN.
19588
85188888
JJ
195892011-08-01 Jakub Jelinek <jakub@redhat.com>
19590
19591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19592 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19593
5fa16e9b
LD
195942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19595
19596 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19597 Fix overflow bug in strncat.
19598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19599
19600 * string/test-strncat.c: Update.
19601 Add new tests for checking overflow bugs.
19602
196032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19604
19605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19606 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19607 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19608 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19609 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19610 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19611 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19612 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19613 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19614
19615 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19616 (USE_AS_STRCAT): Define.
19617 Add strcat and strncat support.
19618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19619
8c1a459f
AS
196202011-07-25 Andreas Schwab <schwab@redhat.com>
19621
19622 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19623 __n bigger than INT_MAX+1.
19624 (__strncmp_g): Likewise.
19625
bba33c28
UD
196262011-07-23 Ulrich Drepper <drepper@gmail.com>
19627
798be72d
UD
19628 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19629 * libio/stido.h: Likewise.
19630
8accd4dc
UD
19631 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19632 (AF_NFC): Define.
19633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19634 (AF_NFC): Define.
19635
cbff0d96
UD
19636 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19637 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19638 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19639 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19640 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19641
9191c04a
UD
19642 [BZ #13021]
19643 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19644 installed.
19645
bba33c28
UD
19646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19647 typo.
19648 (_dl_x86_64_save_sse): Likewise.
19649
90f139dd
UD
196502011-07-22 Ulrich Drepper <drepper@gmail.com>
19651
1aae088a
UD
19652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19653 OSXSAVE.
19654 (_dl_x86_64_save_sse): Likewise.
19655
8e2045f5
UD
19656 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19657
90f139dd
UD
19658 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19659
1d002f25
AS
196602011-07-21 Andreas Schwab <schwab@redhat.com>
19661
19662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19663 change.
19664 (_dl_x86_64_save_sse): Use correct AVX check.
19665
21137f89
UD
196662011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19667
19668 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19669 bug in strncpy/strncat.
19670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19671
a65c0b7a
UD
196722011-07-21 Ulrich Drepper <drepper@gmail.com>
19673
19674 * string/tester.c (test_strcat): Add tests for different alignments
19675 of source and destination.
19676 (test_strncat): Likewise.
19677
6986b98a
UD
196782011-07-20 Ulrich Drepper <drepper@gmail.com>
19679
90bb2039
UD
19680 [BZ #12852]
19681 * posix/glob.c (glob): Check passed in values before using them in
19682 expressions to avoid some overflows.
19683 (glob_in_dir): Likewise.
19684
5644ef54
UD
19685 [BZ #13007]
19686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19687 check for AVX enablement so that we don't crash with old kernels and
19688 new hardware.
19689 * elf/tst-audit4.c: Add same checks here.
19690 * elf/tst-audit6.c: Likewise.
19691
19692 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19693
bfc9dc9b
AS
196942011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19695
19696 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19697
702e64bb
UD
196982011-07-20 Ulrich Drepper <drepper@gmail.com>
19699
19700 * po/cs.po: Update from translation team.
19701 * po/bg.po: Likewise.
19702
295e904f
MP
197032011-07-12 Marek Polacek <mpolacek@redhat.com>
19704
19705 * misc/sys/cdefs.h: Add support for const attribute.
19706 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19707 to gnu_dev_{major,minor,makedev} functions.
19708
3ff94596
MP
197092011-07-20 Marek Polacek <mpolacek@redhat.com>
19710
19711 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19712
28b59fca
AS
197132011-07-20 Andreas Schwab <schwab@redhat.com>
19714
19715 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19716 strlen results.
19717
19df733e
AK
197182011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19719
19720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19721 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19722 register in order to avoid conflicts with the soft frame pointer
19723 being held in r11 when necessary.
19724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19725 (INTERNAL_VSYSCALL_NCS): Likewise.
19726
c8835729
MP
197272011-07-14 Marek Polacek <mpolacek@redhat.com>
19728
19729 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19730 * elf/dl-fini.c (_dl_fini): Adjust caller.
19731 * elf/dl-close.c (_dl_close_worker): Likewise.
19732 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19733
b902330c
MP
197342011-07-15 Marek Polacek <mpolacek@redhat.com>
19735
8991e135
MP
19736 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19737 "aux_cache->nlibs < 0".
19738
b902330c
MP
19739 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19740 in the reload-count case.
19741
99710781
LD
197422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19743
19744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19745 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19746 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19747 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19748 * sysdeps/x86_64/multiarch/strcat.S: New file.
19749 * sysdeps/x86_64/multiarch/strncat.S: New file.
19750 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19751 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19752 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19753 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19754 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19755 (USE_AS_STRCAT): Define.
19756 Add strcat and strncat support.
19757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19758 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19759 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19760 * string/strncat.c: Update.
19761 (USE_AS_STRNCAT): Define.
19762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19763 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19764 and i7.
19765 * sysdeps/x86_64/multiarch/init-arch.h
19766 (bit_Prefer_PMINUB_for_stringop): New.
19767 (index_Prefer_PMINUB_for_stringop): Likewise.
19768 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19769 bit_Prefer_PMINUB_for_stringop.
19770
7dc6bd90
UD
197712011-07-19 Ulrich Drepper <drepper@gmail.com>
19772
19773 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19774 buffer64.
19775 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19776 of casting of buffer.
19777 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19778 buffer32 and buffer64.
19779 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19780 writes instead of casting of buffer.
19781 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19782 buffer32.
19783 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19784 casting of buffer.
19785
e0e72284
AS
197862011-07-19 Andreas Schwab <schwab@redhat.com>
19787
19788 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19789
feb1eb0b
UD
197902011-07-19 Ulrich Drepper <drepper@gmail.com>
19791
19792 * nscd/nscd.c (termination_handler): Don't do anything for a database
19793 if it has not yet been initialized.
19794
298711ff
UD
197952011-07-18 Ulrich Drepper <drepper@gmail.com>
19796
19797 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19798
197992011-07-15 Marek Polacek <mpolacek@redhat.com>
19800
19801 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19802
f9d68389
UD
198032011-07-18 Ulrich Drepper <drepper@gmail.com>
19804
19805 * po/nl.po: Update from translation team.
19806 * po/sv.po: Likewise.
19807
db290cf5
RM
198082011-07-16 Roland McGrath <roland@hack.frob.com>
19809
19810 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19811 now disallowed by GCC.
5c550700 19812
fd5e21c7
RM
19813 * configure.in (use-default-link): Default to yes if a test -shared
19814 link meets our qualifications.
19815 * configure: Regenerated.
19816
5c550700
RM
19817 * config.make.in (output-format): New variable.
19818 * configure.in: Check for ld --print-output-format support.
19819 * configure: Regenerated.
19820 * Makerules ($(common-objpfx)format.lds)
19821 [$(output-format) != unknown]: Just use $(output-format),
19822 instead of the linker-script munging.
19823
9fa2c032
RM
198242011-07-14 Roland McGrath <roland@hack.frob.com>
19825
a6928d51
RM
19826 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19827 of $(common-objpfx)shlib.lds.
19828 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19829
661607b3
RM
19830 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19831 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19832
9fa2c032
RM
19833 * configure.in (-z relro check): Adjust test code to add a large
19834 writable data section after it.
19835 * configure: Regenerated.
19836
defe9061
RM
198372011-07-11 Roland McGrath <roland@hack.frob.com>
19838
19839 * configure.in (-z relro check): Fix test code to make the variable
19840 truly const.
19841 * configure: Regenerated.
19842
319b9ad4
UD
198432011-07-11 Ulrich Drepper <drepper@gmail.com>
19844
19845 * nscd/nscd.h (struct traced_file): Define.
19846 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19847 elements. Add traced_files.
19848 (inotify_fd): Declare.
19849 (register_traced_file): Declare.
19850 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19851 (inotify_fd): Export.
19852 (resolv_conf_descr): Remove.
19853 (nscd_init): Move inotify descriptor creation to main.
19854 Don't register files for notification here.
19855 (register_traced_file): New function.
19856 (invalidate_cache): Don't use reset_res to determine whether to call
19857 res_init, go through the list of registered files.
19858 (main_loop_poll): The inotify descriptors are now stored in the
19859 structures for the traced files.
19860 (main_loop_epoll): Likewise
19861 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19862 to __nss_disable_nscd.
19863 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19864 for a database anymore. Check the records for all the registered
19865 files instead.
19866 * nss/Makefile (libnss_files-routines): Add files-init.
19867 (libnss_db-routines): Add db-init.
19868 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19869 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19870 * nss/nss_db/db-init.c: New file.
19871 * nss/nss_files/files-init.c: New file.
19872 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19873 __nss_lookup_function.
19874 (__nss_lookup_function): Call nss_load_library.
19875 (nss_load_all_libraries): New function.
19876 (__nss_disable_nscd): Take parameter with callback function for files
19877 to register. Set is_nscd. Load all the DSOs for the NSS modules
19878 used for the cached services.
19879 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19880 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19881 options for features to all the files in nscd.
19882
19883 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19884
23bee3e8
RM
198852011-07-10 Roland McGrath <roland@hack.frob.com>
19886
19887 * csu/elf-init.c (__libc_csu_init): Comment typo.
19888
46a5b7f0
UD
198892011-07-09 Ulrich Drepper <drepper@gmail.com>
19890
19891 * po/pl.po: Update from translation team.
19892 * po/ja.po: Likewise.
19893 * po/ru.po: Likewise.
19894 * po/ko.po: Likewise.
19895 * po/fr.po: Likewise.
19896
d30cf5bb
RM
198972011-07-09 Roland McGrath <roland@hack.frob.com>
19898
113ddea4
RM
19899 * configure.in (.ctors/.dtors header and trailer check):
19900 Use an empirical test on a built program.
19901 * configure: Regenerated.
19902
574920b4
RM
19903 * configure.in (-z relro check): Use an empirical test on a built DSO.
19904 Detect, but do not require, on ia64.
19905 * configure: Regenerated.
19906
d30cf5bb
RM
19907 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19908 Update tests that use readelf to use $READELF instead.
19909 * configure: Regenerated.
19910
8538fdb3
UD
199112011-07-08 Ulrich Drepper <drepper@gmail.com>
19912
19913 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19914 if the result is not used.
19915
04d08991
AJ
199162011-07-05 Andreas Jaeger <aj@suse.de>
19917
19918 [BZ#9696]
19919 * stdlib/tst-strtod.c: Add testcase.
19920
de283087
AD
199212011-07-07 Ulrich Drepper <drepper@gmail.com>
19922
4e5f31c8 19923 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19924 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19925 The latter has a higher limit. Take additional parameter to pass to
19926 the new function.
19927 (__pathconf): Pass file to __statfs_link_max.
19928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19929 __statfs_link_max.
19930 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19931 __statfs_link_max.
19932
de283087
AD
19933 [BZ #12868]
19934 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19935 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19936 Handle Lustre.
19937 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19938 (__statfs_filesize_max): Likewise.
19939 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19940
c75fa153
AJ
199412011-07-05 Andreas Jaeger <aj@suse.de>
19942
19943 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19944
1a544854
UD
199452011-07-06 Marek Polacek <mpolacek@redhat.com>
19946
19947 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19948 `status' variable.
19949 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19950 Likewise.
19951
6f0eec67
UD
199522011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19953
19954 * Makefile (strop-tests): Add strncat.
19955 * string/test-strncat.c: New file.
19956
aae30307
UD
199572011-06-30 Marek Polacek <mpolacek@redhat.com>
19958
19959 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19960
c0cfb5eb
UD
199612011-06-21 Andreas Jaeger <aj@suse.de>
19962
19963 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19964 Copy rule from iconvdata/Makefile.
19965
01636b21
UD
199662011-07-06 Ulrich Drepper <drepper@gmail.com>
19967
19968 [BZ #12922]
19969 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19970 but no long options are defined, just return 'W'.
19971
9895c8bc
UD
199722011-06-22 Marek Polacek <mpolacek@redhat.com>
19973
19974 [BZ #9696]
19975 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19976
5d4cf042
UD
199772011-07-06 Ulrich Drepper <drepper@gmail.com>
19978
19979 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19980 netgroups to read.
960e5535 19981 (innetgr): Likewise.
5d4cf042 19982
751eb97e
RM
199832011-07-05 Roland McGrath <roland@hack.frob.com>
19984
19985 * config.make.in (install_root): Default to $(DESTDIR).
19986
f15f1e45
UD
199872011-07-05 Ulrich Drepper <drepper@gmail.com>
19988
19989 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19990
4e34ac6a
RM
199912011-07-02 Roland McGrath <roland@hack.frob.com>
19992
5e9b6af4
RM
19993 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19994
84f9ea0f
RM
19995 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19996 containing directory rather than embedding absolute directory names.
19997
ea5ee9f7
RM
19998 * scripts/check-local-headers.sh: Rewritten using awk.
19999 Match by word, not by line. Print error messages for matches.
20000 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20001
1b74661a
RM
20002 * Makerules [shlib-lds-flags empty]:
20003 ($(common-objpfx)libc_pic.opts): New target.
20004 ($(common-objpfx)libc_pic.os.clean): New target.
20005 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20006
20007 * config.make.in (OBJCOPY): New variable.
20008 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20009 * configure: Regenerated.
20010
f781ef40
RM
20011 * config.make.in (use-default-link): New variable.
20012 * configure.in (use_default_link): Grok --with-default-link to set it.
20013 * configure: Regenerated.
20014 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20015 (shlib-lds, shlib-lds-flags): Define to empty.
20016
2d4fa81e
RM
20017 * Makerules (shlib-lds): New variable.
20018 (shlib-lds-flags): New variable.
20019 (build-shlib, build-moduile, build-module-asneeded): Use it.
20020 ($(common-objpfx)libc.so): Use $(shlib-lds).
20021 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20022 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20023
31fffa6b
RM
20024 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20025 DT_FLAGS/DT_FLAGS_1 with zero flags.
20026
4e34ac6a
RM
20027 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20028 linker script munging.
20029
fcfc776b
UD
200302011-07-02 Ulrich Drepper <drepper@gmail.com>
20031
20032 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20033 as 128-bit value.
20034 * crypt/sha512.c (sha512_process_block): Perform total addition using
20035 128-bit if possible.
20036 (__sha512_finish_ctx): Likewise.
20037 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20038 as 64-bit value.
20039 * crypt/sha256.c (SWAP64): Define.
20040 (sha256_process_block): Perform total addition using 64-bit if
20041 possible.
20042 (__sha256_finish_ctx): Likewise.
20043
99231d9a
UD
200442011-07-01 Ulrich Drepper <drepper@gmail.com>
20045
20046 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20052
445b4a53
TK
200532011-07-01 Thorsten Kukuk <kukuk@suse.de>
20054
20055 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20057 * nscd/hstcache.c (cache_addhst): Likewise.
20058 * nscd/grpcache.c (cache_addgr): Likewise.
20059 * nscd/aicache.c (addhstaiX): Likewise
20060
6d4d8e8e
AS
200612011-07-01 Andreas Schwab <schwab@redhat.com>
20062
20063 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20064 domain only when needed.
20065
89f654c5
AS
200662011-06-30 Andreas Schwab <schwab@redhat.com>
20067
20068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20069 is always restored.
20070
cf3b23ff
UD
200712011-06-29 Ulrich Drepper <drepper@gmail.com>
20072
20073 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20074 are re-adding the entry.
20075 * nscd/servicescache.c (cache_addserv): Likewise.
20076
751626f9
AJ
200772011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20078
20079 * sysdeps/generic/dl-irel.h: fix protection against multiple
20080 inclusions.
20081 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20082
9113ea1f
UD
200832011-06-28 Ulrich Drepper <drepper@gmail.com>
20084
5c0b8d90
UD
20085 [BZ #12935]
20086 * malloc/memusage.sh: Fix quoting in message.
20087 * debug/xtrace.sh: Likewise.
20088
9113ea1f
UD
20089 * configure.in: Remove support for --experimental-malloc option, make
20090 it the default.
20091 * config.make.in: Likewise.
20092 * malloc/Makefile: Likewise.
20093
a4172181
AS
200942011-06-27 Andreas Schwab <schwab@redhat.com>
20095
20096 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20097 two-byte characters.
20098
78a7eee7
RM
200992011-06-27 Roland McGrath <roland@hack.frob.com>
20100
62bede13
RM
20101 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20102 AC_CACHE_CHECK invocation.
20103 * configure: Regenerated.
20104
78a7eee7
RM
20105 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20106
5ce33a62
UD
201072011-06-27 Ulrich Drepper <drepper@gmail.com>
20108
034807a9
UD
20109 [BZ #12350]
20110 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20111 bit from old_res_options.
20112
4902da17
UD
20113 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20114
5ce33a62
UD
20115 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20116 value type for setfct.
20117
c2344f56
L
201182011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20119
20120 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20121 __gettimeofday instead of gettimeofday.
20122
68468076
UD
201232011-06-26 Ulrich Drepper <drepper@gmail.com>
20124
20125 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20126
acb0d739
L
201272011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20128
20129 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20130
20131 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20132 info.
20133
8912479f
L
201342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20135
20136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20137 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20138 strcpy-sse2-unaligned strncpy-sse2-unaligned
20139 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20140 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20141 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20142 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20143 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20144 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20146 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20147 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20148 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20149 (STRCPY): Support SSE2 and SSSE3 versions.
20150
d5495a11
UD
201512011-06-24 Ulrich Drepper <drepper@gmail.com>
20152
20153 [BZ #12874]
20154 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20155 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20156 kernels which artificially limit size of requests.
20157
0b1cbaae
L
201582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20159
20160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20161 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20162 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20163 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20164 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20165 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20166 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20167 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20168 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20170 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20171 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20172 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20173 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20174 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20176 Enable unaligned load optimization for Intel Core i3, i5 and i7
20177 processors.
20178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20179 Define.
20180 (index_Fast_Unaligned_Load): Define.
20181 (HAS_FAST_UNALIGNED_LOAD): Define.
20182
07f494a0
MP
201832011-06-23 Marek Polacek <mpolacek@redhat.com>
20184
20185 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20186
fa3fc0fe
UD
201872011-06-22 Ulrich Drepper <drepper@gmail.com>
20188
20189 [BZ #12907]
20190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20191 until it is clear that the information is realy needed.
20192 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20193
e12df166
AS
201942011-06-22 Andreas Schwab <schwab@redhat.com>
20195
20196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20197
852eb34d
UD
201982011-06-22 Ulrich Drepper <drepper@gmail.com>
20199
84e2a551
UD
20200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20201 /sys/devices/system/cpu/online if it is usable.
20202
852eb34d
UD
20203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20204 reading the information from the /proc filesystem to once a second.
20205
6e502e19
UD
202062011-06-21 Andreas Jaeger <aj@suse.de>
20207
20208 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20209 NULL after inclusion of kernel headers.
20210
75d39ff2
UD
202112011-06-21 Ulrich Drepper <drepper@gmail.com>
20212
51f9aa6a
UD
20213 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20214 calls to internal_setent.
20215
c0244a9d
UD
20216 [BZ #12885]
20217 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20218 addresses using gethostbyname4_r ignore IPv4 addresses.
20219
c5e3c2ae
UD
20220 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20221 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20222
75d39ff2
UD
20223 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20224
42675c6f
DM
202252011-06-20 David S. Miller <davem@davemloft.net>
20226
20227 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20228 inclusions.
20229 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20230
20231 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20232 (elf_irel): Use it.
20233 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20234 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20235 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20236 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20237 * sysdeps/x86_64/dl-irel.h: Likewise.
20238
20239 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20240 * elf/dl-sym.c: Likewise.
20241
57912a71
UD
202422011-06-15 Ulrich Drepper <drepper@gmail.com>
20243
20244 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20245 need to dereference resplen2.
20246
ee22793d
AS
202472011-06-14 Andreas Schwab <schwab@redhat.com>
20248
20249 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20250
a9e836b0
UD
202512011-06-15 Ulrich Drepper <drepper@gmail.com>
20252
77fb9117
UD
20253 * Makeconfig: Define vardbdir and inst_vardbdir.
20254 * nss/Makefile: Add rules to install db-Makefile.
20255
40c1b22c
UD
20256 * nss/nss_db/db-XXX.c: Cleanup.
20257
9f2da732
UD
20258 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20259 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20260 GLIBC_PRIVATE.
20261 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20262 * nss/makedb.c: Implement -g option to specify that value strings
20263 are generated and should not be added to table iterated over for
20264 get*ent calls.
20265 * nss/nss_db/db-initgroups.c: New file.
20266
82e9a1f7
UD
20267 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20268 interface.
20269
c41af17e
UD
20270 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20271 (internal_getgrouplist): Adjust to name change.
20272 Update use_initgroups_entry if this is not the first call.
20273 * nss/databases.def: Add initgroups entry.
20274
a9e836b0
UD
20275 * nss/makedb.c (compute_tables): Check result of multiple hash table
20276 sizes to minimize maximum chain length.
20277
2666d441
UD
202782011-06-14 Ulrich Drepper <drepper@gmail.com>
20279
20280 * Versions.def: Add entry for libnss_db.
20281 * shlib-versions: Likewise.
20282 * nss/Makefile: Add rules to build libnss_db.
20283 * nss/Versions: Add libnss_db information. Organize libnss_files
20284 entries better.
20285 * nss/db-Makefile: Add gshadow support. Change rules for the new
20286 makedb progra. Some minor improvements to generate smaller files.
20287 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20288 here from...
20289 * nss/makedb.c: ...here.
20290 Improve database format to be smaller and require less memory at
20291 runtime.
20292 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20293 db anymore.
20294 * nss/nss_db/db-netgrp.c: Likewise.
20295 * nss/nss_db/db-open.c: Likewise.
20296 * nss/nss_files/flies-XXX.x: Adjust comments.
20297 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20298 * nss/nss_files/files-grp.c: Likewise.
20299 * nss/nss_files/files-hosts.c: Likewise.
20300 * nss/nss_files/files-network.c: Likewise.
20301 * nss/nss_files/files-proto.c: Likewise.
20302 * nss/nss_files/files-pwd.c: Likewise.
20303 * nss/nss_files/files-rpc.c: Likewise.
20304 * nss/nss_files/files-service.c: Likewise.
20305 * nss/nss_files/files-sgrp.c: Likewise.
20306 * nss/nss_files/files-spwd.c: Likewise.
20307 * nss/nss_db/db-alias.c: Removed.
20308 * nss/nss_db/dummy-db.h: Removed.
20309
9ee76b5a
UD
203102011-06-02 Ulrich Drepper <drepper@gmail.com>
20311
20312 * nss/makedb.c: Rewritten to not use database library.
20313 * nss/Makefile: Update to build new makedb program.
20314
c71ca1f8
AJ
203152011-06-14 Andreas Jaeger <aj@suse.de>
20316
20317 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20318 memset declaration.
20319
3154bfb8
UD
203202011-06-10 Andreas Schwab <schwab@redhat.com>
20321
20322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20323 tmpbuf.
20324
b350afab
RM
203252011-06-10 Roland McGrath <roland@hack.frob.com>
20326
decd4e50
RM
20327 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20328 * elf/Makefile ($(objpfx)ld.so): Likewise.
20329
5615eaf2
RM
20330 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20331 Don't list ld.so twice in dependencies.
20332
20333 * posix/bug-regex31.c: Include <stdlib.h>.
20334
20335 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20336
20337 * nis/nss_compat/compat-spwd.c
20338 (getspent_next_nss_netgr): Remove unused variable.
20339 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20340
20341 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20342 nonmembers" output to use the right array.
20343
20344 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20345
20346 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20347
20348 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20349 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20350 * catgets/gencat.c (read_input_file): Likewise.
20351 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20352
20353 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20354 variable definition inside #if's controlling its use.
20355
20356 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20357
20358 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20359
20360 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20361
20362 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20363 unreachable code.
20364
20365 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20366
b68e08db
RM
20367 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20368 * configure: Regenerated.
20369
b350afab
RM
20370 * Makerules: Revert last change.
20371 * elf/Makefile: Likewise.
20372
28368601
RM
203732011-06-09 Roland McGrath <roland@hack.frob.com>
20374
20375 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20376 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20377 (reloc-link): Likewise.
20378
11988f8f
UD
203792011-06-09 Ulrich Drepper <drepper@gmail.com>
20380
20381 * elf/Makefile: Add rules to build pldd.
20382 * elf/pldd.c: New file.
20383 * elf/pldd-xx.c: New file.
20384
e80fab37
UD
203852011-06-07 Ulrich Drepper <drepper@gmail.com>
20386
20387 * version.h: Update for 2.15 development version.
20388
9b849836
DM
203892011-06-07 David S. Miller <davem@davemloft.net>
20390
20391 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20392 ifuncs.
20393 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20394 elf_machine_lazy_rel): Likewise.
20395 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20396 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20397 elf_machine_lazy_rel): Likewise.
20398 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20399 dl_hwcap via passed in argument.
20400 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20401 Likewise.
20402
5a31b283
AK
204032011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20404
20405 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20406
069e52f8
RM
204072011-06-06 Roland McGrath <roland@hack.frob.com>
20408
20409 [BZ #12849]
20410 * manual/fdl-1.1.texi: New file, verbatim from:
20411 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20412 * manual/lgpl-2.1.texi: New file, verbatim from:
20413 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20414 * manual/Makefile (licenses): New variable, list those new file names.
20415 (texis): Use it.
20416 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20417
20418 * manual/fdl.texi: File removed.
20419 * manual/lesser.texi: File removed.
20420 * manual/libc.texinfo (Copying, Documentation License):
20421 Use new @include file names, put @appendix directive before @include.
20422
f16846a5
JJ
204232011-06-04 Jakub Jelinek <jakub@redhat.com>
20424
20425 [BZ #12841]
20426 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20427 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20428 (mq_open): Add __NTH.
20429
3d29045b
L
204302011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20431
20432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20433 Assume Intel Core i3/i5/i7 processor if AVX is available.
20434
8c297311
UD
204352011-05-31 Ulrich Drepper <drepper@gmail.com>
20436
20437 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20438 typo.
20439
c8fc0c91
UD
204402011-05-31 Andreas Schwab <schwab@redhat.com>
20441
20442 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20443 memory. Use alloca_account. Fix memory leak when retrying.
20444
5b27a807
UD
204452011-05-31 Ulrich Drepper <drepper@gmail.com>
20446
356f8bc6
UD
20447 * version.h (RELEASE): Bump for 2.14 release.
20448 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20449
5b27a807
UD
20450 * config.make.in (RANLIB): Remove entry.
20451
01f16ab0
UD
204522011-05-30 Ulrich Drepper <drepper@gmail.com>
20453
41fce8bd
UD
20454 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20455 (libc.pot): Work around missing support for .ksh extension in xgettext.
20456
4769ae77
UD
20457 [BZ #12684]
20458 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20459 if both request failed.
20460 (send_dg): In case of server errors clear resplen or *resplen2.
20461
6b1e7d19
UD
20462 [BZ #12454]
20463 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20464 when there are multiple maps.
20465 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20466 (_dl_fini): Remove test here.
20467
01f16ab0
UD
20468 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20469
b1ebd700
UD
204702011-05-29 Ulrich Drepper <drepper@gmail.com>
20471
7ae22829
UD
20472 [BZ #12350]
20473 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20474 bit from old_res_options.
20475 (gaih_inet): Likewise.
20476
553149f6 20477 [BZ #11099]
18a84741 20478 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20479 as signed.
20480
652ffab1
UD
20481 * resolv/res_init.c (res_setoptions): Make the code more compact.
20482
16985fd0
UD
20483 [BZ #11558]
20484 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20485 set RES_USEVC.
20486
0464f746
UD
20487 [BZ #11634]
20488 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20489
7d17596c
UD
20490 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20491
cf6bbbd7
UD
20492 [BZ #11781]
20493 * malloc/malloc.h: Declare malloc hook variables as volatile.
20494
13f1ab36
UD
20495 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20496 in last patch.
20497
b1ebd700
UD
20498 [BZ #11799]
20499 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20500 raise in the comment.
80e2212d
UD
20501 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20502 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20503 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20504
ce67228d
UD
205052011-05-28 Ulrich Drepper <drepper@gmail.com>
20506
8887a920
UD
20507 [BZ #12811]
20508 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20509 grow the buffers more if it already has to be sufficient.
20510 (build_wcs_upper_buffer): Likewise.
20511 * posix/regexec.c (check_matching): Likewise.
20512 (clean_state_log_if_needed): Likewise.
20513 (extend_buffers): Don't enlarge buffers beyond size of the input
20514 buffer.
20515 Patches mostly by Emil Wojak <emil@wojak.eu>.
20516 * posix/bug-regex32.c: New file.
20517 * posix/Makefile (tests): Add bug-regex32.
20518
4f031072
UD
20519 * locale/findlocale.c (_nl_find_locale): Return right away if
20520 _nl_explode_name failed.
20521 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20522
d0478f0c
UD
20523 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20524
de81b246
UD
20525 * debug/xtrace.sh: Unify messages.
20526 * malloc/memusage.sh: Likewise.
20527
c738465a
UD
20528 [BZ #12813]
20529 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20530 time symbol from vDSO. Substitute with vsyscall if not available.
20531 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20532 __vdso_time.
20533
f1f929d7
UD
20534 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20535 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20536 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20537 Add sendmmsg and internal_sendmmsg.
20538 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20539 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20540 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20541
ce67228d
UD
20542 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20543 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20544 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20545
e57420c6
UD
205462011-05-27 Ulrich Drepper <drepper@gmail.com>
20547
a8509ca5
UD
20548 [BZ #12813]
20549 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20550 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20551 available.
20552 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20553 __vdso_getcpu.
20554
e57420c6
UD
20555 [BZ #12814]
20556 * iconvdata/Makefile (tests): Add bug-iconv9.
20557 * iconvdata/bug-iconv9.c: New file.
20558
4d07db15
AS
205592011-05-27 Andreas Schwab <schwab@redhat.com>
20560
20561 [BZ #12814]
20562 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20563
ea486f69
JJ
205642011-05-25 Jakub Jelinek <jakub@redhat.com>
20565
20566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20567 (struct user_regs_struct): Change intcs field back to cs.
20568
6f038433
UD
205692011-05-25 Ulrich Drepper <drepper@gmail.com>
20570
20571 * po/ja.po: Update from translation team.
20572
67f86a25
UD
205732011-05-23 Ulrich Drepper <drepper@gmail.com>
20574
20575 [BZ #12795]
20576 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20577 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20578
def7fbd6
AS
205792011-05-20 Andreas Schwab <schwab@redhat.com>
20580
20581 * stdlib/longlong.h: Update from GCC.
20582
f50ef8f1
AS
205832011-05-23 Andreas Schwab <schwab@redhat.com>
20584
20585 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20586 parameter name.
20587 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20588 Add parameter name.
20589 (__sysconf): Pass it down.
20590
de7ce8f1
UD
205912011-05-22 Ulrich Drepper <drepper@gmail.com>
20592
f2962a71
UD
20593 [BZ #12671]
20594 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20595 some situations.
20596 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20597 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20598 add in in __libc_use_alloca calls. Adjust callers.
20599 (glob): Use malloc in some situations.
20600
de7ce8f1
UD
20601 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20602 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20603 pltexit.
20604
aec84f53
UD
206052011-05-21 Ulrich Drepper <drepper@gmail.com>
20606
05bb4a68
UD
20607 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20608 and CLOCK_BOOTTIME_ALARM.
20609
7ea72f99
UD
20610 [BZ #12782]
20611 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20612 is returned.
20613
7e4afad5
UD
20614 * string/_strerror.c (__strerror_r): Print negative errors as signed
20615 numbers.
20616
8e211fec
UD
20617 [BZ #12777]
20618 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20619 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20620 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20621
f7d82dc9
UD
20622 * configure.in: Fix typo in redirection and correct removal of test
20623 files in two cases.
20624
cc9e536d
UD
20625 [BZ #12788]
20626 * locale/setlocale.c (new_composite_name): Fix test to check for
20627 identical name of all categories.
20628
aec84f53
UD
20629 [BZ #12792]
20630 * libio/filedoalloc.c (local_isatty): New function.
20631 (_IO_file_doallocate): Use local_isatty.
20632 * stdio-common/perror.c (perror): In case a new stream is used
20633 forward the stream error.
20634 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20635 error flag.
20636
78e64fdc
RT
206372011-05-20 Ulrich Drepper <drepper@gmail.com>
20638
34a9094f
UD
20639 [BZ #11869]
20640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20641 alloca.
20642 * include/alloca.h (extend_alloca_account): Define.
20643
78e64fdc
RT
20644 [BZ #11857]
20645 * posix/regex.h: Fix comments with documentation of user-accessible
20646 fields after compilation and describe correct free'ing of pattern
20647 after re_compile_pattern.
20648 Patch by Reuben Thomas <rrt@sc3d.org>.
20649
457bddfc
RA
206502011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20651
20652 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20653 and -mno-altivec to prevent the compiler from using Altivec and/or
20654 VSX instructions when the corresponding registers are not available.
20655
a4527b51
AS
206562011-05-19 Andreas Schwab <schwab@redhat.com>
20657
20658 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20659
ed690b2f
UD
206602011-05-19 Ulrich Drepper <drepper@gmail.com>
20661
20662 * libio/freopen.c (freopen): Use __dup2, not dup2.
20663 * libio/freopen64.c (freopen64): Likewise.
20664
8db73634
L
206652011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20666
20667 [BZ #12775]
20668 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20669 * math/Makefile (tests): Add test-powl.
20670 (CFLAGS-test-powl.c): Define.
20671 * math/test-powl.c: New file.
20672
0a197a9d
L
206732011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20674
20675 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20676
ee30c380
UD
206772011-05-17 Ulrich Drepper <drepper@gmail.com>
20678
20679 [BZ #11837]
20680 * iconvdata/gb18030.c: Update to GB18020-2005.
20681
6ce75379
UD
206822011-05-16 Ulrich Drepper <drepper@gmail.com>
20683
a4b89fd8
AR
20684 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20685 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20686 Patch by Aharon Robbins <arnold@skeeve.com>.
20687
ea389b12
UD
20688 [BZ #11892]
20689 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20690 on the stack.
20691
68a3f91f
UD
20692 [BZ #11895]
20693 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20694 through underflows.
20695
15cc7dd1
UD
20696 [BZ #12766]
20697 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20698 point to strings before performing equality test for error_one_per_line
20699 mode.
20700
f3799213
UD
20701 [BZ #11697]
20702 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20703
d79a9c94
UD
20704 [BZ #11820]
20705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20706 (struct user_fpregs_struct): Avoid __uint*_t types.
20707
56e5eb46
UD
20708 [BZ #6420]
20709 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20710 symbol info. Use it instead of calling _dl_addr locally.
20711 (lock_and_info): New function.
20712 (tr_freehook): Call lock_and_info and pass symbol info as additional
20713 parameter to tr_where.
20714 (tr_mallochook): Likewise.
20715 (tr_reallochook): Likewise.
20716 (tr_memalignhook): Likewise.
20717
6ce75379
UD
20718 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20719 used and couldn't be at all thread-safe.
20720
f8a3b5bf
UD
207212011-05-15 Ulrich Drepper <drepper@gmail.com>
20722
94b7cc37
UD
20723 * libio/freopen.c (freopen): Don't close old file descriptor
20724 before the new one is opened. Instead dup the new file descriptor
20725 to the old one after the new stream is created.
20726 * libio/freopen64.c (freopen64): Likewise.
20727 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20728 * libio/fileops.c (_IO_new_file_close_it): Handle new
20729 _IO_FLAGS2_NOCLOSE flag.
20730 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20731 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20732 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20733 _IO_FLAGS2_NOCLOSE flag.
20734 * include/unistd.h: Add hidden_proto for dup3.
20735 Define __have_dup3.
20736 * io/dup3.c: Define hidden symbol.
20737 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20738
bd25564e
UD
20739 [BZ #7101]
20740 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20741 when an incomplete long option is used.
20742 * posix/tst-getopt_long1.c: New file.
20743 * posix/Makefile (tests): Add tst-getopt_long1.
20744
c84cfef4
UD
20745 [BZ #10138]
20746 * scripts/config.guess: Update from autoconf-2.68.
20747 * scripts/config.sub: Likewise.
20748
3b85df27
UD
20749 [BZ #10157]
20750 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20751 tests into ...
20752 (has_cpuclock): ...this. New function.
20753 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20754 macro here based on has_cpuclock code.
20755
15a856b1
UD
20756 [BZ #10149]
20757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20758 First byte (not low byte) is now always NUL.
20759 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20760
05f399e6
UD
20761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20762 Use non-cancelable interfaces.
20763
10a52685 20764 [BZ #9809]
94ecc67d
UD
20765 * locale/iso-639.def: Add entry for Sorani.
20766
f8a3b5bf
UD
20767 [BZ #11901]
20768 * include/stdlib.h: Move include protection to the right place.
20769 Define abort_msg_s. Declare __abort_msg with it.
20770 * stdlib/abort.c (__abort_msg): Adjust type.
20771 * assert/assert.c (__assert_fail_base): New function. Majority
20772 of code from __assert_fail. Allocate memory for __abort_msg with
20773 mmap.
20774 (__assert_fail): Now call __assert_fail_base.
20775 * assert/assert-perr.c: Remove bulk of implementation. Use
20776 __assert_fail_base.
20777 * include/assert.hL Declare __assert_fail_base.
20778 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20779 mmap.
20780 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20781
1af4e298
UD
207822011-05-14 Ulrich Drepper <drepper@gmail.com>
20783
f8a3b5bf 20784 [BZ #11952]
d26dfc60
MG
20785 [BZ #12453]
20786 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20787 until all modules are registered in the DTV.
20788 * elf/Makefile: Add rules to build and run tst-tls19.
20789 * elf/tst-tls19.c: New file.
20790 * elf/tst-tls19mod1.c: New file.
20791 * elf/tst-tls19mod2.c: New file.
20792 * elf/tst-tls19mod3.c: New file.
20793 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20794
2fc54d6f
UD
20795 [BZ #12083]
20796 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20797 correctly.
20798
98d76b46
UD
20799 [BZ #12601]
20800 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20801 two-byte sequence errors.
20802 * iconvdata/Makefile (tests): Add bug-iconv8.
20803 * iconvdata/bug-iconv8.c: New file.
20804
da3c19ef
UD
20805 [BZ #12626]
20806 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20807 buf2 definition.
20808
ca408c15
UD
20809 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20810
d6f67f7d
UD
20811 [BZ #12432]
20812 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20813 (dummy_getcfa): New function.
20814 (init): Get _Unwind_GetCFA address, use dummy if not found.
20815 (backtrace_helper): In recursion check, also check whether CFA changes.
20816 (__backtrace): Completely initialize arg.
20817
1af4e298 20818 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20819 storing incomplete byte sequence in state object. Avoid testing for
20820 guaranteed too small input if we know there is enough data available.
1af4e298 20821
da62f81b
AS
208222011-05-11 Andreas Schwab <schwab@redhat.com>
20823
20824 * Makeconfig (+link-pie): Indent.
20825 * Rules (binaries-pie): Define if $(have-fpie) and
20826 $(build-shared).
20827 (binaries-shared): Also filter out $(binaries-pie).
20828 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20829 * nscd/Makefile (others-pie): Add nscd.
20830 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20831 ($(objpfx)nscd): Remove command override.
20832 * login/Makefile (others-pie): Add pt_chown.
20833 ($(objpfx)pt_chown): Remove command override.
20834 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20835 remove command overrides.
20836
fcabc0f8
UD
208372011-05-13 Ulrich Drepper <drepper@gmail.com>
20838
20030ae6
UD
20839 * libio/tst_putwc.c: Fix error messages.
20840
fcabc0f8
UD
20841 [BZ #12724]
20842 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20843 currently writing and seek to current position when not.
20844 * libio/Makefile (tests): Add bug-fclose1.
20845 * libio/bug-fclose1.c: New file.
20846
320a5dc0
PB
208472011-05-12 Ulrich Drepper <drepper@gmail.com>
20848
20849 [BZ #12511]
20850 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20851 don't set DF_1_NODELETE here.
20852 (do_lookup_x): When entering new entry test for copy relocation
20853 and if necessary set DF_1_NODELETE flag.
20854 * elf/tst-unique4.cc: New file.
20855 * elf/tst-unique4.h: New file.
20856 * elf/tst-unique4lib.cc: New file.
20857 * elf/Makefile: Add rules to build and run tst-unique4.
20858 Patch by Piotr Bury <pbury@goahead.com>.
20859
22836f52
UD
208602011-05-11 Ulrich Drepper <drepper@gmail.com>
20861
f574184a
UD
20862 [BZ #12052]
20863 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20864
e1fb097f
UD
20865 [BZ #12625]
20866 * misc/mntent_r.c (addmntent): Flush the stream after the output
20867
22836f52
UD
20868 [BZ #12393]
20869 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20870 (is_trusted_path_normalize): Skip initial colon. Append slash
20871 to empty buffer. Duplicate is_trusted_path code but allow
20872 constructed patch to be prefix.
20873 (is_dst): Allow $ORIGIN followed by /.
20874 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20875 Correct testing of result of is_trusted_path_normalize
20876 (decompose_rpath): Fix warning.
20877
7b3b0b2a
UD
208782011-05-10 Ulrich Drepper <drepper@gmail.com>
20879
20880 [BZ #11257]
20881 * grp/initgroups.c (internal_getgrouplist): When we found the service
20882 list through the initgroups entry in nsswitch.conf do not always
20883 continue on a successful lookup. Don't always use the
eac80ce2 20884 __nss_group_database value if it is set.
7b3b0b2a
UD
20885 * nss/nsswitch.conf (initgroups): Change action for successful db
20886 lookup to continue for compatibility.
20887
2a81eaa5
UD
208882011-05-09 Ulrich Drepper <drepper@gmail.com>
20889
be97a69e
UD
20890 [BZ #11532]
20891 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20892 and CP774 modules.
20893 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20894 and CP774 modules.
20895 * iconvdata/tst-tables.sh: Likewise.
20896 * iconvdata/cp770.c: New file.
20897 * iconvdata/cp771.c: New file.
20898 * iconvdata/cp772.c: New file.
20899 * iconvdata/cp773.c: New file.
20900 * iconvdata/cp774.c: New file.
20901 * iconvdata/testdata/CP770: New file.
20902 * iconvdata/testdata/CP770..UTF8: New file.
20903 * iconvdata/testdata/CP771: New file.
20904 * iconvdata/testdata/CP771..UTF8: New file.
20905 * iconvdata/testdata/CP772: New file.
20906 * iconvdata/testdata/CP772..UTF8: New file.
20907 * iconvdata/testdata/CP773: New file.
20908 * iconvdata/testdata/CP773..UTF8: New file.
20909 * iconvdata/testdata/CP774: New file.
20910 * iconvdata/testdata/CP774..UTF8: New file.
20911
20912 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20913 END CHARMAP line.
20914 * iconvdata/gen-8bit-gap.sh: Likewise.
20915 * iconvdata/gen-8bit.sh: Likewise.
20916
c1e9e399
UD
20917 * locale/iso-639.def: Add ary entry.
20918
24c55fb3 20919 [BZ #11258]
96b4b1b0
UD
20920 * locale/C-translit.h.in: Add U20A1 transliteration.
20921
bdc2f971
KB
20922 [BZ #12178]
20923 * locale/iso-639.def: Add wae entry.
20924 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20925
2952b117
UD
20926 [BZ #12545]
20927 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20928 for n.
20929
2a81eaa5
UD
20930 [BZ #12711]
20931 * locale/C-translit.h.in: Add entry for U20B9.
20932 Patch by pravin.d.s@gmail.com.
20933
28377d1b
UD
209342011-05-08 Ulrich Drepper <drepper@gmail.com>
20935
7fb90fb8
UD
20936 [BZ #12713]
20937 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20938 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20939 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20940 in rtld. Use *stat64.
7fb90fb8 20941 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20942 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20943 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20944 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20945 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20946 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20947 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20948 __fstatat64 macros.
7fb90fb8
UD
20949 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20950 * dirent/rewinddir.c: Add libc_hidden_def.
20951 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20952 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20953
28377d1b
UD
20954 * include/dirent.h (__alloc_dir): Add flags parameter.
20955 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20956 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20957 __alloc_dir.
20958 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20959 from fdopendir if O_CLOEXEC is already set.
20960
66bdbaa4
AM
209612011-03-15 Alan Modra <amodra@gmail.com>
20962
20963 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20964 l_tls_firstbyte_offset non-zero. Save padding offset in
20965 l_tls_firstbyte_offset for later use.
20966 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20967 freeing static tls block.
20968
95721191
JN
209692011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20970
20971 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20972 where #ifdef was intended. The intent is to prevent ARG_MAX from
20973 being defined by the kernel headers.
20974
f87dfb1f
UD
209752011-05-07 Ulrich Drepper <drepper@gmail.com>
20976
20977 [BZ #12734]
20978 * resolv/resolv.h: Define RES_NOTLDQUERY.
20979 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20980 no-tld-query and set RES_NOTLDQUERY.
20981 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20982 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20983 modern BIND to search name as TLD unless forbidden.
20984
47c3cd7a
UD
209852011-05-07 Petr Baudis <pasky@suse.cz>
20986 Ulrich Drepper <drepper@gmail.com>
20987
20988 [BZ #12393]
20989 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20990 (is_trusted_path): ...to here.
c1e9ea35 20991 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20992 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20993 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20994
8a35c912
PP
209952011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20996
20997 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20998 __BEGIN/__END_DECLS.
20999
acd41f47
UD
210002011-05-06 Ulrich Drepper <drepper@gmail.com>
21001
21002 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21003 NSS_STATUS_NOTFOUND if no record was found.
21004
597df647
AS
210052011-05-05 Andreas Schwab <schwab@redhat.com>
21006
21007 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21008 (headers-not-in-tirpc): Remove rpc/netdb.h
21009 * resolv/netdb.h: Revert last change.
21010
b9af1301
PP
210112011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21012
21013 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21014 circular dependency between libgcc.a and libc.a.
21015
4e34d5f5
AS
210162011-05-05 Andreas Schwab <schwab@redhat.com>
21017
21018 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21019 * nis/Makefile: Don't install rpcsvc/*.
21020 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21021 instead of <rpc/types.h>.
21022 (MAXHOSTNAMELEN): Define.
21023
00ee369c
AS
210242011-05-03 Andreas Schwab <schwab@redhat.com>
21025
21026 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21027
0b592a30
MB
210282011-04-28 Maciej Babinski <mbabinski@google.com>
21029
21030 [BZ #12714]
21031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21032 gethostbyname4_r when IPv6 results are possible.
21033
6e04cbbe
UD
210342011-05-02 Ulrich Drepper <drepper@gmail.com>
21035
21036 [BZ #12723]
21037 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21038 _PC_PIPE_BUF handling.
21039
e4ecafe0
BH
210402011-04-30 Bruno Haible <bruno@clisp.org>
21041
21042 [BZ #12717]
21043 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21044 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21045 to 'int'.
21046 * inet/getnameinfo.c (getnameinfo): Likewise.
21047
125ee683
UD
210482011-04-29 Ulrich Drepper <drepper@gmail.com>
21049
21050 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21051 to groups setting in database lookup.
21052 * nss/nsswitch.conf: Add initgroups entry.
21053
b722481a
EB
210542011-04-22 Ulrich Drepper <drepper@gmail.com>
21055
21056 [BZ #12685]
21057 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21058 mode string.
21059 Patch by Eric Blake <eblake@redhat.com>.
21060
4df46dbd
L
210612011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21062
21063 * sunrpc/Makefile (need-export-routines): Add svc_run.
21064 (routines): Remove svc_run.
21065 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21066 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21067 * sunrpc/svc_run.c (svc_run): Likewise.
21068 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21069
e84142d2
UD
210702011-04-21 Ulrich Drepper <drepper@gmail.com>
21071
21072 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21073 problem in reallocation in last patch.
21074
877175d8
UD
210752011-04-20 Ulrich Drepper <drepper@gmail.com>
21076
21077 * sunrpc/Makefile: Move inclusion of Rules.
21078
ab8eed78
UD
210792011-04-19 Ulrich Drepper <drepper@gmail.com>
21080
21081 * nss/nss_files/files-initgroups.c: New file.
21082 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21083 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21084 _nss_files_initgroups_dyn.
21085
e3d8f584
RS
210862011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21087
21088 * elf/elf.h (R_ARM_IRELATIVE): Define.
21089
af190f45
UD
210902011-04-19 Ulrich Drepper <drepper@gmail.com>
21091
21092 * po/ru.po: Update from translation team.
21093
53cf59ef
UD
210942011-04-17 Ulrich Drepper <drepper@gmail.com>
21095
21096 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21097 dependencies.
21098
4c559bcd
MF
210992011-02-06 Mike Frysinger <vapier@gentoo.org>
21100
21101 [BZ #12653]
21102 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21103 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21104 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21106 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21107
4420675c
AS
211082011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21109
21110 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21111 differing bytes.
21112 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21113 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21114 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21115
75ea32ab
UD
211162011-04-17 Ulrich Drepper <drepper@gmail.com>
21117
21118 [BZ #12420]
21119 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21120 storing it.
21121 * stdlib/bug-getcontext.c: New file.
21122 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21123
27390476
AK
211242011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21125
21126 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21127 instructions into .machine "z9-109".
21128 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21129 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21130
10442705
AK
211312011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21132
21133 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21134 between environment variables and auxiliary vector.
21135
7b57bfe5
UD
211362011-04-16 Ulrich Drepper <drepper@gmail.com>
21137
21138 * Makefile: Add rules to build linkobj/libc.so.
21139 * include/libc-symbols.h: Define libc_hidden_nolink.
21140 * include/rpc/auth.h: Mark functions which are to be hidden.
21141 * include/rpc/auth_des.h: Likewise.
21142 * include/rpc/auth_unix.h: Likewise.
21143 * include/rpc/clnt.h: Likewise.
21144 * include/rpc/des_crypt.h: Likewise.
21145 * include/rpc/key_prot.h: Likewise.
21146 * include/rpc/pmap_clnt.h: Likewise.
21147 * include/rpc/pmap_prot.h: Likewise.
21148 * include/rpc/pmap_rmt.h: Likewise.
21149 * include/rpc/rpc_msg.h: Likewise.
21150 * include/rpc/svc.h: Likewise.
21151 * include/rpc/svc_auth.h: Likewise.
21152 * include/rpc/xdr.h: Likewise.
21153 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21154 * nss/Makefile: Likewise.
21155 * sunrpc/Makefile: Don't install headers. Build library with normal
21156 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21157 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21158 for the compat linking library. Remove use of INTDEF/INTUSE.
21159 * sunrpc/auth_none.c: Likewise.
21160 * sunrpc/auth_unix.c: Likewise.
21161 * sunrpc/authdes_prot.c: Likewise.
21162 * sunrpc/authuxprot.c: Likewise.
21163 * sunrpc/clnt_gen.c: Likewise.
21164 * sunrpc/clnt_perr.c: Likewise.
21165 * sunrpc/clnt_raw.c: Likewise.
21166 * sunrpc/clnt_simp.c: Likewise.
21167 * sunrpc/clnt_tcp.c: Likewise.
21168 * sunrpc/clnt_udp.c: Likewise.
21169 * sunrpc/clnt_unix.c: Likewise.
21170 * sunrpc/des_crypt.c: Likewise.
21171 * sunrpc/des_soft.c: Likewise.
21172 * sunrpc/get_myaddr.c: Likewise.
21173 * sunrpc/key_call.c: Likewise.
21174 * sunrpc/key_prot.c: Likewise.
21175 * sunrpc/netname.c: Likewise.
21176 * sunrpc/pm_getmaps.c: Likewise.
21177 * sunrpc/pm_getport.c: Likewise.
21178 * sunrpc/pmap_clnt.c: Likewise.
21179 * sunrpc/pmap_prot.c: Likewise.
21180 * sunrpc/pmap_prot2.c: Likewise.
21181 * sunrpc/pmap_rmt.c: Likewise.
21182 * sunrpc/publickey.c: Likewise.
21183 * sunrpc/rpc_cmsg.c: Likewise.
21184 * sunrpc/rpc_common.c: Likewise.
21185 * sunrpc/rpc_dtable.c: Likewise.
21186 * sunrpc/rpc_prot.c: Likewise.
21187 * sunrpc/rpc_thread.c: Likewise.
21188 * sunrpc/rtime.c: Likewise.
21189 * sunrpc/svc.c: Likewise.
21190 * sunrpc/svc_auth.c: Likewise.
21191 * sunrpc/svc_authux.c: Likewise.
21192 * sunrpc/svc_raw.c: Likewise.
21193 * sunrpc/svc_run.c: Likewise.
21194 * sunrpc/svc_simple.c: Likewise.
21195 * sunrpc/svc_tcp.c: Likewise.
21196 * sunrpc/svc_udp.c: Likewise.
21197 * sunrpc/svc_unix.c: Likewise.
21198 * sunrpc/svcauth_des.c: Likewise.
21199 * sunrpc/xcrypt.c: Likewise.
21200 * sunrpc/xdr.c: Likewise.
21201 * sunrpc/xdr_array.c: Likewise.
21202 * sunrpc/xdr_float.c: Likewise.
21203 * sunrpc/xdr_intXX_t.c: Likewise.
21204 * sunrpc/xdr_mem.c: Likewise.
21205 * sunrpc/xdr_rec.c: Likewise.
21206 * sunrpc/xdr_ref.c: Likewise.
21207 * sunrpc/xdr_sizeof.c: Likewise.
21208 * sunrpc/xdr_stdio.c: Likewise.
21209
e6c61494
UD
212102011-04-10 Ulrich Drepper <drepper@gmail.com>
21211
21212 [BZ #12650]
21213 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21214 * sysdeps/ia64/dl-tls.h: Likewise.
21215 * sysdeps/powerpc/dl-tls.h: Likewise.
21216 * sysdeps/s390/dl-tls.h: Likewise.
21217 * sysdeps/sh/dl-tls.h: Likewise.
21218 * sysdeps/sparc/dl-tls.h: Likewise.
21219 * sysdeps/x86_64/dl-tls.h: Likewise.
21220 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21221
34fe483e
AS
212222011-03-14 Andreas Schwab <schwab@redhat.com>
21223
21224 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21225 rpath element also skip the following colon.
21226 (expand_dynamic_string_token): Add is_path parameter and pass
21227 down to DL_DST_REQUIRED and _dl_dst_substitute.
21228 (decompose_rpath): Call expand_dynamic_string_token with
21229 non-zero is_path. Ignore empty rpaths.
21230 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21231 with zero is_path.
21232
f12a32e6
AS
212332011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21234
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21236 Make cancelable.
21237
38a7d692
UD
212382011-04-09 Ulrich Drepper <drepper@gmail.com>
21239
21240 [BZ #12655]
21241 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21242 Patch by Filipe David Manana <fdmanana@apache.org>.
21243
e451d22b
AS
212442011-04-07 Andreas Schwab <schwab@redhat.com>
21245
21246 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21247 Maintain aligned stack.
21248 (CHECK_RSP): Remove unused macro.
21249
dedc7c7b
UD
212502011-04-03 Ulrich Drepper <drepper@gmail.com>
21251
21252 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21253 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21254
94521213
UD
212552011-04-02 Ulrich Drepper <drepper@gmail.com>
21256
21257 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21258
8cb700c0 21259 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21260
0354e355
L
212612011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21262
21263 [BZ #12518]
21264 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21265 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21266 * sysdeps/x86_64/memmove.c: New file.
21267 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21268 (memcpy): Renamed to ...
21269 (__new_memcpy): This.
21270 (memcpy): Provide GLIBC_2_14 memcpy.
21271 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21272 (memcpy): Provide GLIBC_2_2_5 memcpy.
21273
8593482f
UD
212742011-04-01 Ulrich Drepper <drepper@gmail.com>
21275
21276 [BZ #12631]
21277 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21278
81a5726b
AS
212792011-03-30 Andreas Schwab <schwab@redhat.com>
21280
21281 * misc/syncfs.c: New file.
21282 * misc/Makefile (routines): Add syncfs.
21283 * posix/unistd.h: Declare syncfs.
21284 * sysdeps/unix/syscalls.list: Add syncfs.
21285
00e5419f
AS
212862011-04-01 Andreas Schwab <schwab@redhat.com>
21287
21288 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21289 open_by_handle_at.
21290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21293 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21295 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21297
748876bf
UD
212982011-04-01 Ulrich Drepper <drepper@gmail.com>
21299
658e451d
UD
21300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21301 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21302 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21307
748876bf
UD
21308 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21309 sync_file_range.c with -fexceptions.
21310 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21311 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21312 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21313 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21314 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21315 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21316 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21317 sync_file_range as cancellation point
21318 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21319 now a wrapper around __call_sync_file_range with cancellation handling.
21320 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21321 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21322 function name to __call_sync_file_range.
21323 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21324 Add call_sync_file_range.
748876bf 21325
6e63d5e1
AS
213262011-04-01 Andreas Schwab <schwab@redhat.com>
21327
21328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21329 bits/timex.h.
6e63d5e1 21330
46998f74
UD
213312011-04-01 Ulrich Drepper <drepper@gmail.com>
21332
4c1423ed
UD
21333 * iconv/iconv.h: Fix typo in comment.
21334 * io/fcntl.h: Likewise.
21335 * libio/stdio.h: Likewise.
21336 * posix/spawn.h: Likewise.
21337 * posix/unistd.h: Likewise.
21338 * stdlib/stdlib.h: Likewise.
21339 * time/time.h: Likewise.
21340 * wcsmbs/wchar.h: Likewise.
21341
158648c0
UD
21342 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21343 open_by_handle): Add.
21344 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21345 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21346 Augment a few comments.
21347 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21349 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21352 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21353 open_by_handle.
21354
46998f74
UD
21355 * io/fcntl.h (AT_EMPTY_PATH): Define.
21356
83fe108b
UD
213572011-03-30 Ulrich Drepper <drepper@gmail.com>
21358
21359 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21360 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21361 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21362 to...
21363 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21364 * Versions.def: Add GLIBC_2.14.
21365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21366 Export.
83fe108b 21367
bb242059
UD
213682011-03-22 Ulrich Drepper <drepper@gmail.com>
21369
21370 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21371 round counter.
21372 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21373
c97a1282
L
213742011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21375
21376 [BZ #12597]
21377 * string/test-strncmp.c (do_page_test): New function.
21378 (check2): Likewise.
21379 (test_main): Call check2.
21380 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21381
2a115601
UD
213822011-03-20 Ulrich Drepper <drepper@gmail.com>
21383
21384 [BZ #12587]
21385 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21386 Handle cache information in CPU leaf 4.
21387 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21388
8126d904
UD
213892011-03-18 Ulrich Drepper <drepper@gmail.com>
21390
042c49c6 21391 [BZ #12583]
8126d904
UD
21392 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21393 character representation.
21394 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21395
ccfe366e
RA
213962011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21397
21398 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21399 END(__isnan) to END(__isnanf) to match function entry point/label
21400 EALIGN(__isnanf,...).
21401
c6e13027
JJ
214022011-03-10 Jakub Jelinek <jakub@redhat.com>
21403
21404 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21405
33f85a3f
UD
214062011-03-10 Ulrich Drepper <drepper@gmail.com>
21407
028478fa
UD
21408 [BZ #12510]
21409 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21410 copy from the symbol referenced in the relocation to initialize the
21411 used variable.
21412 Patch by Piotr Bury <pbury@goahead.com>.
21413 * elf/Makefile: Add rules to build and tst-unique3.
21414 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21415 * elf/tst-unique3.cc: New file.
21416 * elf/tst-unique3.h: New file.
21417 * elf/tst-unique3lib.cc: New file.
21418 * elf/tst-unique3lib2.cc: New file.
21419
33f85a3f
UD
21420 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21421
03592fc7
MF
214222011-03-10 Mike Frysinger <vapier@gentoo.org>
21423
21424 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21425 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21426 to _start.
03592fc7 21427
6a5ee102
UD
214282011-03-06 Ulrich Drepper <drepper@gmail.com>
21429
21430 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21431 to-be-loaded object along a path to loader is ld.so.
21432
7e4ba49c
HJ
214332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21434 Ulrich Drepper <drepper@gmail.com>
21435
21436 * sysdeps/x86_64/memset.S: After aligning destination, code
21437 branches to different locations depending on the value of
21438 misalignment, when multiarch is enabled. Fix this.
21439
214402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21441
21442 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21443 Set _x86_64_preferred_memory_instruction for AMD processsors.
21444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21445 Set bit_Prefer_SSE_for_memop for AMD processors.
21446
13a804de
UD
214472011-03-04 Ulrich Drepper <drepper@gmail.com>
21448
21449 * libio/fmemopen.c (fmemopen): Optimize a bit.
21450
9d25c392
AS
214512011-03-03 Andreas Schwab <schwab@redhat.com>
21452
21453 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21454
a5543c6a
RM
214552011-03-03 Roland McGrath <roland@redhat.com>
21456
21457 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21458
012d35f7
DM
214592011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21460
7e4ba49c 21461 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21462 __bzero_ultra1 instead of __memset_ultra1.
21463
4bff6e01
AS
214642011-02-23 Andreas Schwab <schwab@redhat.com>
21465 Ulrich Drepper <drepper@gmail.com>
21466
21467 [BZ #12509]
21468 * include/link.h (struct link_map): Add l_orig_initfini.
21469 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21470 returning unsuccessfully.
21471 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21472 close of a file loaded at startup, restore the original l_initfini
21473 list.
21474 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21475 list, store the pointer.
21476 * elf/Makefile ($(objpfx)noload-mem): New rule.
21477 (noload-ENV): Define.
21478 (tests): Add $(objpfx)noload-mem.
21479 * elf/noload.c: Include <memcheck.h>.
21480 (main): Call mtrace. Close all opened handles.
21481
f2092faf
AS
214822011-02-17 Andreas Schwab <schwab@redhat.com>
21483
21484 [BZ #12454]
21485 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21486 dependencies are missing.
21487
6c8a2e88
ST
214882011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21489
f2092faf 21490 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21491 Hurd needs munmap.
21492 * sysdeps/mach/hurd/ifreq.h: New file.
21493
84a42118
PB
214942011-01-27 Petr Baudis <pasky@suse.cz>
21495 Ulrich Drepper <drepper@gmail.com>
21496
071f805e 21497 [BZ 12445]#
84a42118
PB
21498 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21499 to extend_alloca().
21500 * stdio-common/bug23.c: New file.
21501 * stdio-common/Makefile (tests): Add bug23.
21502
e23fe25b
AS
215032010-09-28 Andreas Schwab <schwab@redhat.com>
21504 Ulrich Drepper <drepper@gmail.com>
21505
21506 [BZ #12489]
21507 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21508 before performing relro protection. At old place add assertion
21509 to make sure nothing changed.
21510
d3f02e10
NS
215112011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21512 Glauber de Oliveira Costa <glommer@gmail.com>
21513
21514 * elf/elf.h: Add new ARM TLS relocs.
21515
d55fd7a5
RA
215162011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21517
21518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21519 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21520 cast from r3.
21521 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21522 'tests' variable.
21523 * sysdeps/wordsize-64/tst-writev.c: New file.
21524
2206397e
RA
215252011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21526
21527 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21528 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21529 insns in _dl_start to prevent a TOC reference before relocs are
21530 resolved.
21531
e9433893
UD
215322011-02-15 Ulrich Drepper <drepper@gmail.com>
21533
21534 [BZ #12469]
21535 * Makeconfig: Remove RANLIB definition.
21536 * Makerules: Don't use RANLIB.
21537 * aclocal.m4: Remove ranlib test.
21538 * configure.in: No need to check for ranlib.
21539 * elf/rtld-Rules: Don't use RANLIB.
21540
f75286c6
ST
215412011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21542
8e31c82d
ST
21543 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21544 protection macro.
21545 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21546 inclusion protection macro.
21547
f75286c6
ST
21548 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21549 SIGRTMIN and SIGRTMAX and print information in that case only when
21550 SIGRTMIN is defined.
21551
c1d0e639
JJ
215522011-02-11 Jakub Jelinek <jakub@redhat.com>
21553
21554 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21555 arginfo fn returning -1.
21556
21557 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21558 and thousands string is zero terminated.
21559
edf9294e
AS
215602011-02-03 Andreas Schwab <schwab@redhat.com>
21561
21562 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21563 sysdeps/unix/sysv/linux/bits/socket.h.
21564
2b7e92df
ST
215652011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21566
edf9294e
AS
21567 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21568 (__CPU_COUNT): Remove old macros.
21569 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21570 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21571 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21572 (__sched_cpualloc, __sched_cpufree): Add declarations.
21573
a4c7ea7b
UD
215742011-02-05 Ulrich Drepper <drepper@gmail.com>
21575
21576 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21577 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21578 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21579 (readdhstai): Return value of addhstaiX call.
21580 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21581 (addgrbyX): Return value returned by cache_addgr.
21582 (readdgrbyname): Return value returned by addgrbyX.
21583 (readdgrbygid): Likewise.
21584 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21585 (addpwbyX): Return value returned by cache_addpw.
21586 (readdpwbyname): Return value returned by addhstbyX.
21587 (readdpwbyuid): Likewise.
21588 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21589 (addservbyX): Return value returned by cache_addserv.
21590 (readdservbyname): Return value returned by addservbyX:
21591 (readdservbyport): Likewise.
21592 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21593 (addhstbyX): Return value returned by cache_addhst.
21594 (readdhstbyname): Return value returned by addhstbyX.
21595 (readdhstbyaddr): Likewise.
21596 (readdhstbynamev6): Likewise.
21597 (readdhstbyaddrv6): Likewise.
21598 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21599 (readdinitgroups): Return value returned by addinitgroupsX.
21600 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21601 (prune_cache): Keep track of timeout value of re-added entries.
21602 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21603 * nscd/nscd.h: Adjust prototypes of readd* functions.
21604
a0bf67cc
RM
216052011-02-04 Roland McGrath <roland@redhat.com>
21606
21607 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21608 (nis_stats): Likewise.
21609 * nis/nis_modify.c (nis_modify): Likewise.
21610 * nis/nis_remove.c (nis_remove): Likewise.
21611 * nis/nis_add.c (nis_add): Likewise.
21612
21613 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21614
21615 * posix/fnmatch_loop.c: Add some consts.
21616
21617 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21618
435b95eb
L
216192011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21620
21621 [BZ #12460]
21622 * config.make.in (config-cflags-novzeroupper): Define.
21623 * configure.in: Substitute libc_cv_cc_novzeroupper.
21624 * elf/Makefile (AVX-CFLAGS): Define.
21625 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21626 (CFLAGS-tst-auditmod4a.c): Likewise.
21627 (CFLAGS-tst-auditmod4b.c): Likewise.
21628 (CFLAGS-tst-auditmod6b.c): Likewise.
21629 (CFLAGS-tst-auditmod6c.c): Likewise.
21630 (CFLAGS-tst-auditmod7b.c): Likewise.
21631 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21632
8517b15e
UD
216332011-02-02 Ulrich Drepper <drepper@gmail.com>
21634
21635 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21636 function to the callback.
21637 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21638
10a656fe
AS
216392011-02-02 Andreas Schwab <schwab@redhat.com>
21640
21641 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21642 of errno.
21643
968dad0a
UD
216442011-01-19 Ulrich Drepper <drepper@gmail.com>
21645
9f94d2ea 21646 [BZ #11724]
968dad0a
UD
21647 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21648 of constructors.
21649 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21650 of destructors.
21651 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21652
21653 [BZ #11724]
21654 * elf/Makefile: Add rules to build and run new test.
21655 * elf/tst-initorder.c: New file.
21656 * elf/tst-initorder.exp: New file.
21657 * elf/tst-initordera1.c: New file.
21658 * elf/tst-initordera2.c: New file.
21659 * elf/tst-initordera3.c: New file.
21660 * elf/tst-initordera4.c: New file.
21661 * elf/tst-initorderb1.c: New file.
21662 * elf/tst-initorderb2.c: New file.
21663 * elf/tst-order-a1.c: New file.
21664 * elf/tst-order-a2.c: New file.
21665 * elf/tst-order-a3.c: New file.
21666 * elf/tst-order-a4.c: New file.
21667 * elf/tst-order-b1.c: New file.
21668 * elf/tst-order-b2.c: New file.
21669 * elf/tst-order-main.c: New file.
21670 New test case by George Gensure <werkt0@gmail.com>.
21671
86e92359
UD
216722010-10-01 Andreas Schwab <schwab@redhat.com>
21673
21674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21675 decoding ACE if AI_CANONIDN.
21676
5d5732b0
UD
216772011-01-18 Ulrich Drepper <drepper@gmail.com>
21678
21679 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21680
a77e8cbc
UD
216812011-01-17 Ulrich Drepper <drepper@gmail.com>
21682
6392473f
UD
21683 * version.h (RELEASE): Bump for 2.13 release.
21684 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21685
620a0529
UD
21686 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21687
18ba70a5
UD
21688 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21689 MADV_NOHUGEPAGE.
32465c3e
UD
21690 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21691 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21692 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21693 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21694 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21696
c0dafcf1
UD
21697 * posix/getconf.c: Update copyright year.
21698 * catgets/gencat.c: Likewise.
21699 * csu/version.c: Likewise.
21700 * debug/catchsegv.sh: Likewise.
21701 * debug/xtrace.sh: Likewise.
21702 * elf/ldconfig.c: Likewise.
21703 * elf/ldd.bash.in: Likewise.
21704 * elf/sprof.c (print_version): Likewise.
21705 * iconv/iconv_prog.c: Likewise.
21706 * iconv/iconvconfig.c: Likewise.
21707 * locale/programs/locale.c: Likewise.
21708 * locale/programs/localedef.c: Likewise.
21709 * malloc/memusage.sh: Likewise.
21710 * malloc/mtrace.pl: Likewise.
21711 * nscd/nscd.c (print_version): Likewise.
21712 * nss/getent.c: Likewise.
21713
a77e8cbc
UD
21714 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21715 PF_CAIF, and PF_ALG.
21716 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21717
77e8bddf
AS
217182011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21719
1f20b93a
AS
21720 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21721 (modules-names): Use them.
21722 (ifunc-test-modules, ifunc-pie-tests): Define.
21723 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21724 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21725 (test-extras): Likewise.
21726 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21727 $(compile-command.c).
21728 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21729 (all-built-dso): Define.
21730 (check-textrel.out, check-execstack.out): Depend on it.
21731
77e8bddf
AS
21732 * configure.in: Don't override --enable-multi-arch.
21733
bc425b33
UD
217342011-01-15 Ulrich Drepper <drepper@gmail.com>
21735
21736 [BZ #6812]
21737 * nscd/hstcache.c (tryagain): Define.
21738 (cache_addhst): Return tryagain not notfound for temporary errors.
21739 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21740 failed.
21741
794c3ad3
UD
217422011-01-14 Ulrich Drepper <drepper@gmail.com>
21743
70181fdd
UD
21744 [BZ #10563]
21745 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21746 to make the syscall.
21747 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21748
794c3ad3
UD
21749 [BZ #12378]
21750 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21751 and fall back to matching as normal character if the string ends before
21752 the matching ']' is found. This is what POSIX requires.
21753 * posix/testfnm.c: Adjust test result.
21754 * posix/globtest.sh: Adjust test result. Add new test.
21755 * posix/tst-fnmatch.input: Likewise.
21756 * posix/tst-fnmatch2.c: Add new test.
21757
68dc9497
AS
217582010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21759
21760 * elf/Makefile (check-execstack): Revert last change. Depend on
21761 check-execstack.h.
21762 (check-execstack.h): New target.
21763 (generated): Add check-execstack.h.
21764 * elf/check-execstack.c: Include "check-execstack.h".
21765 (main): Revert last change.
21766 (handle_file): Return zero if GNU_STACK is absent and
21767 DEFAULT_STACK_PERMS doesn't include PF_X.
21768
451f001b
UD
217692011-01-13 Ulrich Drepper <drepper@gmail.com>
21770
cfa28e56
UD
21771 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21772 in child fails because the descriptor is already closed.
8cf8ce17
UD
21773 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21774 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21775 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21776
1086d70d
UD
21777 [BZ #12397]
21778 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21779 syscall.
21780
451f001b
UD
21781 [BZ #10484]
21782 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21783 temporary buffer used to handle multi lookups locally.
a85b5cb4 21784 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21785
08769175
UD
217862011-01-12 Ulrich Drepper <drepper@gmail.com>
21787
21788 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21789 loader is ld.so.
21790
5e49c52e
UD
217912011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21792
21793 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21794 alignment for SSE2.
21795
60522a5f
UD
217962011-01-12 Ulrich Drepper <drepper@gmail.com>
21797
21798 [BZ #12394]
21799 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21800 characters. When rounding increased number of integer digits recompute
21801 number of groups.
21802 * stdio-common/tst-grouping.c: New file.
21803 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21804
f257bbd7
UD
218052011-01-09 Ulrich Drepper <drepper@gmail.com>
21806
21807 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21808 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21809
21810 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21811 void.
21812 * bits/select.h: Likewise.
21813
fa9c15cb
UD
218142011-01-08 Ulrich Drepper <drepper@gmail.com>
21815
21816 * po/ja.po: Update from translation team.
21817
16c2895f
DM
218182011-01-04 David S. Miller <davem@sunset.davemloft.net>
21819
21820 [BZ #11155]
21821 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21822 implementation just like for lxstat, fxstatat, et al.
21823
2543fef2
JM
218242010-12-27 Jim Meyering <meyering@redhat.com>
21825
21826 [BZ #12348]
21827 * posix/regexec.c (build_trtable): Return failure indication upon
21828 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21829
98727dbe
UD
218302010-12-25 Ulrich Drepper <drepper@gmail.com>
21831
5bd6dc5c
UD
21832 [BZ #12201]
21833 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21834 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21835 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21836 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21837
97983464
UD
21838 [BZ #12207]
21839 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21840
98727dbe
UD
21841 [BZ #12204]
21842 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21843 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21844
4a531bb0
L
218452010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21846
21847 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21848 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21849 script has SORT_BY_INIT_PRIORITY.
21850 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21851 NO_CTORS_DTORS_SECTIONS is defined.
21852 * elf/soinit.c: Likewise.
21853 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21854 NO_CTORS_DTORS_SECTIONS is defined.
21855 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21856 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21857 * sysdeps/sh/init-first.c: Likewise.
21858 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21859
07eb4b71
UD
218602010-12-24 Ulrich Drepper <drepper@gmail.com>
21861
21862 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21863 always use the slow path.
21864
30950a5f
RA
218652010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21866
21867 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21868 similar rule which adds the sysdep directories to the header search in
21869 order to pick up the correct platform stackinfo.h.
21870 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21871 perform test if it is, otherwise return successfully without testing.
21872 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21873 DEFAULT_STACK_PERMS define in stackinfo.h.
21874 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21875 defined in stackinfo.h.
21876 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21877 DEFAULT_STACK_PERMS defined in stackinfo.h.
21878 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21879 * sysdeps/ia64/stackinfo.h: Likewise.
21880 * sysdeps/s390/stackinfo.h: Likewise.
21881 * sysdeps/sh/stackinfo.h: Likewise.
21882 * sysdeps/sparc/stackinfo.h: Likewise.
21883 * sysdeps/x86_64/stackinfo.h: Likewise.
21884 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21885 PF_X for powerpc64. Retain PF_X for powerpc32.
21886
db753e2c
UD
218872010-12-19 Ulrich Drepper <drepper@gmail.com>
21888
14b697f7
UD
21889 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21890 accurately.
db753e2c
UD
21891 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21892 GETDENTS_64BIT_ALIGNED.
21893
28300719
UD
218942010-12-14 Ulrich Drepper <dreper@gmail.com>
21895
14b697f7 21896 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21897
4f197237
AS
218982010-12-10 Andreas Schwab <schwab@redhat.com>
21899
dbb0472f
AS
21900 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21901 _GNU_SOURCE.
21902
4f197237
AS
21903 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21904 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21905 Remove __restrict.
21906 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21907 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21908
fb88ac72
UD
219092010-12-09 Ulrich Drepper <drepper@gmail.com>
21910
21911 [BZ #11655]
21912 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21913 are initialized.
21914
42acbb92
JJ
219152010-12-09 Jakub Jelinek <jakub@redhat.com>
21916
21917 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21918
c038d98d
UD
219192010-12-03 Ulrich Drepper <drepper@gmail.com>
21920
21921 * po/it.po: Update from translation team.
21922
3a4a2499
L
219232010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21924
21925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21926 unused codes.
21927
1e24cf6e
UD
219282010-11-30 Ulrich Drepper <drepper@gmail.com>
21929
21930 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21931
a7690819
AS
219322010-11-24 Andreas Schwab <schwab@redhat.com>
21933
21934 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21935 specially.
21936 (gaih_getanswer_slice): Likewise.
21937
3bf8d1b1
JJ
219382010-10-20 Jakub Jelinek <jakub@redhat.com>
21939
21940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21941
6db52fbb
PB
219422010-05-31 Petr Baudis <pasky@suse.cz>
21943
21944 [BZ #11149]
21945 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21946 silently even in the chroot mode.
21947
eaca7569
UD
219482010-11-22 Ulrich Drepper <drepper@gmail.com>
21949
21950 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21951 last patch a bit. Pretty printing
21952
3056dcdb
UD
219532010-05-31 Petr Baudis <pasky@suse.cz>
21954
21955 [BZ #10085]
21956 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21957 initialization of skip_initgroups_dyn.
21958
cf7c9078
UD
219592010-11-19 Ulrich Drepper <drepper@gmail.com>
21960
21961 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21962 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21963
a1fb5e3e
UD
219642010-11-16 Ulrich Drepper <drepper@gmail.com>
21965
21966 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21967
3540d66b
AS
219682010-11-11 Andreas Schwab <schwab@redhat.com>
21969
21970 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21971 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21972 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21973 ($(objpfx)tst-fnmatch-mem): New rule.
21974 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21975 * posix/tst-fnmatch.c (main): Call mtrace.
21976
13b69574
L
219772010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21978
21979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21980 Support Intel processor model 6 and model 0x2c.
21981
da93d214
LM
219822010-11-10 Luis Machado <luisgpm@br.ibm.com>
21983
21984 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21985 signed comparison.
21986
8ca52c6e
L
219872010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21988
21989 [BZ #12205]
21990 * string/test-strncasecmp.c (check_result): New function.
21991 (do_one_test): Use it.
21992 (check1): New function.
21993 (test_main): Use it.
21994 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21995 Support strcasecmp and strncasecmp.
21996
69da074d
UD
219972010-11-08 Ulrich Drepper <drepper@gmail.com>
21998
21999 [BZ #12194]
22000 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22002
ff02d528
L
220032010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22004
22005 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22006 IFUNC support.
22007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22008 memset-x86-64.
22009 * sysdeps/x86_64/multiarch/bzero.S: New file.
22010 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22011 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22012 * sysdeps/x86_64/multiarch/memset.S: New file.
22013 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22015 Set bit_Prefer_SSE_for_memop for Intel processors.
22016 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22017 Define.
22018 (index_Prefer_SSE_for_memop): Define.
22019 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22020
344d0b54
LM
220212010-11-04 Luis Machado <luisgpm@br.ibm.com>
22022
22023 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22024 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22025
c0dde15b
UD
220262010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22027
22028 [BZ #12191]
22029 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22030 (__x86_64_raw_data_cache_size_half): Likewise.
22031 (__x86_64_raw_shared_cache_size): Likewise.
22032 (__x86_64_raw_shared_cache_size_half): Likewise.
22033
22034 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22035 (__x86_64_raw_data_cache_size_half): Likewise.
22036 (__x86_64_raw_shared_cache_size): Likewise.
22037 (__x86_64_raw_shared_cache_size_half): Likewise.
22038 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22039 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22040 and __x86_64_raw_shared_cache_size_half. Round
22041 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22042 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22043 to multiple of 256 bytes.
22044
0e516e0e
MS
220452010-11-03 Ulrich Drepper <drepper@gmail.com>
22046
22047 [BZ #12167]
22048 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22049 of inacessible symlinks. Verify result of symlink before returning it.
22050 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22051 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22052
0e012e87
ER
220532010-10-28 Erich Ritz <erichritz@gmail.com>
22054
22055 * math/math.h (isinf): Fix typo in comment.
22056
de0ff7bc
UD
220572010-11-01 Ulrich Drepper <drepper@gmail.com>
22058
22059 * po/da.po: Update from translation team.
22060
fa41c84d
UD
220612010-10-26 Ulrich Drepper <drepper@gmail.com>
22062
22063 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22064 is added to the list.
22065
f0967738
AK
220662010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22067 Ulrich Drepper <drepper@gmail.com>
22068
22069 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22070 the global list here. Move code to...
22071 (_dl_add_to_namespace_list): ...here. New function.
22072 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22073 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22074 * elf/dl-load.c (lose): Don't remove the element from the list.
22075 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22076 (_dl_map_object): Likewise.
22077
220782010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22079
22080 [BZ #12159]
22081 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22082 into all bytes of SSE register.
22083 Patch by Richard Li <richardpku@gmail.com>.
22084
f0967738 220852010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22086
22087 [BZ #12140]
22088 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22089 perturbing.
22090
d0b9e94f
MB
220912010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22092
22093 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22094 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22095 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22096 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22098 submachine.
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22100
8e9f92e9
AS
221012010-10-22 Andreas Schwab <schwab@redhat.com>
22102
22103 * include/dlfcn.h (__RTLD_SECURE): Define.
22104 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22105 mode & __RTLD_SECURE instead.
22106 (open_path): Rename preloaded parameter to secure.
22107 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22108 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22109 * elf/dl-deps.c (openaux): Likewise.
22110 * elf/rtld.c (struct map_args): Remove is_preloaded.
22111 (map_doit): Don't use it.
22112 (dl_main): Likewise.
22113 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22114 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22115
bc96fbda
AS
221162010-09-09 Andreas Schwab <schwab@redhat.com>
22117
22118 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22119 (sysd-rules-targets): Remove duplicates.
22120 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22121 rtld-%.$o dependency.
22122
22cd1c9b
AS
221232010-10-18 Andreas Schwab <schwab@redhat.com>
22124
22125 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22126 _dl_map_object do it.
22127
18edac48
UD
221282010-10-19 Ulrich Drepper <drepper@gmail.com>
22129
22130 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22131 fast fma builtins, define the macros in the C99 standard.
22132 (FP_FAST_FMAF): Likewise.
22133 (FP_FAST_FMAL): Likewise.
22134 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22135
22136 * bits/mathdef.h: Update copyright year.
22137 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22138
d2050124
MM
221392010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22140
22141 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22142 builtins, define the macros in the C99 standard.
22143 (FP_FAST_FMAF): Likewise.
22144 (FP_FAST_FMAL): Likewise.
22145 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22146 multiply/add.
22147 (FP_FAST_FMAF): Likewise.
22148
475facd1
JJ
221492010-10-15 Jakub Jelinek <jakub@redhat.com>
22150
22151 [BZ #3268]
22152 * math/libm-test.inc (fma_test): Some new testcases.
22153 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22154 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22155 y and infinite z. Do multiplication by C already in long double.
22156 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22158 y and infinite z. Do bitwise or of inexact bit into u.d.
22159 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22160 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22161 * sysdeps/i386/fpu/s_fma.S: Removed.
22162 * sysdeps/i386/fpu/s_fmal.S: Removed.
22163
7c08a05c
JJ
221642010-10-16 Jakub Jelinek <jakub@redhat.com>
22165
22166 [BZ #3268]
22167 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22169 computation is not scheduled after fetestexcept. Fix value
22170 of minimum denormal long double.
22171
f3f7372d
JJ
221722010-10-14 Jakub Jelinek <jakub@redhat.com>
22173
22174 [BZ #3268]
22175 * math/libm-test.inc (fma_test): Add some more tests.
22176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22177 correctly.
22178
14d43591
AS
221792010-10-15 Andreas Schwab <schwab@redhat.com>
22180
22181 * scripts/data/localplt-s390-linux-gnu.data: New file.
22182 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22183
5e908464
JJ
221842010-10-13 Jakub Jelinek <jakub@redhat.com>
22185
22186 [BZ #3268]
22187 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22188 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22189 instead of dbl-64.
22190 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22191 inlines.
22192 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22194 if one of x and y is very large and the other is subnormal.
22195 * sysdeps/s390/fpu/s_fmaf.c: New file.
22196 * sysdeps/s390/fpu/s_fma.c: New file.
22197 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22198 * sysdeps/powerpc/fpu/s_fma.S: New file.
22199 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22200 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22201 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22202
222032010-10-12 Jakub Jelinek <jakub@redhat.com>
22204
22205 [BZ #3268]
22206 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22207 fma tests.
22208 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22209 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22210 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22211 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22212 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22213 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22214 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22215
b833d51f
UD
222162010-10-12 Ulrich Drepper <drepper@redhat.com>
22217
22218 [BZ #12078]
22219 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22220 * posix/bug-regex31.input: Add test case.
22221
1751705d
UD
222222010-10-11 Ulrich Drepper <drepper@gmail.com>
22223
e9b9cbf5
UD
22224 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22225 * posix/bug-regex31.input: New file.
22226
22227 [BZ #12078]
22228 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22229 (parse_sub_exp): Fix last change, use postorder.
22230
ef06edbe
UD
22231 * posix/bug-regex31.c: New file.
22232 * posix/Makefile: Add rules to build and run bug-regex31.
22233
a129c80d
UD
22234 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22235
22236 [BZ #12078]
22237 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22238
b76b818e
UD
22239 [BZ #12108]
22240 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22241 to have entries in sys_siglist.
22242
1751705d
UD
22243 [BZ #12093]
22244 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22245 be NULL.
22246
9ff8d36f
JJ
222472010-10-07 Jakub Jelinek <jakub@redhat.com>
22248
22249 [BZ #3268]
22250 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22251 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22252 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22253 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22254 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22255 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22256 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22257 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22258 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22259 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22260 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22261 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22262 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22263 * math/ftestexcept.c (fetestexcept): Likewise.
22264 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22265 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22266 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22267 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22268 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22269 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22270 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22271
af325969
UD
222722010-10-11 Ulrich Drepper <drepper@gmail.com>
22273
c579b202 22274 [BZ #12107]
af325969
UD
22275 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22276 newline.
22277
67a67b95
UD
222782010-10-06 Ulrich Drepper <drepper@gmail.com>
22279
22280 * string/bug-strstr1.c: New file.
22281 * string/Makefile: Add rules to build and run bug-strstr1.
22282
5fb308bc
EB
222832010-10-05 Eric Blake <eblake@redhat.com>
22284
22285 [BZ #12092]
22286 * string/str-two-way.h (two_way_long_needle): Always clear memory
22287 when skipping input due to the shift table.
22288
45db99c7
UD
222892010-10-03 Ulrich Drepper <drepper@gmail.com>
22290
3b111893
UD
22291 [BZ #12005]
22292 * malloc/mcheck.c: Handle large requests.
22293
45db99c7
UD
22294 [BZ #12077]
22295 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22296 for strncmp and strncasecmp.
22297 * string/stratcliff.c: Add tests for strcmp and strncmp.
22298 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22299
cf7a1eb8
NI
223002010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22301
22302 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22303 __set_fpscr.
22304
6484ba5e
AJ
223052010-09-30 Andreas Jaeger <aj@suse.de>
22306
22307 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22308 (CGROUP_SUPER_MAGIC): Define.
22309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22310 Handle btrfs and cgroup file systems.
22311 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22312 Likewise.
22313
91c42559
LM
223142010-09-27 Luis Machado <luisgpm@br.ibm.com>
22315
22316 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22317 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22318
87a97932
AK
223192010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22320
22321 [BZ #12067]
22322 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22323 trying to locate the ELF header.
22324
c21cc9bc
AS
223252010-09-27 Andreas Schwab <schwab@redhat.com>
22326
22327 [BZ #11611]
22328 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22329 Mask out sign-bit copies when constructing f_fsid.
22330
315970f6
PB
223312010-09-24 Petr Baudis <pasky@suse.cz>
22332
22333 * debug/stack_chk_fail_local.c: Add missing licence exception.
22334 * debug/warning-nop.c: Likewise.
22335
1ac7a2c7
JM
223362010-09-15 Joseph Myers <joseph@codesourcery.com>
22337
22338 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22339 implementing getdents64 using getdents syscall, set d_type if
22340 __ASSUME_GETDENTS32_D_TYPE.
22341
56801c50
AS
223422010-09-16 Andreas Schwab <schwab@redhat.com>
22343
22344 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22345 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22346
dda51327
UD
223472010-09-21 Ulrich Drepper <drepper@redhat.com>
22348
22349 [BZ #12037]
22350 * posix/unistd.h: Undo change of feature selection for ftruncate from
22351 2010-01-11.
22352
8ffcee4a
UD
223532010-09-20 Ulrich Drepper <drepper@redhat.com>
22354
a545ecd9 22355 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22356 detection.
22357
e24f0a8b
AS
223582010-09-20 Andreas Schwab <schwab@redhat.com>
22359
22360 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22361 fanotify_mark.
22362 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22363
7291c56f
AS
223642010-09-14 Andreas Schwab <schwab@redhat.com>
22365
22366 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22367 variables after CHECK_SP call.
22368 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22369
bc5fb037
AS
223702010-09-13 Andreas Schwab <schwab@redhat.com>
22371 Ulrich Drepper <drepper@redhat.com>
22372
22373 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22374 re-relocationg ld.so.
22375 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22376 _dl_init_paths call.
22377 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22378 here anymore.
22379
e66e7419
UD
223802010-09-14 Ulrich Drepper <drepper@redhat.com>
22381
22382 * resolv/res_init.c (__res_vinit): Count the default server we added.
22383
c044aa75
CLT
223842010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22385 Ulrich Drepper <drepper@redhat.com>
22386
22387 [BZ #11968]
22388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22389 (____longjmp_chk): Use %ebx for saving value across system call.
22390 Add unwind info.
22391
32cf4069
AS
223922010-09-06 Andreas Schwab <schwab@redhat.com>
22393
22394 * manual/Makefile: Don't mix pattern rules with normal rules.
22395
817328ee
AS
223962010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22397
22398 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22399 operation.
22400 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22401 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22402 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22403 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22405 Likewise.
22406
29fddf61
UD
224072010-09-04 Ulrich Drepper <drepper@redhat.com>
22408
22409 [BZ #11979]
22410 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22411 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22412
0959ffc9
UD
224132010-09-02 Ulrich Drepper <drepper@redhat.com>
22414
22415 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22416 * sysdeps/x86_64/addmul_1.S: Likewise.
22417 * sysdeps/x86_64/lshift.S: Likewise.
22418 * sysdeps/x86_64/mul_1.S: Likewise.
22419 * sysdeps/x86_64/rshift.S: Likewise.
22420 * sysdeps/x86_64/sub_n.S: Likewise.
22421 * sysdeps/x86_64/submul_1.S: Likewise.
22422
ece29840
ST
224232010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22424
0959ffc9
UD
22425 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22426 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22427 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22428 * bits/sched.h [__need_schedparam]
ece29840 22429 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22430 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22431 (__defined_schedparam): Define to 1.
ece29840
ST
22432 (__sched_param): New structure, identical to sched_param.
22433 (__need_schedparam): Undefine.
22434
e53a31fe
MF
224352010-08-31 Mike Frysinger <vapier@gentoo.org>
22436
fdc0c10d
MF
22437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22438 (epoll_create1): Declare.
22439
e53a31fe
MF
22440 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22441
a726d796
AS
224422010-08-31 Andreas Schwab <schwab@redhat.com>
22443
22444 [BZ #7066]
22445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22446 shifting retval into place.
22447
2f3e3dc7
UD
224482010-09-01 Ulrich Drepper <drepper@redhat.com>
22449
f2933da9
UD
22450 * nis/rpcsvc/nis.h: Update copyright notice.
22451 * nis/rpcsvc/nis.x: Likewise.
22452 * nis/rpcsvc/nis_callback.h: Likewise.
22453 * nis/rpcsvc/nis_callback.x: Likewise.
22454 * nis/rpcsvc/nis_object.x: Likewise.
22455 * nis/rpcsvc/nis_tags.h: Likewise.
22456 * nis/rpcsvc/yp.h: Likewise.
22457 * nis/rpcsvc/yp.x: Likewise.
22458 * nis/rpcsvc/ypupd.h: Likewise.
22459 * nis/yp_xdr.c: Likewise.
22460 * nis/ypupdate_xdr.c: Likewise.
22461
2f3e3dc7
UD
22462 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22463 mainly the body of pmap_getport. Add parameters to specify timeouts.
22464 (pmap_getport): Use __libc_rpc_getport.
22465 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22466 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22467 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22468
f3dcc2f9
AS
224692010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22470
22471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22472 fanotify_mark.
22473
6d34eb5b
RM
224742010-08-27 Roland McGrath <roland@redhat.com>
22475
22476 * sysdeps/i386/i686/multiarch/Makefile
22477 (CFLAGS-varshift.c): New variable.
22478
9ea3de11
UD
224792010-08-27 Ulrich Drepper <drepper@redhat.com>
22480
c96d23fc
UD
22481 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22482 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22483
9ea3de11
UD
22484 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22485
22486 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22487
623aac7f
L
224882010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22489
22490 * sysdeps/x86_64/strlen.S: Unroll the loop.
22491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22492 strlen-sse2 strlen-sse2-bsf.
22493 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22494 __strlen_no_bsf if bit_Slow_BSF is set.
22495 (__strlen_sse42): Removed.
22496 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22497 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22498
8b2b7715
RM
224992010-08-25 Roland McGrath <roland@redhat.com>
22500
22501 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22502 * sysdeps/x86_64/multiarch/varshift.c: New file.
22503 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22504 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22505 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22506 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22507
e73015f2
L
225082010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22509
22510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22511 strlen-sse2 strlen-sse2-bsf.
22512 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22513 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22514 (__strlen_sse2): Removed.
22515 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22516 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22518 bit_Slow_BSF for Atom.
22519 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22520 (index_Slow_BSF): Define.
22521 (HAS_SLOW_BSF): Define.
22522
df24a73e
UD
225232010-08-25 Ulrich Drepper <drepper@redhat.com>
22524
22525 [BZ #10851]
22526 * resolv/res_init.c (__res_vinit): When no server address at all
22527 is given default to loopback.
22528
f2ac4868
RM
225292010-08-24 Roland McGrath <roland@redhat.com>
22530
09055553
RM
22531 * configure.in: Remove config-name.h generation.
22532 * configure: Regenerated.
22533 * config-name.in: File removed.
22534 * scripts/config-uname.sh: New file.
22535 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22536 ($(objdir)config-name.h): New target.
22537
f2ac4868
RM
22538 * sunrpc/rpc_parse.h: Avoid nested comment.
22539
73f27d5e
RH
225402010-08-24 Richard Henderson <rth@redhat.com>
22541 Ulrich Drepper <drepper@redhat.com>
22542 H.J. Lu <hongjiu.lu@intel.com>
22543
22544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22546 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22547 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22548 _mm_alignr_epi8 with _mm_loadu_si128.
22549 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22550 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22551 (__m128i_shift_right): Removed.
22552 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22553 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22554 * sysdeps/x86_64/multiarch/varshift.h: New file.
22555 * sysdeps/x86_64/multiarch/varshift.S: New file.
22556
84b9230c
MF
225572010-08-21 Mike Frysinger <vapier@gentoo.org>
22558
22559 * configure.in: Move assembler checks to before sysdep dir checking.
22560
9bbd0ddc
PB
225612010-08-20 Petr Baudis <pasky@suse.cz>
22562
22563 * LICENSES: Sync the sunrpc license.
22564
9da4bb31
UD
225652010-08-19 Ulrich Drepper <drepper@redhat.com>
22566
a7ab6ec8
UD
22567 * sunrpc/auth_des.c: Update copyright notice once again.
22568 * sunrpc/auth_none.c: Likewise.
22569 * sunrpc/auth_unix.c: Likewise.
22570 * sunrpc/authdes_prot.c: Likewise.
22571 * sunrpc/authuxprot.c: Likewise.
22572 * sunrpc/bindrsvprt.c: Likewise.
22573 * sunrpc/clnt_gen.c: Likewise.
22574 * sunrpc/clnt_perr.c: Likewise.
22575 * sunrpc/clnt_raw.c: Likewise.
22576 * sunrpc/clnt_simp.c: Likewise.
22577 * sunrpc/clnt_tcp.c: Likewise.
22578 * sunrpc/clnt_udp.c: Likewise.
22579 * sunrpc/clnt_unix.c: Likewise.
22580 * sunrpc/des_crypt.c: Likewise.
22581 * sunrpc/des_soft.c: Likewise.
22582 * sunrpc/get_myaddr.c: Likewise.
22583 * sunrpc/getrpcport.c: Likewise.
22584 * sunrpc/key_call.c: Likewise.
22585 * sunrpc/key_prot.c: Likewise.
22586 * sunrpc/openchild.c: Likewise.
22587 * sunrpc/pm_getmaps.c: Likewise.
22588 * sunrpc/pm_getport.c: Likewise.
22589 * sunrpc/pmap_clnt.c: Likewise.
22590 * sunrpc/pmap_prot.c: Likewise.
22591 * sunrpc/pmap_prot2.c: Likewise.
22592 * sunrpc/pmap_rmt.c: Likewise.
22593 * sunrpc/rpc/auth.h: Likewise.
22594 * sunrpc/rpc/auth_unix.h: Likewise.
22595 * sunrpc/rpc/clnt.h: Likewise.
22596 * sunrpc/rpc/des_crypt.h: Likewise.
22597 * sunrpc/rpc/key_prot.h: Likewise.
22598 * sunrpc/rpc/netdb.h: Likewise.
22599 * sunrpc/rpc/pmap_clnt.h: Likewise.
22600 * sunrpc/rpc/pmap_prot.h: Likewise.
22601 * sunrpc/rpc/pmap_rmt.h: Likewise.
22602 * sunrpc/rpc/rpc.h: Likewise.
22603 * sunrpc/rpc/rpc_des.h: Likewise.
22604 * sunrpc/rpc/rpc_msg.h: Likewise.
22605 * sunrpc/rpc/svc.h: Likewise.
22606 * sunrpc/rpc/svc_auth.h: Likewise.
22607 * sunrpc/rpc/types.h: Likewise.
22608 * sunrpc/rpc/xdr.h: Likewise.
22609 * sunrpc/rpc_clntout.c: Likewise.
22610 * sunrpc/rpc_cmsg.c: Likewise.
22611 * sunrpc/rpc_common.c: Likewise.
22612 * sunrpc/rpc_cout.c: Likewise.
22613 * sunrpc/rpc_dtable.c: Likewise.
22614 * sunrpc/rpc_hout.c: Likewise.
22615 * sunrpc/rpc_main.c: Likewise.
22616 * sunrpc/rpc_parse.c: Likewise.
22617 * sunrpc/rpc_parse.h: Likewise.
22618 * sunrpc/rpc_prot.c: Likewise.
22619 * sunrpc/rpc_sample.c: Likewise.
22620 * sunrpc/rpc_scan.c: Likewise.
22621 * sunrpc/rpc_scan.h: Likewise.
22622 * sunrpc/rpc_svcout.c: Likewise.
22623 * sunrpc/rpc_tblout.c: Likewise.
22624 * sunrpc/rpc_util.c: Likewise.
22625 * sunrpc/rpc_util.h: Likewise.
22626 * sunrpc/rpcinfo.c: Likewise.
22627 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22628 * sunrpc/rpcsvc/key_prot.x: Likewise.
22629 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22630 * sunrpc/rpcsvc/mount.x: Likewise.
22631 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22632 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22633 * sunrpc/rpcsvc/rex.x: Likewise.
22634 * sunrpc/rpcsvc/rstat.x: Likewise.
22635 * sunrpc/rpcsvc/rusers.x: Likewise.
22636 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22637 * sunrpc/rpcsvc/spray.x: Likewise.
22638 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22639 * sunrpc/rtime.c: Likewise.
22640 * sunrpc/svc.c: Likewise.
22641 * sunrpc/svc_auth.c: Likewise.
22642 * sunrpc/svc_authux.c: Likewise.
22643 * sunrpc/svc_raw.c: Likewise.
22644 * sunrpc/svc_run.c: Likewise.
22645 * sunrpc/svc_simple.c: Likewise.
22646 * sunrpc/svc_tcp.c: Likewise.
22647 * sunrpc/svc_udp.c: Likewise.
22648 * sunrpc/svc_unix.c: Likewise.
22649 * sunrpc/svcauth_des.c: Likewise.
22650 * sunrpc/xcrypt.c: Likewise.
22651 * sunrpc/xdr.c: Likewise.
22652 * sunrpc/xdr_array.c: Likewise.
22653 * sunrpc/xdr_float.c: Likewise.
22654 * sunrpc/xdr_mem.c: Likewise.
22655 * sunrpc/xdr_rec.c: Likewise.
22656 * sunrpc/xdr_ref.c: Likewise.
22657 * sunrpc/xdr_sizeof.c: Likewise.
22658 * sunrpc/xdr_stdio.c: Likewise.
22659
9da4bb31
UD
22660 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22661 handling.
22662
bdaa77bc
AS
226632010-08-19 Andreas Schwab <schwab@redhat.com>
22664
22665 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22666
fe2f79db
LM
226672010-08-19 Luis Machado <luisgpm@br.ibm.com>
22668
22669 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22670 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22671 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22672 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22673 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22674 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22675 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22676 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22677 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22678 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22679 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22680 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22681 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22682 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22683
b9b42ee0
AB
226842010-07-26 Anton Blanchard <anton@samba.org>
22685
22686 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22687 * malloc/arena.c (heap_trim): Likewise.
22688
1c06ba31
UD
226892010-08-16 Ulrich Drepper <drepper@redhat.com>
22690
22691 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22692 here. Not...
22693 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22694 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22695
f8392f40
L
226962010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22697
22698 * sysdeps/i386/elf/Makefile: New file.
22699
3162f12e
AS
227002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22701
22702 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22703 from fanotify_init.
22704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22706
28c90b2c
UD
227072010-08-15 Ulrich Drepper <drepper@redhat.com>
22708
22709 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22710 of strncasecmp_l.
1feccb6c 22711 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22712
ca6bb004
UD
227132010-08-14 Ulrich Drepper <drepper@redhat.com>
22714
e9f82e0d
UD
22715 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22716 strncase_l-nonascii.
22717 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22718 Add strncase_l-ssse3.
22719 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22720 * sysdeps/x86_64/strcmp.S: Likewise.
22721 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22722 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22723 * sysdeps/x86_64/strncase.S: New file.
22724 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22725 * sysdeps/x86_64/strncase_l.S: New file.
22726 * string/Makefile (strop-tests): Add strncasecmp.
22727 * string/test-strncasecmp.c: New file.
22728
22729 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22730 warning.
22731
ca6bb004
UD
22732 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22733 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22734
052fa7b3
AS
227352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22736
22737 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22738
962dba78
UD
227392010-08-12 Ulrich Drepper <drepper@redhat.com>
22740
22741 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22742 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22743 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22744
bebff237
AM
227452010-05-01 Alan Modra <amodra@gmail.com>
22746
22747 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22748 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22749 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22750 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22751 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22752 tidying. Don't tail-call __sigjmp_save for static lib.
22753 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22754 save location.
22755 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22756 (CALL_MCOUNT): Add eh info, and nop after bl.
22757 (TAIL_CALL_SYSCALL_ERROR): New macro.
22758 (PSEUDO_RET): Use it.
22759 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22760 Correct save location of integer regs and cr.
22761 (_dl_profile_resolve): Correct cr save location. Delete nops
22762 after bl when SHARED. Reduce cfi size a little by better
22763 placement of cfi directives.
22764 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22765 make a stack frame. Instead use parm save area as a temp.
22766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22767 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22769 Don't make a stack frame for parent, use parm save area.
22770 Increase child stack frame to 112 bytes. Don't save unused reg,
22771 and adjust reg usage. Set up cfi on error recovery and
22772 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22774 (__makecontext): Add dummy nop after jump to exit.
22775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22776 Use correct parm save area and cr save, reduce stack frame.
22777 Correct cfi for possible PSEUDO_RET frame setup.
22778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22779 Branch to local label emitted by PSEUDO_RET rather than
22780 __syscall_error.
22781
02637374
AS
227822010-08-12 Andreas Schwab <schwab@redhat.com>
22783
22784 [BZ #11904]
22785 * locale/programs/locale.c (print_assignment): New function.
22786 (show_locale_vars): Use it.
22787
c3e2f19b
UD
227882010-08-11 Ulrich Drepper <drepper@redhat.com>
22789
3cdaa6ad
UD
22790 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22791 field.
22792 (struct statfs64): Likewise.
22793 (_STATFS_F_FLAGS): Define.
22794 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22796 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22797 (ST_VALID): Define locally.
22798 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22799 __statvfs_getflags, use the provided value.
22800 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22801 __ASSUME_STATFS_F_FLAGS.
22802
754f7da3
UD
22803 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22804
10b3bedc
UD
22805 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22806 Add sys/fanotify.h.
22807 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22808 fanotify_mask for GLIBC_2.13.
22809 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22810 fanotify_init and fanotify_mark.
22811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22812 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22813
c08fb0d7
UD
22814 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22815 Add prlimit.
22816 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22817 prlimit64 for GLIBC_2.13.
22818 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22819 prlimit64.
22820 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22821 syscall.
22822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22823 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22824 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22825 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22827 add prlimit alias.
22828 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22829
15bac72b
UD
22830 [BZ #11903]
22831 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22832 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22833
c3e2f19b
UD
22834 * nss/Makefile: Add rules to build and run tst-nss-test1.
22835 * shlib-versions: Add entry for libnss_test1.
22836 * nss/nss_test1.c: New file.
22837 * nss/tst-nss-test1.c: New file.
22838
22839 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22840 (__nss_configure_lookup): Set appropriate entry in
22841 __nss_configure_lookup to true.
22842 * nss/nsswitch.h: Define enum with indeces of databases in
22843 databases and __nss_database_custom arrays. Declare
22844 __nss_database_custom.
22845 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22846 to avoid using nscd when custom rules are installed.
22847 * nss/getXXbyYY_r.c: Likewise.
22848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22849
22850 * nss/nss_files/files-parse.c: Whitespace fixes.
22851
f15ce4d8
UD
228522010-08-09 Ulrich Drepper <drepper@redhat.com>
22853
22854 [BZ #11883]
22855 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22856 * posix/fnmatch_loop.c: Likewise.
22857
d22e4cc9
AK
228582010-07-17 Andi Kleen <ak@linux.intel.com>
22859
22860 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22861 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22862 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22863 * Versions.def [GLIBC_2.13]: Add.
22864
805bc17d
UD
228652010-08-06 Ulrich Drepper <drepper@redhat.com>
22866
22867 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22868 Also fail if tpwd after pwuid call is NULL.
22869
5a42321d
ST
228702010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22871
22872 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22873 when converting to ms.
22874
fd3ebeda
ST
228752010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22876
22877 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22878 EOPNOTSUPP errors with ENOTTY.
22879 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22880 EOPNOTSUPP errors with ENOTTY.
22881
73507d3a
UD
228822010-07-31 Ulrich Drepper <drepper@redhat.com>
22883
22884 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22885 Add strcasecmp_l-ssse3.
22886 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22887 strcasecmp.
22888 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22889 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22890 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22891
fe36dd02
UD
228922010-07-30 Ulrich Drepper <drepper@redhat.com>
22893
66f6765a
UD
22894 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22895
42e08a54
UD
22896 * string/Makefile (strop-tests): Add strcasecmp.
22897 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22898 strcasecmp_l-nonascii.
22899 (gen-as-const-headers): Add locale-defines.sym.
22900 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22901 * sysdeps/x86_64/strcasecmp.S: New file.
22902 * sysdeps/x86_64/strcasecmp_l.S: New file.
22903 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22904 * sysdeps/x86_64/locale-defines.sym: New file.
22905 * string/test-strcasecmp.c: New file.
22906
fe36dd02
UD
22907 * string/test-strcasestr.c: Test both ends of the range of characters.
22908 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22909
48cbc0d6
RM
229102010-07-29 Roland McGrath <roland@redhat.com>
22911
76e6d6bc 22912 [BZ #11856]
48cbc0d6
RM
22913 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22914
880113d9
UD
229152010-07-27 Ulrich Drepper <drepper@redhat.com>
22916
22917 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22918 for ld.so.
22919
deb9cabb
AS
229202010-07-27 Andreas Schwab <schwab@redhat.com>
22921
22922 * manual/memory.texi (Malloc Tunable Parameters): Document
22923 M_PERTURB.
22924
1c7570ff
RM
229252010-07-26 Roland McGrath <roland@redhat.com>
22926
22927 [BZ #11840]
22928 * configure.in (-fgnu89-inline check): Set and substitute
22929 gnu89_inline, not libc_cv_gnu89_inline.
22930 * configure: Regenerated.
22931 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22932
24fb0f88
UD
229332010-07-26 Ulrich Drepper <drepper@redhat.com>
22934
22935 * string/test-strnlen.c: New file.
22936 * string/Makefile (strop-tests): Add strnlen.
22937 * string/tester.c (test_strnlen): Add a few more test cases.
22938 * string/tst-strlen.c: Better error reporting.
22939
22940 * sysdeps/x86_64/strnlen.S: New file.
22941
8e96b93a
UD
229422010-07-24 Ulrich Drepper <drepper@redhat.com>
22943
22944 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22945 lower-latency instructions.
22946
dbc676d4
UD
229472010-07-23 Ulrich Drepper <drepper@redhat.com>
22948
22949 * string/test-strcasestr.c: New file.
22950 * string/test-strstr.c: New file.
22951 * string/Makefile (strop-tests): Add strstr and strcasestr.
22952 * string/str-two-way.h: Don't undefine MAX.
22953 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22954
f6a31e0e
AS
229552010-07-21 Andreas Schwab <schwab@redhat.com>
22956
22957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22958 strcasestr-nonascii.
22959 (CFLAGS-strcasestr-nonascii.c): Define.
22960 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22961 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22962 Remove unused attribute.
22963
5dbc3b6c
RM
229642010-07-20 Roland McGrath <roland@redhat.com>
22965
22966 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22967 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22968 ld.so.cache was broken. With it, there is no way to disable dsocaps
22969 like LD_HWCAP_MASK can disable hwcaps.
22970
23d101d8
EPM
229712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22972
22973 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22974
cc9f2e47
UD
229752010-07-16 Ulrich Drepper <drepper@redhat.com>
22976
22977 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22978 call in strcasestr.
22979 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22980 __strcasestr_sse42_nonascii.
22981 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22982 strcasestr-nonascii.c.
22983 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22984
77c1b069
LM
229852010-06-15 Luis Machado <luisgpm@br.ibm.com>
22986
22987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22988 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22991
440566c3
UD
229922010-07-09 Ulrich Drepper <drepper@redhat.com>
22993
22994 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22995 fcntl.
22996
5be9d05d
AS
229972010-07-06 Andreas Schwab <schwab@redhat.com>
22998
c30b7ee2 22999 [BZ #11577]
5be9d05d
AS
23000 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23001 dl_signal_cerror.
23002
8a492a67
UD
230032010-07-06 Ulrich Drepper <drepper@redhat.com>
23004
23005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23006 _PC_PIPE_BUF using F_GETPIPE_SZ.
23007
713df3d5
RM
230082010-07-05 Roland McGrath <roland@redhat.com>
23009
23010 * manual/arith.texi (Rounding Functions): Fix rint description
23011 implicit in round description.
23012
702e8f14
UD
230132010-07-02 Ulrich Drepper <drepper@redhat.com>
23014
23015 * elf/Makefile: Fix linking for a few tests to make recent linker
23016 happy.
23017
52ed8be9
AS
230182010-06-30 Andreas Schwab <schwab@redhat.com>
23019
23020 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23021 $(common-objpfx)libc_nonshared.a.
23022
f47c9a11
LM
230232010-06-21 Luis Machado <luisgpm@br.ibm.com>
23024
23025 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23026 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23027 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23028 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23029 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23030 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23031 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23032 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23047 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23048 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23049 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23050 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23051 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23052 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23053 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23054 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23055 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23056 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23057 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23058 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23073
6fb8cbcb
L
230742010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23075
23076 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23077 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23078 * string/memmove.c (memmove): Renamed to ...
23079 (MEMMOVE): ...this. Default to memmove.
23080 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23081 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23082 (END_CHK): Define.
23083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23084 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23085 mempcpy-ssse3-back memmove-ssse3-back.
23086 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23087 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23088 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23089 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23090 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23091 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23092 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23093 * sysdeps/x86_64/multiarch/memmove.c: New file.
23094 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23095 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23096 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23097 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23098 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23099 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23100 Define.
23101 (index_Fast_Copy_Backward): Define.
23102 (HAS_ARCH_FEATURE): Define.
23103 (HAS_FAST_REP_STRING): Define.
23104 (HAS_FAST_COPY_BACKWARD): Define.
23105
4e733bac 231062010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23107
23108 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23109 Restore proper fallback handling.
23110
63c4ed22
UD
231112010-06-19 Ulrich Drepper <drepper@redhat.com>
23112
ac2b484c
UD
23113 [BZ #11701]
23114 * posix/group_member.c (__group_member): Correct checking loop.
23115
63c4ed22
UD
23116 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23117 OOM in getpwuid_r correctly. Return error number when the caller
23118 should return, otherwise -1.
23119 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23120 call returning > 0 value.
23121 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23122
765ade4b
AS
231232010-06-07 Andreas Schwab <schwab@redhat.com>
23124
23125 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23126 libc_nonshared.a from targets in modules-names.
23127
80da2e09
KS
231282010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23129
23130 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23131 requires it.
23132
158db122
LM
231332010-06-10 Luis Machado <luisgpm@br.ibm.com>
23134
23135 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23136 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23137 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23138 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23139
caa78cf8
AS
231402010-06-02 Andreas Schwab <schwab@redhat.com>
23141
23142 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23143
b2ef2c01
UD
231442010-06-14 Ulrich Drepper <drepper@redhat.com>
23145
23146 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23147 and F_GETPIPE_SZ.
23148 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23152 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23154
fbd643b6
RM
231552010-06-14 Roland McGrath <roland@redhat.com>
23156
23157 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23158
f32f2869
JJ
231592010-06-07 Jakub Jelinek <jakub@redhat.com>
23160
23161 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23162 __REDIRECT followed by __THROW.
23163 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23164 * posix/getopt.h (getopt): Likewise.
23165
2a50c078
EPM
231662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23167
23168 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23169 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23170 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23171 in AT_FLAGS.
23172 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23173 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23174
eb5ad2eb
LM
231752010-05-28 Luis Machado <luisgpm@br.ibm.com>
23176
23177 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23178
3c88fe1e
L
231792010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23180
23181 [BZ #11640]
23182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23183 Properly check family and model.
23184
d2f73151
TY
231852010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23186
23187 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23188
ebd2e13d
LM
231892010-05-24 Luis Machado <luisgpm@br.ibm.com>
23190
23191 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23192
b32b8b45
UD
231932010-05-21 Ulrich Drepper <drepper@redhat.com>
23194
23195 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23196 symbol reference.
23197
9acbe24d
AS
231982010-05-19 Andreas Schwab <schwab@redhat.com>
23199
23200 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23201 symbol reference.
23202
f0ccf6ea
AS
232032010-05-21 Andreas Schwab <schwab@redhat.com>
23204
3d04ff3a
AS
23205 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23206 and internal_recvmmsg.
23207 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23208 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23209 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23210 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23211
f0ccf6ea
AS
23212 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23213 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23214 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23215
5b08ac57
AS
232162010-05-20 Andreas Schwab <schwab@redhat.com>
23217
23218 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23219
4828935d
LM
232202010-05-17 Luis Machado <luisgpm@br.ibm.com>
23221
23222 POWER7 optimizations.
23223 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23224 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23225
373d545e
UD
232262010-05-19 Ulrich Drepper <drepper@redhat.com>
23227
23228 * version.h: Update for 2.13 development version.
23229
21a2b1ae
AS
232302010-05-12 Andrew Stubbs <ams@codesourcery.com>
23231
23232 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23233 exceptions. Return 0.
23234
3f7dcb2b
RM
232352010-05-07 Roland McGrath <roland@redhat.com>
23236
23237 * elf/ldconfig.c (main): Add a const.
23238
5f24d53a 232392010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23240
a160f8d8
UD
23241 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23242 (args_options): Add no-idn option.
23243 (ahosts_keys_int): Add idn_flags to ai_flags.
23244 (parse_option): Handle 'i' option to clear idn_flags.
23245
5f24d53a
UD
23246 * malloc/malloc.c (_int_free): Possible race in the most recently
23247 added check. Only act on the data if no current modification
23248 happened.
265bb1ce
UD
23249
23250See ChangeLog.17 for earlier changes.