]> sourceware.org Git - glibc.git/blame - ChangeLog
S/390: Update libm-test-ulps.
[glibc.git] / ChangeLog
CommitLineData
a8ebb2b9
AK
12012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2
3 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4
95b4f1b6
SE
52012-12-19 Steve Ellcey <sellcey@mips.com>
6
b2d94007 7 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8
cedb2a90
MS
92012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10
11 * manual/contrib.texi (Contributors): Spelling correction.
12
bbf527d6
DM
132012-12-15 David S. Miller <davem@davemloft.net>
14
15 * po/ru.po: Update from translation team.
16
bc38c906
DM
172012-12-13 David S. Miller <davem@davemloft.net>
18
85429b1a
DM
19 * NEWS: Mention IFUNC testsuite enhancements.
20
d283e353
DM
21 * po/pl.po: Update from translation team.
22 * po/bg.po: Likewise.
23
bc38c906
DM
24 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26
a181b0d7
DM
272012-12-11 David S. Miller <davem@davemloft.net>
28
4641d57e
DM
29 * po/sv.po: Update from translation team.
30
f7bc6495
DM
31 * po/vi.po: Update from translation team.
32
6fc9048f
DM
33 * po/cs.po: Update from translation team.
34
a181b0d7
DM
35 * po/de.po: Update from translation team.
36 * po/eo.po: Likewise.
37 * po/nl.po: Likewise.
38
f70bfe80
SP
392012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40
3c8b4190
SP
41 [BZ #14246]
42 * manual/argp.texi (Argp Helper Functions): Move node to follow
43 Argp Parsing State.
44
f70bfe80
SP
45 [BZ #14872]
46 * manual/conf.texi (Limits on File System Capacity): Mention if
47 terminating null is included in the max size.
48
188f0adf
AJ
492012-12-10 Andreas Jaeger <aj@suse.de>
50
51 * po/cs.po: Update from translation team.
52
56e7d3ad
SP
532012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
54
55 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56 void pointer and cast to uintptr_t.
57 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58 path.
59 * sysdeps/s390/s390-64/memcpy.S: Likewise.
60 * sysdeps/s390/s390-64/memset.S: Likewise.
61
76f2d2ea 622012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
63
64 [BZ #14833]
65 * menual/message.texi (Message Translation): Fix typos.
66 (Helper programs for gettext): Likewise.
67
67cbf9a2
AS
682012-12-07 Andreas Schwab <schwab@linux-m68k.org>
69
70 [BZ #14898]
71 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
72 Change to -1.
73
682d0e9a
DM
742012-12-07 David S. Miller <davem@davemloft.net>
75
76 * po/libc.pot: Update.
77
573cd484
RH
782012-12-07 Richard Henderson <rth@redhat.com>
79
7e9da188 80 [BZ #10114]
573cd484
RH
81 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
82 normal/normal case to before the switch.
83 (_FP_DIV): Likewise.
84
e933a943
MF
852012-12-06 Carlos O'Donell <carlos@systemhalted.org>
86 Mike Frysinger <vapier@gentoo.org>
87
88 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
89 check for __NR_fadvise64_64.
90
82123268
CM
912012-12-06 Chris Metcalf <cmetcalf@tilera.com>
92
93 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
94 0, not just to plain "0" as a statement.
95 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
96 with cw.
97
d9814526
JM
982012-12-06 Joseph Myers <joseph@codesourcery.com>
99
100 * NEWS: Use sourceware.org in Bugzilla URL.
101
7728c574
SP
1022012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
103
f16946dd
SP
104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
105 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
106
5704bbcb
SP
107 * stdio-common/tst-put-error.c (do_test): Add newline to the
108 padded test to ensure flush.
109
17aa0516
JL
1102012-12-05 Jeff Law <law@redhat.com>
111
112 * sunrpc/etc.rpc (fedfs_admin): Add entry.
113
363313b5
JM
1142012-12-05 Joseph Myers <joseph@codesourcery.com>
115
effbd42a
JM
116 * README: Don't refer to ports add-on as distributed separately.
117 Mention AArch64 in list of systems supported in the ports add-on.
118
87600365
JM
119 * LICENSES: Add more non-FSF copyright and license notices.
120
a0d7066a
JM
121 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
122 ((unused)).
123
66ca5a5b
JM
124 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
125
363313b5
JM
126 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
127 10000 as width of padded output.
128
b37984ad
JM
1292012-12-04 Joseph Myers <joseph@codesourcery.com>
130
9003570a
JM
131 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
132
b37984ad
JM
133 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
134 variable LX with __attribute__ ((unused)).
135 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
136 Likewise.
137 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
139 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
140 with __attribute__ ((unused)).
141
c8df52ec
DM
1422012-12-04 David S. Miller <davem@abraco.davemloft.net>
143
144 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
145
b3b099af
JM
1462012-12-04 Joseph Myers <joseph@codesourcery.com>
147
c33aa6e3
JM
148 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
149 (CFLAGS-nldbl-acos.c): New variable.
150 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
151 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
152 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
153 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
154 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
155 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
156 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
157 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
158 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
159 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
160 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
161 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
162 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
163 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
164 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
165 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
166 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
167 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
168 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
169 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
170 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
171 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
172 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
173 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
174 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
175 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
176 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
177 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
178 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
179 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
180 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
181 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
182 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
183 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
184 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
185 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
186 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
187 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
188 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
189 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
190 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
191 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
192 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
193 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
194 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
195 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
196 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
197 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
198 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
199 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
200 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
201 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
202 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
203 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
204 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
205 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
206 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
207 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
208 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
209 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
210 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
211 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
212 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
213 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
214 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
215 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
216 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
217 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
218 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
219 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
220 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
221 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
222 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
223 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
224 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
225 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
226 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
227 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
228 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
229 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
230 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
231 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
232 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
233 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
234 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
235 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
236 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
237 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
238 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
239 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
240 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
241 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
242 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
243 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
244 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
245 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
246 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
247
20f0018d
JM
248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
249 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
250
b3b099af
JM
251 [BZ #14914]
252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
253 whole low double instead of just low 47 bits when splitting values
254 into two parts.
255
029264d1
AM
2562012-12-03 Allan McRae <allan@archlinux.org>
257
258 * manual/stdio.texi (Predefined Printf Handlers): Remove
259 @hsep and @vsep usage.
260
c9d6789e
MF
2612012-12-03 Mike Frysinger <vapier@gentoo.org>
262
263 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
264 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
265
4b7634a5
JL
2662012-12-03 Jeff Law <law@redhat.com>
267
268 * time/sys/time.h (settimeofday): Do not mark TV argument
269 as __nonnull.
270
eb6cbd24
MF
2712012-12-01 Mike Frysinger <vapier@gentoo.org>
272
273 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
274 when currently writing and seek to current position when not.
275 * libio/Makefile (tests): Remove bug-fclose1.
276 * libio/bug-fclose1.c: Delete.
277
f638872a
JM
2782012-12-01 Joseph Myers <joseph@codesourcery.com>
279
280 * manual/arith.texi (feenableexcept): Fix typo.
281 (fedisableexcept): Likewise.
282
48085d14
RM
2832012-11-30 Roland McGrath <roland@hack.frob.com>
284
285 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
286 second, differently-typed declaration, rather than a cast.
287
1a538b9f
SP
2882012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
289
290 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
291 * include/rpc/svc.h: ... here.
292
d07f2ff1 2932012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
294
295 [BZ #13013]
296 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
297 depending n and resplen2 to catch cases where answer
298 equals answerp2.
299
c93ec1f0
CD
3002012-11-29 Carlos O'Donell <carlos@systemhalted.org>
301
302 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
303 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
304
37db69de
MF
3052012-11-29 Mike Frysinger <vapier@gentoo.org>
306
307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
308
e10c4e4f
RM
3092012-11-29 Roland McGrath <roland@hack.frob.com>
310
311 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
312
2af1b328
JL
3132012-11-28 Jeff Law <law@redhat.com>
314
315 [BZ #13761]
316 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
317 dataset_temporary. Track alloca usage into alloca_used.
318 If dataset is large allocate and release it via malloc/free.
319
111db5b1
FW
3202012-06-04 Florian Weimer <fweimer@redhat.com>
321
f06cc227 322 [BZ #14197]
111db5b1
FW
323 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
324
dd694abd
DM
3252012-11-28 David S. Miller <davem@davemloft.net>
326
327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
328
9984dd01
JM
3292012-11-28 Joseph Myers <joseph@codesourcery.com>
330
331 [BZ #14803]
332 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
333 of pi/2 rounded to nearest to 64 bits.
334 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
335 nearest to 64 bits.
336 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
337 bits.
338
14bc93a9
JL
3392012-11-28 Jeff Law <law@redhat.com>
340 Martin Osvald <mosvald@redhat.com>
341
342 [BZ #14889]
343 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
344 * sunrpc/svc.c: Include time.h.
345 (__svc_accept_failed): New function.
346 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
347 any reason other than EINTR, call __svc_accept_failed.
348 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
349 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
350
e3c6aa3a
AS
3512012-11-28 Andreas Schwab <schwab@suse.de>
352
353 * scripts/abilist.awk: Also handle indirect functions in .opd
354 section.
355
1bead169
JM
3562012-11-28 Joseph Myers <joseph@codesourcery.com>
357
358 [BZ #13881]
359 * sysdeps/x86/fpu/powl_helper.c: New file.
360 * sysdeps/x86/fpu/Makefile: Likewise.
361 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
362 (p3): New object.
363 (__ieee754_powl): Use __powl_helper for finite arguments except
364 integer exponents below 8.
365 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
366 (p3): New object.
367 (__ieee754_powl): Use __powl_helper for finite arguments except
368 integer exponents below 8.
369 * math/libm-test.inc (pow_test): Add more tests and enable some
370 previously disabled tests.
371 * sysdeps/i386/fpu/libm-test-ulps: Update.
372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
373
0817d63d
SP
3742012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
375 Carlos O'Donell <carlos_odonell@mentor.com>
376
377 * nss/makedb.c (is_prime): Assert that input is odd and greater
378 than 4. Note that fact in a comment too.
379 (next_prime): Add 4 to input.
380
de2fd463
SP
3812012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
382
383 [BZ #11741]
384 * libio/Makefile (tests): Add test case tst-fwrite-error.
385 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
386 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
387 * libio/tst-fwrite-error.c: New test case.
388
c515fb51
L
3892012-11-26 H.J. Lu <hongjiu.lu@intel.com>
390
391 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
392 before casting to void *.
393 * include/libc-internal.h (__pointer_type): New macro.
394 (__integer_if_pointer_type_sub): Likewise.
395 (__integer_if_pointer_type): Likewise.
396 (cast_to_integer): Likewise.
397 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
398 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
399 before casting to atomic64_t.
400 (atomic_exchange_acq): Likewise.
401 (__arch_exchange_and_add_body): Likewise.
402 (__arch_add_body): Likewise.
403 (atomic_add_negative): Likewise.
404 (atomic_add_zero): Likewise.
405
4cf77aa9
JM
4062012-11-26 Joseph Myers <joseph@codesourcery.com>
407
408 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
409 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
410 (add_fdes): Likewise.
411 (linear_search_fdes): Likewise.
412 (binary_search_unencoded_fdes): Likewise.
413
d260b3b4
AS
4142012-11-26 Andreas Schwab <schwab@linux-m68k.org>
415
416 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
417
67060746
AC
4182012-11-24 Adam Conrad <adconrad@0c3.net>
419
420 * configure.in: Autodetect C++ header directories.
421 * configure: Regenerated.
422
800938a1
MF
4232012-11-23 Mike Frysinger <vapier@gentoo.org>
424
425 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
426
4e6e34e6
AS
4272012-11-23 Andreas Schwab <schwab@linux-m68k.org>
428
429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
430
7c7feb47
JM
4312012-11-22 Joseph Myers <joseph@codesourcery.com>
432
7184dcdf
JM
433 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
434 LDBL_MANT_DIG == 106]: Disable some tests.
435 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
436 Likewise.
437 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
438 Likewise.
439
0a42601f
JM
440 [BZ #14871]
441 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
442 input for small inputs. Return +/- pi/2 for large inputs.
443 * math/libm-test.inc (atan_test): Add more tests.
444
79c9b9fe
JM
445 * sysdeps/generic/unwind-dw2-fde-glibc.c
446 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
447 __attribute__ ((unused)).
448
c60d3bf2
JM
449 [BZ #14645]
450 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
451 x * y if x and y are nonzero and z is zero.
452
ef1e0867
JM
453 [BZ #14811]
454 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
455 nonzero exponents with absolute value below 0x1p-117 to +/-
456 0x1p-117.
457
1468ded3
JM
458 [BZ #14869]
459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
460 up arguments below 2**-450, not just those below 2**-500.
461 * math/libm-test.inc (hypot_test): Add another test.
462
8e27e3cc
JM
463 [BZ #14868]
464 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
465 Return a+b for ratio over 2**120, not 2**60.
466 * math/libm-test.inc (hypot_test): Add another test.
467
c9c0279b
JM
468 * math/libm-test.inc (clog_test): Use
469 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
470 (clog10_test): Likewise.
471
7c7feb47
JM
472 [BZ #6778]
473 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
474
fff1530e
AS
4752012-11-22 Andreas Schwab <schwab@suse.de>
476
477 * sysdeps/i386/fpu/libm-test-ulps: Update.
478
94558d30
PT
4792012-11-22 Pino Toscano <toscano.pino@tiscali.it>
480
481 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
482 printf output with newline.
483
7e1be741
L
4842012-11-21 H.J. Lu <hongjiu.lu@intel.com>
485
6bfea974
L
486 [BZ #14865]
487 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
488 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
489 -z nodlopen, -z initfirst and -z execstack support.
490 * configure: Regenerated.
491
7e1be741
L
492 * elf/elf.h (DF_1_NODIRECT): New macro.
493 (DF_1_IGNMULDEF): Likewise.
494 (DF_1_NOKSYMS): Likewise.
495 (DF_1_NOHDR): Likewise.
496 (DF_1_EDITED): Likewise.
497 (DF_1_NORELOC): Likewise.
498 (DF_1_SYMINTPOSE): Likewise.
499 (DF_1_GLOBAUDIT): Likewise.
500 (DF_1_SINGLETON): Likewise.
501 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
502 DT_1_SUPPORTED_MASK bits.
503 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
504
105ce2ce
CD
5052012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
506
507 * sysdeps/unix/make-syscalls.sh: Document prefixes.
508
123be9de
TS
5092012-11-20 Thomas Schwinge <thomas@codesourcery.com>
510
d072f3f7
TS
511 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
512 macro.
513
123be9de
TS
514 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
515 (sendmmsg): Move declarations...
516 * socket/sys/socket.h: ... here.
517 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
518 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
519 include it from...
520 * socket/recvmmsg.c: ... this new file.
521 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
522 (sendmmsg): Rename to __sendmmsg, create weak alias and make
523 definition of __sendmmsg hidden.
524 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
525 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
526 Move ENOSYS stub into and include it from...
527 * socket/sendmmsg.c: ... this new file.
528 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
529 (sysdep_routines): Move recvmmsg and sendmmsg...
530 * socket/Makefile (routines): ... here.
531 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
532 (GLIBC_PRIVATE): Add __sendmmsg.
533 * include/sys/socket.h (__sendmmsg): Add declarations.
534 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
535 sendmmsg.
536
cf9a5d18
JM
5372012-11-20 Joseph Myers <joseph@codesourcery.com>
538
539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
540 variable I1 with __attribute__ ((unused)).
541 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
542
ecd4caf9
JM
5432012-11-19 Joseph Myers <joseph@codesourcery.com>
544
be14d48f
JM
545 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
546 DUMMY variables with __attribute__ ((unused)).
547
ecd4caf9
JM
548 * bits/byteswap.h: Include <bits/types.h>.
549 (__bswap_64): Use __uint64_t instead of unsigned long long int.
550
986cab95
PT
5512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
552
553 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
554 string_t. Do not manually set errno.
555 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
556 length with __strnlen. Make sure to both set errno and return it on
557 failure.
558
6d33cc9d
DM
5592012-11-19 David S. Miller <davem@davemloft.net>
560
561 With help from Joseph Myers.
562 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
563 very large arguments properly.
564 * math/libm-test.inc (atan_test): New tests.
565 (atan2_test): New tests.
566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
568
ee663277
JM
5692012-11-19 Joseph Myers <joseph@codesourcery.com>
570
877f2d8e
JM
571 [BZ #14856]
572 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
573 Define to 3.
574
116fc08a
JM
575 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
576 [POSIX] (EADDRNOTAVAIL): Likewise.
577 [POSIX] (EAFNOSUPPORT): Likewise.
578 [POSIX] (EALREADY): Likewise.
579 [POSIX] (ECONNABORTED): Likewise.
580 [POSIX] (ECONNREFUSED): Likewise.
581 [POSIX] (ECONNRESET): Likewise.
582 [POSIX] (EDESTADDRREQ): Likewise.
583 [POSIX] (EDQUOT): Likewise.
584 [POSIX] (EHOSTUNREACH): Likewise.
585 [POSIX] (EIDRM): Likewise.
586 [POSIX] (EISCONN): Likewise.
587 [POSIX] (ELOOP): Likewise.
588 [POSIX] (EMULTIHOP): Likewise.
589 [POSIX] (ENETDOWN): Likewise.
590 [POSIX] (ENETUNREACH): Likewise.
591 [POSIX] (ENOBUFS): Likewise.
592 [POSIX] (ENODATA): Likewise.
593 [POSIX] (ENOLINK): Likewise.
594 [POSIX] (ENOMSG): Likewise.
595 [POSIX] (ENOPROTOOPT): Likewise.
596 [POSIX] (ENOSR): Likewise.
597 [POSIX] (ENOSTR): Likewise.
598 [POSIX] (ENOTCONN): Likewise.
599 [POSIX] (ENOTSOCK): Likewise.
600 [POSIX] (EOPNOTSUPP): Likewise.
601 [POSIX] (EOVERFLOW): Likewise.
602 [POSIX] (EPROTO): Likewise.
603 [POSIX] (EPROTONOSUPPORT): Likewise.
604 [POSIX] (EPROTOTYPE): Likewise.
605 [POSIX] (ESTALE): Likewise.
606 [POSIX] (ETIME): Likewise.
607 [POSIX] (ETXTBSY): Likewise.
608 [POSIX] (EWOULDBLOCK): Likewise.
609 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
610 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
611 [POSIX] (SEEK_CUR): Likewise.
612 [POSIX] (SEEK_END): Likewise.
613 [POSIX || UNIX98] (mode_t): Do not require.
614 [POSIX] (off_t): Likewise.
615 [POSIX] (pid_t): Likewise.
616 [POSIX] (sys/stat.h): Do not allow header.
617 [POSIX] (unistd.h): Likewise.
618 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
619 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
620 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
621 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
622 require.
623 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
624 sigevent): Specify elements.
625 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
626 entry.
627 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
628 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
629
a483863f
JM
630 * conform/data/cpio.h-data [POSIX]: Disable whole file.
631 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
632 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
633 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
634 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
635 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
636 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
637 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
638 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
639 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
640 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
641 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
642 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
643 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
644 Likewise.
645 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
646 Likewise.
647 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
648 Likewise.
649 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
650 Likewise.
651 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
652 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
653 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
654 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
655 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
656 Specify lower bound on value.
657 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
658 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
659 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
660 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
661 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
662 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
663 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
664 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
665 value.
666 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
667 as optional.
668 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
669 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
670 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
671 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
672 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
673 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
674 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
675 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
676 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
677 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
678 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
679 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
680 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
681 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
682 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
683 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
684 entry.
685 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
686 optional.
687 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
688 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
689 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
690 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
691 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
692 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
693 Likewise.
694 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
695 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
696 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
697 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
698 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
699 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
700 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
701 as optional.
702 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
703 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
704 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
705 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
706 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
707 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
708 specify as optional.
709 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
710 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
711 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
712 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
713 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
714 [XPG3] (NL_LANGMAX): Likewise.
715 [POSIX || XPG3] (NL_MSGMAX): Likewise.
716 [POSIX || XPG3] (NL_NMAX): Likewise.
717 [POSIX || XPG3] (NL_SETMAX): Likewise.
718 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
719 [XPG3] (NZERO): Likewise.
720 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
721 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
722 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
723 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
724 (REG_ERANGE): Expect.
725 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
726 optional-constant.
727 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
728 Use (void) in prototype.
729 [POSIX] (*_t): Allow.
730 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
731 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
732 (WRDE_BADVAL): Expect.
733
5ba924e3
JM
734 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
735 expect.
736 [XPG3 || XPG4] (O_RSYNC): Likewise.
737 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
738 Likewise.
739 [XPG3 || XPG4] (pthread_sigmask): Likewise.
740 [XPG3 || XPG4] (sigqueue): Likewise.
741 [XPG3 || XPG4] (sigtimedwait): Likewise.
742 [XPG3 || XPG4] (sigwaitinfo): Likewise.
743 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
744 [XPG3 || XPG4] (vsnprintf): Likewise.
745 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
746 Likewise.
747 [XPG3 || XPG4] (blksize_t): Likewise.
748 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
749 Likewise.
750 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
751 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
752 [XPG3 || XPG4] (struct itimerspec): Likewise.
753 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
754 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
755 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
756 [XPG3 || XPG4] (clockid_t): Likewise.
757 [XPG3 || XPG4] (timer_t): Likewise.
758 [XPG3 || XPG4] (clock_getres): Likewise.
759 [XPG3 || XPG4] (clock_gettime): Likewise.
760 [XPG3 || XPG4] (clock_settime): Likewise.
761 [XPG3 || XPG4] (nanosleep): Likewise.
762 [XPG3 || XPG4] (timer_create): Likewise.
763 [XPG3 || XPG4] (timer_delete): Likewise.
764 [XPG3 || XPG4] (timer_gettime): Likewise.
765 [XPG3 || XPG4] (timer_getoverrun): Likewise.
766 [XPG3 || XPG4] (timer_settime): Likewise.
767 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
768 [XPG3 || XPG4] (getlogin_r): Likewise.
769 [XPG3 || XPG4] (pread): Likewise.
770 [XPG3 || XPG4] (pthread_atfork): Likewise.
771 [XPG3 || XPG4] (pwrite): Likewise.
772
ee663277
JM
773 [BZ #14835]
774 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
775 <bits/siginfo.h>.
776
942caa16
PT
7772012-11-19 Pino Toscano <toscano.pino@tiscali.it>
778
e19af380
PT
779 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
780 finalizing MALLSTREAM.
781
942caa16
PT
782 * sysdeps/mach/hurd/syncfs.c: New file.
783
cfde9b46
SP
7842012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
785
786 [BZ #14719]
787 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
788 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
790 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
791 (_nss_dns_gethostbyname4_r): Likewise.
792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
793 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
794
f6da27e5
PH
7952012-11-19 Peng Haitao <penght@cn.fujitsu.com>
796
797 [BZ #13763]
798 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
799
6665d4a2
SM
8002012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
801
1f51ee92
SM
802 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
803 * elf/cache.c (print_entry): Print ",AArch64" for
804 FLAG_AARCH64_LIB64
805
6665d4a2
SM
806 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
807 * elf/cache.c (print_entry): Print ",hard-float" for
808 FLAG_ARM_LIBHF.
809
05b227bd
DM
8102012-11-18 David S. Miller <davem@davemloft.net>
811
812 With help from Joseph Myers.
813 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
814 cutoff to 2**-13.
815 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
816 cutoff to 2**-25.
817 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
818 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
819 small.
820 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
821 * math/libm-test.inc (y0_test): New tests.
822 (y1_test): New tests.
823 * sysdeps/i386/fpu/libm-test-ulps: Update.
824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
826
786b0b67
AS
8272012-11-18 Andreas Schwab <schwab@linux-m68k.org>
828
829 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
830 64-bit targets.
831 * configure: Regenerated.
832
8e18b86d
DM
8332012-11-17 David S. Miller <davem@davemloft.net>
834
835 [BZ #14811]
836 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
837 nonzero exponents with absolute value below 0x1p-128 to +/-
838 0x1p-128.
839
531f1ae0
JM
8402012-11-17 Joseph Myers <joseph@codesourcery.com>
841
12df29e2
JM
842 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
843
150dc1a0
JM
844 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
845
531f1ae0
JM
846 * posix/getconf-speclist.c: New file.
847 * posix/posix-envs.def: Likewise.
848 * posix/confstr.c (START_ENV_GROUP): New macro.
849 (END_ENV_GROUP): Likewise.
850 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
851 (KNOWN_PRESENT_ENV_STRING): Likewise.
852 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
853 (UNKNOWN_ENVIRONMENT): Likewise.
854 (confstr): Include posix-envs.def instead of handling
855 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
856 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
857 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
858 (END_ENV_GROUP): Likewise.
859 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
860 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
861 (UNKNOWN_ENVIRONMENT): Likewise.
862 (__sysconf): Include posix-envs.def instead of handling associated
863 cases directly here.
864 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
865 preprocessing getconf-speclist.c rather than running getconf or
866 generating empty file.
867
a93f9cbc
PT
8682012-11-16 Pino Toscano <toscano.pino@tiscali.it>
869
870 * scripts/check-local-headers.sh: Ignore 'mach' headers.
871
d64d9f87
AL
8722012-11-16 Andrej Lajovic <natrij@gmail.com>
873
874 [BZ #14672]
875 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
876
447885eb
DM
8772012-11-16 David S. Miller <davem@davemloft.net>
878
879 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
880 smaller than LDBL_EPSILON/2.0L, just return xm1.
881
bcbf9830
L
8822012-11-16 H.J. Lu <hongjiu.lu@intel.com>
883
884 * elf/tst-array1.c (init): Set constructor priority to 1000.
885 (fini): Set destructor priority to 1000.
886 * elf/tst-array2dep.c: Likewise.
887
2b766585
SP
8882012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
889
890 [BZ #11741]
891 * libio/fileops.c (_IO_new_file_write): Correctly return error.
892 (_IO_new_file_xsputn): Also return EOF if none of the input
893 data was written when overflow failed.
894 * libio/iopadn.c (_IO_padn): Likewise.
895 * libio/iowpadn.c (_IO_wpadn): Likewise.
896 * stdio-common/tst-put-error.c: Add copyright notice.
897 (do_test): Add case for printing padded string.
898 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
899 _IO_padn returned error.
900 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
901 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
902 return EOF.
903
b1848fde
SP
9042012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
905
906 * libio/libioP.h: Add comment note that the references to C++
907 bits are now obsolete.
908
2fd89785
MS
9092012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
910
911 * math/libm-test.inc (check_complex): Use asprintf.
912
e3ea5409
JM
9132012-11-14 Joseph Myers <joseph@codesourcery.com>
914
915 * debug/pcprofiledump.c (print_version): Update copyright year.
916 * malloc/memusagestat.c (print_version): Likewise.
917
2e64d265
L
9182012-11-14 H.J. Lu <hongjiu.lu@intel.com>
919
920 [BZ #14831]
921 * elf/Makefile (tests): Add tst-audit8.
922 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
923 ($(objpfx)tst-audit8.out): New target.
924 (tst-audit8-ENV): New variable.
925 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
926 audit if l_reloc_result is NULL.
927 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
928 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
929 * elf/tst-audit8.c: New file.
930
c485e4d2
MS
9312012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
932
933 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
934 * misc/Makefile (CFLAGS-select.c): Define.
935 * posix/Makefile (CFLAGS-pause.c): Define.
936
3a0d900a
DM
9372012-11-13 David S. Miller <davem@davemloft.net>
938
939 * crypt/Makefile: Move test targets after toplevel Rules
940 inclusion. Grab any necessary sysdep routines when linking.
941 * crypt/md5.c (md5_process_block): Remove define, we will always
942 name it __md5_process_block.
943 (md5_finish_ctx): Update md5_process_block call.
944 (md5_stream): Likewise.
945 (md5_process_bytes): Likewise.
946 (md5_process_block): Rename to __md5_process_block and move to ...
947 * crypt/md5-block.c: ... here.
948 * crypt/sha256.c (sha256_process_block): Move to ...
949 * crypt/sha256-block.c: ... here.
950 * crypt/sha512.c (sha512_process_block): Move to ...
951 * crypt/sha512-block.c: ... here.
952 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
953 path.
954 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
955 * sysdeps/sparc/sparc64/multiarch/Makefile
956 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
957 crypt subdir.
958 (localedef-aux): Add md5 crypto assembler when in locale subdir.
959 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
960 multiarch changes.
961 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
962 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
963 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
964 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
965 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
966 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
967 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
968 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
970 file.
971 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
972 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
973 file.
974 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
975
8ca89318
JM
9762012-11-13 Joseph Myers <joseph@codesourcery.com>
977
e27d476a
JM
978 * timezone/tzselect.ksh: Update from tzcode git revision
979 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
980 * timezone/zdump.c: Likewise.
981 * timezone/zic.c: Likewise.
982 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
983 in TZVERSION setting, not $(PKGVERSION).
984 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
985 REPORT_BUGS_TO settings.
986
8ca89318
JM
987 [BZ #14838]
988 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
989 macro.
990
47594329
MS
9912012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
992
993 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
994 detection to immediately after _FP_ROUND().
995 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
996 bits are 0.
997
640ac3f1
DM
9982012-11-11 David S. Miller <davem@davemloft.net>
999
1000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1001 inttypes.h
1002 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1003 __close rather than their public counterparts.
1004
3d2577bb
JM
10052012-11-10 Joseph Myers <joseph@codesourcery.com>
1006
1007 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1008 file.
1009 [UNIX98] (sem_timedwait): Do not expect.
1010 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1011 [XPG4 || UNIX98] (sockatmark): Do not expect.
1012 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1013 (clock_getcpuclockid): Do not expect.
1014 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1015 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1016 Do not expect.
1017 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1018 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1019 [UNIX98] (vwscanf): Likewise.
1020 [UNIX98] (vswscanf): Likewise.
1021
fb1ae1ee
JM
10222012-11-09 Joseph Myers <joseph@codesourcery.com>
1023
9ec6f8bd
JM
1024 * timezone/version.h: Remove file.
1025 * timezone/README: Do not refer to version.h.
1026 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1027 $(objpfx)version.h.
1028 ($(objpfx)zdump.o): Likewise.
c3f81911 1029 ($(objpfx)version.h): New target.
9ec6f8bd 1030
0aa8f8a1
JM
1031 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1032 2012i.
1033 * timezone/README: Don't mention modification to tzselect.ksh.
1034 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1035 work on unmodified tzselect.ksh. Substitute version numbers in
1036 tzselect.ksh.
1037
4e87147f
JM
1038 * Makefile (format-me): Remove.
1039 (INSTALL): Adjust indentation. Use commands directly instead of
1040 using $(format-me).
1041
8b748aed
JM
1042 * aclocal.m4 (ACX_PKGVERSION): New macro.
1043 (ACX_BUGURL): Likewise.
1044 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1045 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1046 (REPORT_BUGS_TO): Likewise.
1047 * configure: Regenerated.
1048 * config.h.in (PKGVERSION): New macro.
1049 (REPORT_BUGS_TO): Likewise.
1050 * config.make.in (PKGVERSION): New variable.
1051 (PKGVERSION_TEXI): Likewise.
1052 (REPORT_BUGS_TO): Likewise.
1053 (REPORT_BUGS_TEXI): Likewise.
1054 * Makefile (format-me): Use -I$(common-objpfx)manual.
1055 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1056 ($(common-objpfx)manual/%): New target.
1057 (manual/%): Remove target.
1058 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1059 (print_version): Use PKGVERSION.
1060 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1061 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1062 and REPORT_BUGS_TO.
1063 ($(objpfx)xtrace): Likewise.
1064 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1065 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1066 (print_version): Use PKGVERSION.
1067 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1068 (do_version): Use PKGVERSION.
1069 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1070 REPORT_BUGS_TO.
1071 (common-ldd-rewrite): Likewise.
1072 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1073 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1074 (print_version): Use PKGVERSION.
1075 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1076 * elf/pldd.c (argp_program_bug_address): Remove variable.
1077 (more_help): New function.
1078 (argp): Use more_help.
1079 (print_version): Use PKGVERSION.
1080 * elf/sln.c (main): Use PKGVERSION.
1081 (usage): Use REPORT_BUGS_TO.
1082 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1083 (top level): Use PKGVERSION.
1084 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1085 (print_version): Use PKGVERSION.
1086 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1087 (print_version): Use PKGVERSION.
1088 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1089 (print_version): Use PKGVERSION.
1090 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1091 (print_version): Use PKGVERSION.
1092 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1093 (print_version): Use PKGVERSION.
1094 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1095 (print_version): Use PKGVERSION.
1096 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1097 and BUGURL.
1098 ($(objpfx)memusage): Likewise.
1099 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1100 (do_version): Use PKGVERSION.
1101 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1102 (print_version): Use PKGVERSION.
1103 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1104 ($PKGVERSION): New variable.
1105 ($REPORT_BUGS_TO): Likewise.
1106 (usage): Use $REPORT_BUGS_TO.
1107 (top level): Use $PKGVERSION.
1108 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1109 ($(objpfx)pkgvers.texi): New rule.
1110 ($(objpfx)stamp-pkgvers): Likewise.
1111 * manual/install.texi: Include pkgvers.texi.
1112 (--with-pkgversion): Document new configure option.
1113 (--with-bugurl): Likewise.
1114 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1115 than necessarily for this particular distribution. Use
1116 REPORT_BUGS_TO for where to report bugs.
1117 * INSTALL: Regenerated.
1118 * manual/libc.texinfo: Include pkgvers.texi.
1119 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1120 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1121 (print_version): Use PKGVERSION.
1122 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1123 (print_version): Use PKGVERSION.
1124 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1125 (print_version): Use PKGVERSION.
1126 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1127 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1128 macro.
1129 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1130 (print_version): Use PKGVERSION.
1131 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1132 (print_version): Use PKGVERSION.
1133 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1134 and PKGVERSION.
1135
92e4b6a9
JM
1136 * timezone/checktab.awk: Update from tzcode 2012i.
1137 * timezone/ialloc.c: Likewise.
1138 * timezone/private.h: Likewise.
1139 * timezone/scheck.c: Likewise.
1140 * timezone/tzfile.h: Likewise.
1141 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1142 (TZVERSION): Hardcode tzcode version number.
1143 * timezone/zdump.c: Update from tzcode 2012i.
1144 * timezone/zic.c: Likewise.
1145 * timezone/version.h: New file.
1146 * timezone/README: Describe version.h. Update upstream location.
1147
9bde902c
JM
1148 [BZ #14824]
1149 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1150 (mktemp): Enable declaration.
1151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1155 Likewise.
1156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1157 Likewise.
1158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1159 Likewise.
1160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1161 Likewise.
1162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1163 Likewise.
1164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1165 Likewise.
1166
fb1ae1ee
JM
1167 [BZ #14821]
1168 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1169 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1170 for copies of such integer values.
1171 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1172 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1173
2c1adbcb
AJ
11742012-11-09 Andreas Jaeger <aj@suse.de>
1175
1176 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1177 definitions and declarations that are provided by
1178 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1179
d0f8457e
AK
11802012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1181
1182 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1183 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1184 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1185 definition.
1186
57241e26
MS
11872012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1188
1189 * elf/elf.h: Update comment before AArch64 relocations.
1190
60e8270d
DM
11912012-11-07 David S. Miller <davem@davemloft.net>
1192
1193 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1194 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1195 (__start_context): Declare.
1196 (__makecontext_ret): Delete.
1197 (__makecontext): Hook up __start_context instead of
1198 __makecontext_ret.
1199 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1200 (sysdep_routines): Add __start_context when in stdlib.
1201
0fbb0fbc
JM
12022012-11-07 Joseph Myers <joseph@codesourcery.com>
1203
1204 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1205 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1206 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1207 hardcoded "nm".
1208 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1209 (READELF): New variable. Use it instead of hardcoded "readelf".
1210
eb48db7e
L
12112012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1212
1213 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1214 * sysdeps/x86/Makefile: Here.
1215 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1216 * sysdeps/x86/tst-xmmymm.sh: This.
1217
05bcf62a
JM
12182012-11-07 Joseph Myers <joseph@codesourcery.com>
1219
c4b6cf53
JM
1220 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1221 expectations.
1222 [UNIX98] (pthread_barrier_t): Do not expect.
1223 [UNIX98] (pthread_barrierattr_t): Likewise.
1224 [UNIX98] (pthread_spinlock_t): Likewise.
1225 [UNIX98] (pthread_barrier_destroy): Likewise.
1226 [UNIX98] (pthread_barrier_init): Likewise.
1227 [UNIX98] (pthread_barrier_wait): Likewise.
1228 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1229 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1230 [UNIX98] (pthread_barrierattr_init): Likewise.
1231 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1232 [UNIX98] (pthread_getcpuclockid): Likewise.
1233 [UNIX98] (pthread_mutex_timedlock): Likewise.
1234 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1235 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1236 [UNIX98] (pthread_sigmask): Likewise.
1237 [UNIX98] (pthread_spin_destroy): Likewise.
1238 [UNIX98] (pthread_spin_init): Likewise.
1239 [UNIX98] (pthread_spin_lock): Likewise.
1240 [UNIX98] (pthread_spin_trylock): Likewise.
1241 [UNIX98] (pthread_spin_unlock): Likewise.
1242 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1243 Do not expect.
1244 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1246 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1247 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1248 [XPG3 || XPG4] (pthread_key_t): Likewise.
1249 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1250 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1251 [XPG3 || XPG4] (pthread_once_t): Likewise.
1252 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1253 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1255 [XPG3 || XPG4] (pthread_t): Likewise.
1256
cbe6e120
JM
1257 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1258 not expect.
1259 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1260
1b126443
JM
1261 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1262 Change function return type to int.
1263
b961a573
JM
1264 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1265 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1266 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1267 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1268 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1269 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1270 [!POSIX] (posix_madvise): Likewise.
1271 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1272 && !UNIX98].
1273 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1274 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1275 (mode_t): Likewise.
1276 (posix_mem_offset): Likewise.
1277 (posix_typed_mem_get_info): Likewise.
1278 (posix_typed_mem_open): Likewise.
1279
9e188909
JM
1280 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1281 Change condition to [XOPEN2K8].
1282
05bcf62a
JM
1283 * conform/conformtest.pl: Preprocess allow-header data with -x c
1284 instead of from stdin.
1285 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1286 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1287 [C99-based standards] (cerfc): Likewise.
1288 [C99-based standards] (cexp2): Likewise.
1289 [C99-based standards] (cexpm1): Likewise.
1290 [C99-based standards] (clog10): Likewise.
1291 [C99-based standards] (clog1p): Likewise.
1292 [C99-based standards] (clog2): Likewise.
1293 [C99-based standards] (clgamma): Likewise.
1294 [C99-based standards] (ctgamma): Likewise.
1295 [C99-based standards] (cerff): Likewise.
1296 [C99-based standards] (cerfcf): Likewise.
1297 [C99-based standards] (cexp2f): Likewise.
1298 [C99-based standards] (cexpm1f): Likewise.
1299 [C99-based standards] (clog10f): Likewise.
1300 [C99-based standards] (clog1pf): Likewise.
1301 [C99-based standards] (clog2f): Likewise.
1302 [C99-based standards] (clgammaf): Likewise.
1303 [C99-based standards] (ctgammaf): Likewise.
1304 [C99-based standards] (cerfl): Likewise.
1305 [C99-based standards] (cerfcl): Likewise.
1306 [C99-based standards] (cexp2l): Likewise.
1307 [C99-based standards] (cexpm1l): Likewise.
1308 [C99-based standards] (clog10l): Likewise.
1309 [C99-based standards] (clog1pl): Likewise.
1310 [C99-based standards] (clog2l): Likewise.
1311 [C99-based standards] (clgammal): Likewise.
1312 [C99-based standards] (ctgammal): Likewise.
1313 * conform/data/inttypes.h-data [C99-based standards]: Include
1314 stdint.h-data. Remove all expectations for stdint.h contents.
1315 [C99-based standards] (PRI*): Do not allow.
1316 [C99-based standards] (SCN*): Likewise.
1317 [C99-based standards] (*_t): Likewise.
1318 [C99-based-standards] (PRId8): Expect macro.
1319 [C99-based-standards] (PRIi8): Likewise.
1320 [C99-based-standards] (PRIo8): Likewise.
1321 [C99-based-standards] (PRIu8): Likewise.
1322 [C99-based-standards] (PRIx8): Likewise.
1323 [C99-based-standards] (PRIX8): Likewise.
1324 [C99-based-standards] (SCNd8): Likewise.
1325 [C99-based-standards] (SCNi8): Likewise.
1326 [C99-based-standards] (SCNo8): Likewise.
1327 [C99-based-standards] (SCNu8): Likewise.
1328 [C99-based-standards] (SCNx8): Likewise.
1329 [C99-based-standards] (PRIdLEAST8): Likewise.
1330 [C99-based-standards] (PRIiLEAST8): Likewise.
1331 [C99-based-standards] (PRIoLEAST8): Likewise.
1332 [C99-based-standards] (PRIuLEAST8): Likewise.
1333 [C99-based-standards] (PRIxLEAST8): Likewise.
1334 [C99-based-standards] (PRIXLEAST8): Likewise.
1335 [C99-based-standards] (SCNdLEAST8): Likewise.
1336 [C99-based-standards] (SCNiLEAST8): Likewise.
1337 [C99-based-standards] (SCNoLEAST8): Likewise.
1338 [C99-based-standards] (SCNuLEAST8): Likewise.
1339 [C99-based-standards] (SCNxLEAST8): Likewise.
1340 [C99-based-standards] (PRIdFAST8): Likewise.
1341 [C99-based-standards] (PRIiFAST8): Likewise.
1342 [C99-based-standards] (PRIoFAST8): Likewise.
1343 [C99-based-standards] (PRIuFAST8): Likewise.
1344 [C99-based-standards] (PRIxFAST8): Likewise.
1345 [C99-based-standards] (PRIXFAST8): Likewise.
1346 [C99-based-standards] (SCNdFAST8): Likewise.
1347 [C99-based-standards] (SCNiFAST8): Likewise.
1348 [C99-based-standards] (SCNoFAST8): Likewise.
1349 [C99-based-standards] (SCNuFAST8): Likewise.
1350 [C99-based-standards] (SCNxFAST8): Likewise.
1351 [C99-based-standards] (PRId16): Likewise.
1352 [C99-based-standards] (PRIi16): Likewise.
1353 [C99-based-standards] (PRIo16): Likewise.
1354 [C99-based-standards] (PRIu16): Likewise.
1355 [C99-based-standards] (PRIx16): Likewise.
1356 [C99-based-standards] (PRIX16): Likewise.
1357 [C99-based-standards] (SCNd16): Likewise.
1358 [C99-based-standards] (SCNi16): Likewise.
1359 [C99-based-standards] (SCNo16): Likewise.
1360 [C99-based-standards] (SCNu16): Likewise.
1361 [C99-based-standards] (SCNx16): Likewise.
1362 [C99-based-standards] (PRIdLEAST16): Likewise.
1363 [C99-based-standards] (PRIiLEAST16): Likewise.
1364 [C99-based-standards] (PRIoLEAST16): Likewise.
1365 [C99-based-standards] (PRIuLEAST16): Likewise.
1366 [C99-based-standards] (PRIxLEAST16): Likewise.
1367 [C99-based-standards] (PRIXLEAST16): Likewise.
1368 [C99-based-standards] (SCNdLEAST16): Likewise.
1369 [C99-based-standards] (SCNiLEAST16): Likewise.
1370 [C99-based-standards] (SCNoLEAST16): Likewise.
1371 [C99-based-standards] (SCNuLEAST16): Likewise.
1372 [C99-based-standards] (SCNxLEAST16): Likewise.
1373 [C99-based-standards] (PRIdFAST16): Likewise.
1374 [C99-based-standards] (PRIiFAST16): Likewise.
1375 [C99-based-standards] (PRIoFAST16): Likewise.
1376 [C99-based-standards] (PRIuFAST16): Likewise.
1377 [C99-based-standards] (PRIxFAST16): Likewise.
1378 [C99-based-standards] (PRIXFAST16): Likewise.
1379 [C99-based-standards] (SCNdFAST16): Likewise.
1380 [C99-based-standards] (SCNiFAST16): Likewise.
1381 [C99-based-standards] (SCNoFAST16): Likewise.
1382 [C99-based-standards] (SCNuFAST16): Likewise.
1383 [C99-based-standards] (SCNxFAST16): Likewise.
1384 [C99-based-standards] (PRId32): Likewise.
1385 [C99-based-standards] (PRIi32): Likewise.
1386 [C99-based-standards] (PRIo32): Likewise.
1387 [C99-based-standards] (PRIu32): Likewise.
1388 [C99-based-standards] (PRIx32): Likewise.
1389 [C99-based-standards] (PRIX32): Likewise.
1390 [C99-based-standards] (SCNd32): Likewise.
1391 [C99-based-standards] (SCNi32): Likewise.
1392 [C99-based-standards] (SCNo32): Likewise.
1393 [C99-based-standards] (SCNu32): Likewise.
1394 [C99-based-standards] (SCNx32): Likewise.
1395 [C99-based-standards] (PRIdLEAST32): Likewise.
1396 [C99-based-standards] (PRIiLEAST32): Likewise.
1397 [C99-based-standards] (PRIoLEAST32): Likewise.
1398 [C99-based-standards] (PRIuLEAST32): Likewise.
1399 [C99-based-standards] (PRIxLEAST32): Likewise.
1400 [C99-based-standards] (PRIXLEAST32): Likewise.
1401 [C99-based-standards] (SCNdLEAST32): Likewise.
1402 [C99-based-standards] (SCNiLEAST32): Likewise.
1403 [C99-based-standards] (SCNoLEAST32): Likewise.
1404 [C99-based-standards] (SCNuLEAST32): Likewise.
1405 [C99-based-standards] (SCNxLEAST32): Likewise.
1406 [C99-based-standards] (PRIdFAST32): Likewise.
1407 [C99-based-standards] (PRIiFAST32): Likewise.
1408 [C99-based-standards] (PRIoFAST32): Likewise.
1409 [C99-based-standards] (PRIuFAST32): Likewise.
1410 [C99-based-standards] (PRIxFAST32): Likewise.
1411 [C99-based-standards] (PRIXFAST32): Likewise.
1412 [C99-based-standards] (SCNdFAST32): Likewise.
1413 [C99-based-standards] (SCNiFAST32): Likewise.
1414 [C99-based-standards] (SCNoFAST32): Likewise.
1415 [C99-based-standards] (SCNuFAST32): Likewise.
1416 [C99-based-standards] (SCNxFAST32): Likewise.
1417 [C99-based-standards] (PRId64): Likewise.
1418 [C99-based-standards] (PRIi64): Likewise.
1419 [C99-based-standards] (PRIo64): Likewise.
1420 [C99-based-standards] (PRIu64): Likewise.
1421 [C99-based-standards] (PRIx64): Likewise.
1422 [C99-based-standards] (PRIX64): Likewise.
1423 [C99-based-standards] (SCNd64): Likewise.
1424 [C99-based-standards] (SCNi64): Likewise.
1425 [C99-based-standards] (SCNo64): Likewise.
1426 [C99-based-standards] (SCNu64): Likewise.
1427 [C99-based-standards] (SCNx64): Likewise.
1428 [C99-based-standards] (PRIdLEAST64): Likewise.
1429 [C99-based-standards] (PRIiLEAST64): Likewise.
1430 [C99-based-standards] (PRIoLEAST64): Likewise.
1431 [C99-based-standards] (PRIuLEAST64): Likewise.
1432 [C99-based-standards] (PRIxLEAST64): Likewise.
1433 [C99-based-standards] (PRIXLEAST64): Likewise.
1434 [C99-based-standards] (SCNdLEAST64): Likewise.
1435 [C99-based-standards] (SCNiLEAST64): Likewise.
1436 [C99-based-standards] (SCNoLEAST64): Likewise.
1437 [C99-based-standards] (SCNuLEAST64): Likewise.
1438 [C99-based-standards] (SCNxLEAST64): Likewise.
1439 [C99-based-standards] (PRIdFAST64): Likewise.
1440 [C99-based-standards] (PRIiFAST64): Likewise.
1441 [C99-based-standards] (PRIoFAST64): Likewise.
1442 [C99-based-standards] (PRIuFAST64): Likewise.
1443 [C99-based-standards] (PRIxFAST64): Likewise.
1444 [C99-based-standards] (PRIXFAST64): Likewise.
1445 [C99-based-standards] (SCNdFAST64): Likewise.
1446 [C99-based-standards] (SCNiFAST64): Likewise.
1447 [C99-based-standards] (SCNoFAST64): Likewise.
1448 [C99-based-standards] (SCNuFAST64): Likewise.
1449 [C99-based-standards] (SCNxFAST64): Likewise.
1450 [C99-based-standards] (PRIdMAX): Likewise.
1451 [C99-based-standards] (PRIiMAX): Likewise.
1452 [C99-based-standards] (PRIoMAX): Likewise.
1453 [C99-based-standards] (PRIuMAX): Likewise.
1454 [C99-based-standards] (PRIxMAX): Likewise.
1455 [C99-based-standards] (PRIXMAX): Likewise.
1456 [C99-based-standards] (SCNdMAX): Likewise.
1457 [C99-based-standards] (SCNiMAX): Likewise.
1458 [C99-based-standards] (SCNoMAX): Likewise.
1459 [C99-based-standards] (SCNuMAX): Likewise.
1460 [C99-based-standards] (SCNxMAX): Likewise.
1461 [C99-based-standards] (PRIdPTR): Likewise.
1462 [C99-based-standards] (PRIiPTR): Likewise.
1463 [C99-based-standards] (PRIoPTR): Likewise.
1464 [C99-based-standards] (PRIuPTR): Likewise.
1465 [C99-based-standards] (PRIxPTR): Likewise.
1466 [C99-based-standards] (PRIXPTR): Likewise.
1467 [C99-based-standards] (SCNdPTR): Likewise.
1468 [C99-based-standards] (SCNiPTR): Likewise.
1469 [C99-based-standards] (SCNoPTR): Likewise.
1470 [C99-based-standards] (SCNuPTR): Likewise.
1471 [C99-based-standards] (SCNxPTR): Likewise.
1472 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1473 allow.
1474 * conform/data/stdint.h-data: Update comments to clarify
1475 requirements.
1476 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1477 type.
1478 [C99-based standards] (INT8_MAX): Likewise.
1479 [C99-based standards] (INT16_MIN): Likewise.
1480 [C99-based standards] (INT16_MAX): Likewise.
1481 [C99-based standards] (INT32_MIN): Likewise.
1482 [C99-based standards] (INT32_MAX): Likewise.
1483 [C99-based standards] (INT64_MIN): Likewise.
1484 [C99-based standards] (INT64_MAX): Likewise.
1485 [C99-based standards] (UINT8_MAX): Likewise.
1486 [C99-based standards] (UINT16_MAX): Likewise.
1487 [C99-based standards] (UINT32_MAX): Likewise.
1488 [C99-based standards] (UINT64_MAX): Likewise.
1489 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1490 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1491 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1492 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1493 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1494 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1495 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1496 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1497 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1498 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1499 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1500 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1501 [C99-based standards] (INT_FAST8_MIN): Likewise.
1502 [C99-based standards] (INT_FAST8_MAX): Likewise.
1503 [C99-based standards] (INT_FAST16_MIN): Likewise.
1504 [C99-based standards] (INT_FAST16_MAX): Likewise.
1505 [C99-based standards] (INT_FAST32_MIN): Likewise.
1506 [C99-based standards] (INT_FAST32_MAX): Likewise.
1507 [C99-based standards] (INT_FAST64_MIN): Likewise.
1508 [C99-based standards] (INT_FAST64_MAX): Likewise.
1509 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1510 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1511 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1512 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1513 [C99-based standards] (INTPTR_MIN): Likewise.
1514 [C99-based standards] (INTPTR_MAX): Likewise.
1515 [C99-based standards] (UINTPTR_MAX): Likewise.
1516 [C99-based standards] (INTMAX_MIN): Likewise.
1517 [C99-based standards] (INTMAX_MAX): Likewise.
1518 [C99-based standards] (UINTMAX_MAX): Likewise.
1519 [C99-based standards] (PTRDIFF_MIN): Likewise.
1520 [C99-based standards] (PTRDIFF_MAX): Likewise.
1521 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1522 [C99-based standards] (SIZE_MAX): Likewise.
1523 [C99-based standards] (WCHAR_MAX): Likewise.
1524 [C99-based standards] (WINT_MAX): Likewise.
1525 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1526 constraint on value.
1527 [C99-based standards] (WCHAR_MIN): Likewise.
1528 [C99-based standards] (WINT_MIN): Likewise.
1529 [C99-based standards] (*_t): Allow.
1530 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1531 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1532 Include math.h-data and complex.h-data. Remove all expectations
1533 of math.h and complex.h contents.
1534 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1535 at end of line.
1536 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1537 (struct tm): Expect tag.
1538 [C99-based-standards] (wcstof): Expect function.
1539 [C99-based-standards] (wcstold): Likewise.
1540 [C99-based-standards] (wcstoll): Likewise.
1541 [C99-based-standards] (wcstoull): Likewise.
1542 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1543 macro-int-constant. Specify type.
1544 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1545 constraint on value.
1546 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1547 Specify type.
1548 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1549 Specify value.
1550 [ISO C standards]: Do not allow headers.
1551 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1552 wcs[abcdefghijklmnopqrstuvwxyz]*.
1553 [ISO C standards] (*_t): Do not allow.
1554 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1555 Expect function.
1556 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1557 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1558 Specify type.
1559 [ISO C standards]: Do not allow headers.
1560 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1561 is[abcdefghijklmnopqrstuvwxyz]*.
1562 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1563 to[abcdefghijklmnopqrstuvwxyz]*.
1564 [ISO C standards] (*_t): Do not allow.
1565 * conform/data/stdalign.h-data: New file.
1566 * conform/data/stdbool.h-data: Likewise.
1567 * conform/data/stdnoreturn.h-data: Likewise.
1568
7514feb8
RM
15692012-11-07 Roland McGrath <roland@hack.frob.com>
1570
1571 [BZ #14815]
1572 * manual/filesys.texi (Directory Entries): Typo fix.
1573 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1574
19b2ecfc
MS
15752012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1576
1577 * elf/elf.h (EM_AARCH64): New macro.
1578 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1579 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1580 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1581 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1582 (R_AARCH64_TLSDESC): Likewise.
1583 (NT_ARM_TLS): Likewise.
1584 (NT_ARM_HW_BREAK): Likewise.
1585 (NT_ARM_HW_WATCH): Likewise.
1586
60e235ee
JM
15872012-11-07 Joseph Myers <joseph@codesourcery.com>
1588
1589 [BZ #14811]
1590 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1591 (__ieee754_powl): Saturate nonzero exponents with absolute value
1592 below 0x1p-79 to +/- 0x1p-79.
1593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1594 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1595 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1596 nonzero exponents with absolute value below 0x1p-32 to +/-
1597 0x1p-32.
1598 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1599 (__ieee754_powl): Saturate nonzero exponents with absolute value
1600 below 0x1p-79 to +/- 0x1p-79.
1601 * math/libm-test.inc (pow_test): Add more tests.
1602
0ab234b7
AK
16032012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1604
1605 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1606 _dl_s390_cap_flags with kernel. Increase string length.
1607 (_dl_s390_platforms): Add z196 and zEC12.
1608
45832f74
JM
16092012-11-07 Joseph Myers <joseph@codesourcery.com>
1610
1611 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1612 Change XOPEN21K to XOPEN2K.
1613
19218757
MK
16142012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1615
1616 * string/memmove.c: Use memcpy when possible.
1617
c5f45721
AJ
16182012-11-06 Andreas Jaeger <aj@suse.de>
1619
1620 * po/eo.po: Update from translation team.
1621
82477c28
JM
16222012-11-06 Joseph Myers <joseph@codesourcery.com>
1623
1624 [BZ #14793]
1625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1626 exponent and small x and y exponents, scale x or y up. Increase
1627 by 2 the exponent used in scaling up.
1628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1630 * math/libm-test.inc (fma_test): Add more tests.
1631 (fma_test_towardzero): Likewise.
1632 (fma_test_downward): Likewise.
1633 (fma_test_upward): Likewise.
1634
99252c8c
JM
16352012-11-05 Joseph Myers <joseph@codesourcery.com>
1636
acfa885f
JM
1637 [BZ #14805]
1638 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1639 fenv_t *.
1640
99252c8c
JM
1641 [BZ #14801]
1642 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1643 namespace for names of struct fields.
1644 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1645 fenv_t fields.
1646 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1647 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1648
d6d98dea
ST
16492012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1650
1651 [BZ #3665]
1652 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1653
e10bb107
TS
16542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1655
1656 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1657 PTR_DEMANGLE.
1658
1659 [BZ #5246]
1660 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1661 PTR_DEMANGLE.
1662
a0c2940d
JM
16632012-11-04 Joseph Myers <joseph@codesourcery.com>
1664
1665 [BZ #14797]
1666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1667 definitely overflow as x * y not x * y + z.
1668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1670 * math/libm-test.inc (fma_test): Add more tests.
1671 (fma_test_towardzero): Likewise.
1672 (fma_test_downward): Likewise.
1673 (fma_test_upward): Likewise.
1674
b830319d
TS
16752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1676
1677 [BZ #157]
1678
1679 * include/stub-tag.h: Remove file.
1680 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1681 '#include' of it.
1682 * manual/maint.texi (Porting): Don't reference it.
1683 * Makerules ($(objpfx)stubs): Likewise.
1684 * dirent/closedir.c: Don't include <stub-tag.h>.
1685 * dirent/dirfd.c: Likewise.
1686 * dirent/fdopendir.c: Likewise.
1687 * dirent/getdents.c: Likewise.
1688 * dirent/getdents64.c: Likewise.
1689 * dirent/opendir.c: Likewise.
1690 * dirent/readdir.c: Likewise.
1691 * dirent/readdir64.c: Likewise.
1692 * dirent/readdir64_r.c: Likewise.
1693 * dirent/readdir_r.c: Likewise.
1694 * dirent/rewinddir.c: Likewise.
1695 * dirent/seekdir.c: Likewise.
1696 * dirent/telldir.c: Likewise.
1697 * gmon/profil.c: Likewise.
1698 * grp/setgroups.c: Likewise.
1699 * inet/if_index.c: Likewise.
1700 * io/access.c: Likewise.
1701 * io/chdir.c: Likewise.
1702 * io/chmod.c: Likewise.
1703 * io/chown.c: Likewise.
1704 * io/close.c: Likewise.
1705 * io/dup.c: Likewise.
1706 * io/dup2.c: Likewise.
1707 * io/dup3.c: Likewise.
1708 * io/euidaccess.c: Likewise.
1709 * io/faccessat.c: Likewise.
1710 * io/fchdir.c: Likewise.
1711 * io/fchmod.c: Likewise.
1712 * io/fchmodat.c: Likewise.
1713 * io/fchown.c: Likewise.
1714 * io/fchownat.c: Likewise.
1715 * io/fcntl.c: Likewise.
1716 * io/flock.c: Likewise.
1717 * io/fstatfs.c: Likewise.
1718 * io/fstatfs64.c: Likewise.
1719 * io/fstatvfs.c: Likewise.
1720 * io/fstatvfs64.c: Likewise.
1721 * io/futimens.c: Likewise.
1722 * io/fxstat.c: Likewise.
1723 * io/fxstat64.c: Likewise.
1724 * io/fxstatat.c: Likewise.
1725 * io/fxstatat64.c: Likewise.
1726 * io/getcwd.c: Likewise.
1727 * io/isatty.c: Likewise.
1728 * io/lchmod.c: Likewise.
1729 * io/lchown.c: Likewise.
1730 * io/link.c: Likewise.
1731 * io/linkat.c: Likewise.
1732 * io/lseek.c: Likewise.
1733 * io/lseek64.c: Likewise.
1734 * io/lxstat64.c: Likewise.
1735 * io/mkdir.c: Likewise.
1736 * io/mkdirat.c: Likewise.
1737 * io/mkfifo.c: Likewise.
1738 * io/mkfifoat.c: Likewise.
1739 * io/open.c: Likewise.
1740 * io/open64.c: Likewise.
1741 * io/openat.c: Likewise.
1742 * io/openat64.c: Likewise.
1743 * io/pipe.c: Likewise.
1744 * io/pipe2.c: Likewise.
1745 * io/poll.c: Likewise.
1746 * io/posix_fadvise.c: Likewise.
1747 * io/posix_fadvise64.c: Likewise.
1748 * io/posix_fallocate.c: Likewise.
1749 * io/posix_fallocate64.c: Likewise.
1750 * io/read.c: Likewise.
1751 * io/readlink.c: Likewise.
1752 * io/readlinkat.c: Likewise.
1753 * io/rmdir.c: Likewise.
1754 * io/sendfile.c: Likewise.
1755 * io/sendfile64.c: Likewise.
1756 * io/statfs.c: Likewise.
1757 * io/statfs64.c: Likewise.
1758 * io/statvfs.c: Likewise.
1759 * io/statvfs64.c: Likewise.
1760 * io/symlink.c: Likewise.
1761 * io/symlinkat.c: Likewise.
1762 * io/ttyname.c: Likewise.
1763 * io/ttyname_r.c: Likewise.
1764 * io/umask.c: Likewise.
1765 * io/unlink.c: Likewise.
1766 * io/unlinkat.c: Likewise.
1767 * io/utime.c: Likewise.
1768 * io/utimensat.c: Likewise.
1769 * io/write.c: Likewise.
1770 * io/xmknod.c: Likewise.
1771 * io/xmknodat.c: Likewise.
1772 * io/xstat.c: Likewise.
1773 * io/xstat64.c: Likewise.
1774 * login/getpt.c: Likewise.
1775 * login/grantpt.c: Likewise.
1776 * login/unlockpt.c: Likewise.
1777 * math/e_acoshl.c: Likewise.
1778 * math/e_acosl.c: Likewise.
1779 * math/e_asinl.c: Likewise.
1780 * math/e_atan2l.c: Likewise.
1781 * math/e_atanhl.c: Likewise.
1782 * math/e_coshl.c: Likewise.
1783 * math/e_expl.c: Likewise.
1784 * math/e_fmodl.c: Likewise.
1785 * math/e_gammal_r.c: Likewise.
1786 * math/e_hypotl.c: Likewise.
1787 * math/e_j0l.c: Likewise.
1788 * math/e_j1l.c: Likewise.
1789 * math/e_jnl.c: Likewise.
1790 * math/e_lgammal_r.c: Likewise.
1791 * math/e_log10l.c: Likewise.
1792 * math/e_log2l.c: Likewise.
1793 * math/e_logl.c: Likewise.
1794 * math/e_powl.c: Likewise.
1795 * math/e_rem_pio2l.c: Likewise.
1796 * math/e_sinhl.c: Likewise.
1797 * math/e_sqrtl.c: Likewise.
1798 * math/fclrexcpt.c: Likewise.
1799 * math/fedisblxcpt.c: Likewise.
1800 * math/feenablxcpt.c: Likewise.
1801 * math/fegetenv.c: Likewise.
1802 * math/fegetexcept.c: Likewise.
1803 * math/fegetround.c: Likewise.
1804 * math/feholdexcpt.c: Likewise.
1805 * math/fesetenv.c: Likewise.
1806 * math/fesetround.c: Likewise.
1807 * math/feupdateenv.c: Likewise.
1808 * math/fgetexcptflg.c: Likewise.
1809 * math/fraiseexcpt.c: Likewise.
1810 * math/fsetexcptflg.c: Likewise.
1811 * math/ftestexcept.c: Likewise.
1812 * math/k_cosl.c: Likewise.
1813 * math/k_rem_pio2l.c: Likewise.
1814 * math/k_sinl.c: Likewise.
1815 * math/k_tanl.c: Likewise.
1816 * math/s_asinhl.c: Likewise.
1817 * math/s_atanl.c: Likewise.
1818 * math/s_cbrtl.c: Likewise.
1819 * math/s_erfl.c: Likewise.
1820 * math/s_expm1l.c: Likewise.
1821 * math/s_log1pl.c: Likewise.
1822 * math/s_tanhl.c: Likewise.
1823 * misc/acct.c: Likewise.
1824 * misc/brk.c: Likewise.
1825 * misc/chflags.c: Likewise.
1826 * misc/chroot.c: Likewise.
1827 * misc/fchflags.c: Likewise.
1828 * misc/fgetxattr.c: Likewise.
1829 * misc/flistxattr.c: Likewise.
1830 * misc/fremovexattr.c: Likewise.
1831 * misc/fsetxattr.c: Likewise.
1832 * misc/fsync.c: Likewise.
1833 * misc/ftruncate.c: Likewise.
1834 * misc/futimes.c: Likewise.
1835 * misc/futimesat.c: Likewise.
1836 * misc/getdomain.c: Likewise.
1837 * misc/getdtsz.c: Likewise.
1838 * misc/gethostid.c: Likewise.
1839 * misc/gethostname.c: Likewise.
1840 * misc/getloadavg.c: Likewise.
1841 * misc/getpagesize.c: Likewise.
1842 * misc/getsysstats.c: Likewise.
1843 * misc/getxattr.c: Likewise.
1844 * misc/gtty.c: Likewise.
1845 * misc/ioctl.c: Likewise.
1846 * misc/lgetxattr.c: Likewise.
1847 * misc/listxattr.c: Likewise.
1848 * misc/llistxattr.c: Likewise.
1849 * misc/lremovexattr.c: Likewise.
1850 * misc/lsetxattr.c: Likewise.
1851 * misc/lutimes.c: Likewise.
1852 * misc/madvise.c: Likewise.
1853 * misc/mincore.c: Likewise.
1854 * misc/mlock.c: Likewise.
1855 * misc/mlockall.c: Likewise.
1856 * misc/mmap.c: Likewise.
1857 * misc/mprotect.c: Likewise.
1858 * misc/msync.c: Likewise.
1859 * misc/munlock.c: Likewise.
1860 * misc/munlockall.c: Likewise.
1861 * misc/munmap.c: Likewise.
1862 * misc/preadv.c: Likewise.
1863 * misc/preadv64.c: Likewise.
1864 * misc/ptrace.c: Likewise.
1865 * misc/pwritev.c: Likewise.
1866 * misc/pwritev64.c: Likewise.
1867 * misc/readv.c: Likewise.
1868 * misc/reboot.c: Likewise.
1869 * misc/remap_file_pages.c: Likewise.
1870 * misc/removexattr.c: Likewise.
1871 * misc/revoke.c: Likewise.
1872 * misc/select.c: Likewise.
1873 * misc/setdomain.c: Likewise.
1874 * misc/setegid.c: Likewise.
1875 * misc/seteuid.c: Likewise.
1876 * misc/sethostid.c: Likewise.
1877 * misc/sethostname.c: Likewise.
1878 * misc/setregid.c: Likewise.
1879 * misc/setreuid.c: Likewise.
1880 * misc/setxattr.c: Likewise.
1881 * misc/sstk.c: Likewise.
1882 * misc/stty.c: Likewise.
1883 * misc/swapoff.c: Likewise.
1884 * misc/swapon.c: Likewise.
1885 * misc/sync.c: Likewise.
1886 * misc/syncfs.c: Likewise.
1887 * misc/syscall.c: Likewise.
1888 * misc/truncate.c: Likewise.
1889 * misc/ualarm.c: Likewise.
1890 * misc/usleep.c: Likewise.
1891 * misc/ustat.c: Likewise.
1892 * misc/utimes.c: Likewise.
1893 * misc/vhangup.c: Likewise.
1894 * misc/writev.c: Likewise.
1895 * posix/_exit.c: Likewise.
1896 * posix/alarm.c: Likewise.
1897 * posix/execve.c: Likewise.
1898 * posix/fexecve.c: Likewise.
1899 * posix/fork.c: Likewise.
1900 * posix/fpathconf.c: Likewise.
1901 * posix/getaddrinfo.c: Likewise.
1902 * posix/getegid.c: Likewise.
1903 * posix/geteuid.c: Likewise.
1904 * posix/getgid.c: Likewise.
1905 * posix/getgroups.c: Likewise.
1906 * posix/getlogin.c: Likewise.
1907 * posix/getlogin_r.c: Likewise.
1908 * posix/getpgid.c: Likewise.
1909 * posix/getpid.c: Likewise.
1910 * posix/getppid.c: Likewise.
1911 * posix/getresgid.c: Likewise.
1912 * posix/getresuid.c: Likewise.
1913 * posix/getsid.c: Likewise.
1914 * posix/getuid.c: Likewise.
1915 * posix/glob64.c: Likewise.
1916 * posix/nanosleep.c: Likewise.
1917 * posix/pathconf.c: Likewise.
1918 * posix/pause.c: Likewise.
1919 * posix/posix_madvise.c: Likewise.
1920 * posix/pread.c: Likewise.
1921 * posix/pread64.c: Likewise.
1922 * posix/pwrite.c: Likewise.
1923 * posix/pwrite64.c: Likewise.
1924 * posix/sched_getaffinity.c: Likewise.
1925 * posix/sched_getp.c: Likewise.
1926 * posix/sched_gets.c: Likewise.
1927 * posix/sched_primax.c: Likewise.
1928 * posix/sched_primin.c: Likewise.
1929 * posix/sched_rr_gi.c: Likewise.
1930 * posix/sched_setaffinity.c: Likewise.
1931 * posix/sched_setp.c: Likewise.
1932 * posix/sched_sets.c: Likewise.
1933 * posix/sched_yield.c: Likewise.
1934 * posix/setgid.c: Likewise.
1935 * posix/setlogin.c: Likewise.
1936 * posix/setpgid.c: Likewise.
1937 * posix/setresgid.c: Likewise.
1938 * posix/setresuid.c: Likewise.
1939 * posix/setsid.c: Likewise.
1940 * posix/setuid.c: Likewise.
1941 * posix/sleep.c: Likewise.
1942 * posix/spawni.c: Likewise.
1943 * posix/sysconf.c: Likewise.
1944 * posix/times.c: Likewise.
1945 * posix/wait.c: Likewise.
1946 * posix/wait3.c: Likewise.
1947 * posix/wait4.c: Likewise.
1948 * posix/waitpid.c: Likewise.
1949 * resolv/gai_sigqueue.c: Likewise.
1950 * resource/getpriority.c: Likewise.
1951 * resource/getrlimit.c: Likewise.
1952 * resource/getrusage.c: Likewise.
1953 * resource/nice.c: Likewise.
1954 * resource/setpriority.c: Likewise.
1955 * resource/setrlimit.c: Likewise.
1956 * resource/ulimit.c: Likewise.
1957 * rt/aio_cancel.c: Likewise.
1958 * rt/aio_fsync.c: Likewise.
1959 * rt/aio_read.c: Likewise.
1960 * rt/aio_sigqueue.c: Likewise.
1961 * rt/aio_suspend.c: Likewise.
1962 * rt/aio_write.c: Likewise.
1963 * rt/clock_getres.c: Likewise.
1964 * rt/clock_gettime.c: Likewise.
1965 * rt/clock_nanosleep.c: Likewise.
1966 * rt/clock_settime.c: Likewise.
1967 * rt/lio_listio.c: Likewise.
1968 * rt/mq_close.c: Likewise.
1969 * rt/mq_getattr.c: Likewise.
1970 * rt/mq_notify.c: Likewise.
1971 * rt/mq_open.c: Likewise.
1972 * rt/mq_receive.c: Likewise.
1973 * rt/mq_send.c: Likewise.
1974 * rt/mq_setattr.c: Likewise.
1975 * rt/mq_timedreceive.c: Likewise.
1976 * rt/mq_timedsend.c: Likewise.
1977 * rt/mq_unlink.c: Likewise.
1978 * rt/shm_open.c: Likewise.
1979 * rt/shm_unlink.c: Likewise.
1980 * rt/timer_create.c: Likewise.
1981 * rt/timer_delete.c: Likewise.
1982 * rt/timer_getoverr.c: Likewise.
1983 * rt/timer_gettime.c: Likewise.
1984 * rt/timer_settime.c: Likewise.
1985 * setjmp/__longjmp.c: Likewise.
1986 * setjmp/setjmp.c: Likewise.
1987 * signal/kill.c: Likewise.
1988 * signal/killpg.c: Likewise.
1989 * signal/raise.c: Likewise.
1990 * signal/sigaction.c: Likewise.
1991 * signal/sigaltstack.c: Likewise.
1992 * signal/sigblock.c: Likewise.
1993 * signal/sigignore.c: Likewise.
1994 * signal/sigintr.c: Likewise.
1995 * signal/signal.c: Likewise.
1996 * signal/sigpause.c: Likewise.
1997 * signal/sigpending.c: Likewise.
1998 * signal/sigqueue.c: Likewise.
1999 * signal/sigreturn.c: Likewise.
2000 * signal/sigset.c: Likewise.
2001 * signal/sigsetmask.c: Likewise.
2002 * signal/sigstack.c: Likewise.
2003 * signal/sigsuspend.c: Likewise.
2004 * signal/sigtimedwait.c: Likewise.
2005 * signal/sigvec.c: Likewise.
2006 * signal/sigwait.c: Likewise.
2007 * signal/sigwaitinfo.c: Likewise.
2008 * signal/sysv_signal.c: Likewise.
2009 * socket/accept.c: Likewise.
2010 * socket/accept4.c: Likewise.
2011 * socket/bind.c: Likewise.
2012 * socket/connect.c: Likewise.
2013 * socket/getpeername.c: Likewise.
2014 * socket/getsockname.c: Likewise.
2015 * socket/getsockopt.c: Likewise.
2016 * socket/isfdtype.c: Likewise.
2017 * socket/listen.c: Likewise.
2018 * socket/recv.c: Likewise.
2019 * socket/recvfrom.c: Likewise.
2020 * socket/recvmsg.c: Likewise.
2021 * socket/send.c: Likewise.
2022 * socket/sendmsg.c: Likewise.
2023 * socket/sendto.c: Likewise.
2024 * socket/setsockopt.c: Likewise.
2025 * socket/shutdown.c: Likewise.
2026 * socket/sockatmark.c: Likewise.
2027 * socket/socket.c: Likewise.
2028 * socket/socketpair.c: Likewise.
2029 * stdio-common/ctermid.c: Likewise.
2030 * stdio-common/cuserid.c: Likewise.
2031 * stdio-common/remove.c: Likewise.
2032 * stdio-common/rename.c: Likewise.
2033 * stdio-common/renameat.c: Likewise.
2034 * stdio-common/tempname.c: Likewise.
2035 * stdlib/getcontext.c: Likewise.
2036 * stdlib/makecontext.c: Likewise.
2037 * stdlib/setcontext.c: Likewise.
2038 * stdlib/swapcontext.c: Likewise.
2039 * stdlib/system.c: Likewise.
2040 * streams/fattach.c: Likewise.
2041 * streams/fdetach.c: Likewise.
2042 * streams/getmsg.c: Likewise.
2043 * streams/getpmsg.c: Likewise.
2044 * streams/putmsg.c: Likewise.
2045 * streams/putpmsg.c: Likewise.
2046 * sysdeps/unix/bsd/getpt.c: Likewise.
2047 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2048 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2049 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2051 Likewise.
2052 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2053 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2054 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2055 * sysvipc/msgctl.c: Likewise.
2056 * sysvipc/msgget.c: Likewise.
2057 * sysvipc/msgrcv.c: Likewise.
2058 * sysvipc/msgsnd.c: Likewise.
2059 * sysvipc/semctl.c: Likewise.
2060 * sysvipc/semget.c: Likewise.
2061 * sysvipc/semop.c: Likewise.
2062 * sysvipc/semtimedop.c: Likewise.
2063 * sysvipc/shmat.c: Likewise.
2064 * sysvipc/shmctl.c: Likewise.
2065 * sysvipc/shmdt.c: Likewise.
2066 * sysvipc/shmget.c: Likewise.
2067 * termios/tcdrain.c: Likewise.
2068 * termios/tcflow.c: Likewise.
2069 * termios/tcflush.c: Likewise.
2070 * termios/tcgetattr.c: Likewise.
2071 * termios/tcgetpgrp.c: Likewise.
2072 * termios/tcsendbrk.c: Likewise.
2073 * termios/tcsetattr.c: Likewise.
2074 * termios/tcsetpgrp.c: Likewise.
2075 * time/adjtime.c: Likewise.
2076 * time/clock.c: Likewise.
2077 * time/getitimer.c: Likewise.
2078 * time/gettimeofday.c: Likewise.
2079 * time/setitimer.c: Likewise.
2080 * time/settimeofday.c: Likewise.
2081 * time/stime.c: Likewise.
2082 * time/time.c: Likewise.
2083
20842012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2085
a20492cf
PT
2086 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2087 /usr/old/bin.
2088
72e182e3
PT
2089 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2090 instead of spaces.
2091 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2092
fbeafede
JM
20932012-11-03 Joseph Myers <joseph@codesourcery.com>
2094
5b5b04d6
JM
2095 [BZ #14796]
2096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2097 FE_TONEAREST before applying Dekker multiplication and Knuth
2098 addition. Clear inexact exceptions and check for exact zero
2099 results afterwards.
2100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2101 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2103 * math/libm-test.inc (fma_test): Add more tests.
2104 (fma_test_towardzero): Likewise.
2105 (fma_test_downward): Likewise.
2106 (fma_test_upward): Likewise.
2107 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2108 function.
2109 (libc_fesetround): New macro.
2110 (libc_fesetroundf): Likewise.
2111 (libc_fesetroundl): Likewise.
2112 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2113 function.
2114 (libc_fesetround_387): Likewise.
2115 (libc_fesetroundf): New macro.
2116 (libc_fesetround): Likewise.
2117 (libc_fesetroundl): Likewise.
2118 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2119 function.
2120 (libc_fesetroundf): New macro.
2121 (libc_fesetround): Likewise.
2122 (libc_fesetroundl): Likewise.
2123 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2124 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2125 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2126 libm_hidden_ver.
2127 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2128 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2129 libm_hidden_def.
2130 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2131 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2132 libm_hidden_ver.
2133 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2134 libm_hidden_def.
2135
fbeafede
JM
2136 [BZ #3439]
2137 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2138 integer constant usable in #if and use that to give value to enum
2139 constant.
2140 (FE_DIVBYZERO): Likewise.
2141 (FE_UNDERFLOW): Likewise.
2142 (FE_OVERFLOW): Likewise.
2143 (FE_INVALID): Likewise.
2144 (FE_INVALID_SNAN): Likewise.
2145 (FE_INVALID_ISI): Likewise.
2146 (FE_INVALID_IDI): Likewise.
2147 (FE_INVALID_ZDZ): Likewise.
2148 (FE_INVALID_IMZ): Likewise.
2149 (FE_INVALID_COMPARE): Likewise.
2150 (FE_INVALID_SOFTWARE): Likewise.
2151 (FE_INVALID_SQRT): Likewise.
2152 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2153 (FE_TONEAREST): Likewise.
2154 (FE_TOWARDZERO): Likewise.
2155 (FE_UPWARD): Likewise.
2156 (FE_DOWNWARD): Likewise.
2157 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2158 (FE_DIVBYZERO): Likewise.
2159 (FE_OVERFLOW): Likewise.
2160 (FE_UNDERFLOW): Likewise.
2161 (FE_INEXACT): Likewise.
2162 (FE_TONEAREST): Likewise.
2163 (FE_DOWNWARD): Likewise.
2164 (FE_UPWARD): Likewise.
2165 (FE_TOWARDZERO): Likewise.
2166 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2167 (FE_UNDERFLOW): Likewise.
2168 (FE_OVERFLOW): Likewise.
2169 (FE_DIVBYZERO): Likewise.
2170 (FE_INVALID): Likewise.
2171 (FE_TONEAREST): Likewise.
2172 (FE_TOWARDZERO): Likewise.
2173 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2174 (FE_OVERFLOW): Likewise.
2175 (FE_UNDERFLOW): Likewise.
2176 (FE_DIVBYZERO): Likewise.
2177 (FE_INEXACT): Likewise.
2178 (FE_TONEAREST): Likewise.
2179 (FE_TOWARDZERO): Likewise.
2180 (FE_UPWARD): Likewise.
2181 (FE_DOWNWARD): Likewise.
2182 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2183 (FE_DIVBYZERO): Likewise.
2184 (FE_OVERFLOW): Likewise.
2185 (FE_UNDERFLOW): Likewise.
2186 (FE_INEXACT): Likewise.
2187 (FE_TONEAREST): Likewise.
2188 (FE_DOWNWARD): Likewise.
2189 (FE_UPWARD): Likewise.
2190 (FE_TOWARDZERO): Likewise.
2191
105ca950
CM
21922012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2193
2194 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2195
a542b389
AS
21962012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2197
2198 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2199 commands. Quote $PWD.
2200 (blacklist_exports): Don't use remove_newlines. Replace "declare
2201 -x" by "export".
2202 (remove_newlines): Remove.
2203
f62c8abc
L
22042012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2205
2206 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2207 * stdlib/stdlib.h (atof): Moved to ...
2208 * include/bits/stdlib-float.h: Here. New file.
2209 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2210 * stdlib/bits/stdlib-float.h: New file.
2211 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2212 -mno-sse -mno-mmx.
2213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2214 <xmmintrin.h>.
2215
0155d5b2
JM
22162012-11-02 Joseph Myers <joseph@codesourcery.com>
2217
a68d0680
JM
2218 * conform/conformtest.pl (@headers): Add fenv.h.
2219 * conform/data/fenv.h-data: New file.
2220 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2221 include of <math/fenv.h>.
2222
caf7f573
JM
2223 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2224 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2225 && !UNIX98]. Enables tests for XOPEN2K8.
2226 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2227 POSIX2008]: Likewise.
2228
6c073ad6
JM
2229 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2230 (struct rusage): Do not expect type or its members.
2231
0155d5b2
JM
2232 [BZ #3439]
2233 * math/math.h (FP_NAN): Define macro to integer constant usable in
2234 #if and use that to give value to enum constant.
2235 (FP_INFINITE): Likewise.
2236 (FP_ZERO): Likewise.
2237 (FP_SUBNORMAL): Likewise.
2238 (FP_NORMAL): Likewise.
2239
b5dcacb4
AS
22402012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2241
2242 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2243 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2244 arguments.
2245
f7934be8
RM
22462012-11-02 Roland McGrath <roland@hack.frob.com>
2247
2248 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2249 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2250 autoconf-time if not.
2251 * configure.in: Remove AC_PREREQ.
2252
d7d08bde
TMQMF
22532012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2254
2255 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2256 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2257 of the internal implementation.
2258
dcdae19a
JM
22592012-11-02 Joseph Myers <joseph@codesourcery.com>
2260
2261 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2262 except include of <misc/sys/syslog.h>.
2263
d6cffd3e
AS
22642012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2265
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2267 function returns with a NULL context exit with zero.
2268
b3563932
TMQMF
22692012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2270
2271 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2272
b288a93d
L
22732012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2276 (run_program_cmd): This.
2277 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2278 (tst_langinfo): New variable. Use it.
2279
a2421a68
SAS
22802012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2281
2282 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2283 floating point opcodes.
2284
6f796e1b
TS
22852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2286
7402596b
TS
2287 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2288 variable.
2289
d0d4f868
TS
2290 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2291
6f796e1b
TS
2292 * sysdeps/mach/hurd/powerpc: Remove directory.
2293 * sysdeps/mach/powerpc: Likewise.
2294
4da224a2
AS
22952012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2296
2297 * scripts/check-local-headers.sh: Ignore c++ headers.
2298
341dd673
TS
22992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2300
2301 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2302 __libc_cleanup_region_start argument.
2303
473611b2
JM
23042012-11-01 Joseph Myers <joseph@codesourcery.com>
2305
2306 [BZ #14784]
2307 [BZ #14785]
2308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2309 x * y using scaling, not as x * y + z.
2310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2312 * math/libm-test.inc (fma_test): Add more tests.
2313 (fma_test_towardzero): Likewise.
2314 (fma_test_downward): Likewise.
2315 (fma_test_upward): Likewise.
2316
4078da3d
TS
23172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2318
2319 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2320
903252aa
JM
23212012-10-31 Joseph Myers <joseph@codesourcery.com>
2322
2323 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2324 New variable.
2325
cbc818d0
TS
23262012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2327
2328 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2329
5a03cb1e
AS
23302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2331
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2333 Fix sort order.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2335 Likewise.
2336
90aff2ff
TMQMF
23372012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2338
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2340 Fix the order of the list for glibc 2.17.
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2342 Likewise.
2343
1818fcb7
AS
23442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2345
2346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2347
ef82f4da
JM
23482012-10-31 Joseph Myers <joseph@codesourcery.com>
2349
16a0e2ec
JM
2350 [BZ #14610]
2351 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2352 for low part of x being zero before using __atanl (y).
2353 * math/libm-test.inc (atan2_test): Add another test.
2354
0eb69512
JM
2355 * manual/install.texi (Configuring and compiling): Document
2356 general use of test-wrapper and test-wrapper-env.
2357 * INSTALL: Regenerated.
2358
ef82f4da
JM
2359 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2360 (__fma): Do not extract and scale down low bits on after-rounding
2361 systems when result rounded to normal precision would have normal
2362 exponent.
2363 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2364 (__fmal): Do not extract and scale down low bits on after-rounding
2365 systems when result rounded to normal precision would have normal
2366 exponent.
2367 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2368 (__fmal): Do not extract and scale down low bits on after-rounding
2369 systems when result rounded to normal precision would have normal
2370 exponent.
2371 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2372 macro.
2373 (fma_test): Add more tests.
2374 (fma_test_towardzero): Likewise.
2375 (fma_test_downward): Likewise.
2376 (fma_test_upward): Likewise.
2377
954ef0d9
L
23782012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 * sysdeps/i386/tininess.h: Renamed to ...
2381 * sysdeps/x86/tininess.h: This.
2382 * sysdeps/x86_64/tininess.h: Removed.
2383
df61ffb2
JM
23842012-10-30 Joseph Myers <joseph@codesourcery.com>
2385
2386 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2387 input. Use $(build-program-cmd).
2388 ($(objpfx)tst-array1-static.out): Likewise.
2389 ($(objpfx)tst-array2.out): Likewise.
2390 ($(objpfx)tst-array3.out): Likewise.
2391 ($(objpfx)tst-array4.out): Likewise.
2392 ($(objpfx)tst-array5.out): Likewise.
2393 ($(objpfx)tst-array5-static.out): Likewise.
2394
01767843
CM
23952012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2396
47cc1490
CM
2397 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2398 if defined.
2399
01767843
CM
2400 * nss/nsswitch.h (nss_interface_function): Provide new
2401 macro for use with NSS functions.
2402 * grp/initgroups.c: Use new macro.
2403 * nss/getXXbyYY.c: Likewise.
2404 * nss/getXXbyYY_r.c: Likewise.
2405 * nss/getXXent.c: Likewise.
2406 * nss/getXXent_r.c: Likewise.
2407 * sysdeps/posix/getaddrinfo.c: Likewise.
2408
8321aa97
AJ
24092012-10-30 Andreas Jaeger <aj@suse.de>
2410
2411 * po/ru.po: Update Russion translation from translation project.
2412
2a27fd6d
JM
24132012-10-30 Joseph Myers <joseph@codesourcery.com>
2414
8627a232
JM
2415 [BZ #14152]
2416 [BZ #14783]
2417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2418 result and shift together with sticky bit instead of replicating
2419 round-to-nearest rounding.
2420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2422 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2423 missing underflow exceptions.
2424 (fma_test_towardzero): Add more tests.
2425 (fma_test_downward): Likewise.
2426 (fma_test_upward): Likewise.
2427
2a27fd6d
JM
2428 [BZ #14047]
2429 * sysdeps/generic/tininess.h: New file.
2430 * sysdeps/i386/tininess.h: Likewise.
2431 * sysdeps/sh/tininess.h: Likewise.
2432 * sysdeps/x86_64/tininess.h: Likewise.
2433 * stdlib/tst-strtod-underflow.c: Likewise.
2434 * stdlib/tst-tininess.c: Likewise.
2435 * stdlib/strtod_l.c: Include <tininess.h>.
2436 (round_and_return): Do not set errno for exact underflow cases.
2437 Force an underflow exception when setting errno for underflow.
2438 Determine underflow based on rounding to normal precision if
2439 TININESS_AFTER_ROUNDING.
2440 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2441 ERANGE for exact underflow cases.
2442 * stdlib/Makefile (tests): Add tst-tininess and
2443 tst-strtod-underflow.
2444 ($(objpfx)tst-tininess): Use $(link-libm).
2445 ($(objpfx)tst-strtod-underflow): Likewise.
2446
e7170363
AJ
24472012-10-30 Andreas Jaeger <aj@suse.de>
2448
e5088dc6
AJ
2449 [BZ#14767]
2450 * elf/Makefile (tests): Remove conditional for have-initfini-array
2451 since this is now always required and the variable does not exist
2452 anymore.
2453 (tests-static): Likewise.
2454 (modules-names): Likewise.
2455
e7170363 2456 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2457
2458 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2459 merged with constructor/destructor.
2460 (init_array): Likewise.
2461 * elf/tst-array2dep.c (fini_array): Likewise.
2462 (init_array): Likewise.
2463
60457d8a
MF
24642012-10-29 Mike Frysinger <vapier@gentoo.org>
2465
2466 * manual/message.texi: Delete @cartouche tags.
2467
8bece752
PT
24682012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2469
94ce799f
PT
2470 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2471 EOPNOTSUPP.
2472 * sysdeps/mach/hurd/fsync.c: Likewise.
2473
8bece752
PT
2474 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2475 [_POSIX_REALTIME_SIGNALS]: Change condition to
2476 [_POSIX_REALTIME_SIGNALS > 0].
2477
86ebe6b1
AJ
24782012-10-27 Andreas Jaeger <aj@suse.de>
2479
2480 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2481 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2483 [__WORDSIZE != 64]: Likewise.
2484
54399c08
L
24852012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2486
2487 * iconvdata/tst-table.sh: Remove ${SHELL}.
2488 * iconvdata/tst-tables.sh: Likewise.
2489
e2211bed
DM
24902012-10-25 David S. Miller <davem@davemloft.net>
2491
2492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2493 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2494 of strtoull.
2495
f303f97c
DM
2496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2497 ifunc-impl-list.c
2498 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2499 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2500 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2501 file.
2502
1e9d84cd
RM
25032012-10-25 Roland McGrath <roland@hack.frob.com>
2504
2505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2506 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2507 __getdirentries.
2508
df381762
JM
25092012-10-25 Joseph Myers <joseph@codesourcery.com>
2510 Jim Blandy <jimb@codesourcery.com>
2511
2512 * scripts/cross-test-ssh.sh: New file.
2513 * manual/install.texi (Configuring and compiling): Document use of
2514 cross-test-ssh.sh.
2515 * INSTALL: Regenerated.
2516
bff64913
PT
25172012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2518
2519 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2520 EOPNOTSUPP.
2521
25fe8932
JM
25222012-10-25 Joseph Myers <joseph@codesourcery.com>
2523
2524 * Makeconfig (run-program-prefix): Fix comment.
2525
cc1290d0
JM
25262012-10-24 Joseph Myers <joseph@codesourcery.com>
2527 Jim Blandy <jimb@codesourcery.com>
2528
2529 * Makeconfig (test-wrapper): New variable,
2530 (test-wrapper-env): Likewise.
2531 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2532 (run-built-tests): Define to yes.
2533 (run-program-prefix): Use $(test-wrapper).
2534 (built-program-cmd): Likewise.
2535 * Rules (make-test-out): Use $(test-wrapper-env) and
2536 $(host-built-program-cmd).
2537 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2538 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2539 tst-pathopt.sh.
2540 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2541 $(test-wrapper-env) to tst-rtld-load-self.sh.
2542 ($(objpfx)order2.out): Use $(test-wrapper).
2543 ($(objpfx)tst-initorder.out): Likewise.
2544 ($(objpfx)tst-initorder2.out): Likewise.
2545 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2546 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2547 (test_wrapper_env): New variable. Use it to run ld.so.
2548 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2549 Use it to run ld.so.
2550 (test_wrapper_env): Likewise.
2551 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2552 $(test-wrapper) to run-iconv-test.sh.
2553 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2554 (ICONV): Use $test_wrapper.
2555 * posix/Makefile ($(objpfx)globtest.out): Pass
2556 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2557 globtest.sh, not $(run-program-prefix).
2558 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2559 (test_wrapper): Likewise.
2560 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2561 set together with run_via_rtld_prefix.
2562 (run_program_prefix): Define in terms of test_wrapper and
2563 run_via_rtld_prefix.
2564
6e6249d0
RM
25652012-10-24 Roland McGrath <roland@hack.frob.com>
2566
2567 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2568 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2569 Targets removed.
2570
2571 [BZ #14743]
2572 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2573 Declare __clock_getres, __clock_gettime, __clock_settime,
2574 __clock_nanosleep, and __clock_getcpuclockid.
2575 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2576 Remove librt_hidden_def (clock_gettime).
2577 * sysdeps/unix/clock_gettime.c: Likewise.
2578 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2579 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2580 * rt/clock_getres.c: Define __clock_getres as an alias.
2581 * sysdeps/posix/clock_getres.c: Likewise.
2582 * rt/clock_settime.c: Define __clock_settime as an alias.
2583 * sysdeps/unix/clock_settime.c: Likewise.
2584 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2585 * sysdeps/unix/clock_nanosleep.c: Likewise.
2586 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2587 * rt/clock-compat.c: New file.
2588 * rt/Makefile (librt-routines): Add clock-compat and move
2589 $(clock-routines) to ...
2590 (routines): ... here, new variable.
2591 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2592 Don't add get_clockfreq here.
2593 * rt/Versions (libc: GLIBC_2.17): New version set.
2594 Add clock_* symbols here.
2595 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2596 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2597 (GLIBC_2.17): Add clock_* symbols.
2598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2602 Likewise.
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2604 Likewise.
2605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2609 * NEWS: Mention the move.
2610
2611 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2612 Use __open, __read, __close rather than their public counterparts.
2613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2614 (__get_clockfreq_via_cpuinfo): Likewise.
2615 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2616 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2617
2618 * config.h.in (HAVE_IFUNC): New #undef.
2619 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2620 was successful.
2621 * configure: Regenerated.
2622
0cae3f4b
MF
26232012-10-24 Mike Frysinger <vapier@gentoo.org>
2624
2625 * configure.in: Move READELF check to start of file.
2626 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2627 libc_cv_asm_gnu_indirect_function in the process.
2628 * configure: Regenerated.
2629
8175a253
MF
26302012-10-24 Mike Frysinger <vapier@gentoo.org>
2631
2632 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2633 send the output to /dev/null.
2634 (libc_cv_cc_with_libunwind): Likewise.
2635 (libc_cv_as_noexecstack): Likewise.
2636 * configure: Regenerate.
2637
0708a7d1
JM
26382012-10-24 Joseph Myers <joseph@codesourcery.com>
2639
10b40d85
JM
2640 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2641
0708a7d1
JM
2642 * posix/globtest.sh (TMPDIR): Do not set.
2643 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2644 (testout): Likewise.
2645
9fddec1a
AJ
26462012-10-24 Andreas Jaeger <aj@suse.de>
2647
3a8db22f
AJ
2648 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2649 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2650 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2651 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2652 posix_fadvise64, posix_fallocate64.
2653
9fddec1a
AJ
2654 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2655 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2656 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2657 Likewise.
2658 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2659 Likewise.
2660 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2661
2662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2663 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2664 <bits/fcntl-linux.h>.
2665 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2666
2667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2668 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2669 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2670 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2671 [__WORDSIZE != 64]: Likewise.
2672
ebfd1bbd
JM
26732012-10-23 Joseph Myers <joseph@codesourcery.com>
2674
03ac099f
JM
2675 * Makeconfig (run-built-tests): New variable.
2676 * Rules [$(cross-compiling) = yes]: Change condition to
2677 [$(run-built-tests) = no].
2678 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2679 to [$(run-built-tests) = yes].
2680 * elf/Makefile [$(cross-compiling) = no]: Likewise
2681 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2682 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2683 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2684 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2685 * io/Makefile [$(cross-compiling) = no]: Likewise.
2686 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2687 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2688 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2689 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2690 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2691 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2692 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2693 * string/Makefile [$(cross-compiling) = no]: Likewise.
2694
ebfd1bbd
JM
2695 * posix/Makefile ($(objpfx)globtest.out): Pass
2696 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2697 $(rtld-installed-name).
2698 * posix/globtest.sh (elf_objpfx): Remove variable.
2699 (rtld_installed_name): Likewise.
2700 (library_path): Likewise.
2701 (run_program_prefix): New variable. Use for running globtest
2702 binary.
2703
166bca24
JB
27042012-10-23 Jim Blandy <jimb@codesourcery.com>
2705 Joseph Myers <joseph@codesourcery.com>
2706
2707 * Makeconfig (host-built-program-cmd): New variable.
2708 * elf/Makefile (tst-stackguard1-ARGS): Use
2709 $(host-built-program-cmd).
2710 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2711 (tst-spawn-ARGS): Likewise.
2712 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2713
88866099
JM
27142012-10-23 Joseph Myers <joseph@codesourcery.com>
2715 Jim Blandy <jimb@codesourcery.com>
2716
2717 * Makeconfig (run-via-rtld-prefix): New variable.
2718 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2719 (built-program-cmd): Likewise.
2720
b4b4c296
AJ
27212012-10-22 Andreas Jaeger <aj@suse.de>
2722
2723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2724 __O_RSYNC if it exists, otherwise to O_SYNC.
2725
6fb54a22
JB
27262012-10-22 Jim Blandy <jimb@codesourcery.com>
2727 Joseph Myers <joseph@codesourcery.com>
2728
2729 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2730 /dev/null.
2731 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2732 from /dev/null
2733 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2734 /dev/null.
2735
481b90b9
AJ
27362012-10-22 Andreas Jaeger <aj@suse.de>
2737
2a0e2669
AJ
2738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2739 Define always.
2740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2741
76e38f9a
AJ
2742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2743 bits/fcntl-linux.h.
2744
7cd37b43
AJ
2745 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2746 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2747
481b90b9
AJ
2748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2749 to __O_LARGEFILE.
2750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2751 to __O_LARGEFILE.
2752
aba75984
JB
27532012-10-21 Jim Blandy <jimb@codesourcery.com>
2754 Joseph Myers <joseph@codesourcery.com>
2755
2756 * config.make.in (NM): New variable.
2757
88d4247f
AJ
27582012-10-21 Andreas Jaeger <aj@suse.de>
2759
2760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2761 definitions and declarations that are provided by
2762 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2763
f2eed205
L
27642012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2765
2766 [BZ #14683]
2767 * elf/Makefile (tests-static): Add tst-leaks1-static.
2768 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2769 ($(objpfx)tst-leaks1-static): New rule.
2770 ($(objpfx)tst-leaks1-static-mem): Likewise.
2771 (tst-leaks1-static-ENV): New macro.
2772 * elf/dl-open.c (dl_open_worker): Check the main application
2773 only if SHARED is defined.
2774 * elf/tst-leaks1-static.c: New file.
2775
335e6931
AJ
27762012-10-20 Andreas Jaeger <aj@suse.de>
2777
2778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2779 generic values for Linux.
2780 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2781 and declarations that are provided by <bits/fcntl-linux.h> and
2782 include <bits/fcntl-linux.h>.
2783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2784 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2785
ac5c94d3
RM
27862012-10-20 Roland McGrath <roland@hack.frob.com>
2787
2788 * io/fcntl.h: Move include of <bits/types.h> to the top and
2789 include it unconditionally.
2790
de54b33a
L
27912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2792
228cfb01
L
2793 * wcsmbs/Makefile (tests-ifunc): New variable.
2794 (tests): Add $(tests-ifunc).
2795 * wcsmbs/test-wcschr-ifunc.c: New file.
2796 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2797 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2798 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2799 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2800 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2801
69f07e5f
L
2802 * string/Makefile (tests-ifunc): New variable.
2803 (tests): Add $(tests-ifunc).
2804 * string/test-memccpy.c (TEST_NAME): New macro.
2805 * string/test-memchr.c (TEST_NAME): Likewise.
2806 * string/test-memcmp.c (TEST_NAME): Likewise.
2807 * string/test-memcpy.c (TEST_NAME): Likewise.
2808 * string/test-memmem.c (TEST_NAME): Likewise.
2809 * string/test-memmove.c (TEST_NAME): Likewise.
2810 * string/test-memset.c (TEST_NAME): Likewise.
2811 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2812 * string/test-stpcpy.c (TEST_NAME): Likewise.
2813 * string/test-stpncpy.c (TEST_NAME): Likewise.
2814 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2815 * string/test-strcasestr.c (TEST_NAME): Likewise.
2816 * string/test-strcat.c (TEST_NAME): Likewise.
2817 * string/test-strchr.c (TEST_NAME): Likewise.
2818 * string/test-strcmp.c(TEST_NAME): Likewise.
2819 * string/test-strcpy.c (TEST_NAME): Likewise.
2820 * string/test-strcspn.c (TEST_NAME): Likewise.
2821 * string/test-strlen.c (TEST_NAME): Likewise.
2822 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2823 * string/test-strncmp.c (TEST_NAME): Likewise.
2824 * string/test-strncpy.c (TEST_NAME): Likewise.
2825 * string/test-strnlen.c (TEST_NAME): Likewise.
2826 * string/test-strpbrk.c (TEST_NAME): Likewise.
2827 * string/test-strrchr.c (TEST_NAME): Likewise.
2828 * string/test-strspn.c (TEST_NAME): Likewise.
2829 * string/test-strstr.c (TEST_NAME): Likewise.
2830 * string/test-bcopy-ifunc.c: New file.
2831 * string/test-bzero-ifunc.c: Likewise.
2832 * string/test-memccpy-ifunc.c: Likewise.
2833 * string/test-memchr-ifunc.c: Likewise.
2834 * string/test-memcmp-ifunc.c: Likewise.
2835 * string/test-memcpy-ifunc.c: Likewise.
2836 * string/test-memmem-ifunc.c: Likewise.
2837 * string/test-memmove-ifunc.c: Likewise.
2838 * string/test-mempcpy-ifunc.c: Likewise.
2839 * string/test-memset-ifunc.c: Likewise.
2840 * string/test-rawmemchr-ifunc.c: Likewise.
2841 * string/test-stpcpy-ifunc.c: Likewise.
2842 * string/test-stpncpy-ifunc.c: Likewise.
2843 * string/test-strcasecmp-ifunc.c: Likewise.
2844 * string/test-strcasestr-ifunc.c: Likewise.
2845 * string/test-strcat-ifunc.c: Likewise.
2846 * string/test-strchr-ifunc.c: Likewise.
2847 * string/test-strchrnul-ifunc.c: Likewise.
2848 * string/test-strcmp-ifunc.c: Likewise.
2849 * string/test-strcpy-ifunc.c: Likewise.
2850 * string/test-strcspn-ifunc.c: Likewise.
2851 * string/test-strlen-ifunc.c: Likewise.
2852 * string/test-strncasecmp-ifunc.c: Likewise.
2853 * string/test-strncat-ifunc.c: Likewise.
2854 * string/test-strncmp-ifunc.c: Likewise.
2855 * string/test-strncpy-ifunc.c: Likewise.
2856 * string/test-strnlen-ifunc.c: Likewise.
2857 * string/test-strpbrk-ifunc.c: Likewise.
2858 * string/test-strrchr-ifunc.c: Likewise.
2859 * string/test-strspn-ifunc.c: Likewise.
2860 * string/test-strstr-ifunc.c: Likewise.
2861
de54b33a
L
2862 * debug/Makefile (tests-ifunc): New variable.
2863 (tests): Add $(tests-ifunc).
2864 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2865 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2866 * debug/test-stpcpy_chk-ifunc.c: New file.
2867 * debug/test-strcpy_chk-ifunc.c: Likewise.
2868
88481c16
SP
28692012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2870
2871 [BZ #13601]
2872 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2873 header is not read in.
2874
135948bd
JM
28752012-10-19 Joseph Myers <joseph@codesourcery.com>
2876
89f1c388
JM
2877 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2878 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2879 directly. Pass built executable to script as
2880 $(built-program-cmd).
2881 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2882 $testprogram without using LD_LIBRARY_PATH and $ldso.
2883
e40a0d21
JM
2884 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2885 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2886 $(rtld-installed-name).
2887 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2888 (rtld_installed_name): Likewise.
2889 (library_path): Likewise.
2890 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2891 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2892 $(run-program-prefix) to tst-tables.sh.
2893 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2894 it to run tst-table-from and tst-table-to.
2895 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2896 Pass it to tst-table.sh.
2897 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2898 $(run-program-prefix) to tst-gettext.sh.
2899 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2900 tst-translit.sh.
2901 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2902 tst-gettext2.sh.
2903 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2904 to run tst-gettext.
2905 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2906 to run tst-gettext2.
2907 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2908 to run tst-translit.
2909 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2910 $(run-program-prefix) to tst-mtrace.sh.
2911 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2912 to run tst-mtrace.
2913 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2914 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2915 $(rtld-installed-name).
2916 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2917 (rtld_installed_name): Likewise.
2918 (run_program_prefix): New variable. Use it to run wordexp-test.
2919
728e272a
JM
2920 * Makeconfig (ARCH): Remove all definitions.
2921 (machine): Likewise.
2922 [ARCH]: Remove conditional code.
2923 [!objdir]: Give error.
2924 [!objdir] (objpfx): Remove.
2925 [!objdir] (common-objpfx): Likewise.
2926 [!objdir] (common-objdir): Likewise.
2927 * configure.in (config_makefile): Remove. Hardcode Makefile in
2928 AC_CONFIG_FILES call.
2929 * configure: Regenerated.
2930
d528cdcf
JM
2931 [BZ #13888]
2932 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2933 or TMPDIR.
2934 (testout): Likewise.
2935
135948bd
JM
2936 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2937 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2938 $(rtld-installed-name).
2939 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2940 (rtld_installed_name): Likwise.
2941 (runit): Remove function.
2942 (run_getconf): New variable, Use it for running getconf binary.
2943
38c78296
L
29442012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2945
2946 [BZ #14716]
2947 * string/test-memmem.c (check_result): New function.
2948 (do_one_test): Use it.
2949 (check1): New function.
2950 (test_main): Use it.
2951
d077f65f
MT
29522012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2953
2954 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2955
ced52c71
JM
29562012-10-18 Joseph Myers <joseph@codesourcery.com>
2957
2958 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2959 (_G_LSEEK64): Likewise.
2960 (_G_MMAP64): Likewise.
2961 (_G_FSTAT64): Likewise.
2962 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2963 (_G_LSEEK64): Likewise.
2964 (_G_MMAP64): Likewise.
2965 (_G_FSTAT64): Likewise.
2966 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2967 unconditional. Call __mmap64 directly.
2968 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2969 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2970 __lseek64 directly.
2971 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2972 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2973 __mmap64 directly.
2974 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2975 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2976 __lseek64 directly.
2977 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2978 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2979 __lseek64 directly.
2980 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2981 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2982 __lseek64 directly.
2983 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2984 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2985 __fxstat64 directly.
2986 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2987 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2988 unconditional.
2989 (freopen64) [!_G_OPEN64]: Remove conditional code.
2990 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2991 unconditional.
2992 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2993 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2994 unconditional.
2995 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2996 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2997 unconditional.
2998 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2999 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3000 unconditional.
3001 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3002 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3003 unconditional.
3004 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3005 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3006 unconditional.
3007 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3008 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3009 unconditional.
3010 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3011
b741de23
SP
30122012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3013
3014 [BZ #12140]
3015 * manual/memory.texi (Malloc Tunable Parameters): Add note
3016 about free list pointers overwriting some perturb bytes.
3017 Wording suggested by Roland McGrath.
3018
f9b9d9c9
JM
30192012-10-17 Joseph Myers <joseph@codesourcery.com>
3020
3021 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3022 (lgamma_test): Likewise.
3023 (tgamma_test): Likewise.
3024
172a631a
FW
30252012-10-16 Florian Weimer <fweimer@redhat.com>
3026
3027 [BZ #14700]
3028 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3029 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3030
e9f37252
MK
30312012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3032
3033 * NEWS: Mention BZ #14716.
3034 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3035 when removing AVAILABLE1_USES_J macro.
3036
d394eb74
L
30372012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3038
3039 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3040 (__bswap_64): __uint64_t for unsigned 64-bit int.
3041
ca38dc17
AS
30422012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3043
3044 * include/string.h (memmem): Declare libc hidden alias.
3045 * string/memmem.c (memmem): Define libc hidden alias.
3046 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3047 __read, __close instead of open, read, close.
3048
9a387d1f
L
30492012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3050
ac49ecaf
L
3051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3052 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3053 global and hidden.
3054 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3055 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3056 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3057 Likewise.
3058 (__rawmemchr_sse2): Likewise.
3059 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3060 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3061 (__strchr_sse2): Likewise.
3062 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3063 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3064 (__strcasecmp_sse2): Likewise.
3065 (__strncasecmp_sse2): Likewise.
3066 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3067 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3068 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3069 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3070 (__strrchr_sse2): Likewise.
3071 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3072 ifunc-impl-list.c.
3073 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3074 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3075 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3076 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3077 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3078 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3079 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3080 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3081 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3082 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3083 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3084 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3085 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3086 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3087 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3088 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3089 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3090 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3091 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3092 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3093 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3094 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3095 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3096 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3097 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3098 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3099 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3100 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3101 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3102 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3103
b090e8ea
L
3104 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3105 global and hidden.
3106 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3107 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3108 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3109 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3110 Likewise.
3111 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3112 Likewise.
3113 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3114 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3115 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3116 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3117 ifunc-impl-list.c.
3118 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3119 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3120 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3121 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3122 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3136 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3143 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3144 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3145 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3146 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3147 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3151 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3152 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3153 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3154 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3155 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3156 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3158 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3159
11dd4af6
L
3160 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3161 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3162 * include/ifunc-impl-list.h: New file.
3163 * misc/ifunc-impl-list.c: Likewise.
3164 * misc/Makefile (routines): Add ifunc-impl-list.
3165 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3166 * string/test-string.h: Include <ifunc-impl-list.h>.
3167 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3168 impl_array): New variables.
3169 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3170 are defined.
3171 (test_init): Call __libc_ifunc_impl_list to initialize
3172 func_list if TEST_IFUNC and TEST_NAME are defined.
3173
9a387d1f
L
3174 * string/Makefile (strop-tests): Add bcopy and bzero.
3175 * string/test-bcopy.c: New file.
3176 * string/test-bzero.c: Likewise.
3177 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3178 defined.
3179 * string/test-memset.c: Support bzero test if TEST_BZERO is
3180 defined.
3181 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3182 __libc_memmove.
3183 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3184 __libc_memset.
3185 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3186 of memset.
3187
472371b9
JM
31882012-10-10 Joseph Myers <joseph@codesourcery.com>
3189
1e4a9536
JM
3190 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3191 * configure: Regenerated.
3192
d173d12e
JM
3193 * Makeconfig (+link-static-before-libc): Don't include
3194 $(link-static-libc).
3195
472371b9
JM
3196 * libio/libio.h (_IO_pos_t): Remove.
3197
89a3ad0b
AO
31982012-10-10 Alexandre Oliva <aoliva@redhat.com>
3199
3200 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3201 McGrath.
3202
e7451425
AO
32032012-10-10 Alexandre Oliva <aoliva@redhat.com>
3204
3205 * crypt/crypt-entry.c: Include fips-private.h.
3206 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3207 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3208 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3209 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3210
4ba74a35
AO
32112012-10-10 Alexandre Oliva <aoliva@redhat.com>
3212
3213 * crypt/crypt-private.h: Include stdbool.h.
3214 (_ufc_setup_salt_r): Return bool.
3215 * crypt/crypt-entry.c: Include errno.h.
3216 (__crypt_r): Return NULL with EINVAL for bad salt.
3217 * crypt/crypt_util.c (bad_for_salt): New.
3218 (_ufc_setup_salt_r): Check that salt is long enough and within
3219 the specified alphabet.
3220 * crypt/badsalttest.c: New file.
3221 * crypt/Makefile (tests): Add it.
3222 ($(objpfx)badsalttest): New.
3223
f96f1242
MK
32242012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3225
3226 * NEWS: Add entry for BZ #14602.
3227
0e8e0c1c
JM
32282012-10-09 Joseph Myers <joseph@codesourcery.com>
3229
3230 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3231 type-generic.
3232 * math/libm-test.inc: Update comment listing what functions and
3233 macros are tested.
3234 (isgreater_test): New function.
3235 (isgreaterequal_test): Likewise.
3236 (isless_test): Likewise.
3237 (islessequal_test): Likewise.
3238 (islessgreater_test): Likewise.
3239 (isunordered_test): Likewise.
3240 (main): Call the new functions.
3241
273edc5e
RM
32422012-10-09 Roland McGrath <roland@hack.frob.com>
3243
b8493de0
RM
3244 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3245 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3246 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3247 * sysdeps/i386/configure: Regenerated.
3248 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3249 * sysdeps/mach/configure: Regenerated.
3250 * sysdeps/mach/hurd/configure: Regenerated.
3251 * sysdeps/powerpc/configure: Regenerated.
3252 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3253 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3254 * sysdeps/s390/s390-32/configure: Regenerated.
3255 * sysdeps/s390/s390-64/configure: Regenerated.
3256 * sysdeps/sh/configure: Regenerated.
3257 * sysdeps/sparc/configure: Regenerated.
3258 * sysdeps/unix/sysv/linux/configure: Regenerated.
3259 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3260 * sysdeps/x86_64/configure: Regenerated.
3261
273edc5e
RM
3262 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3263 defined. Don't check if MAP is NULL.
3264
c8450f70
JM
32652012-10-09 Joseph Myers <joseph@codesourcery.com>
3266
3267 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3268 (_G_stat64): Likewise.
3269 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3270 (_G_stat64): Likewise.
3271 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3272 instead of struct _G_stat64.
3273 * libio/fileops.c (mmap_remap_check): Likewise.
3274 (decide_maybe_mmap): Likewise.
3275 (_IO_new_file_seekoff): Likewise.
3276 (_IO_file_stat): Likewise.
3277 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3278 _G_off64_t.
3279 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3280 instead of struct _G_stat64.
3281 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3282
57e605ba
MK
32832012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3284
3285 [BZ #14602]
3286 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3287 Replace with ...
3288 (CHECK_EOL): New macro.
3289 (two_way_short_needle): Check beginning of haystack for EOL. Use
3290 CHECK_EOL.
3291 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3292 Replace with CHECK_EOL.
3293 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3294 Replace with CHECK_EOL.
3295
ef1bb361
JM
32962012-10-08 Joseph Myers <joseph@codesourcery.com>
3297
3298 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3299 type-generic.
3300 * math/libm-test.inc: Update comment listing what functions and
3301 macros are tested.
3302 (finite_test): New function.
3303 (isinf_test): Likewise.
3304 (isnan_test): Likewise.
3305 (fpclassify_test): Test subnormal input.
3306 (isfinite_test): Likewise.
3307 (isnormal_test): Likewise.
3308 (main): Call the new functions.
3309
55f11534
JN
33102012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3311
3312 [BZ #14660]
3313 * Makerules (%.dynsym): Force C locale when running
3314 $(OBJDUMP) --dynamic-syms.
3315
1ab29350
AS
33162012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3317
3318 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3319 <stdint.h>.
3320
f1ecb7ef
DM
33212012-10-06 David S. Miller <davem@davemloft.net>
3322
3323 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3324 upper 32-bits of the length value in %o2 since we use branch-on-register
3325 tests which consider the entire 64-bit register.
3326
5d41d91a
L
33272012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3328
3329 * string/test-strstr.c (check2): Add a test for page boundary.
3330
3baddb72
DM
33312012-10-05 David S. Miller <davem@davemloft.net>
3332
3333 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3334 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3335 file.
3336 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3337 sysdep_routines.
3338 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3339 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3340 and bzero when HWCAP_SPARC_CRYPTO is present.
3341
9cee5585
L
33422012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3343
d7e0dab9
L
3344 [BZ #14602]
3345 * string/test-strstr.c (check2): New function.
3346 (test_main): Call check2.
3347
03759f47
L
3348 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3349 and bug-strchr1.
3350 * string/bug-strcasestr1.c (do_test): Moved to ...
3351 * string/test-strcasestr.c (check1): Here. New function.
3352 (do_one_test): Break out result checking code into ...
3353 (check_result): This. New function.
3354 (do_one_test): Call check_result.
3355 (test_main): Call check1.
3356 * string/bug-strchr1.c (do_test): Moved to ...
3357 * string/test-strchr.c (check1): Here. New function.
3358 (do_one_test): Break out result checking code into ...
3359 (check_result): This. New function.
3360 (do_one_test): Call check_result.
3361 (test_main): Call check1.
3362 * string/bug-strstr1.c (main): Moved to ...
3363 * string/test-strchr.c (check1): Here. New function.
3364 (do_one_test): Break out result checking code into ...
3365 (check_result): This. New function.
3366 (do_one_test): Call check_result.
3367 (test_main): Call check1.
3368 * string/bug-strcasestr1.c: Removed.
3369 * string/bug-strchr1.c: Likewise.
3370 * string/bug-strstr1.c: Likewise.
3371
53cea63e
L
3372 * elf/Makefile (dl-routines): Add hwcaps.
3373 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3374 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3375 (_dl_important_hwcaps): Moved to ...
3376 * elf/dl-hwcaps.c: Here. New file.
3377 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3378
9cee5585 3379 [BZ #14557]
bb859b06
L
3380 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3381 if IS_IN_rtld isn't defined.
3382
9cee5585
L
3383 * elf/dl-support.c (_dl_sysinfo_map): New.
3384 Include "get-dynamic-info.h" and "setup-vdso.h".
3385 (_dl_non_dynamic_init): Call setup_vdso.
3386 * elf/dynamic-link.h: Don't include <assert.h>.
3387 (elf_get_dynamic_info): Moved to ...
3388 * elf/get-dynamic-info.h: Here. New file.
3389 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3390 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3391 * elf/setup-vdso.h: Here. New file.
3392 * elf/rtld.c: Include "setup-vdso.h".
3393 (dl_main): Call setup_vdso.
3394
23c31b76
JM
33952012-10-05 Joseph Myers <joseph@codesourcery.com>
3396
28234b07
JM
3397 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3398 creal in comment listing functions tested. List finite, isinf,
3399 isnan, isless, islessequal, isgreater, isgreaterequal,
3400 islessgreater, isunordered, lgamma_r and pow10 as functions and
3401 macros not tested. Mention which functions not tested are aliases
3402 for other functions. Fix typo. Note that signs of NaNs are not
3403 tested.
3404
23c31b76
JM
3405 * scripts/config.guess: Update from config.git.
3406 * scripts/config.sub: Likewise.
3407
9043e228
RM
34082012-10-04 Roland McGrath <roland@hack.frob.com>
3409
3410 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3411 * misc/madvise.c (madvise): Renamed to __madvise.
3412 Make madvise a weak alias.
3413 * include/sys/mman.h: Declare __madvise.
3414 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3415 * sysdeps/unix/syscalls.list
3416 (madvise): Make __madvise the strong name, and madvise a weak alias.
3417 * sysdeps/unix/sysv/linux/syscalls.list
3418 (madvise, mmap): Remove redundant entries.
3419 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3420 * malloc/malloc.c (mtrim): Likewise.
3421 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3422
f57f8055
RM
34232012-10-03 Roland McGrath <roland@hack.frob.com>
3424
3425 * sysdeps/mach/hurd/dl-cache.c: File removed.
3426 * config.h.in (USE_LDCONFIG): New #undef.
3427 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3428 * configure: Regenerated.
3429 * elf/Makefile (dl-routines): Add dl-cache only under
3430 [$(use-ldconfig) = yes].
3431 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3432 cache on [USE_LDCONFIG].
3433 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3434 [USE_LDCONFIG].
3435 * elf/rtld.c (dl_main): Likewise.
3436
5bb0c10a
PT
34372012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3438
3439 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3440 _SC_LEVEL4_CACHE_LINESIZE.
3441
010188c6
RM
34422012-10-03 Roland McGrath <roland@hack.frob.com>
3443
3444 * sysdeps/unix/bsd/confstr.h: File removed.
3445
b6c5ec07
AO
34462012-10-02 Alexandre Oliva <aoliva@redhat.com>
3447
3448 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3449 sys/sdt-config.h.
3450
408223d4
RM
34512012-10-02 Roland McGrath <roland@hack.frob.com>
3452
3453 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3454 Make 'mapoff' field ElfW(Off) rather than off_t.
3455
bb9510dc
DL
34562012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3457
fc997c6e
DL
3458 * nscd/Makefile: Remove nscd-cflags and all its users.
3459 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3460 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3461
bb9510dc
DL
3462 [BZ #10631]
3463 * malloc.c (malloc_printerr): Clarify error message.
3464
05699367
L
34652012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3466
3467 [BZ #14648]
3468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3469 Set bit_FMA_Usable if FMA is supported.
3470 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3471 macro.
3472 (bit_FMA4_Usable): Updated.
3473 (index_FMA_Usable): New macro.
3474 (CPUID_FMA): Likewise
3475 (HAS_FMA): Defined with bit_FMA_Usable.
3476
51367701
RM
34772012-10-01 Roland McGrath <roland@hack.frob.com>
3478
3479 * bits/types.h (__swblk_t): Type removed.
3480 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3481 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3483 (__SWBLK_T_TYPE): Likewise.
3484 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3485 (__SWBLK_T_TYPE): Likewise.
3486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3487 (__SWBLK_T_TYPE): Likewise.
3488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3489 (__SWBLK_T_TYPE): Likewise.
3490
4d57bf63 34912012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3492 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3493
3494 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3495 (xdr_mapname): Use YPMAXMAP as maxsize.
3496 (xdr_peername): Use YPMAXPEER as maxsize.
3497 (xdr_keydat): Use YPAXRECORD as maxsize.
3498 (xdr_valdat): Use YPMAXRECORD as maxsize.
3499
93c65d43
RM
35002012-10-01 Roland McGrath <roland@hack.frob.com>
3501
497a03d6
RM
3502 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3503
93c65d43
RM
3504 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3505 * csu/init-first.c: ... here.
3506 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3507 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3508 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3510 * sysdeps/i386/init-first.c: File removed.
3511 * sysdeps/sh/init-first.c: File removed.
3512
bec749fd
JM
35132012-10-01 Joseph Myers <joseph@codesourcery.com>
3514
3515 [BZ #14645]
3516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3517 if x * y might underflow to zero and z is zero.
3518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3520 * math/libm-test.inc (min_subnorm_value): New variable.
3521 (fma_test): Add more tests.
3522 (fma_test_towardzero): Likewise.
3523 (fma_test_downward): Likewise
3524 (fma_test_upward): Likewise.
3525 (initialize): Set min_subnorm_value.
3526
8ec5b013
JM
35272012-09-29 Joseph Myers <joseph@codesourcery.com>
3528
3529 [BZ #14638]
3530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3531 0 + 0.
3532 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3533 mode for addition resulting in exact zero.
3534 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3536 exact 0 + 0.
3537 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3539 * math/libm-test.inc (fma_test): Add more tests.
3540 (fma_test_towardzero): New function.
3541 (fma_test_downward): Likewise.
3542 (fma_test_upward): Likewise.
3543 (main): Call the new functions.
3544
b1fa802e
DM
35452012-09-28 David S. Miller <davem@davemloft.net>
3546
3547 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3548
d3b9fd9e
RM
35492012-09-28 Roland McGrath <roland@hack.frob.com>
3550
ea4d37b3
RM
3551 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3552 instead of SIGALRM.
3553
ac51c949
RM
3554 * sysdeps/gnu/_G_config.h: Moved to ...
3555 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3556 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3557 * sysdeps/generic/_G_config.h: ... here.
3558
28c195f7
RM
3559 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3560
848917f9
RM
3561 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3562
6bacf05b
RM
3563 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3564 Conditionalize target on [libnss_test1.so-version].
3565
91363dbb
RM
3566 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3567
cc87f7d8
RM
3568 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3569 (elfobjdir): Move out of conditionals.
3570
b1c608fe
RM
3571 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3572 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3573 (__nss_lookup_function): Conditionalize label remove_from_tree on
3574 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3575
1d9a6d96
DM
35762012-09-28 David S. Miller <davem@davemloft.net>
3577
3578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3579 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3580 file.
3581 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3582 sysdep_routines.
3583 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3585 when HWCAP_SPARC_CRYPTO is present.
3586
72581615
PT
35872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3588
3589 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3590
715a900c
JL
35912012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3592
3593 [BZ #6530]
3594 * stdio-common/vfprintf.c (process_string_arg): Revert
3595 2000-07-22 change.
3596
35972011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3598
3599 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3600 for testcase.
3601 * stdio-common/tst-sprintf.c: Include <locale.h>
3602 (main): Test sprintf's handling of incomplete multibyte
3603 characters.
3604
9bac1d86
L
36052012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 * elf/dl-runtime.c (VERSYMIDX): Removed.
3608 * elf/dl-version.c (VERSYMIDX): Likewise.
3609 * elf/do-rel.h (VERSYMIDX): Likewise.
3610 (VALIDX): Likewise.
3611 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3612 * elf/rtld.c (VALIDX): Likewise.
3613 (ADDRIDX): Likewise.
9bac1d86
L
3614 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3615 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3616 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3617 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3618 (VALIDX): Likewise.
3619 (ADDRIDX): Likewise.
9bac1d86 3620
b31606c0
PT
36212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3622
3623 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3624
11541177
JL
36252012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3626
3627 [BZ #11438]
3628 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3629 to global scope.
3630 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3631 addresses are in the same scope as 192.0.2/24.
3632 * posix/gai.conf: Document new scope table defaults.
3633
adb26fae
SP
36342012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3635
3636 [BZ #5298]
3637 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3638 for ftell. Compute offsets from write pointers instead.
3639 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3640
4573c6b0
SP
36412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3642
3643 [BZ #14543]
3644 * libio/Makefile (tests): New test case tst-fseek.
3645 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3646 combination works in wide mode.
3647 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3648 state when the external buffer state changes.
3649
aa9bbfe6
DM
36502012-09-27 David S. Miller <davem@davemloft.net>
3651
3652 [BZ #14376]
3653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3654 pass reloc->r_addend in as the 'high' argument to
3655 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3656
784421e7
DM
3657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3658
c39bc8b8
PT
36592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3660
3661 * rt/tst-aio2.c: Include <pthread.h>.
3662 * rt/tst-aio3.c: Likewise.
3663
1ccc2399
SE
36642012-09-27 Steve Ellcey <sellcey@mips.com>
3665
3666 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3667
31ed4153
L
36682012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3669
25f5f885
L
3670 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3671 contents on [SHARED].
31ed4153 3672
b7bfe116
MP
36732012-09-26 Marek Polacek <polacek@redhat.com>
3674
3675 [BZ #14530]
3676 [BZ #13741]
3677 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3678 for C++ and GCC <4.3 as well as for non GCC compilers.
3679
43c4edba
MT
36802012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3681
3682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3683
6a1bf82f
RM
36842012-09-25 Roland McGrath <roland@hack.frob.com>
3685
3686 * Makefile.in (all, install): Declare with .PHONY.
3687 Reported by Michael Hope <michael.hope@linaro.org>.
3688
8ad11b9a
TMQMF
36892012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3690
3691 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3692 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3693 system header.
3694 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3695 Likewise.
3696 (sydep_routines): Add the new and the internal functions.
3697 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3698 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3700 (GLIBC_2.17): Add the new function.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3702 (GLIBC_2.17): Likewise.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3704 (GLIBC_2.17): Likewise.
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3706 (GLIBC_2.17): Likewise.
3707 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3708
7e2fca8d
AM
37092012-09-25 Alan Modra <amodra@gmail.com>
3710
3711 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3712 Add release barrier before setting once_control to say
3713 initialisation is done. Add hints on lwarx. Use macro in
3714 place of isync.
3715 (clear_once_control): Add release barrier.
3716
b87c4b24
JM
37172012-09-25 Joseph Myers <joseph@codesourcery.com>
3718
d032e0d2
JM
3719 [BZ #13629]
3720 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3721 specially.
3722 * math/s_clog10.c (__clog10): Likewise.
3723 * math/s_clog10f.c (__clog10f): Likewise.
3724 * math/s_clog10l.c (__clog10l): Likewise.
3725 * math/s_clogf.c (__clogf): Likewise.
3726 * math/s_clogl.c (__clogl): Likewise.
3727 * math/Makefile (libm-calls): Add x2y2m1.
3728 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3729 (__x2y2m1): Likewise.
3730 (__x2y2m1l): Likewise.
3731 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3732 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3735 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3736 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3737 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3738 * sysdeps/i386/fpu/libm-test-ulps: Update.
3739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3740
b87c4b24
JM
3741 [BZ #14621]
3742 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3743 int as type of variable DEPTH.
3744 (glob): Use size_t instead of int as type of variables NEWCOUNT
3745 and OLD_PATHC.
3746
6d3bf199
LD
37472012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3748
22bf5c17
LD
3749 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3750 Add s_sincosf-sse2.
3751 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3752 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3753 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3754 macros for using routine as __sincosf_ia32.
3755 Use macro for function declaration and weak_alias.
3756 * sysdeps/i386/fpu/libm-test-ulps: Update.
3757
3758 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3760
3761 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3762 subnormal argument.
3763 * math/s_cexpf.c (__cexpf): Likewise.
3764 * math/s_csinf.c (__csinf): Likewise.
3765 * math/s_csinhf.c (__csinhf): Likewise.
3766 * math/s_ctanf.c (__ctanf): Likewise.
3767 * math/s_ctanhf.c (__ctanhf): Likewise.
3768 * math/s_ccosh.c (__ccoshf): Likewise.
3769 * math/s_cexp.c (__cexpl): Likewise.
3770 * math/s_csin.c (__csin): Likewise.
3771 * math/s_csinh.c (__csinh): Likewise.
3772 * math/s_ctan.c (__ctan): Likewise.
3773 * math/s_ctanh.c (ctanh): Likewise.
3774 * math/s_ccoshl.c (__ccoshl): Likewise.
3775 * math/s_cexpl.c (__cexpl): Likewise.
3776 * math/s_csinl.c (__csinl): Likewise.
3777 * math/s_csinhl.c (__csinhl): Likewise.
3778 * math/s_ctanl.c (__ctanl): Likewise.
3779 * math/s_ctanhl.c (__ctanhl): Likewise.
3780
203e5603
JM
37812012-09-25 Joseph Myers <joseph@codesourcery.com>
3782
3783 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3784 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3785 (_IO_off_t): Define to __off_t, not _G_off_t.
3786 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3787 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3788 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3789 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3790 type of __dummy and __dummy2 fields.
3791 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3792 (_G_ssize_t): Likewise.
3793 (_G_off_t): Likewise.
3794 (_G_pid_t): Likewise.
3795 (_G_uid_t): Likewise.
3796 (_G_wchar_t): Likewise.
3797 (_G_wint_t): Likewise.
3798 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3799 (_G_ssize_t): Likewise.
3800 (_G_off_t): Likewise.
3801 (_G_pid_t): Likewise.
3802 (_G_uid_t): Likewise.
3803 (_G_wchar_t): Likewise.
3804 (_G_wint_t): Likewise.
3805 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3806 (_G_ssize_t): Likewise.
3807 (_G_off_t): Likewise.
3808 (_G_pid_t): Likewise.
3809 (_G_uid_t): Likewise.
3810 (_G_wchar_t): Likewise.
3811 (_G_wint_t): Likewise.
3812
9fab36eb
SP
38132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3814
3815 * malloc/arena.c: Include malloc-sysdep.h.
3816 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3817 is sufficient to shrink the heap or an unmap is needed.
3818 * sysdeps/generic/malloc-sysdep.h: New file. Define
3819 new function check_may_shrink_heap.
3820 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3821 new function check_may_shrink_heap.
3822
2b4f00d1
SP
38232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3824
3825 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3826 comments.
3827
9a9028b1
DL
38282012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3829
57c69bef
DL
3830 * catgets/test-gencat.sh: Add "set -e".
3831 * elf/tst-pathopt.sh: Likewise.
3832 * grp/tst_fgetgrent.sh: Likewise.
3833 * iconvdata/run-iconv-test.sh: Likewise.
3834 * intl/tst-gettext.sh: Likewise.
3835 * intl/tst-gettext2.sh: Likewise.
3836 * intl/tst-gettext4.sh: Likewise.
3837 * intl/tst-gettext6.sh: Likewise.
3838 * intl/tst-translit.sh: Likewise.
3839 * io/ftwtest-sh: Likewise.
3840 * libio/test-freopen.sh: Likewise.
3841 * malloc/tst-mtrace.sh: Likewise.
3842 * posix/globtest.sh: Likewise.
3843 * posix/tst-getconf.sh: Likewise.
3844 * posix/wordexp-tst.sh: Likewise.
3845 * stdio-common/tst-printf.sh: Likewise.
3846 * stdio-common/tst-unbputc.sh: Likewise.
3847 * stdlib/tst-fmtmsg.sh: Likewise.
3848 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3849 * catgets/Makefile: Do not specify -e option when running
3850 testsuite shell scripts.
3851 * elf/Makefile: Likewise.
3852 * grp/Makefile: Likewise.
3853 * iconvdata/Makefile: Likewise.
3854 * intl/Makefile: Likewise.
3855 * io/Makefile: Likewise.
3856 * libio/Makefile: Likewise.
3857 * malloc/Makefile: Likewise.
3858 * posix/Makefile: Likewise.
3859 * stdio-common/Makefile: Likewise.
3860 * stdlib/Makefile: Likewise.
3861 * sysdeps/x86_64/Makefile: Likewise.
3862
9a9028b1
DL
3863 * io/ftwtest-sh: Add copyright header.
3864 * posix/globtest.sh: Likewise.
3865 * posix/tst-getconf.sh: Likewise.
3866 * posix/wordexp-tst.sh: Likewise.
3867 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3868
ced6f16e
L
38692012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3870
94b32c39
L
3871 [BZ #13679]
3872 * Makeconfig (+link): Defined as $(+link-static) if
3873 $(build-shared) isn't yes.
3874 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3875 isn't yes.
3876 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3877
189e935b
L
3878 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3879
ced6f16e
L
3880 [BZ #14562]
3881 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3882 new chunk size with MALLOC_ALIGN_MASK.
3883
a9f8e53a
JM
38842012-09-24 Joseph Myers <joseph@codesourcery.com>
3885
3886 [BZ #5044]
3887 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3888 <rounding-mode.h>.
3889 (__printf_fphex): Determine rounding using get_rounding_mode and
3890 round_away.
3891 * stdio-common/tst-printf-round.c (struct hex_test): New
3892 structure.
3893 (hex_tests): New variable.
3894 (test_hex_in_one_mode): New function.
3895 (do_test): Also run tests for hex float output.
3896
43153109
JM
38972012-09-21 Joseph Myers <joseph@codesourcery.com>
3898
3899 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3900 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3901 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3902 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3903 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3904 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3905 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3906 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3907
8a26625d
JM
39082012-09-20 Joseph Myers <joseph@codesourcery.com>
3909
3910 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3911 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3912 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3913 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3914
f3fd569c
DL
39152012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3916
3917 [BZ #14579]
3918 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3919 mode only.
3920 * elf/tst-rtld-load-self.sh: New test.
3921 * elf/Makefile: Run it.
3922
63bbedd4
JM
39232012-09-18 Joseph Myers <joseph@codesourcery.com>
3924
3925 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3926 (tst-writev-ENV): Remove.
3927 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3928
626f8b6a
CM
39292012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3930
3931 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3932
b7aaa4d6
JM
39332012-09-17 Joseph Myers <joseph@codesourcery.com>
3934
3935 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3936 unconditional.
3937 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3938 Likewise.
3939 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3940 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3941 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3942 Likewise.
3943
65513990
L
39442012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3945
3946 [BZ #14587]
3947 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3948 * config.make.in (have-cpp-asm-debuginfo): Removed.
3949 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3950 * configure: Regenerated.
3951
784761be
JM
39522012-09-14 Joseph Myers <joseph@codesourcery.com>
3953
3954 [BZ #5044]
3955 * stdio-common/printf_fp.c: Include <stdbool.h> and
3956 <rounding-mode.h>.
3957 (___printf_fp): Determine rounding using get_rounding_mode and
3958 round_away.
3959 * stdio-common/tst-printf-round.c: New file.
3960 * stdio-common/Makefile (tests): Add tst-printf-round.
3961 (link-libm): New variable.
3962 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3963
9503345f
L
39642012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 [BZ #14576]
3967 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3968 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3969 Likewise.
3970 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3971 Likewise.
3972
ad35fc00
JM
39732012-09-13 Joseph Myers <joseph@codesourcery.com>
3974
3975 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3976 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3977 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3978 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3979
6c9b0f68
JM
39802012-09-12 Joseph Myers <joseph@codesourcery.com>
3981
3982 [BZ #14518]
3983 * include/rounding-mode.h: New file.
3984 * sysdeps/generic/get-rounding-mode.h: Likewise.
3985 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3986 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3987 (MAX_VALUE): New macro.
3988 (MIN_VALUE): Likewise.
3989 (overflow_value): New function.
3990 (underflow_value): Likewise.
3991 (round_and_return): Use overflow_value and underflow_value to
3992 determine return values in overflow and underflow cases. Use
3993 round_away to determine rounding depending on rounding mode.
3994 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3995 determine return values in overflow and underflow cases.
3996 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3997 (struct test_results): New structure.
3998 (struct test): Use struct test_results to store expected results
3999 for all rounding modes.
4000 (TEST): Include expected results for all rounding modes.
4001 (test_in_one_mode): New function.
4002 (do_test): Use test_in_one_mode to compute and check results.
4003 Check results for all rounding modes.
4004 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4005 $(link-libm).
4006
19fcedd5
AM
40072012-12-09 Allan McRae <allan@archlinux.org>
4008
1e9d84cd 4009 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4010
8bbfd2f1
JM
40112012-09-11 Joseph Myers <joseph@codesourcery.com>
4012
4013 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4014 (_G_int32_t): Likewise.
4015 (_G_uint16_t): Likewise.
4016 (_G_uint32_t): Likewise.
4017 (_G_HAVE_BOOL): Likewise.
4018 (_G_HAVE_ATEXIT): Likewise.
4019 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4020 (_G_HAVE_IO_FILE_OPEN): Likewise.
4021 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4022 (_G_int32_t): Likewise.
4023 (_G_uint16_t): Likewise.
4024 (_G_uint32_t): Likewise.
4025 (_G_HAVE_BOOL): Likewise.
4026 (_G_HAVE_ATEXIT): Likewise.
4027 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4028 (_G_HAVE_IO_FILE_OPEN): Likewise.
4029 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4030 (_G_int32_t): Likewise.
4031 (_G_uint16_t): Likewise.
4032 (_G_uint32_t): Likewise.
4033 (_G_HAVE_BOOL): Likewise.
4034 (_G_HAVE_ATEXIT): Likewise.
4035 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4036 (_G_HAVE_IO_FILE_OPEN): Likewise.
4037
b1dc5912
L
40382012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4039
4040 * csu/libc-tls.c: Update copyright years.
4041
0e886ef9
JM
40422012-09-10 Joseph Myers <joseph@codesourcery.com>
4043
28361c5e
JM
4044 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4045 [!_G_USING_THUNKS]: Remove conditional code.
4046 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4047 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4048
0e886ef9
JM
4049 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4050 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4051 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4052 (_G_VTABLE_LABEL_PREFIX): Likewise.
4053 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4054 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4055 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4056 (_G_VTABLE_LABEL_PREFIX): Likewise.
4057 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4058 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4059 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4060 (_G_VTABLE_LABEL_PREFIX): Likewise.
4061 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4062
bcba7aa2
L
40632012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4064
4065 * libio/Makefile: Include ../Makeconfig before tests.
4066 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4067 only if $(build-shared) is yes.
4068
06585ee8
L
4069 * iconv/gconv_db.c: Update copyright years.
4070
80ccd52c
LD
40712012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4072
4073 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4074 unwind info if defined PIC. Fix special cases description.
4075 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4076
4077 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4078 DP_HI_MASK entry.
4079 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4080
691bc9c1
L
40812012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4082
3d9b46b3
L
4083 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4084
de2139a9
L
4085 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4086 is NULL.
4087
5ca78dd0
L
4088 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4089 (LDLIBS-tst-chk4): This.
4090 (LDFLAGS-tst-chk5): Renamed to ...
4091 (LDLIBS-tst-chk5): This.
4092 (LDFLAGS-tst-chk6): Renamed to ...
4093 (LDLIBS-tst-chk6): This.
4094 (LDFLAGS-tst-lfschk4): Renamed to ...
4095 (LDLIBS-tst-lfschk4): This.
4096 (LDFLAGS-tst-lfschk5): Renamed to ...
4097 (LDLIBS-tst-lfschk5): This.
4098 (LDFLAGS-tst-lfschk6): Renamed to ...
4099 (LDLIBS-tst-lfschk6): This.
4100
691bc9c1
L
4101 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4102 on $(common-objpfx)soversions.mk.
4103
65cafb1c
JM
41042012-09-07 Joseph Myers <joseph@codesourcery.com>
4105
4106 [BZ #10014]
4107 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4108 example host name.
4109
c78ab094
SP
41102012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4111
4112 * malloc/arena.c (arena_get_retry): New function that gets
4113 another arena for the caller to try its request on.
4114 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4115 current arena cannot fulfill the request.
4116 (__libc_memalign): Likewise.
4117 (__libc_memalign): Likewise.
4118 (__libc_pvalloc): Likewise.
4119 (__libc_calloc): Likewise.
4120
01f49f59
JT
41212012-09-05 John Tobey <john.tobey@gmail.com>
4122
4123 [BZ #13542]
4124 * manual/arith.texi (Operations on Complex): Fix description
4125 of carg branch cut.
4126
4c23fed5
JM
41272012-09-06 Joseph Myers <joseph@codesourcery.com>
4128
1d3c8572
JM
4129 [BZ #10014]
4130 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4131 host name.
4132
4c23fed5
JM
4133 [BZ #10038]
4134 * manual/memory.texi (Memory): Make order of menu items match
4135 order of sections.
4136
04570aaa
L
41372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4140 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4141 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4142
b80af2f4
L
41432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 * csu/libc-tls.c (static_dtv): Renamed to ...
4146 (_dl_static_dtv): This. Make it global.
4147 (_dl_initial_dtv): Removed.
4148 (__libc_setup_tls): Updated.
4149 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4150 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4151 DL_INITIAL_DTV.
4152
2abe9f15
PM
41532012-09-06 Petr Machata <pmachata@redhat.com>
4154
4155 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4156 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4157 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4158 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4159
0948c3af
L
41602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4161
4162 [BZ #14545]
4163 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4164 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4165 freeing dtv[-1].
4166
a5055ad1
L
41672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4168
4169 [BZ #14544]
4170 * Makeconfig (link-static-before-libc): Replace $(+prector)
4171 with $(+prectorT).
4172 (link-static-after-libc): Replace $(+postctor) with
4173 $(+postctorT).
4174 (link-bounded): Replace $(+prector)/$(+postctor) with
4175 $(+prectorT)/$(+postctorT).
4176 (+prectorT): New macro.
4177 (+postctorT): Likewise.
4178
ed8c2ecd
JM
41792012-09-06 Joseph Myers <joseph@codesourcery.com>
4180
4181 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4182 (round_str): Handle values above the maximum for IBM long double
4183 as inexact.
4184 * stdlib/tst-strtod-round.c (tests): Regenerated.
4185
14c996c8
AK
41862012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4187
4188 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4189 assembler flag.
4190 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4191 zarch_nohighgprs around the zarch optimized routines.
4192 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4193 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4194 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4195 for zarch.
4196
430d6ce6
DM
41972012-09-05 David S. Miller <davem@davemloft.net>
4198
4199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4200
ff04dda4
DM
4201 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4202 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4203 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4204 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4205 entries.
4206
24d4e01b
AO
42072012-09-05 Alexandre Oliva <aoliva@redhat.com>
4208
4209 * malloc/arena.c: Fold copyright years.
4210 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4211
61d58174
AO
42122012-09-05 Alexandre Oliva <aoliva@redhat.com>
4213
4214 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4215
20196a5e
AO
42162012-09-05 Alexandre Oliva <aoliva@redhat.com>
4217
4218 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4219
5c447383
AO
42202012-09-05 Alexandre Oliva <aoliva@redhat.com>
4221
4222 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4223 change internal state upon failure.
4224
fad64255
AO
42252012-09-05 Alexandre Oliva <aoliva@redhat.com>
4226
4227 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4228 * malloc/memusage.c (mmap): Likewise.
4229 (mmap64, mremap): Likewise. Adjust name in comment.
4230
1ffb8c90
SP
42312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4232
4233 * libio/fileops.c: Fix typos in comments.
4234 * libio/oldfileops.c: Likewise.
4235 * libio/wfileops.c: Likewise.
4236
6ef9cc37
SP
42372012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4238
4239 [BZ #1349]
4240 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4241 (tst-malloc-usable-ENV): Set environment for test case.
4242 * malloc/hooks.c (malloc_check_get_size): New function to get
4243 requested size.
4244 * malloc/malloc.c (musable): Use malloc_check_get_size.
4245 * malloc/tst-malloc-usable.c: New test case.
4246
4d038ae3
AS
42472012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4248
4249 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4250
c4e85184
AM
42512012-09-05 Allan McRae <allan@archlinux.org>
4252
b9dafc56 4253 [BZ #13966]
c4e85184
AM
4254 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4255 determine header location.
4256 * configure: Regenerated.
4257
e1343020
AS
42582012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4259
4260 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4261 float format.
4262 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4263 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4264 format.
e1343020
AS
4265 (test): Regenerate.
4266
0a9f1987
DM
42672012-09-04 David S. Miller <davem@davemloft.net>
4268
4269 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4270 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4271 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4272
29237804
FW
42732012-09-04 Florian Weimer <fweimer@redhat.com>
4274
4275 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4276 failures.
4277
edb3cb88
FW
4278 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4279
60160d83
JM
42802012-09-04 Joseph Myers <joseph@codesourcery.com>
4281
4282 [BZ #9914]
4283 * libio/iogetdelim.c: Include <limits.h>.
4284 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4285 + len + 1 would overflow.
4286
bcd6c8dc
AJ
42872012-09-03 Andreas Jaeger <aj@suse.de>
4288
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4290 * sysdeps/i386/fpu/libm-test-ulps: Update.
4291
4ffffbd2
LD
42922012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4293
4294 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4295 Add s_sinf-sse2, s_conf-sse2.
4296
4297 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4298 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4299 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4300 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4301
4302 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4303 for using routine as __sinf_ia32.
4304 Use macro for function declaration and weak_alias.
4305 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4306 for using routine as __cosf_ia32.
4307 Use macro for function declaration and weak_alias.
4308
4309 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4310 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4311
4312 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4313 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4315
4316 * math/libm-test.inc (cos_test): Add more test cases.
4317 (sin_test): Likewise.
4318 (sincos_test): Likewise.
4319
511fa286
AK
43202012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4321
4322 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4323 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4324 hidden.
4325 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4326
5f30cfec
L
43272012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4328
4329 [BZ #14538]
4330 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4331 first element of the GOT.
4332 (elf_machine_load_address): Return the difference between
4333 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4334
0786794f
AM
43352012-09-01 Allan McRae <allan@archlinux.org>
4336
5f30cfec
L
4337 [BZ #13412]
4338 * configure.in (AWK): Require gawk version 3.0 or later.
4339 * configure: Regenerated.
0786794f 4340
26889eac
JM
43412012-09-01 Joseph Myers <joseph@codesourcery.com>
4342
4343 * sysdeps/unix/sysv/linux/kernel-features.h
4344 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4345 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4346 [__NR_clock_getres]: Make code unconditional.
4347 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4348 (clock_getcpuclockid): Remove code left unreachable by removal of
4349 conditionals.
4350 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4351 code unconditional.
4352 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4353 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4354 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4355 Make code unconditional.
4356 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4358 * sysdeps/unix/sysv/linux/clock_settime.c
4359 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4360 conditional code.
4361 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4362 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4363
d22e28b0
L
43642012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4365
4366 [BZ #14476]
4367 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4368 scripts/test-installation.pl.
4369
4370 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4371 and $ld_so_version if it is set.
4372
050af9c4
SP
43732012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4374
4375 [BZ #14516]
4376 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4377 failure if reading from procfs failed.
4378 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4379
ad845c0b
JM
43802012-08-27 Joseph Myers <joseph@codesourcery.com>
4381
4382 * sysdeps/unix/sysv/linux/kernel-features.h
4383 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4384 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4385 Remove conditional code.
4386 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4387 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4388 Remove conditional code.
4389 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4390 * sysdeps/unix/sysv/linux/i386/fxstat.c
4391 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4392 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4393 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4394 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4395 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4396 * sysdeps/unix/sysv/linux/i386/lxstat.c
4397 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4398 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4399 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4400 Remove conditional code.
4401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4402 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4403 Remove conditional code.
4404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4405 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4406 <kernel-features.h>.
4407 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4408 Remove.
4409 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4410 Remove conditional code.
4411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4412 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4413 Remove conditional.
4414
5dbf56af
MF
44152012-08-27 Mike Frysinger <vapier@gentoo.org>
4416
4417 [BZ #5400]
4418 * NEWS: Add fixed bug number.
4419
d6e70f43
JM
44202012-08-27 Joseph Myers <joseph@codesourcery.com>
4421
7efb4737
JM
4422 [BZ #14519]
4423 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4424 underflowing exponent in case of negative sign.
4425 * stdlib/tst-strtod-round-data: Add more tests.
4426 * stdlib/tst-strtod-round.c (tests): Regenerated.
4427
af92131a
JM
4428 [BZ #3479]
4429 * stdlib/strtod_l.c (NDIG): Remove.
4430 (HEXNDIG): Likewise.
4431 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4432 smallest representable value.
4433 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4434 lie within an exact representation of 1/2 ulp of the result.
4435 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4436 unconditionally.
4437 (TENS_P9_IDX): Define unconditionally.
4438 (TENS_P9_SIZE): Likewise.
4439 (TENS_P10_IDX): Likewise.
4440 (TENS_P10_SIZE): Likewise.
4441 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4442 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4443 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4444 entries for 10^2^13 and 10^2^14.
4445 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4446 (TENS_P13_IDX): Define.
4447 (TENS_P13_SIZE): Likewise.
4448 (TENS_P14_IDX): Likewise.
4449 (TENS_P14_SIZE): Likewise.
4450 (_fpioconst_pow10): Change array size to
4451 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4452 unconditional.
4453 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4454 1024]: Add entries for 10^2^13 and 10^2^14.
4455 [LAST_POW10 > _LAST_POW10]: Remove #error.
4456 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4457 (_fpioconst_pow10): Change array size to
4458 FPIOCONST_POW10_ARRAY_SIZE.
4459 * stdlib/gen-fpioconst.c: New file.
4460 * stdlib/gen-tst-strtod-round.c: Likewise.
4461 * stdlib/tst-strtod-round-data: Likewise.
4462 * stdlib/tst-strtod-round.c: Likewise.
4463 * stdlib/Makefile (tests): Add tst-strtod-round.
4464
d6e70f43
JM
4465 [BZ #14459]
4466 * stdlib/strtod_l.c: Include <stdint.h>.
4467 (NDEBUG): Do not define.
4468 (round_and_return): Change EXPONENT parameter to type intmax_t.
4469 Rearrange calculations to avoid internal overflow possibilities.
4470 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4471 Rearrange calculations to avoid internal overflow possibilities.
4472 Assert that number fits inside MPNSIZE limbs.
4473 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4474 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4475 calculations and add assertions to avoid internal overflow
4476 possibilities. Add casts to avoid signed/unsigned operations.
4477 * stdlib/tst-strtod-overflow.c: New file.
4478 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4479
1f529f7d
MP
44802012-08-25 Marek Polacek <polacek@redhat.com>
4481
4482 * time/time.h: Fix some typos in comments.
4483
59a629f1
RM
44842012-08-23 Roland McGrath <roland@hack.frob.com>
4485
4486 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4487 * posix/tst-rfc3484-2.c: Likewise.
4488 * posix/tst-rfc3484-3.c: Likewise.
4489
d3bafbc9
SM
44902012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4491
4492 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4493 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4494
4efcc022
JM
44952012-08-23 Joseph Myers <joseph@codesourcery.com>
4496
4497 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4498 #include of fxstatat64.c.
4499
3cc3ef96
RM
45002012-08-22 Roland McGrath <roland@hack.frob.com>
4501
f04e2132
RM
4502 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4503 * shadow/getspent_r.c: Likewise.
4504 * shadow/getspnam.c: Likewise.
4505 * shadow/getspnam_r.c: Likewise.
4506 * gshadow/getsgent.c: Likewise.
4507 * gshadow/getsgent_r.c: Likewise.
4508 * gshadow/getsgnam.c: Likewise.
4509 * gshadow/getsgnam_r.c: Likewise.
4510 * inet/getnetbyad.c: Likewise.
4511 * inet/getnetbyad_r.c: Likewise.
4512 * inet/getnetbynm.c: Likewise.
4513 * inet/getnetbynm_r.c: Likewise.
4514 * inet/getnetent.c: Likewise.
4515 * inet/getnetent_r.c: Likewise.
4516 * inet/getproto.c: Likewise.
4517 * inet/getproto_r.c: Likewise.
4518 * inet/getprtent.c: Likewise.
4519 * inet/getprtent_r.c: Likewise.
4520 * inet/getprtname.c: Likewise.
4521 * inet/getprtname_r.c: Likewise.
4522 * inet/getrpcbyname.c: Likewise.
4523 * inet/getrpcbyname_r.c: Likewise.
4524 * inet/getrpcbynumber.c: Likewise.
4525 * inet/getrpcbynumber_r.c: Likewise.
4526 * inet/getrpcent.c: Likewise.
4527 * inet/getrpcent_r.c: Likewise.
4528 * inet/getaliasent.c: Likewise.
4529 * inet/getaliasent_r.c: Likewise.
4530 * inet/getaliasname.c: Likewise.
4531 * inet/getaliasname_r.c: Likewise.
4532 * nscd/getgrgid_r.c: Likewise.
4533 * nscd/getgrnam_r.c: Likewise.
4534 * nscd/gethstbyad_r.c: Likewise.
4535 * nscd/gethstbynm3_r.c: Likewise.
4536 * nscd/getpwnam_r.c: Likewise.
4537 * nscd/getpwuid_r.c: Likewise.
4538 * nscd/getsrvbynm_r.c: Likewise.
4539 * nscd/getsrvbypt_r.c: Likewise.
4540 * nscd/gai.c: Likewise.
4541
c53d909c
RM
4542 * configure.in (build_nscd): New substituted variable, set
4543 by --disable-build-nscd and defaults to $use_nscd.
4544 * configure: Regenerated.
4545 * config.make.in (build-nscd): New substituted variable.
4546 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4547 Change conditional to require [$(build-nscd) = yes] as well.
4548 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4549
3cc3ef96
RM
4550 [BZ# 13696]
4551 * configure.in (use_nscd): New substituted variable, set by
4552 --disable-nscd. If enabled, define USE_NSCD.
4553 * configure: Regenerated.
4554 * config.h.in: Add USE_NSCD.
4555 * config.make.in (use-nscd): New substituted variable.
4556 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4557 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4558 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4559 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4560 (CFLAGS-getgrnam_r.c): Likewise.
4561 (CFLAGS-initgroups.c): Likewise.
4562 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4563 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4564 Variables removed.
4565 * inet/getnetgrent_r.c
4566 (nscd_setnetgrent): New function, broken out of ...
4567 (setnetgrent): ... here. Call it.
4568 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4569 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4570 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4571 * nscd/Makefile (routines, aux): Move definitions after include of
4572 Makeconfig. Conditionalize on [$(use-nscd) != no].
4573 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4574 Conditionalize on [USE_NSCD].
4575 (is_nscd, nscd_init_cb): Likewise.
4576 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4577 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4578 * nss/nss_db/db-init.c: Likewise.
4579 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4580 [USE_NSCD].
4581 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4582 (make_request): Use it.
4583 (cache_valid_p): New function.
4584 (__check_pf): Use it.
4585 * NEWS: Add item for --disable-nscd.
4586
07e51550
DL
45872012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4588
4589 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4590 to support sed >= 4.2.1-20-ga9bf076.
4591 * configure: Regenerated.
4592
35a5b08b
RM
45932012-08-22 Roland McGrath <roland@hack.frob.com>
4594
4595 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4596 Conditionalize whole body on [IREL].
4597
8479f23a
JL
45982012-08-22 Jeff Law <law@redhat.com>
4599
4600 [BZ #14505]
4601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4602 if the family is PF_UNSPEC.
4603
48da0b21
MF
46042012-08-22 Mike Frysinger <vapier@gentoo.org>
4605
4606 * Makerules (lib-version): Rename from V.
4607 (install-lib-nosubdir): Change V to lib-version.
4608
15d0da8c
WS
46092012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4610
4611 [BZ #14252]
4612 * powerpc32/power6/wcschr.c: New file.
4613 * powerpc32/power6/wcscpy.c: New file.
4614 * powerpc32/power6/wcsrchr.c: New file.
4615 * powerpc64/power6/wcschr.c: New file.
4616 * powerpc64/power6/wcscpy.c: New file.
4617 * powerpc64/power6/wcsrchr.c: New file.
4618
bcca0895
MK
46192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4620
4621 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4622 (two_way_short_needle): Use it.
5a4aaa33
RM
4623 * string/strstr.c (AVAILABLE1_USES_J): Define.
4624 * string/strcasestr.c: Likewise.
99677e57
MK
4625
4626 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4627 array references.
4628 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4629
400726de
MK
4630 [BZ #11607]
4631 * NEWS: Add an entry.
4632 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4633 define their defaults.
4634 (two_way_short_needle): Detect end-of-string on-the-fly.
4635 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4636 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4637 * string/bug-strcasestr1.c: New test.
4638 * string/Makefile: Run it.
4639
20a71f2c
MK
46402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4641
4642 [BZ #11607]
4643 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4644 the first character.
4645
21ad0558
RM
46462012-08-21 Roland McGrath <roland@hack.frob.com>
4647
4648 * csu/elf-init.c (__libc_csu_irel): Function removed.
4649 * csu/libc-start.c (apply_irel): New function.
4650 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4651
0e1d9911
JM
46522012-08-21 Joseph Myers <joseph@codesourcery.com>
4653
4654 * sysdeps/unix/sysv/linux/kernel-features.h
4655 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4656 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4657 <kernel-features.h>.
4658 [__NR_fadvise64_64]: Make code unconditional.
4659 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4660 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4661 !__NR_fadvise64_64)]: Likewise.
4662 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4663 !__NR_fadvise64_64))]: Likewise.
4664 [__NR_fadvise64]: Make code unconditional.
4665 [!__NR_fadvise64]: Remove conditional code.
4666 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4667 <kernel-features.h>.
4668 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4669 unconditional.
4670 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4671 conditional code.
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4673 not include <kernel-features.h>.
4674 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4675 unconditional.
4676 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4677 conditional code.
4678 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4679 include <kernel-features.h>.
4680 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4681 unconditional.
4682 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4683 conditional code.
4684
14a50c9d
WS
46852012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4686
4687 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4688 slight instruction rearrangements per scrollpipe analysis.
4689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4690
c0f4faf0
RM
46912012-08-20 Roland McGrath <roland@hack.frob.com>
4692
696da859
RM
4693 * manual/syslog.texi (syslog; vsyslog, closelog):
4694 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4695 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4696
c0f4faf0
RM
4697 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4698 DSOCAPS to match condition on defining it.
4699
348363b2
JM
47002012-08-20 Joseph Myers <joseph@codesourcery.com>
4701
a35cbf28
JM
4702 * sysdeps/unix/sysv/linux/kernel-features.h
4703 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4705 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4706 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4708 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4709 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4711 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4712 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4713
445f7ecd
JM
4714 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4715 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4716
348363b2
JM
4717 * sysdeps/unix/sysv/linux/kernel-features.h
4718 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4719 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4720 unconditional.
4721 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4722 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4723 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4724 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4725 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4726 Make code unconditional.
4727 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4728 (__mmap64) [!__NR_mmap2]: Likewise.
4729 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4730 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4731 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4732 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4733 [__NR_mmap2]: Make code unconditional.
4734 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4735 (__mmap64) [!__NR_mmap2]: Likewise.
4736
bc5bc0e5
AK
47372012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4738
4739 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4740
88d506de
AJ
47412012-08-18 Andreas Jaeger <aj@suse.de>
4742
4743 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4744
493387d2
MF
47452012-08-18 Mike Frysinger <vapier@gentoo.org>
4746
4747 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4748 * include/unistd.h (__have_sock_cloexec): Likewise.
4749 (__have_pipe2): Likewise.
4750 (__have_dup3): Likewise.
4751
a277af22
MF
47522012-08-18 Mike Frysinger <vapier@gentoo.org>
4753
4754 [BZ #9685]
4755 * include/unistd.h (__have_pipe2): Change define into an extern int.
4756 (__have_dup3): Likewise.
4757 * socket/have_sock_cloexec.c: Include fcntl.h.
4758 (__have_pipe2): New variable.
4759 (__have_dup3): Likewise.
4760
fdab8fd3
MF
47612012-08-17 Mike Frysinger <vapier@gentoo.org>
4762
4763 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4764
31035e80
MP
47652012-08-17 Marek Polacek <polacek@redhat.com>
4766
4767 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4768 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4769
3bd9e993
RM
47702012-08-17 Roland McGrath <roland@hack.frob.com>
4771
c91c505f
RM
4772 * configure.in: Add AC_SUBST for sysheaders.
4773 * configure: Regenerated.
4774 * config.make.in (sysheaders): New substituted variable.
4775
7c6f9d53
RM
4776 * sysdeps/unix/mkfifo.c: Moved ...
4777 * sysdeps/posix/mkfifo.c: ... here.
4778 * sysdeps/unix/mkfifoat.c: Moved ...
4779 * sysdeps/posix/mkfifoat.c: ... here.
4780
4781 * sysdeps/unix/utime.c: Moved ...
4782 * sysdeps/posix/utime.c: ... here.
4783
4784 * sysdeps/unix/time.c: Moved ...
4785 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4786 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4787 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4788
4789 * sysdeps/unix/nice.c: Moved ...
4790 * sysdeps/posix/nice.c: ... here.
4791
4792 * sysdeps/unix/alarm.c: Moved ...
4793 * sysdeps/posix/alarm.c: ... here.
4794
3bd9e993
RM
4795 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4796
d1f09384
JL
47972012-08-17 Jeff Law <law@redhat.com>
4798
4799 * intl/Makefile (codeset_mo): New variable.
4800 ($(codeset_mo)): New target.
4801 (tst-codeset.out): Depend on that. Remove explicit rule.
4802 (tst-gettext3.out, tst-gettext5.out): Likewise.
4803 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4804 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4805 * intl/tst-codeset.sh: Remove.
4806 * intl/tst-gettext3.sh: Likewise.
4807 * intl/tst-gettext5.sh: Likewise.
4808
2ae1ae5c
RM
48092012-08-17 Roland McGrath <roland@hack.frob.com>
4810
c31fdb83
RM
4811 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4812 * sysdeps/unix/syscalls.list: ... here.
4813
a0844057
RM
4814 * sysdeps/posix/getaddrinfo.c
4815 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4816 (gaiconf_init, gaiconf_reload): Use them.
4817 [!_STATBUF_ST_NSEC]
4818 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4819 Define using time_t rather than struct timespec.
4820
750c1f2a
RM
4821 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4822 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4823 Macros removed.
4824 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4825 [!NO_THREADS].
4826 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4827 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4828 Likewise.
4829
2ae1ae5c
RM
4830 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4831 __libc_cleanup_push argument.
4832
e66a42f5
RM
4833 * bits/param.h: New file.
4834 * misc/sys/param.h: New file.
4835 * include/sys/param.h: New file.
4836 * misc/Makefile (headers): Add bits/param.h.
4837 * sysdeps/generic/sys/param.h: File removed.
4838 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4839 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4840 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4841 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4842
b7c08a66
RM
4843 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4844 last change.
4845
b2e1c562
RM
4846 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4847 [_IO_MTSAFE_IO].
4848 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4849 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4850 New macros.
4851
c75ccd4c
RM
4852 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4853 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4854 rather than -D_IO_MTSAFE_IO conditionally.
4855 * stdio-common/Makefile (CPPFLAGS): Likewise.
4856 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4857 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4858 Use $(libio-mtsafe).
4859 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4860 of -D_IO_MTSAFE_IO.
4861 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4862 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4863 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4864 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4865 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4866 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4867 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4868 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4869 (CFLAGS-fread_u_chk.c): Likewise.
4870 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4871 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4872 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4873 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4874 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4875 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4876 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4877 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4878 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4879
4880 * libio/Makefile: Test [$(libc-reentrant) = yes]
4881 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4882
4883 * Makeconfig
4884 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4885 * sysdeps/pthread/configure: File removed.
4886 * sysdeps/pthread/Makeconfig: New file.
4887 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4888 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4889
d9195db8
GB
48902012-08-16 Gary Benson <gbenson@redhat.com>
4891
4892 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4893 unmapping the first object in a namespace.
4894
86466cd9
RM
48952012-08-16 Roland McGrath <roland@hack.frob.com>
4896
4897 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4898 (__internal_setnetgrent): ... this. Add internal_function to
4899 definition. Add libc_hidden_def.
4900 (setnetgrent): Update caller.
4901 (internal_endnetgrent): Renamed to ...
4902 (__internal_endnetgrent): ... this. Add internal_function to
4903 definition. Add libc_hidden_def.
4904 (endnetgrent): Update caller.
4905 (internal_getnetgrent_r): Renamed to ...
4906 (__internal_getnetgrent_r): ... this. Add internal_function to
4907 definition. Add libc_hidden_def.
4908 (__getnetgrent_r): Update caller.
4909 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4910
c3c8283c
JM
49112012-08-16 Joseph Myers <joseph@codesourcery.com>
4912
4913 * stdlib/longlong.h: Update from GCC.
4914
db1ee0a8
RM
49152012-08-16 Roland McGrath <roland@hack.frob.com>
4916
4917 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4918 on _QL, which is set by umul_ppmm but never used.
4919 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4920 variables, which are set by GMP macros but never used.
4921 * stdio-common/_itowa.c (_itowa): Likewise.
4922 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4923 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4924
30f69637
CD
49252012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4926
4927 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4928 struct La_sh_regs is not constant.
4929 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4930 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4931 and struct La_sparc64_regs are not constant.
4932
93a78ac4
JM
49332012-08-16 Joseph Myers <joseph@codesourcery.com>
4934
4935 * sysdeps/unix/sysv/linux/kernel-features.h
4936 (__ASSUME_POSIX_TIMERS): Remove.
4937 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4938 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4939 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4940 Make code unconditional.
4941 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4942 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4943 Make code unconditional.
4944 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4945 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4946 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4947 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4948 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4949 Make code unconditional.
4950 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4951 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4952 (__libc_missing_posix_timers): Remove.
4953
dd924cd7
RM
49542012-08-15 Roland McGrath <roland@hack.frob.com>
4955
4b4f2771
RM
4956 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4957 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4958
601c888b
RM
4959 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4960
176790a7
RM
4961 * elf/dl-sym.c: Include <stdlib.h>.
4962
329bc018
RM
4963 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4964 constants, which avoids warnings in 32-bit builds.
4965
e04e272d
RM
4966 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4967 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4968
952bf94a
RM
4969 * misc/lseek.c: File moved to ...
4970 * io/lseek.c: ... here.
4971
7c99b50a
RM
4972 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4973
dd924cd7
RM
4974 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4975 shifting LEN more than 31 bits at once.
4976
b3f479a8
LD
49772012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4978
4979 [BZ #14195]
8c4ae0d4
RM
4980 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4981 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4982 * string/test-strncasecmp.c (check1): Renamed to...
4983 (bz12205): ...this.
4984 (bz14195): Add new testcase for two empty input strings and N > 0.
4985 (test_main): Call new testcase, adapt for renamed function.
4986
9c55864e
AJ
49872012-08-15 Andreas Jaeger <aj@suse.de>
4988
4989 [BZ #14090]
4990 * crypt/md5test2.c: New test, based on test supplied by Serge
4991 Belyshev <belyshev@depni.sinp.msu.ru>.
4992 * crypt/Makefile (xtests): Add md5test-giant..
4993 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4994
02dcb6c5
PE
49952012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4996
4997 [BZ #14090]
4998 * crypt/md5.c (md5_process_block): Don't assume the buffer
4999 length is less than 2**32.
5000 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5001 length is less than 2**64.
5002
a3f95dcc
RM
50032012-08-15 Roland McGrath <roland@hack.frob.com>
5004
be75d758
RM
5005 * string/str-two-way.h: Include <sys/param.h>.
5006 (MAX): Macro removed.
5007
7312ca90
RM
5008 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5009 Move #define and #undef of memmove to just before and after
5010 including <string.h>.
5011
9a0a5486
RM
5012 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5013 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5014 and after including <string.h>. Move declarations of
5015 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5016 to before #include "string/memmove.c".
5017
67cc348d
RM
5018 * include/dirent.h: Declare __getdirentries.
5019
a3f95dcc
RM
5020 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5021 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5022
ca98e171
MF
50232012-08-14 Mike Frysinger <vapier@gentoo.org>
5024
5025 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5026 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5027 * sysdeps/i386/configure: Regenerated.
5028 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5029 STABS_CURRENT_FILE, and STABS_FUN.
5030 (END): Remove call to STABS_FUN_END.
5031 (STABS_CURRENT_FILE1): Delete.
5032 (STABS_CURRENT_FILE): Likewise.
5033 (STABS_FUN): Likewise.
5034 (STABS_FUN_END): Likewise.
5035 (STABS_FUN2): Likewise.
5036 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5037 * sysdeps/x86_64/configure: Regenerated.
5038
5908bf46
RM
50392012-08-14 Roland McGrath <roland@hack.frob.com>
5040
5041 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5042 * elf/dl-lookup.c: Likewise.
5908bf46 5043
f2c05b9e
JM
50442012-08-14 Joseph Myers <joseph@codesourcery.com>
5045
5046 * sysdeps/unix/sysv/linux/kernel-features.h
5047 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5048 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5049 unconditionally.
5050 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5051 unconditionally.
5052 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5053 condition on __ASSUME_CLONE_THREAD_FLAGS.
5054
e11f5155
AJ
50552012-08-14 Andreas Jaeger <aj@suse.de>
5056
5057 * sysdeps/i386/fpu/libm-test-ulps: Update.
5058
51a9ba86
MK
50592012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5060
2fdd4f78
AJ
5061 * include/atomic.h (atomic_exchange_and_add): Split into ...
5062 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5063 New atomic macros.
51a9ba86 5064
ba6cba9e
MT
50652012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5066
5067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5068
42443a47
JL
50692012-08-13 Jeff Law <law@redhat.com>
5070
5071 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5072 null byte in the output string.
5073
121dce05
JM
50742012-08-10 Joseph Myers <joseph@codesourcery.com>
5075
5076 * sysdeps/unix/sysv/linux/kernel-features.h
5077 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5078 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5079 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5080 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5081 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5082 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5083 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5084
bf51f568
JL
50852012-08-09 Jeff Law <law@redhat.com>
5086
5087 [BZ #13939]
5088 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5089 When avoid_arena is set, don't retry in the that arena. Pick the
5090 next one, whatever it might be.
5091 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5092 (arena_lock): Pass in new parameter to arena_get2.
5093 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5094 arena_get2.
5095 (__libc_malloc): Unify retrying after main arena failure with
5096 __libc_memalign version.
5097 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5098
f85fa270
L
50992012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5100
5101 [BZ #14166]
5102 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5103 to __redirect_strstr.
5104 (__strstr_sse42): Use typeof __redirect_strstr.
5105 (__strstr_ia32): Likewise.
5106 (__libc_strstr): New prototype.
5107 (strstr): Renamed to ...
5108 (__libc_strstr): This.
5109 (strstr): New strong alias of __libc_strstr.
5110 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5111 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5112 __redirect_time.
5113 Include <time.h>.
5114 (__libc_time): New prototype.
5115 (time_ifunc): Replace time with __libc_time.
5116 (time): New strong alias and hidden definition of __libc_time.
5117 (__GI_time): Remove strong alias.
5118 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5119 Include <stddef.h>.
5120 (memmove): Redefined to __redirect_memmove.
5121 (__memmove_sse2): Use typeof __redirect_memmove.
5122 (__memmove_ssse3): Likewise.
5123 (__memmove_ssse3_back): Likewise.
5124 (__libc_memmove): New prototype.
5125 (memmove): Renamed to ...
5126 (__libc_memmove): This.
5127 (memmove): New strong alias of __libc_memmove.
5128
33b4a91e
MS
51292012-08-08 Mark Salter <msalter@redhat.com>
5130
5131 * elf/elf.h
5132 (R_MN10300_TLS_GD): Define.
5133 (R_MN10300_TLS_LD): Likewise.
5134 (R_MN10300_TLS_LDO): Likewise.
5135 (R_MN10300_TLS_GOTIE): Likewise.
5136 (R_MN10300_TLS_IE): Likewise.
5137 (R_MN10300_TLS_LE): Likewise.
5138 (R_MN10300_TLS_DTPMOD): Likewise.
5139 (R_MN10300_TLS_DTPOFF): Likewise.
5140 (R_MN10300_TLS_TPOFF): Likewise.
5141 (R_MN10300_SYM_DIFF): Likewise.
5142 (R_MN10300_ALIGN): Likewise.
5143 (R_MN10300_NUM): Update.
5144
b36137f1
JM
51452012-08-08 Joseph Myers <joseph@codesourcery.com>
5146
5147 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5148 Remove.
5149
cdd915fd
RM
51502012-08-08 Roland McGrath <roland@hack.frob.com>
5151
a2433aac
RM
5152 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5153
cdd915fd
RM
5154 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5155 sysdeps/unix -> sysdeps/posix move.
5156 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5157
bf9b740a
AM
51582012-08-07 Allan McRae <allan@archlinux.org>
5159
5160 [BZ #14303]
5161 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5162 (SUNOS_CPP): Likewise.
5163 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5164 not found.
5165 (open_input): Call CPP using execvp.
5166
93df14ee
JM
51672012-08-07 Joseph Myers <joseph@codesourcery.com>
5168
5169 * sysdeps/unix/sysv/linux/kernel-features.h
5170 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5171 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5172 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5173 (__ASSUME_WAITID_SYSCALL): Likewise.
5174 * sysdeps/unix/sysv/linux/dl-execstack.c
5175 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5176 code unconditional.
5177 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5178 conditional code.
5179 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5180 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5181 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5182 code.
5183 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5184 unconditional.
5185 [__ASSUME_WAITID_SYSCALL]: Likewise.
5186 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5187
d34689de
RM
51882012-08-07 Roland McGrath <roland@hack.frob.com>
5189
a281decc
RM
5190 * sysdeps/unix/closedir.c: Renamed to ...
5191 * sysdeps/posix/closedir.c: ... here.
5192 * sysdeps/unix/dirfd.c: Renamed to ...
5193 * sysdeps/posix/dirfd.c: ... here.
5194 * sysdeps/unix/dirstream.h: Renamed to ...
5195 * sysdeps/posix/dirstream.h: ... here.
5196 * sysdeps/unix/fdopendir.c: Renamed to ...
5197 * sysdeps/posix/fdopendir.c: ... here.
5198 * sysdeps/unix/opendir.c: Renamed to ...
5199 * sysdeps/posix/opendir.c: ... here.
5200 * sysdeps/unix/readdir.c: Renamed to ...
5201 * sysdeps/posix/readdir.c: ... here.
5202 * sysdeps/unix/readdir_r.c: Renamed to ...
5203 * sysdeps/posix/readdir_r.c: ... here.
5204 * sysdeps/unix/rewinddir.c: Renamed to ...
5205 * sysdeps/posix/rewinddir.c: ... here.
5206 * sysdeps/unix/seekdir.c: Renamed to ...
5207 * sysdeps/posix/seekdir.c: ... here.
5208 * sysdeps/unix/telldir.c: Renamed to ...
5209 * sysdeps/posix/telldir.c: ... here.
5210 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5211 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5212 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5213 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5214
22895b47
RM
5215 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5216 * bits/fcntl.h: ... here.
5217
707a53b6
RM
5218 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5219 not 0.
5220 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5221 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5222 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5223 (struct flock): Move l_start, l_len to the beginning.
5224 Use __pid_t for l_pid.
5225 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5226 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5227 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5228 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5229 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5230 [__USE_LARGEFILE64] (struct flock64): New type.
5231 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5232
f0bd3e25
RM
5233 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5234 * bits/dirent.h: ... here.
5235
d34689de
RM
5236 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5237 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5238
6dad2c06
JM
52392012-08-07 Joseph Myers <joseph@codesourcery.com>
5240
5241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5242 Change from 2.6.0 to 2.6.16.
5243 * sysdeps/unix/sysv/linux/configure: Regenerated.
5244 * sysdeps/unix/sysv/linux/kernel-features.h
5245 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5246 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5247 version.
5248 (__ASSUME_UTIMES): Likewise.
5249 (__ASSUME_CLONE_STOPPED): Remove.
5250 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5251 architectures, not kernel version.
5252 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5253 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5254 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5255 (__ASSUME_WAITID_SYSCALL): Likewise.
5256 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5257 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5258 * README: State 2.6.16 as minimum Linux kernel version. Do not
5259 refer to older versions.
5260
03af9520
RM
52612012-08-06 Roland McGrath <roland@hack.frob.com>
5262
8e49df1d
RM
5263 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5264 Define alphasort64 as an alias.
5265 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5266 Define versionsort64 as an alias.
5267 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5268 Define scandir64 as an alias.
5269 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5270 Define scandirat64 as an alias.
5271 * dirent/alphasort64.c (alphasort64):
5272 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5273 * dirent/versionsort64.c: Likewise.
5274 * dirent/scandir64.c: Likewise.
5275 * dirent/scandirat64.c: Likewise.
5276 * sysdeps/wordsize-64/alphasort.c: File removed.
5277 * sysdeps/wordsize-64/alphasort64.c: File removed.
5278 * sysdeps/wordsize-64/scandir.c: File removed.
5279 * sysdeps/wordsize-64/scandir64.c: File removed.
5280 * sysdeps/wordsize-64/scandirat.c: File removed.
5281 * sysdeps/wordsize-64/scandirat64.c: File removed.
5282 * sysdeps/wordsize-64/versionsort.c: File removed.
5283 * sysdeps/wordsize-64/versionsort64.c: File removed.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5290 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5291 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5292
5293 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5295 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5296 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5297 [defined __arch64__ || defined __sparcv9]
5298 (__INO_T_MATCHES_INO64_T): New macro.
5299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5300 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5301 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5302 * sysdeps/unix/sysv/linux/bits/dirent.h
5303 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5304 (_DIRENT_MATCHES_DIRENT64): New macro.
5305
03af9520
RM
5306 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5307 Define lockf64 as an alias.
5308 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5309 Define fseeko64 as an alias.
5310 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5311 Define ftello64 as an alias.
5312 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5313 Define _IO_fgetpos64 and fgetpos64 as aliases.
5314 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5315 Define _IO_fsetpos64 and fsetpos64 as aliases.
5316 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5317 Conditionalize body on this.
5318 * libio/fseeko64.c: Likewise.
5319 * libio/ftello64.c: Likewise.
5320 * libio/iofgetpos64.c: Likewise.
5321 * libio/iofsetpos64.c: Likewise.
5322 * sysdeps/wordsize-64/lockf.c: File removed.
5323 * sysdeps/wordsize-64/lockf64.c: File removed.
5324 * sysdeps/wordsize-64/fseeko.c: File removed.
5325 * sysdeps/wordsize-64/fseeko64.c: File removed.
5326 * sysdeps/wordsize-64/ftello.c: File removed.
5327 * sysdeps/wordsize-64/ftello64.c: File removed.
5328 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5329 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5330 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5331 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5332 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5333 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5334 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5335 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5336 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5337 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5338 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5339 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5340 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5341 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5342
5343 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5345 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5347 [defined __arch64__ || defined __sparcv9]
5348 (__OFF_T_MATCHES_OFF64_T): New macro.
5349 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5350 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5352 (__OFF_T_MATCHES_OFF64_T): New macro.
5353
c5757acd
L
53542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5355
5356 * stdlib/secure-getenv.c (__secure_getenv): Replace
5357 GLIBC_2_16 with GLIBC_2_17.
5358
3a31811e
L
53592012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5360
5361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5362 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5363
faa2bccb
DM
53642012-08-03 David S. Miller <davem@davemloft.net>
5365
5366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5367
85fe1997
JM
53682012-08-03 Joseph Myers <joseph@codesourcery.com>
5369
5370 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5371 Remove.
5372 (__ASSUME_CORRECT_SI_PID): Likewise.
5373 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5374 (__ASSUME_TMPFS_NAME): Likewise.
5375 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5376 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5377 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5378 (HAVE_AUX_SECURE): Make definition unconditional.
5379 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5380 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5381
4f75b7a0
RM
53822012-08-03 Roland McGrath <roland@hack.frob.com>
5383
5384 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5385 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5386 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5387 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5388 __eloop_threshold instead of SYMLOOP_MAX.
5389
5390 * sysdeps/generic/eloop-threshold.h: New file.
5391 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5392 of MAXSYMLINKS.
5393 * elf/chroot_canon.c (chroot_canon): Likewise.
5394
7aab07e4
JM
53952012-08-03 Joseph Myers <joseph@codesourcery.com>
5396
5397 [BZ #13717]
5398 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5399 Change to 2.6.0 everywhere.
5400 * sysdeps/unix/sysv/linux/configure: Regenerated.
5401 * sysdeps/unix/sysv/linux/kernel-features.h
5402 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5403 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5404 kernel versions.
5405 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5406 (__ASSUME_FUTEX_REQUEUE): Remove.
5407 (__ASSUME_STATFS64): Define unconditionally.
5408 (__ASSUME_AT_SECURE): Likewise.
5409 (__ASSUME_CORRECT_SI_PID): Likewise.
5410 (__ASSUME_TGKILL): Define without depending on kernel version for
5411 i386.
5412 (__ASSUME_UTIMES): Likewise.
5413 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5414 kernel version.
5415 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5416 (__ASSUME_TMPFS_NAME): Likewise.
5417 * README: Update reference to Linux kernel versions.
5418
b67e9372
MP
54192012-08-02 Marek Polacek <polacek@redhat.com>
5420
1f529f7d 5421 [BZ# 14150]
b67e9372
MP
5422 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5423 libc_cv_asm_type_prefix with %.
5424 * configure: Regenerated.
d2441631
RM
5425 * include/libc-symbols.h: Remove comment about
5426 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5427 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5428 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5429 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5430 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5431 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5432 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5433 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5434 * elf/tst-unique2mod1.c: Likewise.
5435 * elf/tst-unique1mod2.c: Likewise.
5436 * elf/tst-unique1mod1.c: Likewise.
5437 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5438 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5439 Replace ASM_TYPE_DIRECTIVE with .type.
5440 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5441 * sysdeps/i386/sysdep.h: Likewise.
5442 * sysdeps/x86_64/sysdep.h: Likewise.
5443 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5445 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5446 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5447 * sysdeps/powerpc/powerpc32/sysdep.h:
5448 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5449 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5450 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5451 * sysdeps/i386/fpu/e_powf.S: Likewise.
5452 * sysdeps/i386/fpu/e_expl.S: Likewise.
5453 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5454 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5455 * sysdeps/i386/fpu/e_pow.S: Likewise.
5456 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5457 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5458 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5459 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5460 * sysdeps/i386/fpu/e_log2.S: Likewise.
5461 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5463 * sysdeps/i386/fpu/e_powl.S: Likewise.
5464 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5465 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5466 * sysdeps/i386/fpu/e_logl.S: Likewise.
5467 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5468 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5469 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5470 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5472 * sysdeps/i386/fpu/e_log.S: Likewise.
5473 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5474 * sysdeps/i386/fpu/e_logf.S: Likewise.
5475 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5476 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5477 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5478 * sysdeps/i386/fpu/e_log10.S: Likewise.
5479 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5481 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5482 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5483 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5484 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5485 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5486 * sysdeps/i386/i686/strtok.S: Likewise.
5487 * sysdeps/i386/i386-mcount.S: Likewise.
5488 * sysdeps/i386/strtok.S: Likewise.
5489 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5490 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5491 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5492 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5493 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5494 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5495 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5496 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5497 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5498 * sysdeps/x86_64/_mcount.S: Likewise.
5499 * sysdeps/x86_64/strtok.S: Likewise.
5500 * sysdeps/sh/_mcount.S: Likewise.
5501
2747bf9a
RM
55022012-08-01 Roland McGrath <roland@hack.frob.com>
5503
5504 * libio/iofopen.c: Include <fcntl.h>.
5505 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5506 (_IO_fopen64, fopen64): Define as aliases.
5507 * libio/iofopen64.c: Include <fcntl.h>.
5508 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5509 Conditionalize body on this.
5510 * sysdeps/wordsize-64/iofopen.c: File removed.
5511 * sysdeps/wordsize-64/iofopen64.c: File removed.
5512
3fb791b8
MP
55132012-08-01 Marek Polacek <polacek@redhat.com>
5514
5515 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5516 Use dlfcn directly instead of a variable.
5517 (binfmt-subdir): Do not define.
5518 (dlfcn): Likewise.
5519
a9f1039f
JM
55202012-08-01 Joseph Myers <joseph@codesourcery.com>
5521
23bddc06
JM
5522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5523 Remove all definitions.
5524 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5525 <kernel-features.h>.
5526 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5527 (miss_F_GETOWN_EX): Remove all definitions.
5528 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5529 macro definition.
5530 [!__ASSUME_FCNTL64]: Remove conditional code.
5531 [__ASSUME_FCNTL64]: Make code unconditional.
5532 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5533 <kernel-features.h>.
5534 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5535 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5536 (lockf64) [__NR_fcntl64]: Make code unconditional.
5537 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5538
a9f1039f
JM
5539 * sysdeps/unix/sysv/linux/kernel-features.h
5540 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5541 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5542 Make code unconditional.
5543 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5544 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5546 [__NR_vfork]: Make code unconditional.
5547 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5548 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5550 [__NR_vfork]: Make code unconditional.
5551 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5552 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5553
09c0ee5f
RM
55542012-08-01 Roland McGrath <roland@hack.frob.com>
5555
48aec5b9
RM
5556 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5557 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5558
cd97c966
RM
5559 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5560 Define mkstemp64 as an alias.
3f55550c
RM
5561 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5562 Define mkstemps64 as an alias.
cd97c966
RM
5563 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5564 Define mkostemp64 as an alias.
b8625cfc
RM
5565 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5566 Define mkostemps64 as an alias.
cd97c966
RM
5567 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5568 Conditionalize body on this.
5569 * misc/mkostemp64.c: Likewise.
b8625cfc 5570 * misc/mkostemps64.c: Likewise.
3f55550c 5571 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5572 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5573 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5574 * sysdeps/wordsize-64/mkostemp.c: File removed.
5575 * sysdeps/wordsize-64/mkstemp.c: File removed.
5576 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5577 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5578 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5579 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5580
09c0ee5f
RM
5581 [BZ #14138]
5582 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5583 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5584 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5585 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5586
5587 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5588 compat_symbol macros from <shlib-compat.h> rather than the underlying
5589 default_symbol_version and symbol_version macros, so that DEFAULT
5590 lines in shlib-versions are respected.
5591 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5592
7e66ee51
FW
55932012-08-01 Florian Weimer <fweimer@redhat.com>
5594
5595 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5596 Declare with warn_unused_result.
5597 (setgid, setregid, setegid, setresgid): Likewise.
5598 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5599 Likewise.
5600 * WUR-REPORT: Remove set*id functions.
5601
d2a54255
PT
56022012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5603
5604 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5605
7ecdb005
RM
56062012-07-31 Roland McGrath <roland@hack.frob.com>
5607
789bd351
RM
5608 * include/sys/socket.h (__libc_accept, __libc_accept4):
5609 Add attribute_hidden.
5610 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5611
40ce302d
RM
5612 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5613 use of PTR_MANGLE.
5614 * inet/getnetgrent_r.c (setup): Likewise.
5615
7ecdb005
RM
5616 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5617
e2eabb2c
DM
56182012-07-31 David S. Miller <davem@davemloft.net>
5619
5620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5621
d0419dbf
JM
56222012-07-31 Joseph Myers <joseph@codesourcery.com>
5623
5624 [BZ #13629]
5625 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5626 value between 1.0 and 2.0 and smaller part has absolute value less
5627 than 1.0.
5628 * math/s_clog10.c (__clog10): Likewise.
5629 * math/s_clog10f.c (__clog10f): Likewise.
5630 * math/s_clog10l.c (__clog10l): Likewise.
5631 * math/s_clogf.c (__clogf): Likewise.
5632 * math/s_clogl.c (__clogl): Likewise.
5633 * math/libm-test.inc (clog_test): Add more tests.
5634 (clog10_test): Likewise.
5635 * sysdeps/i386/fpu/libm-test-ulps: Update.
5636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5637
2bc13872
FW
56382012-07-31 Florian Weimer <fweimer@redhat.com>
5639
5640 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5641 Exit with zero in case no suitable GID is found, and write a
5642 message to standard error.
5643
bea9b193
RM
56442012-07-30 Roland McGrath <roland@hack.frob.com>
5645
5646 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5647 rather than to 1.
5648 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5649 (MAXPATHLEN): Removed.
5650 (NOGROUP, NODEV): New macros.
5651 (setbit, clrbit, isset, isclr): New macros.
5652 (howmany, roundup, powerof2): New macros.
5653 (DEV_BSIZE): New macro.
5654
5655 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5656 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5657
5658 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5659 definition on [!__NO_LONG_DOUBLE_MATH].
5660
5661 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5662 PTR_MANGLE and PTR_DEMANGLE.
5663
5664 * socket/accept4.c (accept4): Rename to __libc_accept4.
5665 Define accept4 as a weak alias.
5666
5667 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5668 on [_DIRENT_HAVE_D_TYPE].
5669 * io/ftw.c (ftw_dir): Likewise.
5670
5671 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5672
5673 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5674
5675 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5676 Use the BSD numbers rather than the arbitrary ones we had.
5677 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5678 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5679 (SIGXCPU, SIGXFSZ): New macros.
5680 (_NSIG): Now 32.
5681
5682 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5683 initializer on [_LIBC_REENTRANT].
5684
5685 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5686 definitions inside [_POSIX_MAPPED_FILES].
5687
5688 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5689
5690 * dirent/opendir.c: Include <fcntl.h>.
5691
5692 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5693 (__libc_getspecific): Likewise.
5694 (__libc_key_create): Likewise.
5695
5696 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5697 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5698 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5699 (tmpfile64): Define as alias.
5700 * sysdeps/wordsize-64/tmpfile.c: File removed.
5701 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5702 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5703 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5704
5705 * stdio-common/vfscanf.c: Include <stdbool.h>.
5706 * nss/makedb.c: Likewise.
5707 * stdio-common/_i18n_number.h: Likewise.
5708 * argp/argp-help.c: Likewise.
5709 * posix/wordexp.c: Likewise.
5710 * sysdeps/posix/spawni.c: Likewise.
5711 * nss/nss_files/files-initgroups.c: Likewise.
5712 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5713 * nss/nss_files/files-initgroups.c: Likewise.
5714 * nss/nss_db/db-netgrp.c: Likewise.
5715 * nss/nss_db/db-initgroups.c: Likewise.
5716 * io/fchmodat.c: Include <sys/stat.h>.
5717
5718 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5719 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5720
5721 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5722 [HAVE_MMAP].
5723
5724 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5725 Add multiple inclusion protection.
5726
e5abc686
DM
57272012-07-27 David S. Miller <davem@davemloft.net>
5728
5729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5730
815e6fa3
GB
57312012-07-27 Gary Benson <gbenson@redhat.com>
5732
5733 [BZ #14298]
5734 * elf/rtld.c: Include <stap-probe.h>.
5735 (dl_main): Added static probes "init_start" and "init_complete".
5736 * elf/dl-load.c: Include <stap-probe.h>.
5737 (lose): Take new parameter "nsid".
5738 Added static probe "map_failed".
5739 (_dl_map_object_from_fd): Pass namespace id to lose.
5740 Added static probe "map_start".
5741 (open_verify): Pass namespace id to lose.
5742 * elf/dl-open.c: Include <stap-probe.h>.
5743 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5744 and "reloc_complete".
5745 * elf/dl-close.c: Include <stap-probe.h>.
5746 (_dl_close_worker): Added static probes "unmap_start" and
5747 "unmap_complete".
5748 * elf/rtld-debugger-interface.txt: New file documenting the above.
5749
9f98c16c
RM
57502012-07-26 Roland McGrath <roland@hack.frob.com>
5751
5752 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5753 rather than a string variable.
5754 * sunrpc/rpc_main.c (h_output): Likewise.
5755 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5756
f3c22df3
PT
57572012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5758
5759 * inet/check_native.c: New file.
5760
3129cfc6
JM
57612012-07-26 Joseph Myers <joseph@codesourcery.com>
5762
da865e95
JM
5763 [BZ #13629]
5764 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5765 if larger part has absolute value 1.0.
5766 * math/s_clog10.c (__clog10): Likewise.
5767 * math/s_clog10f.c (__clog10f): Likewise.
5768 * math/s_clog10l.c (__clog10l): Likewise.
5769 * math/s_clogf.c (__clogf): Likewise.
5770 * math/s_clogl.c (__clogl): Likewise.
5771 * math/libm-test.inc (clog_test): Add more tests.
5772 (clog10_test): Likewise.
5773 * sysdeps/i386/fpu/libm-test-ulps: Update.
5774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5775
3129cfc6
JM
5776 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5777 (pltexit): Likewise.
5778 (La_regs): Likewise.
5779 (La_retval): Likewise.
5780 (int_retval): Likewise.
5781 Update #error for removed macros to refer only to definitions in
5782 tst-audit.h.
5783 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5784 macro.
5785 (pltexit): Likewise.
5786 (La_regs): Likewise.
5787 (La_retval): Likewise.
5788 (int_retval): Likewise.
5789 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5790 macro.
5791 (pltexit): Likewise.
5792 (La_regs): Likewise.
5793 (La_retval): Likewise.
5794 (int_retval): Likewise.
5795 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5796 macro.
5797 (pltexit): Likewise.
5798 (La_regs): Likewise.
5799 (La_retval): Likewise.
5800 (int_retval): Likewise.
5801 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5802 macro.
5803 (pltexit): Likewise.
5804 (La_regs): Likewise.
5805 (La_retval): Likewise.
5806 (int_retval): Likewise.
5807 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5808 macro.
5809 (pltexit): Likewise.
5810 (La_regs): Likewise.
5811 (La_retval): Likewise.
5812 (int_retval): Likewise.
5813 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5814 macro.
5815 (pltexit): Likewise.
5816 (La_regs): Likewise.
5817 (La_retval): Likewise.
5818 (int_retval): Likewise.
5819 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5820 macro definitions in tst-audit.h.
5821 * sysdeps/i386/tst-audit.h: New file.
5822 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5823 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5824 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5825 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5826 * sysdeps/sh/tst-audit.h: Likewise.
5827 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5828 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5829 * sysdeps/x86_64/tst-audit.h: Likewise.
5830
bfc07087
AJ
58312012-07-26 Andreas Jaeger <aj@suse.de>
5832
b1b2aaf8
AJ
5833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5834 ptrace.
5835
5836 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5837 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5838 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5839 PTRACE_O_MASK.
5840 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5841 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5842 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5843
bfc07087
AJ
5844 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5845 value.
5846
5847 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5848 _sigsys.
5849 (si_call_addr, si_syscall, si_arch): Define new macro.
5850 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5851 _sigsys.
5852 (si_call_addr, si_syscall, si_arch): Define new marcro.
5853 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5854 _sigsys.
5855 (si_call_addr, si_syscall, si_arch): Define new macro.
5856 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5857 _sigsys.
5858 (si_call_addr, si_syscall, si_arch): Define new macro.
5859
89b4b02f
JM
58602012-07-25 Joseph Myers <joseph@codesourcery.com>
5861
5862 [BZ #13717]
5863 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5864 Change to 2.4.21 where previously 2.4.1.
5865 * sysdeps/unix/sysv/linux/configure: Regenerated.
5866 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5867 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5868 Linux kernel version.
5869 (__ASSUME_STD_AUXV): Remove.
5870 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5871 kernel version.
5872 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5873 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5874 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5875 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5876 (__ASSUME_NETLINK_SUPPORT): Likewise.
5877 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5878 (__no_netlink_support): Remove conditional definition.
5879 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5880 Remove.
5881 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5882 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5883 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5884 (if_nameindex_ioctl): Remove.
5885 (if_nameindex_netlink): Do not handle __no_netlink_support.
5886 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5887 code.
5888 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5889 Remove conditional code.
5890 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5891 code.
5892 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5893 unconditional.
5894 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5895 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5896 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5897 Remove.
5898 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5899 [!__ASSUME_STD_AUXV]: Remove conditional code.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5901 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5902 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5904 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5905 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5906 code.
5907 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5909 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5910 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5911 conditional code.
5912 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5914 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5915 code.
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5917 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5918 conditional code.
5919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5920 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5921 code unconditional.
5922 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5923 conditional code.
5924 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5925 unconditional.
5926 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5927 conditional code.
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5929 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5930 unconditional.
5931 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5932 conditional code.
5933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5934 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5935 code unconditional.
5936 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5937 conditional code.
5938 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5939 unconditional.
5940 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5941 conditional code.
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5943 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5944 code unconditional.
5945 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5946 conditional code.
5947 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5948 unconditional.
5949 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5950 conditional code.
5951
842a39cd
AS
59522012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5953
5954 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5955 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5956 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5957 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5958 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5959 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5960 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5961 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5962 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5963 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5964 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5965 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5966 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5967 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5968 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5969 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5970 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5971 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5972 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5974 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5975 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5976 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5977
84b3fd84
FW
59782012-07-25 Florian Weimer <fweimer@redhat.com>
5979
5980 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5981 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5982 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5983 Introduce __libc_secure_getenv.
0c7936d5
FW
5984 * stdlib/Versions (2.17): Add secure_getenv
5985 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5986 * stdlib/secure-getenv.c: Rename __secure_getenv to
5987 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5988 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5989 * stdlib/tst-secure-getenv.c: New.
5990 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5991 * manual/startup.texi (Environment Access): Document
5992 secure_getenv.
84b3fd84
FW
5993 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5994 __libc_secure_getenv.
5995 * inet/ruserpass.c (ruserpass): Likewise.
5996 * malloc/mtrace.c (mtrace): Likewise.
5997 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5998 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5999 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6000 * sysdeps/posix/tempname.c: Likewise. Evaluate
6001 HAVE_SECURE_GETENV.
6002 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6003 __secure_getenv to __libc_secure_getenv.
84b3fd84 6004 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6006 Likewise.
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6008 Likewise.
6009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6016
56e49b71
JM
60172012-07-25 Joseph Myers <joseph@codesourcery.com>
6018
6019 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6020 (struct La_i86_retval): Likewise.
6021 (struct La_x86_64_regs): Likewise.
6022 (struct La_x86_64_retval): Likewise.
6023 (struct La_x32_regs): Likewise.
6024 (struct La_x32_retval): Likewise.
6025 (struct La_ppc32_regs): Likewise.
6026 (struct La_ppc32_retval): Likewise.
6027 (struct La_ppc64_regs): Likewise.
6028 (struct La_ppc64_retval): Likewise.
6029 (struct La_sh_regs): Likewise.
6030 (struct La_sh_retval): Likewise.
6031 (struct La_s390_32_regs): Likewise.
6032 (struct La_s390_32_retval): Likewise.
6033 (struct La_s390_64_regs): Likewise.
6034 (struct La_s390_64_retval): Likewise.
6035 (struct La_sparc32_regs): Likewise.
6036 (struct La_sparc32_retval): Likewise.
6037 (struct La_sparc64_regs): Likewise.
6038 (struct La_sparc64_retval): Likewise.
6039 (struct audit_ifaces): Remove architecture-specific pltenter and
6040 pltexit members.
6041 * sysdeps/i386/ldsodefs.h: New file.
6042 * sysdeps/powerpc/ldsodefs.h: Likewise.
6043 * sysdeps/s390/ldsodefs.h: Likewise.
6044 * sysdeps/sh/ldsodefs.h: Likewise.
6045 * sysdeps/sparc/ldsodefs.h: Likewise.
6046 * sysdeps/x86_64/ldsodefs.h: Likewise.
6047
354691b7
MP
60482012-07-25 Marek Polacek <polacek@redhat.com>
6049
6050 [BZ #6808]
6051 * math/libm-test.inc (yn_test): Add another test.
6052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6053 to ERANGE when the result is +-Inf.
6054 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6055 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6056 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6057 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6058
bf9e2071
JM
60592012-07-24 Joseph Myers <joseph@codesourcery.com>
6060
6061 * conform/data/time.h-data (NULL): Use macro-constant. Require
6062 equal to 0.
6063 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6064 clock_t.
6065 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6066
57633811
TS
60672012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6068
6069 * configure.in <sysdeps resolving>: Correct printing
6070 Implies_before.
6071 * configure: Regenerate.
6072
c23c33b0
TS
60732012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6074
6075 * math/w_ilogb.c: Include <limits.h>.
6076 * math/w_ilogbl.c: Likewise.
6077
b5982523
JM
60782012-07-20 Joseph Myers <joseph@codesourcery.com>
6079
6080 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6081 va_copy. Document allowing for unavailable va_copy only as
6082 pre-C99 compatibility.
6083 * manual/string.texi (Copying and Concatenation): Use va_copy
6084 instead of __va_copy in concat example.
6085
ac4ea442
PT
60862012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6087
6088 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6089 (__sendto): Use create_address_port. Initialize APORT and deallocate
6090 it if not null.
6091
f98eafbd
PT
6092 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6093 with O_NOLINK passed to __file_name_lookup.
6094
898c7aab
PT
6095 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6096 with O_NOLINK passed to __file_name_lookup.
6097
0ced335a
PT
6098 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6099 negative N or less than NGIDS.
6100
b3404dbd
PT
6101 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6102 type to string_t. Set ERANGE as errno and return it if NAME is not big
6103 enough. Use memcpy instead of strncpy.
6104
0f48659e
JM
61052012-07-20 Joseph Myers <joseph@codesourcery.com>
6106
6107 * elf/Makefile (check-data): Remove.
6108 (localplt.data): New vpath directive.
6109 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6110 instead of $(check-data).
6111 * scripts/data/localplt-generic.data: Move to ...
6112 * sysdeps/generic/localplt.data: ... here.
6113 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6114 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6115 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6117 ... here.
6118 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6120 ... here.
6121 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6123 ... here.
6124 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6126 ... here.
6127 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6129 ... here.
6130 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6132 ... here.
6133
d37cbdaa
AZ
61342012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6135
6136 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6137 PPC32 and PPC64 files.
6138 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6139 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6140
46f85fc2
AK
61412012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6142
6143 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6144 __makecontext_ret to ...
6145 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6146 ... here and call exit if uc_link is NULL. New file.
6147 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6148 __makecontext_ret.S.
6149 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6150 __makecontext_ret to ...
6151 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6152 ... here and call exit if uc_link is NULL. New file.
6153 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6154 __makecontext_ret.S.
6155
08f43f9b
AK
61562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6157
6158 * elf/elf.h (R_390_IRELATIVE): New definition.
6159 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6160 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6161 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6162 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6163 (elf_machine_lazy_rel): Likewise.
6164 * sysdeps/s390/dl-irel.h: New file.
6165 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6166 * sysdeps/s390/s390-64/memset.S: New asm code.
6167 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6168 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6169 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6170 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6171 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6172 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6173 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6174 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6175 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6176 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6177 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6178 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6179 * sysdeps/s390/s390-32/memset.S: New asm code.
6180 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6181
3b05db33
MP
61822012-07-17 Marek Polacek <polacek@redhat.com>
6183
6184 [BZ #14349]
6185 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6186 * sysdeps/s390/s390-64/configure.in: Likewise.
6187 * sysdeps/sparc/configure.in: Likewise.
6188 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6189 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6190 * sysdeps/i386/configure.in: Likewise.
6191 * sysdeps/x86_64/configure.in: Likewise.
6192 * sysdeps/sh/configure.in: Likewise.
6193 * sysdeps/s390/s390-32/configure: Regenerated.
6194 * sysdeps/s390/s390-64/configure: Likewise.
6195 * sysdeps/x86_64/configure: Likewise.
6196 * sysdeps/sh/configure: Likewise.
6197 * sysdeps/powerpc/powerpc64/configure: Likewise.
6198 * sysdeps/powerpc/powerpc32/configure: Likewise.
6199 * sysdeps/sparc/configure: Likwise.
6200 * sysdeps/i386/configure: Likewise.
6201
a66877c6
MP
6202 * elf/dl-open.c: Comment fixes.
6203
cfc82fd8
JM
62042012-07-17 Joseph Myers <joseph@codesourcery.com>
6205
bd29910a
JM
6206 * Makefile [CXX] (check-data): Remove.
6207 [CXX] (c++-types.data): New vpath directive.
6208 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6209 vpath. Do not allow for C++ type data being missing.
6210 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6211 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6212 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6213 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6214 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6215 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6216 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6218 ... here.
6219 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6221 ... here.
6222 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6224 ... here.
6225 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6227 ... here.
6228 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6230 ... here.
6231 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6233 ... here.
6234 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6236 ... here.
6237 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6239
cfc82fd8
JM
6240 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6241 definitions to architecture-specific files.
6242 (TLS_IE): Likewise.
6243 (TLS_LD): Likewise.
6244 (TLS_GD): Likewise.
6245 * sysdeps/i386/tls-macros.h: New file.
6246 * sysdeps/powerpc/tls-macros.h: Likewise.
6247 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6248 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6249 * sysdeps/sh/tls-macros.h: Likewise.
6250 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6251 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6252 * sysdeps/x86_64/tls-macros.h: Likewise.
6253
f7db3170
TS
62542012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6255
07cbfc23
TS
6256 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6257 zero value for regular exit case.
6258
f7db3170
TS
6259 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6260 (__start_context): Preserve zero value for regular exit case.
6261
dc97c227
TS
62622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6263 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6264
6265 * manual/setjmp.texi (setcontext): Clarify normal process
6266 termination when uc_link is the null pointer.
6267 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6268 exit call.
6269
d0cd7d02
AS
62702012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6271
6272 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6273 preprocessor. Test for each exception mask separately.
6274
dd318934
AJ
62752012-07-16 Andreas Jaeger <aj@suse.de>
6276
6277 * po/ru.po: Update from translation team.
6278
8048311a
JM
62792012-07-15 Joseph Myers <joseph@codesourcery.com>
6280
6281 * conform/data/string.h-data (NULL): Use macro-constant. Require
6282 equal to 0.
6283 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6284 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6285 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6286 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6288
b637d46e
AJ
62892012-07-13 Andreas Jaeger <aj@suse.de>
6290
6291 * po/fr.po: Update from translation team.
6292
541428fe
MP
62932012-07-12 Marek Polacek <polacek@redhat.com>
6294
6295 [BZ #14173]
6296 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6297 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6298 loop condition.
6299
ec332e94
JM
63002012-07-12 Joseph Myers <joseph@codesourcery.com>
6301
6302 [BZ #13717]
6303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6304 Change to 2.4.1 where previously 2.4.0.
6305 * sysdeps/unix/sysv/linux/configure: Regenerated.
6306 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6307 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6308 version.
6309 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6310 (__ASSUME_AT_CLKTCK): Remove.
6311 (__ASSUME_AT_PAGESIZE): Likewise.
6312 (__ASSUME_AT_XID): Likewise.
6313 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6314 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6315 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6316 unconditionally.
6317 (HAVE_AUX_PAGESIZE): Likewise.
6318 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6319 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6320 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6321
7b6e99be
JB
63222012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6323
6324 [BZ #14307]
6325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6326 the temporary buffer used to invoke __gethostbyname2_r,
6327 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6328 host_data / struct gaih_addrtuple.
6329 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6330 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6331 header file nss/nsswitch.h.
6332 * nss/nsswitch.h (global scope): Add definition of implementation
6333 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6334 resolv/nss_dns/dns-host.c).
6335
608404eb
AJ
63362012-07-11 Andreas Jaeger <aj@suse.de>
6337
6338 * po/fr.po: Update from translation team.
6339
71220aca
AJ
6340 * po/sv.po: Update from translation team
6341 * po/fr.po: Another update from translation team.
6342
28cfe843
AZ
63432012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344
6345 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6346 for subnormals or multiply small sinh result by itself.
6347 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6349
6b90f981
DM
63502012-07-11 David S. Miller <davem@davemloft.net>
6351
6352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6353
c6825772
AS
63542012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6355
6356 [BZ #14347]
6357 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6358 (INTERNAL_MARK): Shift it here.
6359
7b8e0d49
MP
63602012-07-10 Marek Polacek <polacek@redhat.com>
6361
6362 [BZ #14151]
6363 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6364 libc_cv_asm_global_directive with .globl.
6365 * configure: Regenerated.
6366 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6367 with .globl.
6368 * sysdeps/i386/configure: Regenerated.
6369 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6370 with .globl.
6371 * sysdeps/x86_64/configure: Regenerated.
6372 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6373 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6374 * elf/tst-unique2mod2.c: Likewise.
6375 * elf/tst-unique2mod1.c: Likewise.
6376 * elf/tst-unique1mod2.c: Likewise.
6377 * elf/tst-unique1mod1.c: Likewise.
6378 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6379 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6380 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6381 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6382 * sysdeps/mach/sysdep.h: Likewise.
6383 * sysdeps/i386/sysdep.h: Likewise.
6384 * sysdeps/i386/i386-mcount.S: Likewise.
6385 * sysdeps/x86_64/_mcount.S: Likewise.
6386 * sysdeps/x86_64/sysdep.h: Likewise.
6387 * sysdeps/sh/_mcount.S: Likewise.
6388 * sysdeps/sh/sysdep.h: Likewise.
6389 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6390 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6391 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6392 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6393 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6394 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6395 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6396 * locale/localeinfo.h: Likewise.
6397 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6398 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6399
6c55cda3
RM
64002012-07-09 Roland McGrath <roland@hack.frob.com>
6401
6402 [BZ #14336]
6403 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6404 system".
6405 * manual/message.texi (The Uniforum approach): Likewise.
6406 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6407 (glibc iconv Implementation): Likewise.
6408
638a572e
JM
64092012-07-09 Joseph Myers <joseph@codesourcery.com>
6410
6411 [BZ #14337]
6412 * math/s_clog.c (__clog): Avoid scaling a value down where that
6413 could result in underflow.
6414 * math/s_clog10.c (__clog10): Likewise.
6415 * math/s_clog10f.c (__clog10f): Likewise.
6416 * math/s_clog10l.c (__clog10l): Likewise.
6417 * math/s_clogf.c (__clogf): Likewise.
6418 * math/s_clogl.c (__clogl): Likewise.
6419 * math/libm-test.inc (clog_test): Add more tests.
6420 (clog10_test): Likewise.
6421 * sysdeps/i386/fpu/libm-test-ulps: Update.
6422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6423
261f4859
AS
64242012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6425
0abaf3e4
AS
6426 [BZ #14283]
6427 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6428 by 7 not 8 to examine high bit of fractional part.
6429
261f4859
AS
6430 [BZ #14042]
6431 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6432 for call to __mcount_internal.
6433 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6434 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6435 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6436
f17ac40d
JM
64372012-07-06 Joseph Myers <joseph@codesourcery.com>
6438
9ad63c23
JM
6439 [BZ #14154]
6440 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6441 approximation for values within 0x1p-13f of an odd multiple of
6442 pi/4.
6443 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6444 exception. Add more tests.
6445 * sysdeps/i386/fpu/libm-test-ulps: Update.
6446
f17ac40d
JM
6447 [BZ #6778]
6448 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6449 inputs and return -1 for them. Do not check for +Inf in case not
6450 reachable for +Inf.
6451 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6452 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6453 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6454 and return -1 for them. Do not check for +Inf in case not
6455 reachable for +Inf.
6456 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6457 define.
6458 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6459 and return -1 for them. Do not check for +Inf in case not
6460 reachable for +Inf.
6461 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6462 spurious underflow.
6463 * sysdeps/i386/fpu/libm-test-ulps: Update.
6464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6465
fb21f89b
MF
64662012-07-06 Mike Frysinger <vapier@gentoo.org>
6467
6468 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6469
cdfe2c5e
JM
64702012-07-05 Joseph Myers <joseph@codesourcery.com>
6471
6472 [BZ #14157]
6473 [BZ #14331]
6474 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6475 could result in spurious underflow. Scale down values above
6476 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6477 * math/s_csqrtf.c (__csqrtf): Likewise.
6478 * math/s_csqrtl.c (__csqrtl): Likewise.
6479 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6480 spurious underflow.
6481 * sysdeps/i386/fpu/libm-test-ulps: Update.
6482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6483
70d35b67
AS
64842012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6485
704bc459
AS
6486 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6487 xopen-msg.sed.
6488 * catgets/xopen-msg.awk: New file.
6489 * catgets/xopen-msg.sed: Removed.
6490
70d35b67
AS
6491 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6492 po2text.sed.
6493 * intl/po2test.awk: New file.
6494 * intl/po2test.sed: Removed.
6495
ca61cf32
JM
64962012-07-04 Joseph Myers <joseph@codesourcery.com>
6497
6498 [BZ #14328]
6499 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6500 or multiply small sinh result by itself.
6501 * math/s_ctanf.c (__ctanf): Likewise.
6502 * math/s_ctanh.c (__ctanh): Likewise.
6503 * math/s_ctanhf.c (__ctanhf): Likewise.
6504 * math/s_ctanhl.c (__ctanhl): Likewise.
6505 * math/s_ctanl.c (__ctanl): Likewise.
6506 * math/libm-test.inc (ctan_test_tonearest): New function.
6507 (ctan_test_towardzero): Likewise.
6508 (ctan_test_downward): Likewise.
6509 (ctan_test_upward): Likewise.
6510 (ctanh_test_tonearest): Likewise.
6511 (ctanh_test_towardzero): Likewise.
6512 (ctanh_test_downward): Likewise.
6513 (ctanh_test_upward): Likewise.
6514 (main): Call these new functions.
6515 * sysdeps/i386/fpu/libm-test-ulps: Update.
6516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6517
ca48a46a
MF
65182012-07-03 Mike Frysinger <vapier@gentoo.org>
6519
6520 * .gitignore: Delete /ports entry.
6521
9d63d37d
AJ
65222012-07-03 Andreas Jaeger <aj@suse.de>
6523
6524 * po/bg.po: Update from translation team.
6525 * po/cs.po: Likewise.
6526 * po/de.po: Likewise.
6527 * po/hr.po: Likewise.
6528 * po/nl.pl: Likewise.
6529 * po/pl.po: Likewise.
6530 * po/vi.po: Likewise.
6531
370ca3d2
JM
65322012-07-03 Joseph Myers <joseph@codesourcery.com>
6533
95f5a9a8
JM
6534 * Makeconfig [!+link] (+link-before-libc): New variable.
6535 [!+link] (+link-after-libc): Likewise.
6536 [!+link] (+link-tests): Likewise.
6537 [!+link] (+link): Define in terms of $(+link-before-libc) and
6538 $(+link-after-libc).
6539 [!+link-static] (+link-static-before-libc): New variable.
6540 [!+link-static] (+link-static-after-libc): Likewise.
6541 [!+link-static] (+link-static-tests): Likewise.
6542 [!+link-static] (+link-static): Define in terms of
6543 $(+link-static-before-libc) and $(+link-static-after-libc).
6544 [build-shared] (link-libc-before-gnulib): New variable.
6545 [build-shared] (link-libc-tests): Likewise.
6546 [build-shared] (link-libc): Define in terms of
6547 $(link-libc-before-gnulib).
6548 [!build-shared] (link-libc-tests): New variable.
6549 (link-libc-static-tests): New variable.
6550 [!gnulib] (gnulib-arch): New variable.
6551 [!gnulib] (gnulib-tests): Likewise.
6552 [!gnulib] (static-gnulib-arch): Likewise.
6553 [!gnulib] (static-gnulib-tests): Likewise.
6554 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6555 Define with "=" instead of ":=".
6556 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6557 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6558 * Rules (binaries-all-notests): New variable.
6559 (binaries-all-tests): Likewise.
6560 (binaries-static-notests): Likewise.
6561 (binaries-static-tests): Likewise.
6562 (binaries-all): Define using $(binaries-all-notests) and
6563 $(binaries-all-tests).
6564 (binaries-static): Define using $(binaries-static-notests) and
6565 $(binaries-static-tests).
6566 (binaries-shared-tests): New variable.
6567 (binaries-shared-notests): Likewise.
6568 (binaries-shared): Remove variable.
6569 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6570 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6571 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6572 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6573 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6574 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6575 * elf/Makefile (sln-modules): New variable.
6576 (extra-objs): Add $(sln-modules:=.o).
6577 (ldconfig-modules): Add static-stubs.
6578 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6579 * elf/static-stubs.c: New file.
6580
7a845b2c
JM
6581 [BZ #14283]
6582 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6583 by 7 not 8 to examine high bit of fractional part. Use volatile
6584 variables when splitting into final array of floats if
6585 __FLT_EVAL_METHOD__ != 0.
6586 * math/libm-test.inc (cos_test): Add another test.
6587 (sin_test): Likewise.
6588 * sysdeps/i386/fpu/libm-test-ulps: Update.
6589
e2283f38
JM
6590 [BZ #14273]
6591 * math/libm-test.inc (cosh_test): Add more tests.
6592
370ca3d2
JM
6593 * version.h (RELEASE): Set to "development".
6594 (VERSION): Set to "2.16.90".
6595
ee9247c3
CD
65962012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6597
6598 * NEWS: Update copyright. Remove last-updated date.
6599 Mention math library bug fixes and timezone data changes.
6600 * README: Mention GNU/Hurd, x32, and HPPA support status.
6601
4648c381
TS
66022012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6603
6604 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6605
aac78a43
AJ
66062012-06-27 Andreas Jaeger <aj@suse.de>
6607
6608 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6609
ed3dbfad
AJ
66102012-06-25 Andreas Jaeger <aj@suse.de>
6611
6612 * sysdeps/s390/fpu/libm-test-ulps: Update.
6613
4d0ee855
AS
66142012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6615 Thomas Schwinge <thomas@codesourcery.com>
6616
6617 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6618 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6620 fanotify_mark.
6621
af1bce34
TS
66222012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6623
a9fa33ba
TS
6624 * sysdeps/mach/start.c: Remove file.
6625 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6626 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6627 * sysdeps/sh/init-first.c: Likewise.
6628
58f902b8
TS
6629 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6630 registers for frame unwinding purposes, add CFI directives.
6631 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6632 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6633 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6634 Likewise.
6635
1518f58b
TS
6636 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6637 __fortify_fail returning.
6638 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6639
db9b5059
TS
6640 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6641 sysdeps/sh/____longjmp_chk.S.
6642 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6643 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6644 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6645 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6646
967705fe
TS
6647 * sysdeps/sh/abort-instr.h: New file.
6648 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6649 process in case exit returns.
6650
a9def8c4
TS
6651 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6652 initialize the GOT register before use.
6653
2a649725
TS
6654 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6655 calculation of ARGC > 4.
6656
af1bce34
TS
6657 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6658 meaningful names to some local labels.
6659
d230f50a
KK
66602012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6661 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6662
6663 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6664 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6665 (__arch_compare_and_exchange_val_16_acq): Likewise.
6666 (__arch_compare_and_exchange_val_32_acq): Likewise.
6667 (atomic_exchange_and_add): Fix gUSA sequence.
6668 (atomic_add): Likewise.
6669 (atomic_add_negative): Likewise.
6670 (atomic_add_zero): Likewise.
6671 (atomic_bit_test_set): Likewise.
6672
0479b305
AS
66732012-06-22 Andreas Schwab <schwab@redhat.com>
6674
6675 [BZ #13579]
6676 * include/link.h (struct link_map): Add l_free_initfini.
6677 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6678 l_initfini.
6679 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6680 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6681 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6682 set.
6683
0e3933b9
CD
66842012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6685
6686 * configure.in: Use AC_LANG_SOURCE.
6687 * configure: Regenerate.
6688
4248b1b1
RM
66892012-06-22 Roland McGrath <roland@hack.frob.com>
6690
6691 * configure.in (libc_cv_localstatedir): New substituted variable.
6692 * configure: Regenerated.
6693 * config.make.in (localstatedir): New variable, substituted from
6694 libc_cv_localstatedir.
6695 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6696 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6697 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6698 * sysdeps/gnu/configure: Regenerated.
6699
006dd861
JL
67002012-06-21 Jeff Law <law@redhat.com>
6701
6702 [BZ #14277]
6703 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6704 free. Simplify list management for _LIBC case.
6705
79662d42
JM
67062012-06-21 Joseph Myers <joseph@codesourcery.com>
6707
b7abb4bf
JM
6708 [BZ #14273]
6709 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6710 Clear sign bit of 64-bit integer value before comparing against
6711 overflow value.
6712
79662d42
JM
6713 * sysdeps/mach/configure: Regenerated.
6714
1f150908
L
67152012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6716
6717 [BZ #14278]
6718 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6719
28363bbf
JL
67202012-06-21 Jeff Law <law@redhat.com>
6721
6722 [BZ #13882]
6723 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6724 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6725 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6726 * elf/dl-open.c (dl_open_worker): Likewise.
6727
09615db4
CD
67282012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6729
6730 * scripts/list-sources.sh: Scan PORTS for translations.
6731 * po/libc.pot: Regenerated.
6732
2174c6dd
AJ
67332012-06-21 Andreas Jaeger <aj@suse.de>
6734
6735 [BZ #12194]
6736 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6737 warning.
6738 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6739 * bits/byteswap-16.h (__bswap_16): Likewise.
6740 * bits/byteswap.h (__bswap_constant_16): Likewise.
6741
3ee947b1
L
67422012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6743
6744 [BZ #14117]
a2f34833
L
6745 * sysdeps/i386/fpu_control.h: Removed.
6746 * sysdeps/x86_64/fpu_control.h: Moved to ...
6747 * sysdeps/x86/fpu_control.h: Here.
6748
3ee947b1
L
6749 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6750 (_FPU_SETCW): Likewise.
6751
ed1825f8
L
67522012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6753
25f1282a
L
6754 [BZ #14117]
6755 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6756 * sysdeps/x86/fpu/bits/mathinline.h: This.
6757 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6758
ed1825f8
L
6759 [BZ #14050]
6760 [BZ #14117]
6761 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6762 functions if __x86_64__ is defined.
6763
36d54b74
CLT
67642012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6765
6766 * string/endian.h: Add !__ASSEMBLER__ condition for including
6767 conversion interfaces.
6768
10285c21
JM
67692012-06-15 Joseph Myers <joseph@codesourcery.com>
6770
6771 [BZ #14241]
6772 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6773 of ABS(x) in calculating zero to negative powers other than odd
6774 integers.
6775 * math/libm-test.inc (pow_test): Add more tests.
6776
06c5abbd
AJ
67772012-06-15 Andreas Jaeger <aj@suse.de>
6778
6779 * manual/contrib.texi (Contributors): Update entry of Liubov
6780 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6781 Machado Filho.
6782
a3aeac40
CH
67832012-06-15 Cyril Hrubis <metan@ucw.cz>
6784
6785 * string/string.h: Add __wur to GNU version of strerror_r.
6786
49bdf4c1
L
67872012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6788
6789 [BZ #14229]
6790 * string/Makefile (tests): Add tst-strtok_r.
6791 * string/tst-strtok_r.c: New file.
6792 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6793 RAX_LP/RDX_LP on SAVE_PTR.
6794
834f9b8d
RM
67952012-06-14 Roland McGrath <roland@hack.frob.com>
6796
6797 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6798
75fa1921
JM
67992012-06-14 Joseph Myers <joseph@codesourcery.com>
6800
6801 * libm_test.inc (csqrt_test): Allow more spurious underflow
6802 exceptions.
6803 (j0_test): Likewise.
6804 (j1_test): Likewise.
6805 (y0_test): Likewise.
6806 (y1_test): Likewise.
6807
771766df
CD
68082012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6809
6810 * po/Makefile (libc.pot): Use UTF-8 charset.
6811
ceb9e56b
PP
68122012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6813
6814 [BZ #14210]
6815 Suppress sign-conversion warning from FD_SET.
6816 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6817 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6818 not unsigned long int.
6819 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6820
ddb28975
L
68212012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6822
6823 [BZ #14050]
6824 [BZ #14117]
6825 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6826 __extern_always_inline instead of __extern_inline.
6827 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6828 (__signbit): Likewise.
6829 (__signbitl): Support C++ namespace.
6830 (lrintf): New inline function.
6831 (lrint): Likewise.
6832 (llrintf): Likewise.
6833 (llrint): Likewise.
6834 (fmaxf): Likewise.
6835 (fmax): Likewise.
6836 (fminf): Likewise.
6837 (fmin): Likewise.
6838 (rint): Likewise.
6839 (rintf): Likewise.
6840 (ceil): Likewise.
6841 (ceilf): Likewise.
6842 (floor): Likewise.
6843 (floorf): Likewise.
6844 (nearbyint): Likewise.
6845 (nearbyintf): Likewise.
6846
d7b4fb26
TS
68472012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6848
6849 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6850 non-default versions.
6851
eb55f5c2
RM
68522012-06-11 Roland McGrath <roland@hack.frob.com>
6853
6854 [BZ #14218]
6855 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6856
366af02c
TS
68572012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6858
99ff6e5c
TS
6859 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6860 (FE_UPWARD, FE_DOWNWARD): Don't define.
6861 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6862 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6863
366af02c
TS
6864 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6865 reading it.
6866 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6867 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6868
793ea851
KK
68692012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6870
6871 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6873 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6874 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6875
a728a38f
L
68762012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6877
6878 [BZ #14117]
c08010c7
L
6879 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6880 * sysdeps/i386/fpu/Implies: New file.
6881 * sysdeps/x86_64/fpu/Implies: Likewise.
6882 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6883 * sysdeps/x86/fpu/bits/fenv.h: This.
6884
a728a38f
L
6885 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6886 __SSE_MATH__.
6887
6e230d11
SP
68882012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6889
6890 [BZ #14134]
6891 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6892 character 0xffff that matches the last element of the
6893 conversion table.
6894
1b671feb
AZ
68952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6896
6897 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6898 fmodl commit.
6899
6043738b
AZ
69002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6901
6902 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6903 values higher than 25.6283.
6904
34ae0b32
AZ
69052012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6908 subnormal exponent extraction and add some __builtin_expect.
6909 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6910 Fix for subnormal mantissa calculation.
6911
1214ec8f
MF
69122012-06-04 Mike Frysinger <vapier@gentoo.org>
6913
6914 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6915 cpu2 is -1 and errno is not ENOSYS.
6916
f3d1f93c
L
69172012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6918
6919 [BZ #14117]
0e4a3cd7
L
6920 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6921 * sysdeps/x86/bits/string.h: This.
6922 * sysdeps/x86_64/bits/string.h: Removed.
6923
6704c645
L
6924 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6925 if not compiling for x86-64, but compiling for >= i486.
6926
48495318
L
6927 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6928 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6929
14adcbfc
L
6930 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6931 New macro from Linux kernel 3.4.0.
6932 (FP_XSTATE_MAGIC2): Likewise.
6933 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6934 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6935 (struct _fpx_sw_bytes): New struct.
6936 (struct _xsave_hdr): Likewise.
6937 (struct _ymmh_state): Likewise.
6938 (struct _xstate): Likewise.
6939
68e408ab
L
6940 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6941 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6942 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6943 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6944 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6945 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6946
f3d1f93c
L
6947 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6948 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6949 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6950 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6951 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6952 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6953
d9dc34cd
TMQMF
69542012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6955
6956 [BZ #13743]
6957 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6958 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6959 (sysdep_headers): Include sys/platform/ppc.h.
6960 * sysdeps/powerpc/test-gettimebase.c: Test for
6961 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6962 * manual/Makefile (appendices): Include platform.texi.
6963 * manual/contrib.texi (Contributors): Update @node pointers.
6964 * manual/maint.texi (Maintenance): Likewise.
6965 (Platform): New node.
6966 * manual/platform.texi: New file. Document the new features.
6967
4af3879c
SP
69682012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6969 Jakub Jelinek <jakub@redhat.com>
6970
6971 [BZ #14188]
6972 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6973 where __builtin_expect is unavailable.
6974
2fd6ff13
DM
69752012-06-03 David S. Miller <davem@davemloft.net>
6976
6977 * stdlib/longlong.h: Updated from GCC.
6978
173f7220
AS
69792012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6980
6981 [BZ #14042]
6982 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6983 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6984 __mcount_internal.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6986 (GLIBC_2.16): Likewise.
6987
f34a1c6f
L
69882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6989
6990 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6991
88a4576f
JM
69922012-06-01 Joseph Myers <joseph@codesourcery.com>
6993
ea32bcdd
JM
6994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6995 (default-abi): New variable.
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6997 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6998 variable.
6999 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7000 Likewise.
7001 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7002 Likewise.
7003 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7004 Likewise.
7005
88a4576f
JM
7006 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7007 definition. Document in comment.
7008
402fe938
DM
70092012-06-01 David S. Miller <davem@davemloft.net>
7010
7011 * stdlib/longlong.h: Updated from GCC.
7012
3553723f
L
70132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7014
7015 [BZ #14117]
3bd872c4
L
7016 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7017 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7018 sys/debugreg.h sys/io.h here.
7019 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7020 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7021 sys/io.h.
7022 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7023 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7024 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7025 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7026 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7027 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7028
3553723f
L
7029 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7030 Define only if __x86_64__ is defined.
7031
4842e4fe
JM
70322012-06-01 Joseph Myers <joseph@codesourcery.com>
7033
c5bfe3d5
JM
7034 [BZ #14048]
7035 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7036 Use int64_t for variable i.
7037 * math/libm-test.inc (fmod_test): Add more tests.
7038
4842e4fe
JM
7039 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7040 z computation is not scheduled after fetestexcept.
7041 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7042 Use math_force_eval instead of asm to ensure calculation scheduled
7043 before exception test.
7044 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7045 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7046
efb73488
AJ
70472012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7048
7049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7050 computation is not scheduled after fetestexcept.
7051
29bcce7c
L
70522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7053
7054 [BZ #14117]
7055 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7056 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7057
73a68f94
AZ
70582012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7059
7060 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7061 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7062
67b6df78
L
70632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7064
edf2933a 7065 [BZ #14117]
ebc64a18
L
7066 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7067 <bits/wordsize.h>.
7068 (__WCHAR_MIN): Support __WORDSIZE == 64.
7069 (__WCHAR_MAX): Likewise.
7070
edf2933a
L
7071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7072 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7073
57c6cf40
L
7074 [BZ #14183]
7075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7076 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7077
67b6df78 7078 [BZ #14117]
8eb6281e
L
7079 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7080 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7081
aac639f4
L
7082 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7083 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7084
67b6df78
L
7085 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7086 Defined to 1 if __x86_64__ isn't defined.
7087 (_STAT_VER_LINUX_OLD): New.
7088 (st_atime): Remove duplicate.
7089 (st_mtime): Likewise.
7090 (st_ctime): Likewise.
7091
1c2cfe81
DM
70922012-05-31 David S. Miller <davem@davemloft.net>
7093
7094 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7095 entries.
7096
5be8418c
AS
70972012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7098
e7725326
AS
7099 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7100 gen-libm-test.pl.
7101
5be8418c
AS
7102 [BZ #14132]
7103 * elf/dl-reloc.c: Include <_itoa.h>.
7104 (_dl_reloc_bad_type): Remove use of INTUSE.
7105 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7106 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7107 * stdio-common/psiginfo.c (psiginfo): Likewise.
7108 * stdio-common/psignal.c (psignal): Likewise.
7109 * string/strsignal.c (strsignal): Likewise.
7110 * include/signal.h (_sys_siglist): Declare hidden proto.
7111 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7112 INTVARDEF with libc_hidden_data_def.
7113 * stdio-common/itoa-udigits.c: Likewise.
7114 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7115 (_itoa_lower_digits_internal): Remove declaration.
7116 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7117 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7118 (_sys_sigabbrev_internal): Remove aliases.
7119 (_sys_siglist): Define hidden alias.
7120
507352f1
MT
71212012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7122
7123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7124 bits/sysctl.h.
7125
42bbb1c3
L
71262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7127
7128 [BZ #14117]
6bd784b6
L
7129 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7130 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7131
8bca20f0
L
7132 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7133 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7134 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7135 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7136 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7137 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7138
f9e890a9
L
7139 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7140 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7141 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7142
471101a1
L
7143 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7144 with __addr.
7145 (insw): Likewise.
7146 (insl): Likewise.
7147 (outsb): Likewise.
7148 (outsw): Likewise.
7149 (outsl): Likewise.
7150
6451c862
L
7151 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7153 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7154
a254b8c9
L
7155 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7156 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7158 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7159 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7160 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7161
b8dfdd92
L
7162 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7163 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7164
578cd270
L
7165 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7166 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7167
de662f5f
L
7168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7169 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7170 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7171
25653439
L
7172 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7173 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7174 to ...
7175 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7176
6bad24a0
L
7177 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7178 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7179 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7180
42bbb1c3
L
7181 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7182 for x86-64.
7183 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7184
2d10d547
JM
71852012-05-31 Joseph Myers <joseph@codesourcery.com>
7186
7187 * math/math.h (M_El): Use two more decimal places.
7188 (M_LOG2El): Likewise.
7189 (M_LOG10El): Likewise.
7190 (M_LN2l): Likewise.
7191 (M_LN10l): Likewise.
7192 (M_PIl): Likewise.
7193 (M_PI_2l): Likewise.
7194 (M_PI_4l): Likewise.
7195 (M_1_PIl): Likewise.
7196 (M_2_PIl): Likewise.
7197 (M_2_SQRTPIl): Likewise.
7198 (M_SQRT2l): Likewise.
7199 (M_SQRT1_2l): Likewise.
7200
f230c29b
DM
72012012-05-31 David S. Miller <davem@davemloft.net>
7202
7203 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7204 values between float registers.
7205 * sysdeps/sparc/sparc64/memset.S: Likewise.
7206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7207
fed806c3
MF
72082012-05-31 Mike Frysinger <vapier@gentoo.org>
7209
7210 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7211 -D_FORTIFY_SOURCE=1.
7212 (CPPFLAGS-tst-longjmp_chk.c): Define.
7213 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7214 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7215 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7216 CFLAGS-tst-wchar-h.c.
7217
30917259
MP
72182012-05-31 Marek Polacek <polacek@redhat.com>
7219
7220 [BZ #14132]
7221 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7222 __endmntent_internal): Remove declaration.
7223 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7224 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7225 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7226
1c58d5dc
DM
72272012-05-30 David S. Miller <davem@davemloft.net>
7228
7229 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7230 (___Q_simulate_exceptions): Use real FP ops rather than writing
7231 into the %fsr.
7232 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7233 Likewise.
7234
7dc00e0d
L
72352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7236
7237 [BZ #14117]
0bd53985
L
7238 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7239 * sysdeps/x86/bits/xtitypes.h: This.
7240
3a257e66
L
7241 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7242 * sysdeps/x86/bits/wordsize.h: This.
7243
62f62904
L
7244 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7245 * sysdeps/x86/bits/huge_vall.h: This.
7246
404fe9d9
L
7247 * sysdeps/i386/bits/select.h: Removed.
7248 * sysdeps/x86_64/bits/select.h: Renamed to ...
7249 * sysdeps/x86/bits/select.h: This.
7250
d48d0446
L
7251 * sysdeps/i386/bits/setjmp.h: Removed.
7252 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7253 * sysdeps/x86/bits/setjmp.h: This.
7254
7dc00e0d
L
7255 * sysdeps/i386/bits/mathdef.h: Removed.
7256 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7257 * sysdeps/x86/bits/mathdef.h: This.
7258
03277f8f
AS
72592012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7260
7261 [BZ #14132]
7262 * include/sys/socket.h (__connect_internal)
7263 (__libc_sa_len_internal): Remove declaration.
7264 (__connect, __libc_sa_len): Declare hidden_proto.
7265 (SA_LEN): Remove use of INTUSE.
7266 * socket/connect.c: Add libc_hidden_def.
7267 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7268 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7269 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7270 alias.
7271 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7272 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7273 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7274 of adding _internal alias.
7275
13764867
L
72762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7277
7278 [BZ #14117]
6bd97696
L
7279 * sysdeps/i386/bits/link.h: Removed.
7280 * sysdeps/i386/bits/linkmap.h: Likewise.
7281 * sysdeps/x86_64/bits/link.h: Renamed to ...
7282 * sysdeps/x86/bits/link.h: This.
7283 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7284 * sysdeps/x86/bits/linkmap.h: This.
7285
f726f0bb
L
7286 * sysdeps/i386/bits/endian.h: Removed.
7287 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7288 * sysdeps/x86/bits/endian.h: This.
7289
13764867
L
7290 * sysdeps/i386/bits/byteswap.h: Removed.
7291 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7292 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7293 * sysdeps/x86/bits/byteswap.h: This.
7294 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7295 * sysdeps/x86/bits/byteswap-16.h: This.
7296 * sysdeps/i386/Implies: Add x86.
7297 * sysdeps/x86_64/Implies: Likewise.
7298
ae251b0b
DM
72992012-05-30 David S. Miller <davem@davemloft.net>
7300
7301 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7302 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7303 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7304 (FP_TRAPPING_EXCEPTIONS): Define.
7305 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7306 (FP_TRAPPING_EXCEPTIONS): Define.
7307 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7308 subnormals only when inexact has been signalled or underflow
7309 exceptions are enabled.
7310 (_FP_PACK_CANONICAL): Likewise.
7311
d5c90867
L
73122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7313
7314 [BZ #14183]
7315 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7316 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7317
63f1549e
RH
73182012-05-30 Richard Henderson <rth@twiddle.net>
7319
8d8f2279
RH
7320 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7321 with #ifndef NOT_IN_libc.
7322
63f1549e
RH
7323 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7324 marked to avoid plt entry.
7325
0ab0291b
L
73262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7327
7328 [BZ #14112]
7329 * Makeconfig (default-abi): New macro.
7330 (abi-includes): Likewise.
7331 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7332 $(abi-$(default-abi)-lib-soname) for soname if defined.
7333 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7334 abi-variants.
7335 * Makefile (installed-stubs): Likewise.
7336 * include/stubs-biarch.h: Removed.
7337 * scripts/lib-names.awk: Only handle one library at a time.
7338 * scripts/soversions.awk: Remove WORDSIZE support.
7339 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7340 entries.
7341 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7342 Removed.
7343 (syscall-list-default-condition): Likewise.
7344 (syscall-list-default-condition): Likewise.
7345 (syscall-list-includes): Likewise.
7346 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7347 syscall-list-* with abi-*. Handle undefined abi-variants.
7348 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7349 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7350 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7351 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7352 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7353 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7354 Removed.
7355 (syscall-list-32-options): Likewise.
7356 (syscall-list-32-condition): Likewise.
7357 (syscall-list-64-options): Likewise.
7358 (syscall-list-64-condition): Likewise.
7359 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7360 macro.
7361 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7362 Renamed to ...
7363 (abi-*): This.
7364 (abi-64-ld-soname): New macro.
7365 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7366 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7367 Renamed to ...
7368 (abi-*): This.
7369 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7370 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7371
4da0431d
JM
73722012-05-30 Joseph Myers <joseph@codesourcery.com>
7373
3a85279c
JM
7374 * sysdeps/unix/sysv/linux/kernel-features.h
7375 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7376 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7377 include <kernel-features.h>.
7378 [!__NR_ftruncate64]: Remove conditional code.
7379 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7380 [__NR_ftruncate64]: Make code unconditional.
7381 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7382 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7383 include <kernel-features.h>.
7384 [!__NR_ftruncate64]: Remove conditional code.
7385 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7386 [__NR_ftruncate64]: Make code unconditional.
7387 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7389 include <kernel-features.h>.
7390 [!__NR_ftruncate64]: Remove conditional code.
7391 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7392 [__NR_ftruncate64]: Make code unconditional.
7393 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7395 include <kernel-features.h>.
7396 [!__NR_ftruncate64]: Remove conditional code.
7397 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7398 [__NR_ftruncate64]: Make code unconditional.
7399 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7400
4da0431d
JM
7401 * configure.in (libc_cv_fpie): Weaken to a compile test using
7402 LIBC_TRY_CC_OPTION.
7403 * configure: Regenerated.
7404
11ef492c
AK
74052012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7406
7407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7411 Refreshed.
7412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7418 Refreshed.
7419
d66ef399
DM
74202012-05-27 David S. Miller <davem@davemloft.net>
7421
7422 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7423 (___Q_zero): New.
7424 (__Q_simulate_exceptions): Return void. Change to simulate
7425 exceptions by writing into the %fsr.
7426 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7427 (__Qp_handle_exceptions): Likewise.
7428 (numbers): Delete.
7429 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7430 __Qp_handle_exceptions.
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7432 __Qp_handle_exceptions.
7433 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7434 as unused and give dummy FP_RND_NEAREST initializer.
7435 (FP_INHIBIT_RESULTS): Define.
7436 (___Q_simulate_exceptions): Update declaration.
7437 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7438 formatting.
7439 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7440 as unused and give dummy FP_RND_NEAREST initializer.
7441 (__Qp_handle_exceptions): Update declaration.
7442 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7443 formatting.
7444
04fb54b5
TS
74452012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7446
7447 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7448 the temporary FPU control word.
7449 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7450 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7451 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7452 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7453 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7454 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7455 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7456 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7457 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7458 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7459 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7460
3f99608f
KK
74612012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7462
7463 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7464 fields.
7465
65a4de4e
CLT
74662012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7467
7468 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7469 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7470 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7471 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7472 Likewise.
7473 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7474 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7475 Likewise.
7476
15749d40
UD
74772012-05-27 Ulrich Drepper <drepper@gmail.com>
7478
7479 * po/h.po: Update from translation team.
7480
25dbcb27
AS
74812012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7482
3d3f8e55
AS
7483 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7484
25dbcb27
AS
7485 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7486 handling of denormals.
7487 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7488 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7489 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7490 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7491 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7494 Likewise.
7495
7ad47a80 74962012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7497
7498 [BZ #14152]
7499 * math/libm-test.inc (fma_test): Don't always expect underflow
7500 exception.
7501
9c6ea9fa
SP
75022012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7503
7504 [BZ #12416]
7505 * elf/tst-execstack.c: Include stackinfo.h.
7506 (do_test): Adjust test case to ensure that pthread_getattr_np
7507 behaviour remains the same after marking stack executable.
7508
a8239222
JM
75092012-05-25 Joseph Myers <joseph@codesourcery.com>
7510
7511 * sysdeps/unix/sysv/linux/kernel-features.h
7512 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7513 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7514 kernel-features.h.
7515 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7516 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7517 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7518 kernel-features.h.
7519 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7520 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7521
918b5606
L
75222012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7523
7524 * configure.in: Define the default includes to being none.
7525 * configure: Regenerated.
7526
3a097cc7
RM
75272012-05-25 Roland McGrath <roland@hack.frob.com>
7528
8422c9a5
RM
7529 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7530 * sysdeps/x86_64/setjmp.S: Likewise.
7531 * sysdeps/i386/bsd-setjmp.S: Likewise.
7532 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7533 * sysdeps/i386/setjmp.S: Likewise.
7534 * sysdeps/i386/__longjmp.S: Likewise.
7535 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7536 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7537
3a097cc7
RM
7538 * include/stap-probe.h: New file.
7539 * configure.in: Handle --enable-systemtap.
7540 * configure: Regenerated.
7541 * config.h.in (USE_STAP_PROBE): New #undef.
7542 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7543 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7544 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7545
21708942
JM
75462012-05-25 Joseph Myers <joseph@codesourcery.com>
7547
7548 [BZ #13717]
7549 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7550 to 2.4.0 where earlier.
7551 * sysdeps/unix/sysv/linux/configure: Regenerated.
7552 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7553 <kernel-features.h>.
7554 [__ASSUME_32BITUIDS]: Make code unconditional.
7555 [!__ASSUME_32BITUIDS]: Remove conditional code.
7556 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7557 <kernel-features.h>.
7558 [__ASSUME_32BITUIDS]: Make code unconditional.
7559 [!__ASSUME_32BITUIDS]: Remove conditional code.
7560 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7561 [__ASSUME_32BITUIDS]: Make code unconditional.
7562 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7563 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7564 <kernel-features.h>.
7565 [__ASSUME_32BITUIDS]: Make code unconditional.
7566 [!__ASSUME_32BITUIDS]: Remove conditional code.
7567 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7568 <kernel-features.h>.
7569 [__ASSUME_32BITUIDS]: Make code unconditional.
7570 [!__ASSUME_32BITUIDS]: Remove conditional code.
7571 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7572 <kernel-features.h>.
7573 [__ASSUME_32BITUIDS]: Make code unconditional.
7574 [!__ASSUME_32BITUIDS]: Remove conditional code.
7575 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7576 <kernel-features.h>.
7577 [__ASSUME_32BITUIDS]: Make code unconditional.
7578 [!__ASSUME_32BITUIDS]: Remove conditional code.
7579 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7580 <kernel-features.h>.
7581 [__ASSUME_32BITUIDS]: Make code unconditional.
7582 [!__ASSUME_32BITUIDS]: Remove conditional code.
7583 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7584 <kernel-features.h>.
7585 [__ASSUME_32BITUIDS]: Make code unconditional.
7586 [!__ASSUME_32BITUIDS]: Remove conditional code.
7587 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7588 <kernel-features.h>.
7589 [__ASSUME_32BITUIDS]: Make code unconditional.
7590 [!__ASSUME_32BITUIDS]: Remove conditional code.
7591 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7592 <kernel-features.h>.
7593 [__ASSUME_32BITUIDS]: Make code unconditional.
7594 [!__ASSUME_32BITUIDS]: Remove conditional code.
7595 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7596 <kernel-features.h>.
7597 [__ASSUME_32BITUIDS]: Make code unconditional.
7598 [!__ASSUME_32BITUIDS]: Remove conditional code.
7599 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7600 <kernel-features.h>.
7601 [__ASSUME_32BITUIDS]: Make code unconditional.
7602 [!__ASSUME_32BITUIDS]: Remove conditional code.
7603 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7604 <kernel-features.h>.
7605 [__NR_setresgid] (__setresgid): Do not declare.
7606 [__ASSUME_32BITUIDS]: Make code unconditional.
7607 [!__ASSUME_32BITUIDS]: Remove conditional code.
7608 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7609 <kernel-features.h>.
7610 [__NR_setresuid] (__setresuid): Do not declare.
7611 [__ASSUME_32BITUIDS]: Make code unconditional.
7612 [!__ASSUME_32BITUIDS]: Remove conditional code.
7613 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7614 <kernel-features.h>.
7615 [__ASSUME_32BITUIDS]: Make code unconditional.
7616 [!__ASSUME_32BITUIDS]: Remove conditional code.
7617 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7618 <kernel-features.h>.
7619 [__ASSUME_32BITUIDS]: Make code unconditional.
7620 [!__ASSUME_32BITUIDS]: Remove conditional code.
7621 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7622 <kernel-features.h>.
7623 [__ASSUME_32BITUIDS]: Make code unconditional.
7624 [!__ASSUME_32BITUIDS]: Remove conditional code.
7625 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7626 <kernel-features.h>.
7627 [__ASSUME_32BITUIDS]: Make code unconditional.
7628 [!__ASSUME_32BITUIDS]: Remove conditional code.
7629 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7630 <kernel-features.h>.
7631 [__ASSUME_32BITUIDS]: Make code unconditional.
7632 [!__ASSUME_32BITUIDS]: Remove conditional code.
7633 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7634 <kernel-features.h>.
7635 [__ASSUME_32BITUIDS]: Make code unconditional.
7636 [!__ASSUME_32BITUIDS]: Remove conditional code.
7637 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7638 <kernel-features.h>.
7639 [__ASSUME_32BITUIDS]: Make code unconditional.
7640 [!__ASSUME_32BITUIDS]: Remove conditional code.
7641 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7642 <kernel-features.h>.
7643 [__ASSUME_32BITUIDS]: Make code unconditional.
7644 [!__ASSUME_32BITUIDS]: Remove conditional code.
7645 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7646 <kernel-features.h>.
7647 [__ASSUME_32BITUIDS]: Make code unconditional.
7648 [!__ASSUME_32BITUIDS]: Remove conditional code.
7649 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7650 <kernel-features.h>.
7651 [__ASSUME_32BITUIDS]: Make code unconditional.
7652 [!__ASSUME_32BITUIDS]: Remove conditional code.
7653 * sysdeps/unix/sysv/linux/kernel-features.h
7654 (__ASSUME_SETRESUID_SYSCALL): Remove.
7655 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7656 (__ASSUME_32BITUIDS): Likewise.
7657 (__ASSUME_LDT_WORKS): Likewise.
7658 (__ASSUME_O_DIRECTORY): Likewise.
7659 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7660 architecture but not kernel version.
7661 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7662 (__ASSUME_MMAP2_SYSCALL): Likewise.
7663 (__ASSUME_STAT64_SYSCALL): Likewise.
7664 (__ASSUME_IPC64): Likewise.
7665 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7666 <kernel-features.h>.
7667 [__ASSUME_32BITUIDS]: Make code unconditional.
7668 [!__ASSUME_32BITUIDS]: Remove conditional code.
7669 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7670 <kernel-features.h>.
7671 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7672 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7673 132096]: Remove conditional code.
7674 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7675 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7676 <kernel-features.h>.
7677 [__ASSUME_32BITUIDS]: Make code unconditional.
7678 [!__ASSUME_32BITUIDS]: Remove conditional code.
7679 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7680 <kernel-features.h>.
7681 [__ASSUME_32BITUIDS]: Make code unconditional.
7682 [!__ASSUME_32BITUIDS]: Remove conditional code.
7683 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7684 <kernel-features.h>.
7685 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7686 unconditional.
7687 (__setresgid): Do not declare.
7688 [__ASSUME_32BITUIDS]: Make code unconditional.
7689 [!__ASSUME_32BITUIDS]: Remove conditional code.
7690 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7691 <kernel-features.h>.
7692 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7693 unconditional.
7694 (__setresuid): Do not declare.
7695 [__ASSUME_32BITUIDS]: Make code unconditional.
7696 [!__ASSUME_32BITUIDS]: Remove conditional code.
7697 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7698 <kernel-features.h>.
7699 [__ASSUME_32BITUIDS]: Make code unconditional.
7700 [!__ASSUME_32BITUIDS]: Remove conditional code.
7701 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7702 <kernel-features.h>.
7703 [__ASSUME_32BITUIDS]: Make code unconditional.
7704 [!__ASSUME_32BITUIDS]: Remove conditional code.
7705
a386f1cc
RH
77062012-05-25 Richard Henderson <rth@twiddle.net>
7707
7708 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7709 dl_hwcap to ifunc resolver.
7710 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7711 elf_ifunc_invoke.
7712 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7713 dl_hwcap to ifunc resolver.
7714 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7715
b6550497
JM
77162012-05-24 Joseph Myers <joseph@codesourcery.com>
7717
7718 [BZ #14153]
7719 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7720 for |x| <= 2**-26, not 2**-57.
7721 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7722 exception.
7723
b0bc23a1
JL
77242012-05-24 Jeff Law <law@redhat.com>
7725
7726 * stdio-common/Makefile (tests): Add bug25.
7727 * stdio-common/bug25.c: New test.
7728
347c92e9
L
77292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7730
7731 [BZ #13576]
7732 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7733 multiple of MALLOC_ALIGNMENT in size.
7734 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7735
6bcc8b3f
JM
77362012-05-24 Joseph Myers <joseph@codesourcery.com>
7737
7738 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7739 Require >= 256.
7740 (FILENAME_MAX): Use macro-int-constant.
7741 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7742 (_IOFBF): Use macro-int-constant.
7743 (_IOLBF): Likewise.
7744 (_IONBF): Likewise.
7745 (SEEK_CUR): Likewise.
7746 (SEEK_END): Likewise.
7747 (SEEK_SET): Likewise.
7748 (TMP_MAX): Likewise.
7749 (EOF): Use macro-int-constant. Require < 0.
7750 (NULL): Use macro-constant. Require == 0.
7751 (stdin): Require type to be FILE *.
7752 (stdout): Likewise.
7753 (stderr): Likewise.
7754 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7755 macro-int-constant.
7756 (EXIT_SUCCESS): Likewise.
7757 (NULL): Use macro-constant. Require == 0.
7758 (RAND_MAX): Use macro-int-constant.
7759 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7760 [C99-based standards] (strtof): Require function.
7761 [C99-based standards] (strtold): Likewise.
7762 [C99-based standards] (strtoll): Likewise.
7763 [C99-based standards] (strtoull): Likewise.
7764 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7765 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7766 [ISO || ISO99 || ISO11] (math.h): Likewise.
7767 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7768 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7769 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7770
d18ea0c5
AS
77712012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7772
7773 [BZ #14132]
56d25bb8
AS
7774 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7775 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7776 * intl/dgettext.c (DCGETTEXT): Likewise.
7777 * intl/gettext.c (DCGETTEXT): Likewise.
7778 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7779 * posix/regex_internal.h (gettext): Likewise.
7780 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7781 Remove declaration.
7782 * include/argz.h (__argz_count_internal)
7783 (__argz_stringify_internal): Remove declaration.
7784 (__argz_count, __argz_stringify): Declare hidden proto.
7785 * intl/dcgettext.c: Remove use of INTDEF.
7786 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7787 * string/argz-stringify.c: Likewise.
7788 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7789 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7790 Declare hidden proto.
d18ea0c5
AS
7791 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7792 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7793 Declare hidden proto.
7794 * include/stdio.h (__asprintf_internal): Don't declare.
7795 (__asprintf): Don't define as macro. Declare hidden proto.
7796 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7797 (__fsetlocking): Declare hidden proto.
7798 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7799 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7800 hidden proto.
7801 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7802 (_IO_setlinebuf): Remove use of INTUSE.
7803 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7804 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7805 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7806 Remove declaration.
7807 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7808 (_IO_do_flush): Remove use of INTUSE.
7809 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7810 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7811 (_IO_adjust_column, _IO_least_wmarker)
7812 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7813 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7814 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7815 (_IO_default_doallocate, _IO_wdefault_doallocate)
7816 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7817 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7818 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7819 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7820 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7821 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7822 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7823 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7824 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7825 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7826 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7827 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7828 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7829 proto.
7830 (_IO_flush_all_internal, _IO_adjust_column_internal)
7831 (_IO_default_uflow_internal, _IO_default_finish_internal)
7832 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7833 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7834 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7835 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7836 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7837 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7838 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7839 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7840 (_IO_file_close_internal, _IO_file_close_it_internal)
7841 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7842 (_IO_file_init_internal, _IO_file_attach_internal)
7843 (_IO_file_fopen_internal, _IO_file_read_internal)
7844 (_IO_file_sync_internal, _IO_file_seek_internal)
7845 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7846 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7847 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7848 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7849 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7850 (_IO_list_all_internal, _IO_link_in_internal)
7851 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7852 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7853 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7854 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7855 (_IO_do_write_internal, _IO_padn_internal)
7856 (_IO_getline_info_internal, _IO_getline_internal)
7857 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7858 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7859 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7860 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7861 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7862 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7863 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7864 with libc_hidden_ver, remove use of INTUSE.
7865 * libio/genops.c: Likewise.
7866 * libio/freopen.c: Likewise.
7867 * libio/freopen64.c: Likewise.
7868 * libio/iofclose.c: Likewise.
7869 * libio/iofdopen.c: Likewise.
7870 * libio/iofflush.c: Likewise.
7871 * libio/iofflush_u.c: Likewise.
7872 * libio/iofgets.c: Likewise.
7873 * libio/iofgets_u.c: Likewise.
7874 * libio/iofopen.c: Likewise.
7875 * libio/iofopncook.c: Likewise.
7876 * libio/iofread.c: Likewise.
7877 * libio/iofread_u.c: Likewise.
7878 * libio/ioftell.c: Likewise.
7879 * libio/iofwrite.c: Likewise.
7880 * libio/iogetline.c: Likewise.
7881 * libio/iogets.c: Likewise.
7882 * libio/iogetwline.c: Likewise.
7883 * libio/iopadn.c: Likewise.
7884 * libio/iopopen.c: Likewise.
7885 * libio/ioseekoff.c: Likewise.
7886 * libio/ioseekpos.c: Likewise.
7887 * libio/iosetbuffer.c: Likewise.
7888 * libio/iosetvbuf.c: Likewise.
7889 * libio/ioungetc.c: Likewise.
7890 * libio/ioungetwc.c: Likewise.
7891 * libio/iovdprintf.c: Likewise.
7892 * libio/iovsprintf.c: Likewise.
7893 * libio/iovsscanf.c: Likewise.
7894 * libio/memstream.c: Likewise.
7895 * libio/obprintf.c: Likewise.
7896 * libio/oldfileops.c: Likewise.
7897 * libio/oldiofclose.c: Likewise.
7898 * libio/oldiofdopen.c: Likewise.
7899 * libio/oldiofopen.c: Likewise.
7900 * libio/oldiopopen.c: Likewise.
7901 * libio/oldstdfiles.c: Likewise.
7902 * libio/putc.c: Likewise.
7903 * libio/setbuf.c: Likewise.
7904 * libio/setlinebuf.c: Likewise.
7905 * libio/stdfiles.c: Likewise.
7906 * libio/strops.c: Likewise.
7907 * libio/vasprintf.c: Likewise.
7908 * libio/vscanf.c: Likewise.
7909 * libio/vsnprintf.c: Likewise.
7910 * libio/vswprintf.c: Likewise.
7911 * libio/wfiledoalloc.c: Likewise.
7912 * libio/wfileops.c: Likewise.
7913 * libio/wgenops.c: Likewise.
7914 * libio/wmemstream.c: Likewise.
7915 * libio/wstrops.c: Likewise.
7916 * libio/__fpurge.c: Likewise.
7917 * libio/__fsetlocking.c: Likewise.
7918 * assert/assert.c: Likewise.
7919 * debug/fgets_chk.c: Likewise.
7920 * debug/fgets_u_chk.c: Likewise.
7921 * debug/fread_chk.c: Likewise.
7922 * debug/fread_u_chk.c: Likewise.
7923 * debug/gets_chk.c: Likewise.
7924 * debug/obprintf_chk.c: Likewise.
7925 * debug/vasprintf_chk.c: Likewise.
7926 * debug/vdprintf_chk.c: Likewise.
7927 * debug/vsnprintf_chk.c: Likewise.
7928 * debug/vsprintf_chk.c: Likewise.
7929 * malloc/mtrace.c: Likewise.
7930 * misc/error.c: Likewise.
7931 * misc/syslog.c: Likewise.
7932 * stdio-common/asprintf.c: Likewise.
7933 * stdio-common/fxprintf.c: Likewise.
7934 * stdio-common/getw.c: Likewise.
7935 * stdio-common/isoc99_fscanf.c: Likewise.
7936 * stdio-common/isoc99_scanf.c: Likewise.
7937 * stdio-common/isoc99_vfscanf.c: Likewise.
7938 * stdio-common/isoc99_vscanf.c: Likewise.
7939 * stdio-common/isoc99_vsscanf.c: Likewise.
7940 * stdio-common/printf-prs.c: Likewise.
7941 * stdio-common/printf_fp.c: Likewise.
7942 * stdio-common/printf_fphex.c: Likewise.
7943 * stdio-common/printf_size.c: Likewise.
7944 * stdio-common/putw.c: Likewise.
7945 * stdio-common/scanf.c: Likewise.
7946 * stdio-common/sprintf.c: Likewise.
7947 * stdio-common/tmpfile.c: Likewise.
7948 * stdio-common/vfprintf.c: Likewise.
7949 * stdio-common/vfscanf.c: Likewise.
7950 * stdlib/strfmon_l.c: Likewise.
7951 * sunrpc/openchild.c: Likewise.
7952 * sunrpc/xdr_stdio.c: Likewise.
7953 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7954 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7955
d6c33fda
RM
79562012-05-24 Roland McGrath <roland@hack.frob.com>
7957
c1487492
RM
7958 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7959
7960 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7961 in the third column, to generate for the shared library an IFUNC
7962 that uses _dl_vdso_vsym.
7963 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7964 * Makeconfig (object-suffixes-noshared): New variable.
7965
7966 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7967 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7968 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7969 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7970
d6c33fda
RM
7971 [BZ #14132]
7972 * include/sys/time.h (__gettimeofday): Remove macro.
7973 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7974 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7975 Remove INTDEF.
7976 (__gettimeofday): Add libc_hidden_def.
7977 (gettimeofday): Add libc_hidden_weak.
7978 * sysdeps/mach/gettimeofday.c: Likewise.
7979 * sysdeps/posix/gettimeofday.c: Likewise.
7980 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7981 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7982 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7983 (__gettimeofday_internal): Remove strong_alias.
7984 (__gettimeofday): Add libc_hidden_def.
7985 (gettimeofday): Add libc_hidden_weak.
7986 * sysdeps/unix/syscalls.list (gettimeofday):
7987 Remove __gettimeofday_internal alias.
7988
b5a2bbe6
L
79892012-05-24 Daniel Jacobowitz <drow@false.org>
7990 H.J. Lu <hongjiu.lu@intel.com>
7991
7992 [BZ #12495]
7993 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7994 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7995 (largebin_index_32_big): New.
7996 (largebin_index): Use it for 16-byte alignment.
7997 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7998 correction with front_misalign.
7999
cfba4fda
L
80002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8001
7f907421
L
8002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8004 Likewise.
8005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8006 Likewise.
8007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8008 Likewise.
8009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8010 Likewise.
8011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8012 Likewise.
8013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8014 Likewise.
8015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8016 Likewise.
8017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8018 Likewise.
8019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8020 Likewise.
8021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8022 Likewise.
8023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8024 Likewise.
8025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8026 Likewise.
8027
cfba4fda
L
8028 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8029 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8030
80bad0cc
JM
80312012-05-24 Joseph Myers <joseph@codesourcery.com>
8032
7a25eb06
JM
8033 [BZ #10846]
8034 [BZ #14036]
8035 * math/libm-test.inc (exp_test): Add test from bug 14036.
8036 (pow_test): Add test from bug 10846.
8037
795405f9
JM
8038 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8039 and other flags.
8040 (special_function): Do not include flags in test name.
8041 (parse_args): Likewise.
8042 * sysdeps/i386/fpu/libm-test-ulps: Update.
8043 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8044 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8045 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8047
80bad0cc
JM
8048 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8049 exceptions.
8050 * math/libm-test.inc ("Philosophy"): Update comment about
8051 exception testing.
8052 (UNDERFLOW_EXCEPTION): New macro.
8053 (UNDERFLOW_EXCEPTION_OK): Likewise.
8054 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8055 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8056 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8057 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8058 (INVALID_EXCEPTION_OK): Update value.
8059 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8060 (OVERFLOW_EXCEPTION_OK): Likewise.
8061 (IGNORE_ZERO_INF_SIGN): Likewise.
8062 (test_exceptions): Handle underflow exceptions.
8063 (acos_test): Update for underflow exception expectations.
8064 (cexp_test): Likewise.
8065 (clog_test): Likewise.
8066 (clog10_test): Likewise.
8067 (csqrt_test): Likewise.
8068 (ctan_test): Likewise.
8069 (ctanh_test): Likewise.
8070 (exp_test): Likewise.
8071 (exp10_test): Likewise.
8072 (exp2_test): Likewise.
8073 (expm1_test): Likewise.
8074 (fma_test): Likewise.
8075 (j0_test): Likewise.
8076 (jn_test): Likewise.
8077 (nexttoward_test): Likewise.
8078 (pow_test): Likewise.
8079 (scalbn_test): Likewise.
8080 (scalbln_test): Likewise.
8081 (tan_test): Likewise.
8082 (y1_test): Likewise.
8083 * sysdeps/i386/fpu/libm-test-ulps: Update.
8084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8085
9e0e3d0b
DM
80862012-05-23 David S. Miller <davem@davemloft.net>
8087
8088 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8089 (__libc_sigaction): Remove unused local variables.
8090
ccd0a08f
L
80912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8092
8093 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8094
62bdf9a6
PE
80952012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8096
f8591f80
PE
8097 mktime: avoid signed integer overflow
8098 * time/mktime.c (__mktime_internal): Do not mishandle the case
8099 where diff == INT_MIN.
8100
94c7d826
PE
8101 mktime: simplify computation of average
8102 * time/mktime.c (ranged_convert): Use new time_t_avg function
8103 instead of rolling our own (probably-slower) code.
8104
ce73d683
PE
8105 mktime: do not assume signed right shift propagates sign bit
8106 * time/mktime.c (isdst_differ): New static function.
8107 (__mktime_internal): No need to normalize tm_isdst now.
8108 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8109 tm_isdst values.
8110
72a22e59
PE
8111 mktime: merge another wrapv change from gnulib
8112 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8113 from some compilers.
8114
68605433
PE
8115 mktime: remove incorrect attempt at unusual arithmetics
8116 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8117 The code didn't really work on such machines anyway.
8118 (TYPE_MINIMUM): Assume two's complement.
8119 (twos_complement_arithmetic): Verify that long_int and time_t
8120 are two's complement (or unsigned, in the latter case).
8121
03cf7fe3
PE
8122 mktime: check signed shifts on long_int and time_t, too
8123 * time/mktime.c (SHR): Check that shifts work as desired
8124 on the types long_int and time_t too, as SHR is used on
8125 such types.
8126
f04dfbc2
PE
8127 mktime: do not assume 'long' is wide enough
8128 * time/mktime.c (verify): Move decl up.
8129 (long_int): New type.
8130 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8131 to remove assumption in the code that 'long' is wide enough to
8132 store year values. This assumption is not true on x32 and on
8133 some non-glibc platforms.
8134
62bdf9a6
PE
8135 mktime: merge wrapv change from gnulib
8136 * time/mktime.c (WRAPV): New macro.
8137 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8138 (guess_time_tm, __mktime_internal): Do not assume that signed
8139 integer overflow wraps around; modern compilers generate code
8140 where this assumption is no longer valid.
8141
5e292e4f
L
81422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8143
8144 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8145 Replace "jmp L(pseudo_end)" with "ret".
8146 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8147 Likewise.
8148
8caf8c87
AJ
81492012-05-23 Andreas Jaeger <aj@suse.de>
8150
8151 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8152 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8153
1a09dc56
AJ
81542012-05-23 Andreas Jaeger <aj@suse.de>
8155 Maximilian Attems <max@stro.at>
8156
8157 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8158 New macros.
8159
1c87aba0
L
81602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8161
8162 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8163 code so that pseudo_end is just ret and the stack pointer is
8164 correct also for static library in error case.
8165
40e45bd5
JM
81662012-05-23 Joseph Myers <joseph@codesourcery.com>
8167
c2670533
JM
8168 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8169 move to syscalls.list.
8170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8174
40e45bd5
JM
8175 * manual/install.texi (Running make install): Do not mention Linux
8176 kernel version for which pt_chown is not needed.
8177 (Linux): Do not mention problems with nscd with 2.0 kernels.
8178 * INSTALL: Regenerated.
8179
be08eda5
AJ
81802012-05-23 Andreas Jaeger <aj@suse.de>
8181
8182 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8183 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8184 macro.
8185 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8187 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8189 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8191 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8192 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8193 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8194 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8195 * sysdeps/unix/sysv/linux/bits/in.h
8196 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8197
a6a056bb
RM
81982012-05-22 Roland McGrath <roland@hack.frob.com>
8199
8200 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8201 (PREPARE_VERSION): Just use assert instead, it will be elided
8202 under [NDEBUG] anyway.
8203
c9009328
L
82042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8205
8206 * sysdeps/unix/sysv/linux/Makefile: Include
8207 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8208 (sysdep_routines): Remove sysctl.
c9009328
L
8209 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8210 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8211 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8212 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8213 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8214
73338355
AJ
82152012-05-22 Andreas Jaeger <aj@suse.de>
8216
8217 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8218 that pseudo_end is just ret and the stack pointer is correct also
8219 for static library in error case.
8220
d44638b0
PP
82212012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8222
8223 [BZ #14122]
8224 * nss/nsswitch.c (defconfig_entries): New variable.
8225 (__nss_database_lookup): Don't leak defconfig entries.
8226 (nss_parse_service_list): Don't leak on error paths.
8227 (free_database_entries): New function.
8228 (free_defconfig): New function.
8229 (free_mem): Move common code to free_database_entries.
8230
31a39bd8
L
82312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8232
da0331a8
L
8233 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8234 Add arch_prctl.
8235 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8236
31a39bd8
L
8237 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8238 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8240 New macro.
8241 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8242 (INTERNAL_SYSCALL_TYPES): Likewise.
8243 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8244 (LOAD_REGS_TYPES_[1-6]): Likewise.
8245 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8246 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8247
45470df3
AZ
82482012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8249
8250 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8251 copysignl for GLIBC_2_0.
8252 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8253 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8254 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8255 logbl for GLIBC_2_0.
8256 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8257 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8258
98a61bcb
L
82592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8260
a4f6e481
L
8261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8262 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8263
f63d5db6
L
8264 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8265 Use "neg %eax".
8266
98a61bcb
L
8267 * time/mktime.c: Update copyright years.
8268
95770f14
PE
82692012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8270
6226efbd
PE
8271 mktime: merge comment-quoting-style change from gnulib
8272 * time/mktime.c: Quote 'like this' in comments.
8273 The GNU coding standards suggest that we no longer quote `like this',
8274 as "`" and "'" are typically rendered asymmetrically nowadays.
8275 The typical gnulib style is to quote 'like this' when quoting
8276 code, and "like this" when quoting English.
8277
b99e4f78
PE
8278 * time/mktime.c (compile-command): Add "-I.".
8279
643e01e6
PE
8280 mktime: merge mktime-internal.h change from gnulib
8281 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8282
2554247d
PE
8283 mktime: merge time_r change from gnulib
8284 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8285
826dd0ab
PE
8286 mktime: merge DEBUG change from gnulib
8287 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8288 case system <time.h> has a #define.
8289
bd83aabe
PE
8290 mktime: merge <sys/types.h> change from gnulib
8291 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8292 since <time.t> is now guaranteed to define time_t.
8293
95770f14
PE
8294 mktime: merge HAVE_CONFIG_H change from gnulib
8295 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8296
5e1a27a9
L
82972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8298
0e44a77e
L
8299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8300 Use "neg %eax".
8301
5e1a27a9
L
8302 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8303 __rlim_t cast.
8304 (struct rusage): Use anonymous union to pad each field to
8305 __syscall_slong_t.
8306
46259bec
DM
83072012-05-21 David S. Miller <davem@davemloft.net>
8308
8309 * Makefules (o-iterator): Remove .s cases.
8310 (compile-command.s): Delete.
8311 (COMPILE.s): Delete.
8312 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8313
59f0c22e
JM
83142012-05-21 Joseph Myers <joseph@codesourcery.com>
8315
8316 * configure.in (libc_cv_predef_stack_protector): Only consider
8317 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8318 * configure: Regenerated.
8319
20c07380
L
83202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8321
bbb3154b
L
8322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8323 New macro. Use R*LP on int and pointer.
8324 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8325 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8326 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8327 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8328
20c07380
L
8329 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8330 [__WORDSIZE_TIME64_COMPAT32] instead of
8331 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8332 (struct utmp): Likewise.
8333 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8334 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8335 Renamed to ...
8336 (__WORDSIZE_TIME64_COMPAT32): This.
8337 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8338 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8339 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8340 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8341 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8342 (__WORDSIZE_TIME64_COMPAT32): New macro.
8343
d8d1017e
AJ
83442012-05-21 Andreas Jaeger <aj@suse.de>
8345
8346 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8347 only if [SHARED]. Add prototype for __wcschr_ia32.
8348
6c7fb145
RM
83492012-05-21 Roland McGrath <roland@hack.frob.com>
8350
8351 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8352 of %rbp unmolested in the jmp_buf while mangling the low bits.
8353 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8354 unmolested high bits of %rbp while demangling the low bits.
8355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8356
66274218
AJ
83572012-05-21 Andreas Jaeger <aj@suse.de>
8358
07c58f8f
AJ
8359 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8360 * sunrpc/svc_simple.c: Use it for registerrpc.
8361 * sunrpc/xcrypt.c: Use it for passwd2des.
8362
66274218
AJ
8363 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8364
61f65140
L
83652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8366
8367 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8368 Don't define if [__SYSCALL_WORDSIZE != 32].
8369 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8370 New macro.
8371
5fefb436
AJ
83722012-05-21 Bruno Haible <bruno@clisp.org>
8373 Andreas Jaeger <aj@suse.de>
8374
8375 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8376 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8377 inptr and inend for must_buffer_ch.
8378 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8379 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8380 * stdio-common/Makefile (tests): Remove bug15.
8381 (bug15-ENV): Remove macro.
8382 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8383 anymore.
8384
d8e272ab
AJ
83852012-05-19 Andreas Jaeger <aj@suse.de>
8386 Roland McGrath <roland@hack.frob.com>
8387
8388 * manual/contrib.texi: Completely rewritten. It contains now an
8389 alphabetical list of contributors and their contributions.
8390
4a56a162
RH
83912012-05-21 Richard Henderson <rth@twiddle.net>
8392
8393 * misc/getauxval.c (__getauxval): Use unsigned long int.
8394 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8395 (getauxval): Use unsigned long int.
8396
d024d23c
L
83972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8398
8399 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8400
cbc00a03
RM
84012012-05-21 Roland McGrath <roland@hack.frob.com>
8402
8403 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8404 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8405 __alignof__ (long double).
8406
478143fa
AZ
84072012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8408
8409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8410
c7683a6d
RH
84112012-05-20 Richard Henderson <rth@twiddle.net>
8412
8413 * misc/getauxval.c: New file.
8414 * misc/sys/auxv.h: New file.
8415 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8416 (routines): Add getauxval.
8417 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8418 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8419 * elf/dl-sysdep.c (_dl_auxv): Remove.
8420 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8421 * elf/dl-support.c (_dl_auxv): New variable.
8422 (_dl_aux_init): Initialize it.
8423 * manual/startup.texi (Auxiliary Vector): New node.
8424 * sysdeps/generic/bits/hwcap.h: New file.
8425 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8426 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8427 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8428 * sysdeps/sparc/sysdep.h: ... here. Include it.
8429 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8430 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8432 Update.
c7683a6d
RH
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8436 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8441
a6f1845d
AZ
84422012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8443
8444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8445
cbcbe830
DM
84462012-05-19 David S. Miller <davem@davemloft.net>
8447
8448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8449
e0b16cc2
JM
84502012-05-19 Joseph Myers <joseph@codesourcery.com>
8451
8452 [BZ #14123]
8453 * math/s_ccosh.c: Include <float.h>
8454 (__ccosh): Avoid internal overflow calculating sinh and cosh
8455 values before multiplying by sin and cos values.
8456 * math/s_ccoshf.c: Likewise.
8457 * math/s_ccoshl.c: Likewise.
8458 * math/s_csin.c: Likewise.
8459 * math/s_csinf.c: Likewise.
8460 * math/s_csinl.c: Likewise.
8461 * math/s_csinh.c: Likewise.
8462 * math/s_csinhf.c: Likewise.
8463 * math/s_csinhl.c: Likewise.
8464 * math/libm-test.inc (ccos_test): Add more tests.
8465 (ccosh_test): Likewise.
8466 (csin_test): Likewise.
8467 (csinh_test): Likewise.
8468 * sysdeps/i386/fpu/libm-test-ulps: Update.
8469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8470
6ad13e08
L
84712012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8472
f66f0ce8
L
8473 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8474 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8475
6ad13e08
L
8476 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8477
b1d072a7
JM
84782012-05-19 Joseph Myers <joseph@codesourcery.com>
8479
8480 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8481 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8482 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8483 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8484 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8485 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8486 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8487 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8488 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8489 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8490 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8491 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8492 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8493 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8494 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8495 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8496 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8497 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8498 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8499 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8500 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8501 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8502 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8503 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8504 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8505 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8506 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8507 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8508 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8509 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8510 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8511
9eae47cb
AJ
85122012-05-18 Andreas Jaeger <aj@suse.de>
8513
8514 * csu/.gitignore: Delete.
8515
bb07f69f
L
85162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8517
8518 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8519 (timex): Use __syscall_slong_t.
8520
e6bdb741
AJ
85212012-05-18 Andreas Jaeger <aj@suse.de>
8522 Carlos O'Donell <carlos_odonell@mentor.com>
8523
8524 * manual/install.texi (Configuring and compiling): Update
8525 description about files modified in the source directory.
d6c33fda 8526 * INSTALL: Regenerated.
e6bdb741 8527
1b74487e
L
85282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8529
8530 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8531 value. Use "or" to set return value to -1.
8532 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8533 negate return value.
8534
a88b64b9
TMQMF
85352012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8536
8537 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8538 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8539 failure if the compiler has Graphite support disabled.
8540 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8541 Likewise.
8542 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8543 CFLAGS-memmove.c): Likewise.
8544 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8545 Likewise.
8546
3707636e
L
85472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8548
610b8622
L
8549 * sysdeps/x86_64/x32/_itoa.h: New file.
8550
7cd195df
L
8551 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8552 getdents system call only if kernel and user dirents have the
8553 same d_ino and d_off.
8554
94b07d20
L
8555 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8556 LLONG_MAX != LONG_MAX.
8557 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8558 (_fitoa_word): Likewise.
8559
18298070
L
8560 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8561 years.
8562 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8564 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8565
553c7ea4
L
8566 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8567 include <bits/wordsize.h>. Check __x86_64__ instead of
8568 __WORDSIZE.
8569 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8570 if __x86_64__ is defined. Use anonymous union on fpstate.
8571
3707636e
L
8572 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8573 anonymous union.
8574
b53ef01a
AS
85752012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8576
37fb1dc0
AS
8577 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8578 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8579 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8580 Refer to _rtld_local_ro instead of _rtld_global_ro.
8581 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8582 Likewise.
8583 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8584 Likewise.
8585 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8586 Likewise.
8587 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8588 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8589 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8590
b53ef01a
AS
8591 * sysdeps/powerpc/powerpc32/dl-machine.c
8592 (__elf_machine_runtime_setup) [PROF]: Don't reference
8593 _dl_prof_resolve.
8594
7a185db2
AJ
85952012-05-18 Andreas Jaeger <aj@suse.de>
8596
8597 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8598 function only available for GCCs before 3.4 since GCC 3.4
8599 introduced a builtin.
8600 (lrint): Likewise.
8601 (llrintf): Likewise.
8602 (llrint): Likewise.
8603 (fmaxf): Likewise.
8604 (fmax): Likewise.
8605 (fminf): Likewise.
8606 (fmin): Likewise.
8607 (rint): Likewise.
8608 (rintf): Likewise.
8609 (nearbyint): Likewise.
8610 (nearbyintf): Likewise.
8611 (ceil): Likewise.
8612 (ceilf): Likewise.
8613 (floor): Likewise.
8614 (floorf): Likewise.
8615
3e5aef87
L
86162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8617
428bd707
L
8618 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8619 on both fields and cast pointer to __syscall_ulong_t.
8620
3e5aef87
L
8621 * bits/types.h (__fsword_t): New type.
8622 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8623 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8625 (__FSWORD_T_TYPE): Likewise.
8626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8627 (__FSWORD_T_TYPE): Likewise.
8628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8629 (__FSWORD_T_TYPE): Likewise.
8630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8631 (__FSWORD_T_TYPE): Likewise.
8632 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8633 __SWORD_TYPE with __fsword_t.
8634 (statfs64): Likewise.
8635
1ba7c3dc
DM
86362012-05-17 David S. Miller <davem@davemloft.net>
8637
8638 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8639
59910343
AJ
86402012-05-17 Andreas Jaeger <aj@suse.de>
8641
8642 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8643 warning.
8644
2e4c1e9e
L
86452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8646
8647 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8648
de7f5ce7
AJ
86492012-05-17 Andreas Jaeger <aj@suse.de>
8650
8651 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8652 when it is used.
8653
286abc3d
CM
86542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8655
8656 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8657
477cc68e
L
86582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8659
8660 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8661 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8662
1a0994f5
CD
86632012-05-17 Andreas Jaeger <aj@suse.de>
8664 Carlos O'Donell <carlos_odonell@mentor.com>
8665
8666 [BZ #14059]
8667 * sysdeps/x86_64/multiarch/init-arch.h
8668 (bit_YMM_Usable): Rename to...
8669 (bit_AVX_Usable): ... this.
8670 (bit_FMA4_Usable): New macro.
8671 (bit_XMM_state): New macro.
8672 (bit_YMM_state): New macro.
8673 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8674 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8675 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8676 (CPUID_OSXSAVE): New macro.
8677 (CPUID_AVX): New macro.
8678 (CPUID_FMA4): New macro.
8679 (index_YMM_Usable): Rename to...
8680 (index_AVX_Usable): ... this.
8681 (HAS_AVX): Use HAS_ARCH_FEATURE.
8682 (HAS_FMA4): Likewise.
8683 (HAS_YMM_USABLE): Remove.
8684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8685 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8686 are present.
8687 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8688 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8689 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8690 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8691 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8692
0af797de
CM
86932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8694
8695 * math/libm-test.c: Support platforms without multiple rounding modes.
8696 * math/bug-nextafter.c: Support platforms without FP exceptions.
8697 * math/bug-nexttoward.c: Likewise.
8698 * math/test-fenv.c: Likewise.
8699 * math/test-misc.c: Likewise.
8700 * stdlib/bug-getcontext.c: Likewise.
8701
e39745ff
AJ
87022012-05-17 Andreas Jaeger <aj@suse.de>
8703
8704 * manual/examples/search.c (critter_cmp): Change signature to
8705 avoid warnings.
8706 * manual/string.texi (Collation Functions): Likewise.
8707
48970aba
L
87082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8709
8710 * bits/types.h: Fold copyright years.
8711 * bits/typesizes.h: Likewise.
8712 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8716 * time/time.h: Likewise.
8717
bedee953
PP
87182012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8719
8720 [BZ #208]
8721 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8722 in instead of returning them. Return void.
8723 (__libc_mallinfo): Accumulate over all arenas.
8724 (__malloc_stats): Adjust for change in int_mallinfo interface.
8725
61653dfb
RM
87262012-05-16 Roland McGrath <roland@hack.frob.com>
8727
30b99d79
RM
8728 [BZ #10375]
8729 * configure.in (NM): Add AC_CHECK_TOOL for it.
8730 (libc_extra_cflags): New substituted variable.
8731 Check for -fstack-protector being used implicitly.
8732 * configure: Regenerated.
8733 * config.make.in (config-extra-cflags): New variable,
8734 gets @libc_extra_cflags@.
8735 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8736
61653dfb
RM
8737 [BZ #10375]
8738 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8739 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8740 * configure: Regenerated.
8741 * config.make.in (CPPUNDEFS): New substituted variable.
8742 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8743 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8744 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8745
661768bb
L
87462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8747
8748 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8749 (mq_attr): Use __syscall_slong_t.
8750
d4261567
L
87512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8752
8753 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8754 Check __x86_64__ instead of __WORDSIZE.
8755 (_STAT_VER_LINUX): Likewise.
8756 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8757 __syscall_ulong_t and __syscall_slong_t.
8758 (stat64): Likewise.
8759
cf3ff365
L
87602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8761
8762 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8763
76cf3e4d
L
87642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8765
8766 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8767
a637753a
L
87682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8769
8770 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8771 __syscall_ulong_t.
8772
d5e05119
L
8773 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8774 include <bits/wordsize.h>. Check __x86_64__ instead of
8775 __WORDSIZE.
8776 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8777 defined.
8778 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8779
f62ee380
L
8780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8781 include <bits/wordsize.h>. Check __x86_64__ instead of
8782 __WORDSIZE.
8783 (user_regs_struct): Use "__extension__ unsigned long long"
8784 instead of "unsigned long" if __x86_64__ is defined.
8785 (user): Likewise. Pad after pointer field if __ILP32__ is
8786 defined.
8787
4e124ced
JM
87882012-05-16 Joseph Myers <joseph@codesourcery.com>
8789
6a3951a0
JM
8790 * configure.in (makeinfo): Require version 4.5 or later. Allow
8791 versions 5 to 9.
8792 * configure: Regenerated.
8793 * manual/install.texi (texinfo): Increase version requirement to
8794 4.5 or later.
8795 * INSTALL: Regenerated.
8796
4e124ced
JM
8797 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8798
953ca31a
L
87992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8800
8801 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8802
617aca05
L
8803 * sysdeps/x86_64/x32/ffs.c: New file.
8804
5762f7ae
L
8805 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8806 __syscall_ulong_t.
8807 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8808 defined. Use __syscall_ulong_t.
8809 (shminfo): Use __syscall_ulong_t.
8810 (shm_info): Likewise.
8811
a26b6856
L
8812 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8813 __syscall_ulong_t.
8814
cb2b9ef7
L
8815 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8816 <bits/wordsize.h>.
8817 (msgqnum_t): Use __syscall_ulong_t.
8818 (msglen_t): Likewise.
8819 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8820 __syscall_ulong_t.
8821
34683bb0
L
8822 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8824
84a68786
L
8825 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8826
48baa5f1
L
8827 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8828 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8829
180be88b
L
8830 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8831 __syscall_slong_t.
8832
5e90c8ad
L
8833 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8834 include <bits/wordsize.h>. Check __x86_64__ instead of
8835 __WORDSIZE.
8836
23dfb58b
L
8837 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8838 "unsigned long long int" if __x86_64__ is defined.
8839 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8840
ce5d54b0
L
8841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8842 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8843 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8844
13dc9eac
L
8845 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8846 <stdint.h>.
8847 (GET_PC): Cast to uintptr_t first.
8848 (GET_FRAME): Likewise.
8849 (GET_STACK): Likewise.
8850
a7895d15
L
8851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8852 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8853 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8854 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8855 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8856 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8857 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8858 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8859 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8860 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8861 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8863 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8864 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8865 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8866 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8867 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8868 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8869 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8871 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8872 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8873 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8874 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8875 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8876 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8877 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8878 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8879 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8880
656416c9
AS
88812012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8882
5bd66283
AS
8883 * Makerules (+depfiles): Also collect depfiles from .oS in
8884 $(extra-objs).
8885 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8886 .oS, $(libnldbl-routines)).
8887
656416c9
AS
8888 * Makerules (native-compile-mkdep-flags): Define.
8889 * sunrpc/Makefile (extra-objs): Add $(addprefix
8890 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8891 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8892 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8893 calling $(make-target-directory).
8894
a46f2169
L
88952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 * bits/types.h (__snseconds_t): Removed.
8898 * time/time.h (struct timespec): Replace __snseconds_t with
8899 __syscall_slong_t.
8900 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8901 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8902 Likewise.
8903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8904 (__SNSECONDS_T_TYPE): Likewise.
8905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8906 (__SNSECONDS_T_TYPE): Likewise.
8907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8908 (__SNSECONDS_T_TYPE): Likewise.
8909
6af6528b
L
89102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8911
8912 * sysdeps/mach/hurd/bits/typesizes.h
8913 (__SYSCALL_SLONG_TYPE): New macro.
8914 (__SYSCALL_ULONG_TYPE): Likewise.
8915
de986b56
L
89162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8917
8918 * bits/types.h (__syscall_slong_t): New type.
8919 (__syscall_ulong_t): Likewise.
8920
8921 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8922 (__SYSCALL_ULONG_TYPE): Likewise.
8923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8924 (__SYSCALL_SLONG_TYPE): Likewise.
8925 (__SYSCALL_ULONG_TYPE): Likewise.
8926 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8927 (__SYSCALL_SLONG_TYPE): Likewise.
8928 (__SYSCALL_ULONG_TYPE): Likewise.
8929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8930 (__SYSCALL_SLONG_TYPE): Likewise.
8931 (__SYSCALL_ULONG_TYPE): Likewise.
8932
85736dc7
L
89332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8934
8935 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8936 Add sigaltstack-offsets.sym.
8937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8938 <sigaltstack-offsets.h>.
8939 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8940 longjmp_msg pointer.
8941 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8942 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8943 signal stack.
8944 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8945
cc03b296
JM
89462012-05-15 Joseph Myers <joseph@codesourcery.com>
8947
a9538892
JM
8948 * elf/stackguard-macros.h: Remove file.
8949 * sysdeps/generic/stackguard-macros.h: New file.
8950 * sysdeps/i386/stackguard-macros.h: Likewise.
8951 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8952 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8953 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8954 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8955 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8956 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8957 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8958 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8959 <elf/stackguard-macros.h>.
8960
cc03b296
JM
8961 [BZ #14109]
8962 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8963 __aligned__ in attribute.
8964 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8965 (gregset_t): Likewise.
8966
93171016
L
89672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8968
8969 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8970 * sysdeps/x86_64/64/Implies-after: Here. New file.
8971 * sysdeps/x86_64/x32/Implies-after: New file.
8972
d86813a0
L
89732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8974
8975 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8976 and access return value for _dl_profile_fixup. Use R10_LP to
8977 load frame size.
8978
2953ec75
L
89792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8980
8981 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8982
3b550e9e
L
89832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8984
8985 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8986 * sysdeps/x86_64/x32/sysdep.h: New file.
8987
eda41706
L
89882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8989
8990 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8991 * sysdeps/x86_64/setjmp.S: Likewise.
8992
9ea01d93
AZ
89932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8994
8995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8996 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8997 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8998 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8999 remove unused global constant.
9000
02a91938
CM
90012012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9002
9003 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9004 include of <not-cancel.h>.
9005
6540185f
RM
90062012-05-15 Roland McGrath <roland@hack.frob.com>
9007
9008 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9009
509072a0
AJ
90102012-05-15 Jeff Law <law@redhat.com>
9011 Andreas Jaeger <aj@suse.de>
9012
9013 [BZ #13594]
9014 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9015 out from...
9016 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9017 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9018 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9019 code changing __hst_map_handle.map.
9020
ba75122d
RM
90212012-05-15 Roland McGrath <roland@hack.frob.com>
9022
9023 * configure.in (sysnames): Look for Implies-before and Implies-after
9024 files.
9025 * configure: Regenerated.
9026
890d8bd8
L
90272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9028
9029 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9030 8-byte data alignment with LP_SIZE alignment.
9031
f6ee6623
L
90322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9033
9034 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9035 into R10_LP.
9036
ea2626f6
L
90372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9038
9039 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9040
085f715e
L
90412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9042
9043 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9044 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9045 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9046 Likewise.
9047 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9048
be8498fc
L
90492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9050
9051 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9052 (stackinfo_sub_sp): Likewise.
9053
70bc83b9
L
90542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9055
9056 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9057 RAX_LP.
9058
9bc0b730
L
90592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9060
9061 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9062 into R*_LP.
9063
6d2850e7
L
90642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9065
9066 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9067 sizes into R*_LP.
9068
3cb84561
L
90692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9070
9071 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9072
54e2ed81
L
90732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9074
9075 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9076 into R11_LP and load __x86_64_shared_cache_size_half into
9077 R8_LP.
9078
8a17f349
L
90792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9080
9081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9082 R8_LP.
9083
777b1eea
AZ
90842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9085
9086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9087 logb for POWER7.
9088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9089 logbf for POWER7.
9090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9091 logbl for POWER7.
9092 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9093 powerpc32/power7/fpu/s_logb.c via #include.
9094 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9095 powerpc32/power7/fpu/s_logbf.c via #include.
9096 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9097 powerpc32/power7/fpu/s_logbl.c via #include.
9098
d20d4ac2
JM
90992012-05-15 Joseph Myers <joseph@codesourcery.com>
9100
9101 * README.libm: Remove file.
9102
6cdef1ab
L
91032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9104
9105 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9106 count for x32. Use R*_LP and omit operand-size suffix.
9107
0b254d8f
L
91082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9109
9110 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9111 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9112 * sysdeps/x86_64/x32/shlib-versions: New file.
9113
ceb809dc
RM
91142012-05-14 Roland McGrath <roland@hack.frob.com>
9115
9116 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9117 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9118 Use _dl_fatal_printf instead.
9119
37f1abd4
JM
91202012-05-14 Joseph Myers <joseph@codesourcery.com>
9121
9122 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9123 set if not set by the user. Do not allow for being unset.
9124 * sysdeps/unix/sysv/linux/configure: Regenerated.
9125
11de3a33
L
91262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9127
9128 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9129 the `q' suffix from lea and replace .quad with ASM_ADDR.
9130
e02f153a
L
91312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9132
9133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9134 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9135 instead of $17.
9136 (PTR_DEMANGLE): Likewise.
9137
520ae0fd
L
91382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9139
9140 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9141 (LP_OP): Likewise.
9142 (ASM_ADDR): Likewise.
9143 (RAX_LP): Likewise.
9144 (RBP_LP): Likewise.
9145 (RBX_LP): Likewise.
9146 (RCX_LP): Likewise.
9147 (RDI_LP): Likewise.
9148 (RSI_LP): Likewise.
9149 (RSP_LP): Likewise.
9150 (R8_LP): Likewise.
9151 (R9_LP): Likewise.
9152 (R10_LP): Likewise.
9153 (R10_LP): Likewise.
9154 (R11_LP): Likewise.
9155 (R12_LP): Likewise.
9156 (R13_LP): Likewise.
9157 (R14_LP): Likewise.
9158 (R15_LP): Likewise.
9159
b985be81
L
91602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9161
9162 * sysdeps/x86_64/x32/dl-machine.h: New file.
9163
6a4888ff
AJ
91642012-05-14 Andreas Jaeger <aj@suse.de>
9165
9166 * manual/Makefile (subdir): Remove export of subdir.
9167 (all): Remove target.
9168 (.PHONY): Remove all from list.
9169 (mkinstalldirs): Remove.
9170 (.PHONY): Remove installdirs from list.
9171 ($(inst_infodir)/libc.info): Use make-target-directory.
9172 (installdirs): Remove.
9173 (subdir_%): Remove.
9174 (glibc-targets): Remove.
9175 (lib): Remove.
9176 (stubs): Remove.
9177 ($(objpfx)stubs ../po/manual.pot): Remove.
9178 ($(objpfx)stamp%): Remove.
9179 (make-target-directory): Remove.
9180 (subdir_install): Remove.
9181 (routines): Remove.
9182 (aux): Remove.
9183 (sources): Remove.
9184 (objects): Remove.
9185 (headers): Remove.
9186
9187 [BZ #13750]
9188 * manual/.gitignore: Remove, it's not needed anymore.
9189 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9190 all files in it.
9191 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9192 directory.
9193 (texis): Renamed to $(objpfx)texis.
9194 (texis-path): New, contains path to generated files.
9195 (chapters.%): Use texis-path for complete path, add extra argument
9196 libc-texinfo.sh.
9197 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9198 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9199 (summary,texi, stamp-summary): Use complete path of
9200 files. Generate files in build dir.
9201 (dir-add.texi): Build in build dir.
9202 (libm-err.texi,stamp-libm-err): Likewise.
9203 (version.texi, stamp-version): Likewise.
9204 (.%c.texi): Likewise.
9205 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9206 (mostlyclean): Remove target.
9207 (realclean): Remove target.
9208 (generated): Add new variable with contents from mostlyclean and
9209 realclean, remove entries duplicated in common-mostlyclean, add
9210 stamp-libm-err and stamp-version.
9211 (generated-dirs): Add libc directory.
9212 ($(inst_infodir)/libc.info): Install files from build dir.
9213
9214 * manual/install.texi (Configuring and compiling): Adjust since
9215 the info files are not part of the tar ball anymore.
9216
7ac77294
AJ
92172012-05-14 Andreas Jaeger <aj@suse.de>
9218
9219 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9220 variable.
9221
ffb7875d
JM
92222012-05-14 Joseph Myers <joseph@codesourcery.com>
9223
9224 [BZ #13717]
9225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9226 to 2.2.0 where earlier.
9227 * sysdeps/unix/sysv/linux/configure: Regenerated.
9228 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9229 Remove conditional code.
9230 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9231 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9232 Remove conditional code.
9233 [!__NR_lchown]: Likewise.
9234 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9235 [__NR_lchown]: Likewise.
9236 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9237 comment referencing __ASSUME_LCHOWN_SYSCALL.
9238 * sysdeps/unix/sysv/linux/i386/sigaction.c
9239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9241 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9242 Remove conditional code.
9243 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9244 (__protocol_available): Remove #if 0 code.
9245 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9246 conditional code.
9247 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9248 * sysdeps/unix/sysv/linux/kernel-features.h
9249 (__ASSUME_GETCWD_SYSCALL): Don't define.
9250 (__ASSUME_REALTIME_SIGNALS): Likewise.
9251 (__ASSUME_PREAD_SYSCALL): Likewise.
9252 (__ASSUME_PWRITE_SYSCALL): Likewise.
9253 (__ASSUME_POLL_SYSCALL): Likewise.
9254 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9255 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9256 non-SPARC.
9257 (__ASSUME_SIOCGIFNAME): Don't define.
9258 (__ASSUME_MSG_NOSIGNAL): Likewise.
9259 (__ASSUME_SENDFILE): Define unconditionally.
9260 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9261 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9262 conditional code.
9263 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9264 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9265 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9266 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9267 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9268 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9269 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9271 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9274 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9275 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9277 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9280 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9283 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9286 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9287 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9289 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9292 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9294 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9295 Remove conditional code.
9296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9297 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9298 Remove conditional code.
9299 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9300 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9301 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9302 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9303 Remove conditional code.
9304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9305 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9306 Remove conditional code.
9307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9308 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9309 Remove conditional code.
9310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9311 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9312 Remove conditional code.
9313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9314 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9315 Remove conditional code.
9316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9317 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9320 * sysdeps/unix/sysv/linux/sigaction.c
9321 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9322 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9323 * sysdeps/unix/sysv/linux/sigpending.c
9324 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9325 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9326 * sysdeps/unix/sysv/linux/sigprocmask.c
9327 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9328 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9329 * sysdeps/unix/sysv/linux/sigsuspend.c
9330 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9331 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9333 (__libc_missing_rt_sigs): Remove.
9334 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9335 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9336 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9337 Remove conditional code.
9338 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9339 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9340 return 1.
9341 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9342 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9343 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9344 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9345
1bfb7291
AJ
93462012-05-14 Andreas Jaeger <aj@suse.de>
9347
caae5a81
AJ
9348 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9349 it's not used in glibc.
9350 (__coshm1): Likewise.
9351 (__acosh1p): Likewise.
9352 (__sgn): Likewise.
9353
1bfb7291
AJ
9354 * manual/string.texi (Copying and Concatenation): Add missing
9355 variable in concat example.
9356 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9357
c044d724
L
93582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9359
144c5467 9360 [BZ #14103]
c044d724
L
9361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9362 __builtin_clzl with __builtin_clzll.
9363
2523c62b
L
93642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9365
9366 [BZ #14104]
9367 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9368 libc_freeres_ptr.
9369
d7bb4c42
LD
93702012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9371
9372 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9373 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9374 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9375 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9376
9dc4e1fb
MF
93772012-05-14 Mike Frysinger <vapier@gentoo.org>
9378
9379 * NEWS: Update ia64 info.
9380
c7df0112
AS
93812012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9382
9383 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9384 used as bcopy.
9385
dc70356c
TS
93862012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9387
9388 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9389 * sysdeps/unix/syscalls.list (dup3): Likewise.
9390 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9391 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9392
9fb1a21f
L
93932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9394
9395 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9396 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9397
4822a2a5
L
93982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9399
9400 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9401 thread pointer.
9402 (TLS_IE): Use mov/add instead of movq/addq to load thread
9403 pointer.
9404 (TLS_GD_PREFIX): New.
9405 (TLS_GD): Use it.
9406
842b81d6
DM
94072012-05-11 David S. Miller <davem@davemloft.net>
9408
9409 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9410 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9411 (_FPU_SETCW): Likewise.
9412
1cf463cd
L
94132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9414
9415 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9416 is 32-byte aligned.
9417
60cc4a18
AS
94182012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9419
9420 [BZ #11837]
9421 * iconvdata/gb18030.c: Update tables.
9422 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9423 characters specially.
9424 (BODY for TO_LOOP): Add encoding of missing ranges.
9425
febb44a4
TS
94262012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9427
9428 [BZ #13673]
9429 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9430 * sysdeps/mach/hurd/dup3.c: Likewise.
9431 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9432 * sysdeps/powerpc/memmove.c:: Likewise.
9433
0a10fb9e
L
94342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9435
9436 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9437 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9438
df8a552f
L
94392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9440
9441 * elf/elf.h (R_X86_64_RELATIVE64): New.
9442 (R_X86_64_NUM): Updated.
9443 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9444 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9445 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9446 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9447 tst-quad1pie tst-quad2pie
9448 (modules-names): Add tst-quadmod1 tst-quadmod2.
9449 ($(objpfx)tst-quad1): New dependency.
9450 ($(objpfx)tst-quad2): Likewise.
9451 ($(objpfx)tst-quad1pie): Likewise.
9452 ($(objpfx)tst-quad2pie): Likewise.
9453 * sysdeps/x86_64/tst-quad1.c: New file.
9454 * sysdeps/x86_64/tst-quad1pie.c: New file.
9455 * sysdeps/x86_64/tst-quad2.c: Likewise.
9456 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9457 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9458 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9459 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9460 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9461
f34d6f84
ST
94622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9463
f42d41d1
ST
9464 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9465 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9466 * streams/stropts.h (t_scalar_t): Define type.
9467
3c3571fc
ST
9468 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9469 (_PATH_PRESERVE): Set to "/var/lib".
9470 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9471
61f06bd3
ST
9472 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9473 instead of int.
9474
918d4d71
ST
9475 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9476 if __dir_mkfile succeeded.
9477
f34d6f84
ST
9478 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9479 checking for _hurd_dtablesize. Unlock it right after having
9480 finished _hurd_dtable allocation.
9481
10589b4a
TS
94822012-05-10 Thomas Schwinge <thomas@schwinge.name>
9483
674cdbc7
TS
9484 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9485 * sysdeps/mach/hurd/configure: Regenerated.
9486 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9487 special-casing to...
9488 * sysdeps/gnu/configure.in: ... this new file.
9489 * sysdeps/unix/sysv/linux/configure: Regenerated.
9490 * sysdeps/gnu/configure: New generated file.
9491
8e41b99f
TS
9492 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9493 for Linux: use nsec instead of usec, as well as:
9494 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9495 members of type struct timespec.
9496 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9497 New macros.
9498 (struct stat64): Likewise.
9499 (_STATBUF_ST_NSEC): New macro.
9500 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9501
10589b4a
TS
9502 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9503 __strtoul_internal rather than strtoul.
9504
63643c85
PT
95052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9506
9507 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9508 and reject them.
9509
3faebe6a
ST
95102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9511
9512 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9513 which preserves existing values.
9514 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9515
c6474b07
PT
95162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9517
9518 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9519 TIMEOUT values. Return EINVAL for NFDS values either negative or
9520 greater than FD_SETSIZE.
9521
1043890b
ST
95222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9523
9524 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9525 allocated, call __vm_protect to finish enabling the existing space, and
9526 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9527 allocate the remainder.
9528
37ed8b9b
PT
95292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9530
9531 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9532 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9533
db653660
ST
95342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9535
37ed8b9b
PT
9536 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9537 sysdeps/mach/hurd/readlink.c.
b29d4053 9538
db653660
ST
9539 * posix/tst-sysconf.c (posix_options): Only use
9540 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9541 _POSIX_SYNCHRONIZED_IO when they are defined
9542 * sysdeps/mach/hurd/bits/posix_opt.h:
9543 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9544 (_XOPEN_REALTIME): Undefine macro.
9545 (_XOPEN_REALTIME_THREADS): Undefine macro.
9546 (_XOPEN_SHM): Undefine macro.
9547 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9548 macro to -1.
9549 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9550 macro to -1.
9551 (_POSIX_ASYNC_IO): Undefine macro.
9552 (_POSIX_PRIORITIZED_IO): Undefine macro.
9553 (_POSIX_SPIN_LOCKS): Define macro to -1.
9554
ee16e894
ST
9555 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9556 SA_NODEFER, SA_RESETHAND.
9557 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9558 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9559 F_DUPFD_CLOEXEC.
9560
6103ae3b
TS
95612012-05-10 Thomas Schwinge <thomas@schwinge.name>
9562
9563 * elf/Makefile (pldd-modules): Define unconditionally.
9564
80b4e5f3
TS
95652012-05-10 Thomas Schwinge <thomas@schwinge.name>
9566
9567 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9568
edadcbd6
ST
95692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9570
9571 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9572 Return ENOENT when name is empty.
9573 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9574
80694780
TS
95752012-05-10 Thomas Schwinge <thomas@schwinge.name>
9576
1792c087
TS
9577 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9578
80694780
TS
9579 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9580
6b645f0d
ST
95812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9582
80694780
TS
9583 Fix mlock in all cases except non-readable pages.
9584 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9585 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9586
6b645f0d
ST
9587 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9588 (__mkdir): When path is `/', just fail with EEXIST.
9589 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9590
e468f8a3
TS
95912012-05-10 Thomas Schwinge <thomas@schwinge.name>
9592
9593 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9594 <sys/uio.h> (for writev).
9595 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9596 and <sys/param.h> (for MIN).
9597
a4186cff
PT
95982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9599
9600 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9601 REQUESTED_TIME. Properly set the remaining time and return EINTR
9602 if interrupted.
9603
510bbf14
TS
96042012-05-10 Thomas Schwinge <thomas@schwinge.name>
9605
9606 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9607 Depend on against $(link-rpcuserlibs).
9608
5d5722e8
ST
96092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9610
a4186cff
PT
9611 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9612 (__libc_stack_end): Do not use attribute_relro.
9613 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9614 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9615 to libthread-provided value.
a4186cff
PT
9616 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9617 attribute_relro.
5d5722e8 9618
37233df9
TS
96192012-05-10 Thomas Schwinge <thomas@schwinge.name>
9620
be971a2b
TS
9621 [BZ #3748]
9622 * bits/libc-lock.h (__libc_once_get): New macro.
9623 * sysdeps/mach/bits/libc-lock.h: Likewise.
9624 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9626 instead of using implementation details.
9627
37233df9
TS
9628 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9629 * libio/freopen.c: Likewise.
9630 * libio/freopen64.c: Likewise.
9631 * misc/syslog.c: Likewise.
9632 * nscd/connections.c: Likewise.
9633 * nscd/netgroupcache.c: Likewise.
9634 * sysdeps/posix/getcwd.c: Likewise.
9635
38de94a5
RM
96362012-05-10 Roland McGrath <roland@hack.frob.com>
9637
9638 * math/w_ilogbf.c: Add #include <limits.h>.
9639
67530489
ST
96402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9641
a4186cff 9642 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9643 path instead of returning without unlocking.
9644
67530489
ST
9645 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9646 immediate-write ioctls.
9647 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9648
5aa3a74a
TS
96492012-05-10 Thomas Schwinge <thomas@schwinge.name>
9650
18bad2ae
TS
9651 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9652 __builtin_frame_address instead of making assumptions about the
9653 location of the return address relative to DATA. Force early load of
9654 the return address.
9655 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9656 __builtin_frame_address.
9657
5aa3a74a
TS
9658 dup3 for GNU Hurd.
9659 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9660 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9661 implement dup3 and do some further code clean-ups.
9662 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9663 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9664
ecd0de9a
ST
96652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9666
cd9fa985
ST
9667 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9668
a4186cff
PT
9669 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9670 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9671 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9672 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9673 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9674 d->port.lock.
802ca5a5 9675
a4186cff
PT
9676 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9677 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9678 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9679
bcf55240
TS
96802012-05-10 Thomas Schwinge <thomas@schwinge.name>
9681
6960eb42
TS
9682 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9683 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9684 definitions.
9685
eb43375f
TS
9686 accept4 for GNU Hurd.
9687 * include/sys/socket.h (__libc_accept4): New prototype.
9688 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9689 to implement __libc_accept4.
9690 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9691 __libc_accept4.
9692 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9693
bcf55240
TS
9694 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9695 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9696 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9697 signal-defines.sym.
9698
6178c55b
ST
96992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9700
a4186cff 9701 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9702
6f080c2f
TS
97032012-05-10 Thomas Schwinge <thomas@schwinge.name>
9704
9705 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9706 assertion on O_CLOEXEC flag.
9707 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9708 * hurd/intern-fd.c: Likewise.
9709 * hurd/port2fd.c: Likewise.
9710
bcfe3a54
ST
97112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9712
9713 [BZ #3906]
9714 * bits/in.h (IPV6_PKTINFO): Define new macro.
9715 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9716
89c9aa49
AZ
97172012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9718
9719 [BZ #13954]
9720 [BZ #13955]
9721 [BZ #13956]
9722 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9724 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9725 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9727 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9728 * math/libm-test.inc (logb_test) : Additional logb tests.
9729
021db4be
AJ
97302012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9731 Andreas Jaeger <aj@suse.de>
9732
9733 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9734 * configure: Regenerated.
9735 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9736 * config.make.in (link-obsolete-rpc): New substituted variable.
9737 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9738 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9739 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9740 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9741 so that libc.a contains the symbols.
9742 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9743 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9744 * sunrpc/auth_none.c: Likewise.
9745 * sunrpc/auth_unix.c: Likewise.
9746 * sunrpc/authdes_prot.c: Likewise.
9747 * sunrpc/authuxprot.c: Likewise.
9748 * sunrpc/clnt_gen.c: Likewise.
9749 * sunrpc/clnt_perr.c: Likewise.
9750 * sunrpc/clnt_raw.c: Likewise.
9751 * sunrpc/clnt_simp.c: Likewise.
9752 * sunrpc/clnt_tcp.c: Likewise.
9753 * sunrpc/clnt_udp.c: Likewise.
9754 * sunrpc/clnt_unix.c: Likewise.
9755 * sunrpc/des_crypt.c: Likewise.
9756 * sunrpc/des_soft.c: Likewise.
9757 * sunrpc/get_myaddr.c: Likewise.
9758 * sunrpc/key_call.c: Likewise.
9759 * sunrpc/key_prot.c: Likewise.
9760 * sunrpc/netname.c: Likewise.
9761 * sunrpc/pm_getmaps.c: Likewise.
9762 * sunrpc/pm_getport.c: Likewise.
9763 * sunrpc/pmap_clnt.c: Likewise.
9764 * sunrpc/pmap_prot.c: Likewise.
9765 * sunrpc/pmap_prot2.c: Likewise.
9766 * sunrpc/pmap_rmt.c: Likewise.
9767 * sunrpc/publickey.c: Likewise.
9768 * sunrpc/rpc_cmsg.c: Likewise.
9769 * sunrpc/rpc_common.c: Likewise.
9770 * sunrpc/rpc_dtable.c: Likewise.
9771 * sunrpc/rpc_prot.c: Likewise.
9772 * sunrpc/rpc_thread.c: Likewise.
9773 * sunrpc/rtime.c: Likewise.
9774 * sunrpc/svc.c: Likewise.
9775 * sunrpc/svc_auth.c: Likewise.
9776 * sunrpc/svc_raw.c: Likewise.
9777 * sunrpc/svc_run.c: Likewise.
9778 * sunrpc/svc_tcp.c: Likewise.
9779 * sunrpc/svc_udp.c: Likewise.
9780 * sunrpc/svc_unix.c: Likewise.
9781 * sunrpc/svcauth_des.c: Likewise.
9782 * sunrpc/xcrypt.c: Likewise.
9783 * sunrpc/xdr.c: Likewise.
9784 * sunrpc/xdr_array.c: Likewise.
9785 * sunrpc/xdr_float.c: Likewise.
9786 * sunrpc/xdr_intXX_t.c: Likewise.
9787 * sunrpc/xdr_mem.c: Likewise.
9788 * sunrpc/xdr_rec.c: Likewise.
9789 * sunrpc/xdr_ref.c: Likewise.
9790 * sunrpc/xdr_sizeof.c: Likewise.
9791 * sunrpc/xdr_stdio.c: Likewise.
9792
b5c086a2
RM
97932012-05-10 Roland McGrath <roland@hack.frob.com>
9794
9795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9796 change. Update copyright years.
9797
6d74dd09
JM
97982012-05-10 Joseph Myers <joseph@codesourcery.com>
9799
9800 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9801
28e72501
MK
98022012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9803 Joseph Myers <joseph@codesourcery.com>
9804 Paul Pluzhnikov <ppluzhnikov@google.com>
9805
9806 [BZ #14012]
9807 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9808 requiring rpcgen.
9809 [cross-compiling] (extra-libs): Likewise.
9810 [cross-compiling] (extra-libs-others): Likewise.
9811 [cross-compiling] (librpcsvc-routines): Likewise.
9812 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9813 [cross-compiling] (omit-deps): Likewise.
9814 (sunrpc-CPPFLAGS): New variable.
9815 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9816 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9817 (cross-rpcgen-objs): New variable.
9818 (extra-objs): Append $(cross-rpcgen-objs).
9819 ($(cross-rpcgen-objs)): New rule.
9820 ($(objpfx)cross-rpcgen): Likewise.
9821 (rpcgen-cmd): Define to use $(built-program-file). Expand
9822 comment.
9823 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9824 ($(objpfx)x%.stmp): Likewise.
9825 * sunrpc/proto.h [IS_IN_build] (_): Define.
9826 [IS_IN_build] (_libc_intl_domainname): Likewise.
9827
c8c59454
L
98282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9829
9830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9831 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9832 and R_X86_64_TPOFF64.
9833
6f27cd16
JM
98342012-05-10 Joseph Myers <joseph@codesourcery.com>
9835
9836 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9837 sysdeps/unix/sysv/syscalls.list.
9838 (stime): Likewise.
9839 (utime): Likewise.
9840 * sysdeps/unix/sysv/syscalls.list: Remove file.
9841
02467e1c
PE
98422012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9843
9844 [BZ #3440]
9845 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9846 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9847 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9848 (__LC_IDENTIFICATION): Make these macros useful in #if
9849 expressions, as required by C99.
9850
da392631
AS
98512012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9852
9853 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9854 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9855 after this.
9856
8115f29b
L
98572012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9858
9859 * stdlib/longlong.h: Updated from GCC.
9860
bdd74070
AJ
98612012-05-09 Andreas Jaeger <aj@suse.de>
9862
edfe0dbe
AJ
9863 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9864 default is first entry.
9865 (run_mode): Set type.
9866 (main): Remove informal message about syslog.
9867 (options): Fix typo.
9868
bcfe3a54
ST
9869 [BZ #14053]
9870 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9871 to asm.
bcfe3a54
ST
9872 (lrint): Likewise.
9873 (llrintf): Likewise.
9874 (llrint): Likewise.
9875 (rint): Likewise.
9876 (rintf): Likewise.
9877 (nearbyint): Likewise.
9878 (nearbyintf): Likewise.
bdd74070 9879
91d8d69e
AJ
98802012-05-09 Andreas Jaeger <aj@suse.de>
9881 Pedro Alves <palves@redhat.com>
9882
9883 * nscd/nscd.c (run_mode): Use enum.
9884 (main): Cleanup coding style issue.
9885
bb90b80b
AJ
98862012-05-09 Alexandre Oliva <aoliva@redhat.com>
9887 Andreas Jaeger <aj@suse.de>
9888
bcfe3a54
ST
9889 * nscd/nscd.c (go_background): Replaced with...
9890 (run_mode): ... this.
bb90b80b 9891 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9892 (options): Add -F --foreground.
9893 (main): Implement it.
9894 (parse_opt): Parse it.
bb90b80b 9895
1a4b75a1
AJ
98962012-05-09 Andreas Jaeger <aj@suse.de>
9897
9898 [BZ #14083]
9899 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9900 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9901 -Wconversion warning.
9902 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9903 Likewise.
9904
b1cc2472
JM
99052012-05-09 Joseph Myers <joseph@codesourcery.com>
9906
9907 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9908 == 0.
9909 (LC_ALL): Use macro-int-constant.
9910 (LC_COLLATE): Likewise.
9911 (LC_CTYPE): Likewise.
9912 (LC_MESSAGES): Likewise.
9913 (LC_MONETARY): Likewise.
9914 (LC_NUMERIC): Likewise.
9915 (LC_TIME): Likewise.
9916 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9917 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9919 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9920 Specify type.
9921 [C99-based standards] (float_t): Expect type.
9922 [C99-based standards] (double_t): Expect type.
9923 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9924 type.
9925 [C99-based standards] (HUGE_VALL): Likewise.
9926 [C99-based standards] (INFINITY): Likewise.
9927 [C99-based standards] (NAN): Likewise.
9928 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9929 [C99-based standards] (FP_NAN): Likewise.
9930 [C99-based standards] (FP_NORMAL): Likewise.
9931 [C99-based standards] (FP_SUBNORMAL): Likewise.
9932 [C99-based standards] (FP_ZERO): Likewise.
9933 [C99-based standards] (FP_FAST_FMA): Use
9934 optional-macro-int-constant. Specify type. Require == 1.
9935 [C99-based standards] (FP_FAST_FMAF): Likewise.
9936 [C99-based standards] (FP_FAST_FMAL): Likewise.
9937 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9938 [C99-based standards] (FP_ILOGBNAN): Likewise.
9939 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9940 Specify type.
9941 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9942 [C99-based standards] (math_errhandling): Specify type.
9943 [ISO99 || ISO11] (signgam): Do not allow.
9944 [non-C99-based standards] (copysignf): Do not allow.
9945 [non-C99-based standards] (exp2f): Likewise.
9946 [non-C99-based standards] (log2f): Likewise.
9947 [non-C99-based standards] (modff): Allow.
9948 [non-C99-based standards] (erff): Do not allow.
9949 [non-C99-based standards] (erfcf): Likewise.
9950 [non-C99-based standards] (gammaf): Likewise.
9951 [non-C99-based standards] (hypotf): Likewise.
9952 [non-C99-based standards] (j0f): Likewise.
9953 [non-C99-based standards] (j1f): Likewise.
9954 [non-C99-based standards] (jnf): Likewise.
9955 [non-C99-based standards] (lgammaf): Likewise.
9956 [non-C99-based standards] (tgammaf): Likewise.
9957 [non-C99-based standards] (y0f): Likewise.
9958 [non-C99-based standards] (y1f): Likewise.
9959 [non-C99-based standards] (ynf): Likewise.
9960 [non-C99-based standards] (isnanf): Likewise.
9961 [non-C99-based standards] (acoshf): Likewise.
9962 [non-C99-based standards] (asinhf): Likewise.
9963 [non-C99-based standards] (atanhf): Likewise.
9964 [non-C99-based standards] (cbrtf): Likewise.
9965 [non-C99-based standards] (expm1f): Likewise.
9966 [non-C99-based standards] (ilogbf): Likewise.
9967 [non-C99-based standards] (log1pf): Likewise.
9968 [non-C99-based standards] (logbf): Likewise.
9969 [non-C99-based standards] (nextafterf): Likewise.
9970 [non-C99-based standards] (remainderf): Likewise.
9971 [non-C99-based standards] (rintf): Likewise.
9972 [non-C99-based standards] (scalbf): Likewise.
9973 [non-C99-based standards] (copysignl): Likewise.
9974 [non-C99-based standards] (exp2l): Likewise.
9975 [non-C99-based standards] (log2l): Likewise.
9976 [non-C99-based standards] (modfl): Allow.
9977 [non-C99-based standards] (erfl): Do not allow.
9978 [non-C99-based standards] (erfcl): Likewise.
9979 [non-C99-based standards] (gammal): Likewise.
9980 [non-C99-based standards] (hypotl): Likewise.
9981 [non-C99-based standards] (j0l): Likewise.
9982 [non-C99-based standards] (j1l): Likewise.
9983 [non-C99-based standards] (jnl): Likewise.
9984 [non-C99-based standards] (lgammal): Likewise.
9985 [non-C99-based standards] (tgammal): Likewise.
9986 [non-C99-based standards] (y0l): Likewise.
9987 [non-C99-based standards] (y1l): Likewise.
9988 [non-C99-based standards] (ynl): Likewise.
9989 [non-C99-based standards] (isnanl): Likewise.
9990 [non-C99-based standards] (acoshl): Likewise.
9991 [non-C99-based standards] (asinhl): Likewise.
9992 [non-C99-based standards] (atanhl): Likewise.
9993 [non-C99-based standards] (cbrtl): Likewise.
9994 [non-C99-based standards] (expm1l): Likewise.
9995 [non-C99-based standards] (ilogbl): Likewise.
9996 [non-C99-based standards] (log1pl): Likewise.
9997 [non-C99-based standards] (logbl): Likewise.
9998 [non-C99-based standards] (nextafterl): Likewise.
9999 [non-C99-based standards] (remainderl): Likewise.
10000 [non-C99-based standards] (rintl): Likewise.
10001 [non-C99-based standards] (scalbl): Likewise.
10002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10003 [non-C99-based standards] (FP_*): Do not allow.
10004 [C99-based standards] (FP_*): Change to
10005 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10006 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10007 allow.
10008 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10009 (SIG_ERR): Likewise.
10010 [X/Open-based standards] (SIG_HOLD): Likewise.
10011 (SIG_IGN): Likewise.
10012 (SIGABRT): Use macro-int-constant. Specify type. Require
10013 positive value.
10014 (SIGFPE): Likewise.
10015 (SIGILL): Likewise.
10016 (SIGINT): Likewise.
10017 (SIGSEGV): Likewise.
10018 (SIGTER): Likewise.
10019 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10020 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10021 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10022 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10023 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10024 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10025 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10026 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10027 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10028 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10029 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10030 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10031 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10032 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10033 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10034 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10035 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10036 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10037 [X/Open-based standards] (SIGTRAP): Likewise.
10038 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10039 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10040 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10041 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10042 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10043 allow.
10044
b9f1922d
IW
100452012-05-08 Ian Wienand <ianw@vmware.com>
10046
10047 [BZ #14080]
10048 * time/tzset.c (__tzset_parse_tz): Update default rules for
10049 daylight time changes in the Energy Policy Act of 2005.
10050
1db86e88
AJ
100512012-05-09 Andreas Jaeger <aj@suse.de>
10052
10053 [BZ #13983]
10054 * elf/ldconfig.c (parse_conf): Change string to make clear that
10055 ldconfig only issued a warning if ld.so.conf does not exist.
10056
dee4a4e3
DM
100572012-05-08 David S. Miller <davem@davemloft.net>
10058
ee0db190
DM
10059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10060 movxtod instead of popping the value on the stack.
10061
dee4a4e3
DM
10062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10063
6a43ec98
CD
100642012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10065
10066 * config.h.in: Add HAVE_ARM_PCS_VFP.
10067
05c2c961
RMG
100682012-05-08 Roland Mc Grath <roland@hack.frob.com>
10069
bcfe3a54
ST
10070 [BZ #13979]
10071 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10072 checking but the checks are disabled for any reason.
05c2c961 10073
4b30f61a
L
100742012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10075
10076 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10077 and ELF64_R_TYPE with ELFW(R_TYPE).
10078
eee2bc67
JM
100792012-05-08 Joseph Myers <joseph@codesourcery.com>
10080
7ea5391a
JM
10081 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10082 (ulimit): Likewise.
10083
eee2bc67
JM
10084 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10085 (settimeofday): Likewise.
10086
abb66a67
MF
100872012-05-08 Mike Frysinger <vapier@gentoo.org>
10088
10089 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10090 a struct th_u2 inside the union, and move tu_block/tu_code into
10091 a new th_u3 union of tu_block/tu_code inside of that. Move
10092 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10093 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10094 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10095 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10096 (th_stuff): Change to th_u1.tu_stuff.
10097 (th_data): Define.
10098 (th_msg): Change to th_u1.th_u2.tu_data.
10099
7f18b530
DM
101002012-05-07 David S. Miller <davem@davemloft.net>
10101
05760585
DM
10102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10103
7f18b530
DM
10104 [BZ #14074]
10105 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10106 (SETUP_PIC_REG): Use it.
10107 (SETUP_PIC_REG_LEAF): Use it.
10108
495fd99f
JM
101092012-05-07 Joseph Myers <joseph@codesourcery.com>
10110
10111 [BZ #13885]
10112 [BZ #13923]
10113 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10114 USE_AS_EXPM1L.
10115 (EXPL_FINITE): Likewise.
10116 (FLDLOG): Likewise.
10117 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10118 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10119 e_expl.S.
10120 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10121 USE_AS_EXPM1L.
10122 (EXPL_FINITE): Likewise.
10123 (FLDLOG): Likewise.
10124 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10125 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10126 e_expl.S.
10127 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10128 test of -max_value argument for long double.
10129 * sysdeps/i386/fpu/libm-test-ulps: Update.
10130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10131
6693d694
DM
101322012-05-06 David S. Miller <davem@davemloft.net>
10133
10134 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10135 quad soft-float symbols whose references which are compiler
10136 generated.
10137 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10138
6c23e11c
JM
101392012-05-06 Joseph Myers <joseph@codesourcery.com>
10140
d8b82cad
JM
10141 [BZ #13884]
10142 [BZ #13914]
10143 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10144 USE_AS_EXP10L.
10145 (EXPL_FINITE): Likewise.
10146 (FLDLOG): Likewise.
10147 (c0): Likewise.
10148 (c1): Likewise.
10149 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10150 Adjust comments for base varying.
10151 (__expl_finite): Change alias to EXPL_FINITE.
10152 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10153 e_expl.S.
10154 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10155 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10157 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10158 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10159 USE_AS_EXP10L.
10160 (EXPL_FINITE): Likewise.
10161 (FLDLOG): Likewise.
10162 (c0): Likewise.
10163 (c1): Likewise.
10164 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10165 Adjust comments for base varying.
10166 (__expl_finite): Change alias to EXPL_FINITE.
10167 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10168 tests for bugs.
10169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10170
6c23e11c
JM
10171 [BZ #14064]
10172 * math/libm-test.inc (check_float_internal): Correct ulp
10173 calculation for subnormal expected results.
10174
29ba805c
AJ
101752012-05-06 Andreas Jaeger <aj@suse.de>
10176
10177 * Makeconfig (+math-flags): New, set to -frounding-math.
10178 (+cflags): Add +math-flags so that all of glibc gets compiled with
10179 it.
10180
10181 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10182
7b17aeda
JM
101832012-05-05 Joseph Myers <joseph@codesourcery.com>
10184
5779f134
JM
10185 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10186 Disable one test.
10187
41498f4d
JM
10188 [BZ #13787]
10189 [BZ #13922]
10190 [BZ #14036]
10191 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10192 (__ieee754_expl): Allow for and saturate large arguments.
10193 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10194 (u_threshold): Likewise.
10195 (__exp): Call __ieee754_exp before checking for overflow and
10196 underflow.
10197 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10198 (u_threshold): Likewise.
10199 (__expf): Call __ieee754_expf before checking for overflow and
10200 underflow.
10201 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10202 (u_threshold): Likewise.
10203 (__expl): Call __ieee754_expl before checking for overflow and
10204 underflow.
10205 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10206 (__ieee754_expl): Allow for and saturate large arguments.
10207 * math/libm-test.inc (exp_test): Add another test. Do not allow
10208 missing overflow exception on overflow.
10209 (expm1_test): Do not allow missing overflow exception on overflow.
10210
6698b8bf
JM
10211 * sysdeps/i386/fpu/e_expl.c: Move to ...
10212 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10213 rather than using inline asm.
10214 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10215 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10216 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10217
7b17aeda
JM
10218 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10219 (nice): Likewise.
10220 (poll): Likewise.
10221 (signal): Likewise.
10222 (time): Likewise.
10223 (times): Likewise.
10224
f7c85819
JM
102252012-05-04 Joseph Myers <joseph@codesourcery.com>
10226
10227 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10228 sysdeps/unix/common/syscalls.list.
10229 (fchmod): Likewise.
10230 (fchown): Likewise.
10231 (ftruncate): Likewise.
10232 (getrusage): Likewise.
10233 (gettimeofday): Likewise.
10234 (setpgid): Likewise.
10235 (setregid): Likewise.
10236 (setreuid): Likewise.
10237 (sigaction): Likewise.
10238 (truncate): Likewise.
10239 (vhangup): Likewise.
10240 * sysdeps/unix/common/syscalls.list: Remove file.
10241 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10242 * sysdeps/unix/sysv/linux/Implies: Likewise.
10243
336270d0
L
102442012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10245
10246 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10248 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10249 Moved to ...
10250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10251 Here.
10252 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10253 to ...
10254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10255 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10256 to ...
10257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10258 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10259 to ...
10260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10261 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10262 to ...
10263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10264 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10265 to ...
10266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10267 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10268 to ...
10269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10270 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10271 to ...
10272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10273 Here.
10274 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10275 to ...
10276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10277 Here.
10278 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10279 to ...
10280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10281 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10282 Moved to ...
10283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10284 Here.
10285 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10286 to ...
10287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10288
d128e450
JM
102892012-05-04 Joseph Myers <joseph@codesourcery.com>
10290
fa8ee516
JM
10291 * sysdeps/unix/common/bits/dirent.h: Remove file.
10292 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10293
d128e450
JM
10294 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10295 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10296 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10297 * sysdeps/unix/bsd/isatty.c: Likewise.
10298 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10299 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10300 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10301
ff8faaf0 103022012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10303
62881be4 10304 [BZ #13563]
31dc8730
AZ
10305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10306 long double comparison inaccuracies.
10307 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10309
6fef930c
AS
103102012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10311
10312 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10314
8f203e6c
JM
103152012-05-04 Joseph Myers <joseph@codesourcery.com>
10316
10317 [BZ #14049]
10318 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10319 nonzero digits before rounding a hex value.
10320 * stdlib/tst-strtod.c (tests): Add another test.
10321
5197d9c2
AK
103222012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10323
10324 * sysdeps/s390/fpu/libm-test-ulps: Update.
10325
f0c1dedf
AJ
103262012-05-03 Andreas Jaeger <aj@suse.de>
10327
10328 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10329 does not get optimized out.
10330 (malloc_opt_barrier): New.
10331
a65ef2ae 103322012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10333 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10334
2b942cb7 10335 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10336 intermediate file deletion.
2b942cb7 10337 (generated): Add .symlist files.
a65ef2ae 10338
54b71e02
JM
103392012-05-03 Joseph Myers <joseph@codesourcery.com>
10340
10341 [BZ #13775]
10342 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10343 Redirect under this condition.
10344 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10345 [__USE_GNU] (__dprintf_chk): Not under this condition.
10346 [__USE_GNU] (__vdprintf_chk): Likewise.
10347 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10348 under this condition.
10349 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10350 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10351 [__USE_XOPEN2K8] (vdprintf): Likewise.
10352 [__USE_GNU] (__dprintf_chk): Not under this condition.
10353 [__USE_GNU] (__vdprintf_chk): Likewise.
10354 [__USE_GNU] (dprintf): Likewise.
10355 [__USE_GNU] (vdprintf): Likewise.
10356
d3dfcc41
RM
103572012-05-03 Roland McGrath <roland@hack.frob.com>
10358
10359 * elf/Makefile (common-generated): Set this instead of generated for
10360 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10361 $(all-built-dso)-derived lists.
10362
7ac30cc5
AJ
103632012-05-03 Andreas Jaeger <aj@suse.de>
10364
0c51e550
AJ
10365 * sysdeps/i386/fpu/libm-test-ulps: Update.
10366
7ac30cc5
AJ
10367 * FAQ: Removed.
10368 * FAQ.in: Likewise.
10369 * scripts/gen-FAQ.pl: Likewise.
10370 * manual/install.texi (Installation): Point to online location of
10371 FAQ.
10372 * Makefile (files-for-dist): Remove FAQ.
10373 (FAQ): Remove.
10374
d4c2917f
AM
103752012-05-02 Allan McRae <allan@archlinux.org>
10376
10377 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10378 (LDFLAGS-reldepmod5.so): Likewise.
10379 (LDFLAGS-reldep6mod1.so): Likewise.
10380 (LDFLAGS-reldep6mod4.so): Likewise.
10381 (LDFLAGS-reldep8mod3.so): Likewise.
10382 (LDFLAGS-unload4mod1.so): Likewise.
10383 (LDFLAGS-unload4mod2.so): Likewise.
10384 (LDFLAGS-tst-initorder): Likewise.
10385 (LDFLAGS-tst-initordera2.so): Likewise.
10386 (LDFLAGS-tst-initordera3.so): Likewise.
10387 (LDFLAGS-tst-initordera4.so): Likewise.
10388 (LDFLAGS-tst-initorderb2.so): Likewise.
10389 (LDFLAGS-noload): Likewise.
10390 (LDFLAGS-next): Likewise.
10391 (LDFLAGS-order2mod1.so): Likewise.
10392 (LDFLAGS-order2mod2.so): Likewise.
10393 (LDFLAGS-tst-initorder2): Likewise.
10394 (LDFLAGS-tst-initorder2a.so): Likewise.
10395 (LDFLAGS-tst-initorder2b.so): Likewise.
10396 (LDFLAGS-tst-initorder2c.so): Likewise.
10397 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10398
d77f993f
DM
103992012-05-02 David S. Miller <davem@davemloft.net>
10400
10401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10402
171a70b4
PP
104032012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10404
10405 [BZ #14055]
10406 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10407
0be196ad
AJ
104082012-05-02 Andreas Jaeger <aj@suse.de>
10409
10410 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10411 since we manipulate rounding mode.
10412 (CPPFLAGS-test-idouble.c): Likewise.
10413 (CPPFLAGS-test-ifloat.c): Likewise.
10414 (CFLAGS-test-ldouble.c): Likewise.
10415 (CFLAGS-test-double.c): Likewise.
10416 (CFLAGS-test-float.c): Likewise.
10417 (CFLAGS-test-misc.c): Likewise.
10418 (CFLAGS-test-test-fenv.c): Likewise.
10419
4f9d04aa
AZ
104202012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10421
2b942cb7
RM
10422 [BZ #2550]
10423 [BZ #2570]
10424 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10425 comparisons to determine direction to adjust input.
4f9d04aa 10426
82a79e7d
RM
104272012-05-01 Roland McGrath <roland@hack.frob.com>
10428
f5a01ca9
RM
10429 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10430 output to the target.
10431
90fe4186
RM
10432 * scripts/localplt.awk: New file.
10433 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10434 (check-localplt-CFLAGS): Variable removed.
10435 ($(all-built-dso:=.jmprel)): New static pattern rule.
10436 (generated): Add those targets.
10437 (localplt-built-dso): New variable.
10438 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10439
10440 * elf/check-localplt.c: File removed.
10441
82397ed6
RM
10442 * scripts/check-execstack.awk: New file.
10443 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10444 (check-execstack-CFLAGS): Variable removed.
10445 ($(objpfx)check-execstack.h): Target removed.
10446 ($(objpfx)execstack-default): New target.
10447 (generated): Add that instead of check-execstack.h.
10448 ($(all-built-dso:=.phdr)): New static pattern rule.
10449 (generated): Add those targets.
10450 * elf/check-execstack.c: File removed.
10451
82a79e7d
RM
10452 * scripts/check-textrel.awk: New file.
10453 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10454 (check-textrel-CFLAGS): Variable removed.
10455 (all-built-dso): Use := to define.o
10456 ($(all-built-dso:=.dyn)): New static pattern rule.
10457 (generated): Add those targets.
10458 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10459 * config.make.in (READELF): New substituted variable.
10460 * elf/check-textrel.c: File removed.
10461
62fde54f 104622012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10463
615605c9
JM
10464 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10465 allow.
10466 * conform/data/ctype.h-data [C99-based standards] (isblank):
10467 Expect function.
10468 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10469 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10470 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10471 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10472 Specify type. Require positive value.
10473 (EILSEQ): Likewise.
10474 (ERANGE): Likewise.
10475 [ISO || POSIX] (EILSEQ): Do not expect.
10476 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10477 Specify type. Require positive value.
10478 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10479 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10480 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10481 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10482 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10483 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10484 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10485 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10486 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10487 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10488 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10490 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10492 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10493 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10496 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10497 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10499 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10500 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10501 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10502 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10503 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10504 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10505 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10506 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10507 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10524 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10537 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10538 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10539 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10540 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10541 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10542 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10543 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10544 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10545 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10546 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10547 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10548 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10549 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10550 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10551 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10552 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10553 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10554 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10555 Require >= 2.
10556 (FLT_ROUNDS): Expect as macro, not constant.
10557 (FLT_MANT_DIG): Use macro-int-constant.
10558 (DBL_MANT_DIG): Likewise.
10559 (LDBL_MANT_DIG): Likewise.
10560 (FLT_DIG): Likewise.
10561 (DBL_DIG): Likewise.
10562 (LDBL_DIG): Likewise.
10563 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10564 (DBL_MIN_EXP): Likewise.
10565 (LDBL_MIN_EXP): Likewise.
10566 (FLT_MAX_EXP): Use macro-int-constant.
10567 (DBL_MAX_EXP): Likewise.
10568 (LDBL_MAX_EXP): Likewise.
10569 (FLT_MAX_10_EXP): Likewise.
10570 (DBL_MAX_10_EXP): Likewise.
10571 (LDBL_MAX_10_EXP): Likewise.
10572 (FLT_MAX): Use macro-constant.
10573 (DBL_MAX): Likewise.
10574 (LDBL_MAX): Likewise.
10575 (FLT_EPSILON): Use macro-constant. Give upper bound.
10576 (DBL_EPSILON): Likewise.
10577 (LDBL_EPSILON): Likewise.
10578 (FLT_MIN): Likewise.
10579 (DBL_MIN): Likewise.
10580 (LDBL_MIN): Likewise.
10581 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10582 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10583 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10584 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10585 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10586 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10587 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10588 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10589 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10590 [ISO11] (FLT_TRUE_MIN): Likewise.
10591 [ISO11] (LDBL_TRUE_MIN): Likewise.
10592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10593 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10594 (SCHAR_MIN): Use macro-int-constant. Specify type.
10595 (SCHAR_MAX): Likewise.
10596 (UCHAR_MAX): Likewise.
10597 (CHAR_MIN): Likewise.
10598 (CHAR_MAX): Likewise.
10599 (MB_LEN_MAX): Use macro-int-constant.
10600 (SHRT_MIN): Use macro-int-constant. Specify type.
10601 (SHRT_MAX): Likewise.
10602 (USHRT_MAX): Likewise.
10603 (INT_MAX): Likewise.
10604 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10605 bound negative.
10606 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10607 bound with "U".
10608 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10609 bound with "L".
10610 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10611 bound negative. Suffix upper bound with "L".
10612 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10613 bound with "UL".
10614 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10615 Specify type.
10616 [C99-based standards] (LLONG_MAX): Likewise.
10617 [C99-based standards] (ULLONG_MAX): Likewise.
10618 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10619 == 0.
10620 [ISO11] (max_align_t): Require type.
10621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10622
c9140a62
JM
10623 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10624 from $CFLAGS, without defining away __attribute__ calls.
10625 (checknamespace): Use $CFLAGS_namespace.
10626
9af0bf29
JM
10627 * conform/conformtest.pl (@keywords): Only include C99 keywords
10628 for standards based on C99 or C11.
10629
343222a2
JM
10630 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10631 Disable tests.
10632 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10633 UNIX98]: Likewise.
10634
661f8cf0
JM
10635 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10636 usability of symbols in #if.
10637
ee74b9cb
JM
10638 * conform/conformtest.pl: If macro or constant types start
10639 "promoted:", expect the symbol to be of the following type
10640 promoted by the integer promotions.
62fde54f 10641
aafc49b3
JM
10642 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10643 in one place. Also handle "macro-constant".
10644
fefdf574
JM
10645 * conform/conformtest.pl: Only accept expected macro values with
10646 "==". Parse all "macro" lines in one place.
10647 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10648
f2d922fe
JM
10649 * conform/conformtest.pl: Handle braced types on "constant" lines
10650 instead of handling "typed-constant".
10651 * conform/data/signal.h-data: Use "constant" instead of
10652 "typed-constant".
10653
d22956c9
JM
10654 * conform/conformtest.pl: Handle "optional-" at start of lines in
10655 one place rather than duplicating several cases. Handle each
10656 format of "macro" line with initial "optional-".
10657
028e2e38
JM
10658 * conform/conformtest.pl: Only accept expected constant or
10659 optional-constant values with "==". Parse all "constant" lines in
10660 one place. Parse all "optional-constant" lines in one place.
10661 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10662 * conform/data/fmtmsg.h-data: Likewise.
10663 * conform/data/netinet/in.h-data: Likewise.
10664 * conform/data/tar.h-data: Likewise.
10665 * conform/data/limits.h-data: Use "==" form on "constant" and
10666 "optional-constant" lines.
10667
1b8f2850
JM
10668 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10669 Use -std=c99 for XOPEN2K.
10670 (@knownproblems): Remove.
10671 (newtoken): Don't check %isknown.
10672
a05a144b
JM
10673 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10674 Do not expect macro.
10675 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10687 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10688 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10705 [XPG3] (acosh): Likewise.
10706 [XPG3] (asinh): Likewise.
10707 [XPG3] (atanh): Likewise.
10708 [XPG3] (cbrt): Likewise.
10709 [XPG3] (expm1): Likewise.
10710 [XPG3] (ilogb): Likewise.
10711 [XPG3] (log1p): Likewise.
10712 [XPG3] (logb): Likewise.
10713 [XPG3] (nextafter): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10716 [XPG3] (remainder): Likewise.
10717 [XPG3] (rint): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10725 [UNIX98 || XOPEN2K] (scalb): Expect.
10726 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10727 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10831 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10832 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10840 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10863
73c5ebe3
JM
10864 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10865 _XOPEN_SOURCE_EXTENDED for XPG4.
10866
39c33b6c
JM
10867 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10868
62fde54f
JM
10869 * Makeconfig (localtime): Remove variable.
10870 (inst_localtime-file): Likewise.
10871
0741d64c
AS
108722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10873
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10875 Update.
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10877 Update.
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10879 Update.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10881 Update.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10883 Update.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10885 Update.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10887 Update.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10889 Update.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10891 Update.
10892
7cb029ee
JM
108932012-05-01 Joseph Myers <joseph@codesourcery.com>
10894
10895 [BZ #2550]
10896 [BZ #2570]
10897 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10898 comparisons to determine direction to adjust input.
10899 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10900 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10901 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10902 Likewise.
10903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10904 Likewise.
10905 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10906 Likewise.
10907 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10908 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10909 Likewise.
10910 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10911 Likewise.
10912 * math/libm-test.inc (nexttoward_test): Add more tests.
10913
412bd966
AS
109142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10915
10916 [BZ #14040]
10917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10918 in version GLIBC_2.1, not GLIBC_2.0.
10919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10920 Likewise.
10921
9568c0c2
JM
109222012-04-30 Joseph Myers <joseph@codesourcery.com>
10923
adfbc8ac
JM
10924 [BZ #13942]
10925 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10926 (1 - x) * (1 + x).
10927 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10928 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10929 * math/libm-test.inc (acos_test): Add more tests.
10930 (asin_test): Likewise.
10931 * sysdeps/i386/fpu/libm-test-ulps: Update.
10932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10933
5ba3cc69
JM
10934 [BZ #14034]
10935 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10936 of square root.
10937 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10938 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10939 * math/libm-test.inc (acos_test_tonearest): New function.
10940 (acos_test_towardzero): Likewise.
10941 (acos_test_downward): Likewise.
10942 (acos_test_upward): Likewise.
10943 (asin_test_tonearest): Likewise.
10944 (asin_test_towardzero): Likewise.
10945 (asin_test_downward): Likewise.
10946 (asin_test_upward): Likewise.
10947 (main): Call the new functions.
10948 * sysdeps/i386/fpu/libm-test-ulps: Update.
10949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10950
9568c0c2
JM
10951 [BZ #13884]
10952 [BZ #13924]
10953 * math/e_exp10.c: Include <float.h>.
10954 (__ieee754_exp10): Handle underflow here rather than multiplying
10955 large negative argument by M_LN10.
10956 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10957 of __ieee754_expf.
10958 * math/e_exp10l.c: Include <float.h>.
10959 (__ieee754_exp10l): Handle underflow here rather than multiplying
10960 large negative argument by M_LN10l.
10961 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10962 spurious overflow exception on underflow.
10963
5ac3ea17
MP
109642012-04-29 Marek Polacek <polacek@redhat.com>
10965
10966 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10967 (__fortify_function): New macro.
10968 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10969 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10970 __extern_always_inline.
10971 * libio/bits/stdio2.h: Likewise.
10972 * libio/bits/stdio.h: Likewise.
10973 * string/string.h: Likewise.
10974 * string/bits/string3.h: Likewise.
10975 * include/stdio.h: Likewise.
10976 * stdlib/bits/stdlib.h: Likewise.
10977 * stdlib/stdlib.h: Likewise.
10978 * rt/bits/mqueue2.h: Likewise.
10979 * rt/mqueue.h: Likewise.
10980 * posix/bits/unistd.h: Likewise.
10981 * posix/unistd.h: Likewise.
10982 * io/bits/poll2.h: Likewise.
10983 * io/bits/fcntl2.h: Likewise.
10984 * io/fcntl.h: Likewise.
10985 * io/sys/poll.h: Likewise.
10986 * misc/bits/syslog.h: Likewise.
10987 * misc/bits/syslog-ldbl.h: Likewise.
10988 * misc/sys/syslog.h: Likewise.
10989 * socket/bits/socket2.h: Likewise.
10990 * socket/sys/socket.h: Likewise.
10991 * debug/tst-chk1.c: Likewise.
10992 * wcsmbs/bits/wchar2.h: Likewise.
10993 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10994 * wcsmbs/wchar.h: Likewise.
10995
ecf0ebfb
AJ
109962012-04-29 Andreas Jaeger <aj@suse.de>
10997
10998 * Makerules (tests): Remove enable-check-abi protection.
10999 (check-abi-warn): Remove.
11000 (check-abi-%): Remove check-abi-warn usage.
11001
11002 * configure.in: Remove check-abi configure option.
11003 * configure: Regenerated.
11004 * config.make.in (enable-check-abi): Remove.
11005
6d5c57fa
AS
110062012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11007
24c5d07e 11008 [BZ #14033]
ded5180a
AS
11009 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11010 double functions to double *_finite functions.
11011
7e0d315d
AS
11012 [BZ #13941]
11013 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11014 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11015 LDBL_MIN_EXP.
11016 * stdio-common/Makefile (tests): Add tst-sprintf3.
11017 * stdio-common/tst-sprintf3.c: New file.
11018
6d5c57fa
AS
11019 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11020 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11021
0749ff8b
JM
110222012-04-28 Joseph Myers <joseph@codesourcery.com>
11023
11024 * conform/conformtest.pl: Remove duplicate typed-constant
11025 handling.
11026
8dbd5d7b
DM
110272012-04-28 David S. Miller <davem@davemloft.net>
11028
11029 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11030 (check-abi-%): Remove AWK script prerequisite and explicit
11031 abilist directory.
11032 (check-abi): Rewrite to just diff the symlist with the abilist.
11033 (config-tls, config-abi-config): Delete, no longer used.
11034 (update-abi-%): Remove AWK script and explicit abilist directory.
11035 (update-abi): Rewrite to simply compare and conditionally copy the
11036 symlist and the sysdep abilist file. Remove update-abi-config
11037 checks.
11038 * abilist/ld.abilist: Remove.
11039 * abilist/libBrokenLocale.abilist: Remove.
11040 * abilist/libanl.abilist: Remove.
11041 * abilist/libcrypt.abilist: Remove.
11042 * abilist/libdl.abilist: Remove.
11043 * abilist/librt.abilist: Remove.
11044 * abilist/libthread_db.abilist: Remove.
11045 * abilist/libutil.abilist: Remove.
11046 * scripts/extract-abilist.awk: Remove.
11047 * scripts/merge-abilist.awk: Remove.
11048 * sysdeps/generic/libcidn.abilist: New file.
11049 * sysdeps/generic/libnss_compat.abilist: New file.
11050 * sysdeps/generic/libnss_db.abilist: New file.
11051 * sysdeps/generic/libnss_dns.abilist: New file.
11052 * sysdeps/generic/libnss_files.abilist: New file.
11053 * sysdeps/generic/libnss_hesiod.abilist: New file.
11054 * sysdeps/generic/libnss_nis.abilist: New file.
11055 * sysdeps/generic/libnss_nisplus.abilist: New file.
11056 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11057 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11058 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11059 file.
11060 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11061 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11062 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11063 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11064 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11065 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11066 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11067 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11068 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11069 file.
11070 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11071 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11072 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11073 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11074 file.
11075 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11076 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11077 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11078 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11079 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11080 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11081 file.
11082 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11083 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11084 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11085 file.
11086 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11088 New file.
11089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11090 New file.
11091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11092 New file.
11093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11094 New file.
11095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11096 New file.
11097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11098 New file.
11099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11100 New file.
11101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11102 New file.
11103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11104 New file.
11105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11106 New file.
11107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11108 New file.
11109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11110 New file.
11111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11112 New file.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11114 file.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11116 New file.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11118 New file.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11120 file.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11122 New file.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11124 New file.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11126 file.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11128 New file.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11130 New file.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11132 New file.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11134 New file.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11136 New file.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11138 New file.
11139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11141 file.
11142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11143 New file.
11144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11145 file.
11146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11147 file.
11148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11149 file.
11150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11151 file.
11152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11153 file.
11154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11155 New file.
11156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11157 file.
11158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11159 file.
11160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11161 New file.
11162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11163 file.
11164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11166 file.
11167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11168 New file.
11169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11170 file.
11171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11172 file.
11173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11174 file.
11175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11176 file.
11177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11178 file.
11179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11180 New file.
11181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11182 file.
11183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11184 file.
11185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11186 New file.
11187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11188 file.
11189 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11190 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11191 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11192 file.
11193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11194 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11195 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11196 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11197 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11198 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11199 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11200 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11201 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11202 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11205 file.
11206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11207 New file.
11208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11209 file.
11210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11211 file.
11212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11213 file.
11214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11215 file.
11216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11217 file.
11218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11219 New file.
11220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11221 New file.
11222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11223 file.
11224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11225 New file.
11226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11227 file.
11228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11230 file.
11231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11232 New file.
11233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11234 file.
11235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11236 file.
11237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11238 file.
11239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11240 file.
11241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11242 file.
11243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11244 New file.
11245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11246 New file.
11247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11248 file.
11249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11250 New file.
11251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11252 file.
11253
41d73a1b
JM
112542012-04-28 Joseph Myers <joseph@codesourcery.com>
11255
11256 * conform/conformtest.pl: Fix typo in handling typed-constant from
11257 allow-header.
11258
28aeeda4
JM
112592012-04-27 Joseph Myers <joseph@codesourcery.com>
11260
adae8f5e
JM
11261 * README: Cut down references to pre-2.6 Linux kernels and
11262 Linuxthreads. Update lists of configurations in libc and ports
11263 and sort alphabetically. Say "or newer" with Linux kernel version
11264 requirements.
11265
28aeeda4
JM
11266 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11267
a462cb63
RA
112682012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11269
11270 [BZ #887]
11271 * math/libm-test.inc (logb_test_downward): New test to expose
11272 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11273 rounding mode.
11274
6ad3493e
JM
112752012-04-27 Joseph Myers <joseph@codesourcery.com>
11276
11277 [BZ #14027]
11278 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11279 to be done.
11280 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11281 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11282
2ce4f015
JM
112832012-04-26 Joseph Myers <joseph@codesourcery.com>
11284
5aeb141a
JM
11285 * sysdeps/unix/i386/brk.S: Remove file.
11286 * sysdeps/unix/i386/dl-brk.S: Likewise.
11287 * sysdeps/unix/i386/pipe.S: Likewise.
11288 * sysdeps/unix/i386/sigreturn.S: Likewise.
11289 * sysdeps/unix/i386/syscall.S: Likewise.
11290 * sysdeps/unix/i386/vfork.S: Likewise.
11291 * sysdeps/unix/i386/wait.S: Likewise.
11292
7143acae
JM
11293 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11294 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11295
2ce4f015
JM
11296 * configure.in (arm*-none*): Do not allow without
11297 --enable-hacker-mode.
11298 (netbsd*): Remove case setting base_os.
11299 (386bsd*): Likewise.
11300 (freebsd*): Likewise.
11301 (bsdi*): Likewise.
11302 (osf*): Likewise.
11303 (sunos*): Likewise.
11304 (ultrix*): Likewise.
11305 (newsos*): Likewise.
11306 (dynix*): Likewise.
11307 (*bsd*): Likewise.
11308 (sysv*): Likewise.
11309 (isc*): Likewise.
11310 (esix*): Likewise.
11311 (sco*): Likewise.
11312 (minix*): Likewise.
11313 (irix4*): Likewise.
11314 (irix6*): Likewise.
11315 (solaris[2-9]*): Likewise.
11316 (none): Likewise.
11317 * configure: Regenerated.
11318
0ac229c8
AZ
113192012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11320
11321 [BZ #11521]
11322 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11323 overflow or cancellation in calculating denominator.
11324 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11326 down expression to avoid unexpected rounding in newer GCCs.
11327 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11328
33f244f4
DM
113292012-04-26 David S. Miller <davem@davemloft.net>
11330
11331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11332 long-double compat symbols.
11333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11346
cfa1f3e8
DM
113472012-04-25 David S. Miller <davem@davemloft.net>
11348
11349 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11350 HWCAP_* values only after the memory barriers have been defined.
11351 (atomic_full_barrier): Define.
11352 (atomic_read_barrier): Define.
11353 (atomic_write_barrier): Define.
11354
6e236b92
SP
113552012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11356
11357 * shlib-versions: Add libgcc_s version information.
11358 * sysdeps/generic/libgcc_s.h: Remove.
11359 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11360 libgcc_s.h.
11361 * sysdeps/gnu/unwind-resume.c: Likewise.
11362 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11363
aab39a09
DM
113642012-04-25 David S. Miller <davem@davemloft.net>
11365
11366 * sysdeps/unix/sparc/brk.S: Delete.
11367 * sysdeps/unix/sparc/dl-brk.S: Delete.
11368 * sysdeps/unix/sparc/pipe.S: Delete.
11369 * sysdeps/unix/sparc/sysdep.S: Delete.
11370 * sysdeps/unix/sparc/sysdep.h: Delete.
11371 * sysdeps/unix/sparc/vfork.S: Delete.
11372 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11373 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11374 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11375 ret_ERRVAL, r0, r1, MOVE): Define.
11376 (JUMPTARGET): Remove.
11377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11378 sysdeps/unix/sparc/sysdep.h
11379 (ENTRY, END): Remove.
11380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11381
a3cc4f48
JM
113822012-04-25 Joseph Myers <joseph@codesourcery.com>
11383
2ed8cda2
JM
11384 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11385 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11386 -DIS_IN_build.
11387
35d76d59
JM
11388 * timezone/README: Update upstream location and email address for
11389 tzcode and tzdata.
11390 * timezone/zdump.c: Update from tzcode 2012b.
11391 * timezone/zic.c: Likewise.
11392
a3cc4f48
JM
11393 * configure.in (libc_cv_as_needed): Remove test.
11394 * configure: Regenerated.
11395 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11396 conditional definition.
11397 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11398 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11399 * config.make.in (have-as-needed): Remove variable.
11400
ceab42c3
SP
114012012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11402 Paul Pluzhnikov <ppluzhnikov@google.com>
11403
11404 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11405 strings correctly.
11406
3ce2865f
CLT
114072012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11408
11409 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11410 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11411 * sysdeps/sh/strlen.S: Likewise.
11412
f37e0d68
JM
114132012-04-24 Joseph Myers <joseph@codesourcery.com>
11414
ae186e9a
JM
11415 * sysdeps/unix/fork.S: Remove file.
11416 * sysdeps/unix/i386/fork.S: Likewise.
11417 * sysdeps/unix/sparc/fork.S: Likewise.
11418
b96914af
JM
11419 * sysdeps/unix/system.c: Remove file.
11420 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11421
f37e0d68
JM
11422 * sysdeps/unix/getegid.S: Remove file.
11423 * sysdeps/unix/geteuid.S: Likewise.
11424
87ef29ca
RM
114252012-04-24 Roland McGrath <roland@hack.frob.com>
11426
83bcd236
RM
11427 * scripts/check-localplt.awk: New file.
11428 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11429 of diff.
11430 * scripts/data/localplt-generic.data: Add a comment.
11431
87ef29ca
RM
11432 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11433 NODE when __dir_mkfile failed.
11434 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11435 Reported by Ludovic Courtès <ludo@gnu.org>.
11436
e5a6e567
AJ
114372012-04-24 Andreas Jaeger <aj@suse.de>
11438
11439 * Makerules (common-clean): Also remove gen-as-const-headers
11440 files.
11441
c1820385
JM
114422012-04-24 Joseph Myers <joseph@codesourcery.com>
11443
11444 * Makerules (native-compile): Do not change working directory for
11445 build. Use $(OUTPUT_OPTION) in command.
11446 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11447
94e02fc4
AZ
114482012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11449
11450 [BZ #13886]
11451 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11452 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11453 * math/libm-test.inc (floor_test): Add more tests.
11454 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11455
3a533ca3
JM
114562012-04-24 Joseph Myers <joseph@codesourcery.com>
11457
940ab4b3
JM
11458 * sysdeps/unix/getdents.c: Remove file.
11459 * sysdeps/unix/sysv/getdents.c: Likewise.
11460 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11461
90e037bd
JM
11462 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11463 sysdeps/unix/mman/syscalls.list.
11464 (mmap): Likewise.
11465 (mprotect): Likewise.
11466 (msync): Likewise.
11467 (munmap): Likewise.
11468 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11469 * sysdeps/unix/mman/syscalls.list: Remove.
11470 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11471
3a533ca3
JM
11472 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11473 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11474 * configure: Regenerated.
11475 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11476 $(libgcc_s_suffix).
11477 * config.make.in (libgcc_s_suffix): Remove variable.
11478
1ad743de
JM
114792012-04-23 Joseph Myers <joseph@codesourcery.com>
11480
4ad451e2
JM
11481 * sysdeps/unix/sysv/gethostname.c: Move to ...
11482 * sysdeps/posix/gethostname.c: ... here.
11483
5e37ce39
JM
11484 * sysdeps/unix/execve.S: Remove file.
11485
1ad743de
JM
11486 * sysdeps/unix/_exit.S: Remove file.
11487
4e681b5b
AJ
114882012-04-23 Andreas Jaeger <aj@suse.de>
11489
11490 [BZ #13739]
11491 * manual/Makefile: Remove make dist support, there's no
11492 need for a stand-alone documentation tar ball.
11493 (TEXI2DVI): Define always, it's not in Makeconfig.
11494 (dist): Removed.
11495 (tar-it): Removed.
11496 (edition): Removed.
11497 (glibc-doc-$(edition).tar): Removed
11498 (%.Z): Removed.
11499 (%.gz): Removed.
11500 (%.uu): Removed.
11501 (ETAGS): Remove, it's in Makeconfig.
11502 (move-if-change): Remove, it's in Makeconfig.
11503
c0baea34
PE
115042013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11505
11506 [BZ #13970]
11507 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11508 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11509 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11510 (strtod_l, strtof_l, strtold_l): Remove __wur.
11511 It is not necessarily an error to ignore strtol's return value.
11512 One can reliably look at the stored endptr to decide whether
11513 the number had valid syntax.
11514
7c0616fa
AJ
115152012-04-21 Andreas Jaeger <aj@suse.de>
11516
803cb6b7 11517 [BZ #13739]
7c0616fa
AJ
11518 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11519
b0fe253f
JM
115202012-04-21 Joseph Myers <joseph@codesourcery.com>
11521
11522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11523 * sysdeps/unix/sysv/Versions: Remove file.
11524
8280f22d
MT
115252012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11526
11527 [BZ #13927]
11528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11529
75ce411f 115302012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11531
11532 [BZ #7064]
11533 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11534 version from __vm86.
11535
097d59fa
JM
115362012-04-20 Joseph Myers <joseph@codesourcery.com>
11537
a90f3bcb
JM
11538 * sysdeps/unix/common/lxstat.c: Remove file.
11539 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11540
edc7ea78
JM
11541 * sysdeps/unix/sysv/Makefile: Remove file.
11542
cb78c221
JM
11543 * sysdeps/unix/sysv/direct.h: Remove file.
11544
efa6a45f
JM
11545 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11546 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11547 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11548 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11549 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11550 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11551 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11552
9c9f2d0c
JM
11553 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11554
4541c83b
JM
11555 * sysdeps/unix/xmknod.c: Remove file.
11556 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11557
f5d153a0
JM
11558 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11559
aa746595
JM
11560 * sysdeps/unix/sysv/i386/time.S: Remove file.
11561
cce5905e
JM
11562 * sysdeps/unix/fxstat.c: Remove file.
11563 * sysdeps/unix/xstat.c: Likewise.
11564 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11565
37fa3841
JM
11566 * sysdeps/unix/sysv/sigaction.c: Remove file.
11567
ff1962a3
JM
11568 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11569 (sysdep_headers): Remove variable.
11570 [termio.h not in sysdep_headers] (generated): Likewise.
11571 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11572 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11573 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11574 * sysdeps/unix/sysv/tcflow.c: Likewise.
11575 * sysdeps/unix/sysv/tcflush.c: Likewise.
11576 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11577 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11578 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11579 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11580 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11581
e7740d31
JM
11582 * sysdeps/unix/siglist.c: Remove file.
11583
ee06f18b
JM
11584 * sysdeps/unix/getppid.S: Remove file.
11585
097d59fa
JM
11586 * sysdeps/unix/mkdir.c: Remove file.
11587 * sysdeps/unix/rmdir.c: Likewise.
11588
ff3d51ec
AS
115892012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11590
11591 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11592 ERR_MAX value.
11593 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11594 errlist-compat value.
11595
50f81fd7
DM
115962012-04-18 David S. Miller <davem@davemloft.net>
11597
11598 * sysdeps/generic/memcopy.h (reg_char): Delete.
11599 * debug/strcat_chk.c: Use char, not reg_char.
11600 * debug/strcpy_chk.c: Likewise.
11601 * debug/strncat_chk.c: Likewise.
11602 * debug/strncpy_chk.c: Likewise.
11603 * string/memchr.c: Likewise.
11604 * string/memrchr.c: Likewise.
11605 * string/rawmemchr.c: Likewise.
11606 * string/strcat.c: Likewise.
11607 * string/strchr.c: Likewise.
11608 * string/strchrnul.c: Likewise.
11609 * string/strcmp.c: Likewise.
11610 * string/strcpy.c: Likewise.
11611 * string/strncat.c: Likewise.
11612 * string/strncmp.c: Likewise.
11613 * string/strncpy.c: Likewise.
11614
8ff41c46
WS
116152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11616
11617 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11618 __builtin_memcopy is called when src and dest ranges are known to not
11619 overlap.
11620
6b652f46
WS
116212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11622
11623 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11624 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11625 fwd_align_merge macro call.
11626 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11627 bwd_align_merge macro call.
11628 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11629
b282631e
WS
116302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11631
11632 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11633 bwd_align_merge macros.
11634 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11635 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11636 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11637
95aa737c
DM
116382012-04-18 David S. Miller <davem@davemloft.net>
11639
11640 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11641
7a99a614
AJ
116422012-04-18 Andreas Jaeger <aj@suse.de>
11643
11644 [BZ# 6794]
11645 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11646 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11647 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11648
11649 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11650 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11651 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11652
11653 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11654 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11655 Adjust for changed ldbl-128 files.
11656
11657 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11658 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11659 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11660
e5270c23
DM
116612012-04-17 David S. Miller <davem@davemloft.net>
11662
11663 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11664
fb5e92c9
AS
116652012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11666
11667 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11668 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11669 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11670 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11671 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11672 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11673
76da7265
AZ
116742012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11675
11676 [BZ #6794]
11677 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11678 * math/libm-test.inc: Add ilogb errno and exception tests.
11679 * math/w_ilogb.c: New file: ilogb wrapper.
11680 * math/w_ilogbf.c: New file: ilogbf wrapper.
11681 * math/w_ilogbl.c: New file: ilogbl wrapper.
11682 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11683 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11684 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11685 exception being thrown with 0.0 as argument.
11686 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11687 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11688 exception being thrown with 0.0 as argument.
11689 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11690 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11691 exception being thrown with 0.0 as argument.
11692 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11693 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11694 exception being thrown with 0.0 as argument.
11695 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11696 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11697 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11698 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11700 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11701 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11702 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11703 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11704
0396e69d
PB
117052012-04-17 Petr Baudis <pasky@ucw.cz>
11706
11707 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11708 with altivec.
11709
750b5926
MP
117102012-04-16 Marek Polacek <polacek@redhat.com>
11711
11712 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11713
751728a1
MP
117142012-04-16 Marek Polacek <polacek@redhat.com>
11715
11716 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11717 operands of fdivp instruction.
11718
34a27407
L
117192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11720
11721 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11722 * elf/tst-auditmod3b.c: Likewise.
11723 * elf/tst-auditmod4b.c: Likewise.
11724 * elf/tst-auditmod5b.c: Likewise.
11725 * elf/tst-auditmod6b.c: Likewise.
11726 * elf/tst-auditmod6c.c: Likewise.
11727 * elf/tst-auditmod7b.c: Likewise.
11728 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11729 * sysdeps/x86_64/preconfigure.in: Likewise.
11730 * sysdeps/x86_64/preconfigure: Regenerated.
11731
7e73e17d
L
117322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11733
11734 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11735 __ILP32__.
11736
c7a6ab72
AB
117372012-04-13 Antoine Balestrat <merkil33@gmail.com>
11738
11739 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11740 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11741
a9e8e0e0
CL
117422012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11743
11744 [BZ #13973]
11745 * locale/iso-639.def: Fix gl language name. Spotted by
11746 Yaron Shahrabani.
11747
ec98af7d
RM
117482012-04-12 Roland McGrath <roland@hack.frob.com>
11749
11750 [BZ #2074]
11751 * libio/libio.h (__io_write_fn): Update comment.
11752
247c3ede
PB
117532012-04-12 Petr Baudis <pasky@ucw.cz>
11754
11755 [BZ #2074]
11756 * stdio.texi (Hook Functions): The user provided writer function
11757 is not allowed to return -1.
11758
55939d6d
DM
117592012-04-11 David S. Miller <davem@davemloft.net>
11760
11761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11762
90020f5a
MF
117632012-04-11 Mike Frysinger <vapier@gentoo.org>
11764
11765 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11766 Add a leading slash to rtkaio.
11767
288f9098
JM
117682012-04-11 Jim Meyering <meyering@redhat.com>
11769
90020f5a
MF
11770 [BZ #11959]
11771 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11772 It is not necessarily an error to ignore fwrite's return
11773 value. One can reliably use ferror to test for errors after
11774 the fact.
288f9098 11775
4be2b570
L
117762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11777
11778 * bits/types.h (__snseconds_t): New type.
11779 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11780
11781 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11783 (__SNSECONDS_T_TYPE): Likewise.
11784 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11785 (__SNSECONDS_T_TYPE): Likewise.
11786 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11787 (__SNSECONDS_T_TYPE): Likewise.
11788
288f9098 117892012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11790
11791 [BZ #2636]
11792 * manual/time.texi (Processor Time): Return type of times is
11793 elapsed real time since an arbitrary point in the past.
11794 (CPU Time): Move CLK_TCK from here...
11795 (Processor Time): ...to here. Correct description.
11796 * manual/conf.texi (Constants for Sysconf): Correct description of
11797 _SC_CLK_TCK.
11798
d7dd4413
DM
117992012-04-10 David S. Miller <davem@davemloft.net>
11800
11801 [BZ #13967]
11802 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11803 where the is a gap between DT_REL(A) and DT_JMPREL.
11804
b46068fc
L
118052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11808 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11809 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11810
73d65cc3
SP
118112012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11812
11813 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11814 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11815 (dl_main): Handle --inhibit-cache.
11816 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11817 _dl_inhibit_cache.
11818 * elf/dl-load.c (_dl_map_object): Use it.
11819 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11820
bcc8d661
JM
118212012-04-09 Joseph Myers <joseph@codesourcery.com>
11822
8f9a2fae
JM
11823 [BZ #13872]
11824 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11825 (__ieee754_powl): Saturate large exponents rather than testing for
11826 overflow of y*log2(x).
11827 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11828 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11829 exceptions.
11830
bcc8d661
JM
11831 [BZ #11521]
11832 * math/s_ctan.c: Include <float.h>.
11833 (__ctan): Avoid internal overflow or cancellation in calculating
11834 denominator.
11835 * math/s_ctanf.c: Likewise.
11836 * math/s_ctanl.c: Likewise.
11837 * math/s_ctanh.c: Likewise.
11838 * math/s_ctanhf.c: Likewise.
11839 * math/s_ctanhl.c: Likewise.
11840 * math/libm-test.inc (ctan_test): Add more tests.
11841 (ctanh_test): Likewise.
11842 * sysdeps/i386/fpu/libm-test-ulps: Update.
11843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11844
823fbbb4
AJ
118452012-04-09 Andreas Jaeger <aj@suse.de>
11846
03879793
AJ
11847 [BZ #6894]
11848 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11849 is an optional BSD extension.
11850
823fbbb4
AJ
11851 [BZ #10254]
11852 * manual/stdio.texi (Opening Streams): Document additional fopen
11853 parameters.
11854
8de131cb
RM
118552012-04-09 Roland McGrath <roland@hack.frob.com>
11856
11857 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11858 %eax without telling the compiler.
11859
c0ed9d7d
CD
118602012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11861
11862 [BZ # 13963]
11863 * manual/install.texi: Use sourceware.org.
11864
c483f6b4
JM
118652012-04-09 Joseph Myers <joseph@codesourcery.com>
11866
d7dd9453
JM
11867 [BZ #13873]
11868 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11869 (__ieee754_pow): Generate overflow and underflow using huge*huge
11870 and tiny*tiny rather than just returning constant infinity or zero
11871 for large exponents.
11872 * math/libm-test.inc (pow_test): Require overflow exceptions for
11873 applicable cases of large exponents.
11874
c483f6b4
JM
11875 [BZ #706]
11876 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11877 (__ieee754_pow): Use iterative multiplication algorithm only for
11878 integer exponents with absolute value below 1024. Check for odd
11879 integer exponents when using algorithm for real exponents.
11880 * math/libm-test.inc (pow_test): Add more tests.
11881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11882
d2de7579
JM
118832012-04-08 Joseph Myers <joseph@codesourcery.com>
11884
11885 [BZ #13705]
11886 * math/libm-test.inc (exp_test): Do not allow overflow exception
11887 on underflow test.
11888
f77f1232
AJ
118892012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11890
11891 [BZ #13705]
11892 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11893 instead of __kernel_standard_f.
11894
3884932b
MF
118952012-04-08 Mike Frysinger <vapier@gentoo.org>
11896
11897 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11898 * sysdeps/x86_64/memset_chk.S: Likewise.
11899
54472e9c
AJ
119002012-04-08 Andreas Jaeger <aj@suse.de>
11901
6ab0fbfc
AJ
11902 [BZ #10153]
11903 * manual/startup.texi (Environment Access): Describe return value
11904 for putenv and setenv.
11905
61efba8c
AJ
11906 [BZ #6895]
11907 * manual/filesys.texi (Directory Entries): Add description for
11908 DT_LNK.
11909
95c3f29a
AJ
11910 [BZ #6890]
11911 * manual/filesys.texi (Directory Entries): Clarify that it's file
11912 system not operating system in the description of DT_UNKNOWN.
11913
54472e9c
AJ
11914 [BZ #6578]
11915 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11916
624254b1
SC
119172012-04-08 Stephen Compall <s11@member.fsf.org>
11918
11919 [BZ #6649]
11920 * manual/llio.texi (Opening and Closing Files): Add cross
11921 reference to explain mode argument.
11922
1e4920e0
MF
119232012-04-07 Mike Frysinger <vapier@gentoo.org>
11924
11925 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11926 * sysdeps/x86_64/memset_chk.S: Likewise.
11927
5ed848f3
DM
119282012-04-07 David S. Miller <davem@davemloft.net>
11929
11930 * elf/elf.h (R_SPARC_WDISP10): Define.
11931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11932 R_SPARC_SIZE32.
11933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11934 R_SPARC_SIZE64 and R_SPARC_H34.
11935
96154cd8
CD
119362012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11937
11938 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11939 conditions and remove no longer applicable assertion.
11940
9904dc47
L
119412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11942
11943 * bits/byteswap.h: Include <features.h>.
11944 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11945 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11946
f8887d0a
L
119472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 * bits/byteswap.h (__bswap_16): Removed.
11950 Include <bits/byteswap-16.h> to get __bswap_16.
11951 * sysdeps/i386/bits/byteswap.h: Likewise.
11952 * sysdeps/s390/bits/byteswap.h: Likewise.
11953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11954 * bits/byteswap-16.h: New file.
11955 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11956 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11957 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11958 * string/Makefile (headers): Add bits/byteswap-16.h.
11959
62470f60
PP
119602012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11961
11962 [BZ #13895]
11963 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11964 extra indirection.
11965 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11966 * nss/tst-nss-static.c: New.
11967
4dad7bab
RM
119682012-04-06 Robert Millan <rmh@gnu.org>
11969
11970 [BZ #6486]
11971 * manual/llio.texi (File Position Primitive): lseek
11972 refers to WHENCE when it really means OFFSET.
11973
e9142a17
AJ
119742012-04-06 Andreas Jaeger <aj@suse.de>
11975
2c040eff
AJ
11976 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11977 strncmp declarations.
11978
e9142a17
AJ
11979 * abilist/libc.abilist: Add __poll and __ppoll.
11980
ff9f1c5f
DM
119812012-04-05 David S. Miller <davem@davemloft.net>
11982
dcd2ae90
DM
11983 * scripts/check-local-headers.sh: Accept a host triplet in the
11984 path matched by the exclude regexp.
11985
993eb054
DM
11986 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11987 definition.
11988 * sysdeps/powerpc/powerpc32/dl-machine.h
11989 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11990 * sysdeps/s390/s390-32/dl-machine.h
11991 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11992 * sysdeps/sparc/sparc32/dl-machine.h
11993 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11994 * sysdeps/sparc/sparc64/dl-machine.h
11995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11996
ff9f1c5f
DM
11997 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11998 lazy binding.
48e2e132 11999 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12000 undefined symbol errors.
12001
48e2e132 12002 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12003 DT_NEEDED entries.
12004
e80d6f94
MM
120052012-04-05 Michael Matz <matz@suse.de>
12006
12007 [BZ #13592]
12008 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12009
349fa79f
AJ
120102012-04-05 Andreas Jaeger <aj@suse.de>
12011
12012 [BZ #13908]
12013 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12014 comment.
12015
f402708f
KK
120162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12017
12018 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12019 which ROUND is no valid rounding mode.
12020
2ecccfc9
KK
120212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12022
12023 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12024 read again.
12025 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12026
8a53f50f
KK
120272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12028
12029 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12030 an exception using FPU order intentionally.
12031
120322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12033
12034 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12035 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12036 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12037 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12038
d653abb7
SJ
120392012-04-05 Simon Josefsson <simon@josefsson.org>
12040
12041 [BZ #12340]
12042 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12043 EINVAL when BUFLEN is too smal.
12044
c3b1bf7d
TS
120452012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12046
12047 [BZ #13553]
12048 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12049 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12050
b1aa60f3
AJ
120512012-04-03 Andreas Jaeger <aj@suse.de>
12052
c3b1bf7d 12053 [BZ #13938]
67f60a26
AJ
12054 * manual/setjmp.texi (System V contexts): Fix sentence.
12055
b1aa60f3
AJ
12056 [BZ #13926]
12057 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12058 New macro for this case.
12059 [!__GNUC__] (__bswap_64): New inline function for this case.
12060 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12061 * bits/byteswap.h: Likewise.
12062 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12063 ull, guard with __GLIBC_HAVE_LONG_LONG.
12064
12065 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12066 __GLIBC_HAVE_LONG_LONG.
12067
12068 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12069 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12070
39c59c35
TMQMF
120712012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12072
12073 [BZ #13691]
12074 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12075 inptr and inend, rather than using last_ch.
12076
135ffda8
DM
120772012-04-02 David S. Miller <davem@davemloft.net>
12078
12079 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12080 * stdio-common/printf-parse.h (read_int): Change return type to
12081 'int', return -1 on INT_MAX overflow.
12082 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12083 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12084 overflows INT_MAX. Check for overflow of in-format-string precision
12085 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12086 SIZE_MAX not INT_MAX for integer overflow test.
12087 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12088 skip the construct in the format string but do not record anything.
12089 * stdio-common/bug22.c: Adjust to test both width/prevision
12090 INT_MAX overflow as well as total length INT_MAX overflow. Check
12091 explicitly for proper errno values.
12092
228c019e
TS
120932012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12094
302cadd3
TS
12095 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12096 CHAR_MAX.
12097 * string/test-strcmp.c [! WIDE]: Likewise.
12098 * time/tst-mktime2.c: Likewise for INT_MAX.
12099 * string/test-string.h: #include <sys/param.h> for MIN.
12100
228c019e
TS
12101 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12102 * sysdeps/i386/init-first.c (init): Likewise.
12103 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12104 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12105 * sysdeps/sh/init-first.c (init): Likewise.
12106
cfa633f5
UD
121072012-04-01 Ulrich Drepper <drepper@gmail.com>
12108
12109 * po/ru.po: Update from translation team.
d1635ef8 12110 * po/vi.po: Likewise.
cfa633f5 12111
6cd0a5ea
SP
121122012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12113
12114 * resolv/nss_dns/dns-host.c: Merge copyright years.
12115
4b43400f
LD
121162012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12117
12118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12119 Optimize memcpy with prefetch if
12120 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12121 src, dst pointers have unequal 16 byte alignments.
12122
48c41d04
SP
121232012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12124
12125 [BZ #13928]
12126 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12127 from a CNAME entry and return the minimum ttl for the query.
12128 (gaih_getanswer_slice): Likewise.
12129
b8dc394d
JL
121302012-03-30 Jeff Law <law@redhat.com>
12131
12132 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12133 due to long keys.
12134 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12135 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12136
2f5a5ed0
JL
12137 * resolv/nss_dns/dns-host.c: Update copyright year.
12138
1d39e359
UD
121392012-03-30 Ulrich Drepper <drepper@gmail.com>
12140
c030f70c 12141 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12142 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12143
1d39e359
UD
12144 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12145 comments for sendmmsg.
12146
121472012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12148
12149 [BZ #13691]
12150 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12151 with only 1 character between 0x0041 and 0x01b0.
12152 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12153 * wcsmbs/tst-mbsnrtowcs.c: New file.
12154
20fde227
DM
121552012-03-29 David S. Miller <davem@davemloft.net>
12156
12157 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12158 small copies by hand.
12159
984a4237
JL
121602012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12161
12162 [BZ #13761]
12163 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12164 _nss_compat_initgroups_dyn): Fall back to malloc/free
12165 for large group memberships.
12166
18c9d62b
DM
121672012-03-28 David S. Miller <davem@davemloft.net>
12168
88d85d4f
DM
12169 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12170 that branches into memcpy.
12171 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12172 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12174 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12176 bits.
12177 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12178 implementation too.
12179 * sysdeps/sparc/mempcpy.S: New file.
12180
e5aa83e1
DM
12181 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12182 the IFUNC routine in the libc case.
12183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12184
88570753
DM
12185 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12186 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12187 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12188 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12189 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12190 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12191 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12192 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12193
249d7567
DM
12194 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12195 loop to 256 bytes instead of 64 bytes and fix test signedness.
12196
18c9d62b
DM
12197 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12198 * sysdeps/sparc/sparc32/Makefile: rather than here...
12199 * sysdeps/sparc/sparc64/Makefile: and here.
12200
05f3d1f6
UD
122012012-03-28 Ulrich Drepper <drepper@gmail.com>
12202
12203 * malloc/mallocbug.c: Avoid warnings about unused variables.
12204
86ae07a8
JL
122052012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12206
12207 [BZ #13760]
12208 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12209 in the right place. Discard and retry query if response is
12210 larger than input buffer size.
12211
41bf21a1
JM
122122012-03-28 Joseph Myers <joseph@codesourcery.com>
12213
d6270972
JM
12214 [BZ #369]
12215 [BZ #2678]
12216 [BZ #3866]
12217 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12218 x for large integer exponent.
12219 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12220 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12221 sign of result as needed afterwards.
12222 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12223 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12224 result for underflowing pow the same as for overflow.
12225 (__kernel_standard_l): Handle powl overflow and underflow here
12226 rather than calling __kernel_standard.
12227 * math/libm-test.inc (pow_test): Add more tests.
12228
414fca03 12229 [BZ #3868]
41bf21a1
JM
12230 [BZ #13879]
12231 [BZ #13910]
12232 [BZ #13911]
12233 [BZ #13912]
12234 [BZ #13913]
12235 [BZ #13915]
12236 [BZ #13916]
12237 [BZ #13917]
12238 [BZ #13918]
12239 [BZ #13919]
12240 [BZ #13920]
12241 [BZ #13921]
12242 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12243 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12244 (__kernel_standard_l): New function.
12245 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12246 __kernel_standard.
12247 * math/w_acosl.c (__acosl): Likewise.
12248 * math/w_asinl.c (__asinl): Likewise.
12249 * math/w_atan2l.c (__atan2l): Likewise.
12250 * math/w_atanhl.c (__atanhl): Likewise.
12251 * math/w_coshl.c (__coshl): Likewise.
12252 * math/w_exp10l.c (__exp10l): Likewise.
12253 * math/w_exp2l.c (__exp2l): Likewise.
12254 * math/w_fmodl.c (__fmodl): Likewise.
12255 * math/w_hypotl.c (__hypotl): Likewise.
12256 * math/w_j0l.c (__j0l, __y0l): Likewise.
12257 * math/w_j1l.c (__j1l, __y1l): Likewise.
12258 * math/w_jnl.c (__jnl, __ynl): Likewise.
12259 * math/w_lgammal.c (__lgammal): Likewise.
12260 * math/w_log10l.c (__log10l): Likewise.
12261 * math/w_log2l.c (__log2l): Likewise.
12262 * math/w_logl.c (__logl): Likewise.
12263 * math/w_powl.c (__powl): Likewise.
12264 * math/w_remainderl.c (__remainderl): Likewise.
12265 * math/w_scalbl.c (sysv_scalbl): Likewise.
12266 * math/w_sinhl.c (__sinhl): Likewise.
12267 * math/w_sqrtl.c (__sqrtl): Likewise.
12268 * math/w_tgammal.c (__tgammal): Likewise.
12269 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12270 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12271 * math/libm-test.inc (acos_test): Add more tests.
12272 (acosh_test): Likewise.
12273 (asin_test): Likewise.
12274 (atanh_test): Likewise.
12275 (exp_test): Likewise.
12276 (exp10_test): Likewise.
12277 (exp2_test): Likewise.
12278 (expm1_test): Likewise.
12279 (lgamma_test): Likewise.
12280 (log_test): Likewise.
12281 (log10_test): Likewise.
12282 (log1p_test): Likewise.
12283 (log2_test): Likewise.
12284 (pow_test): Do not allow some spurious overflow exceptions.
12285 (sqrt_test): Add more tests.
12286 (tgamma_test): Likewise.
12287 (y0_test): Likewise.
12288 (y1_test): Likewise.
12289 (yn_test): Likewise.
12290
dd62fda6
AB
122912012-03-27 Anton Blanchard <anton@samba.org>
12292
12293 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12294 MAP_HUGETLB.
12295 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12296 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12297 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12298
1e3cdfda
AJ
122992012-03-27 David S. Miller <davem@davemloft.net>
12300
b855ab85
DM
12301 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12302
1e3cdfda
AJ
12303 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12304 have-as-vis3 check.
12305
123062012-03-27 Andreas Jaeger <aj@suse.de>
12307
12308 * sysdeps/x86_64/elf/configure.in: Moved to ...
12309 * sysdeps/x86_64/configure.in: ... here.
12310 * sysdeps/x86_64/elf/start.S: Moved to ...
12311 * sysdeps/x86_64/start.S: ... here.
12312 * sysdeps/x86_64/elf/configure: Delete.
12313
12314 * sysdeps/x86_64/configure.in: Merge contents from
12315 sysdeps/i386/configure.in (without i686 check).
12316
12317 * sysdeps/i386/elf/Versions: Merge into ...
12318 * sysdeps/i386/Versions: ... this.
12319 * sysdeps/i386/elf/Versions: Delete file.
12320 * sysdeps/i386/elf/start.S: Moved to ...
12321 * sysdeps/i386/start.S: ...here.
12322 * sysdeps/i386/elf/configure.in: Merge into...
12323 * sysdeps/i386/configure.in: ...here.
12324 * sysdeps/i386/elf/configure.in: Delete file.
12325 * sysdeps/i386/elf/configure: Delete file.
12326
12327 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12328 * debug/backtracesyms.c: ... here.
12329 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12330 * debug/backtracesymsfd.c: ... here.
12331 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12332 * sysdeps/generic/ifunc-sel.h: ... here.
12333
12334 * sysdeps/unix/i386/start.c: Delete file.
12335 * sysdeps/unix/sparc/start.c: Delete file.
12336 * sysdeps/unix/start.c: Delete file.
12337
12338 * sysdeps/sh/elf/configure.in: Moved to ...
12339 * sysdeps/sh/configure.in: ... here.
12340 * sysdeps/sh/elf/start.S: Moved to ...
12341 * sysdeps/sh/start.S: ... here.
12342 * sysdeps/sh/elf/configure: Delete file.
12343
12344 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12345 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12346 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12347 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12348 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12349 * sysdeps/powerpc/powerpc64/start.S: here.
12350 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12351 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12352 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12353 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12354 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12355
12356 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12357 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12358 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12359 * sysdeps/powerpc/powerpc32/start.S: ... here.
12360 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12361 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12362 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12363
12364 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12365 * sysdeps/powerpc/ifunc-sel.h: ... here.
12366 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12367 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12368
12369 * sysdeps/sparc/elf/configure.in: Moved to ...
12370 * sysdeps/sparc/configure.in: ... here.
12371 * sysdeps/sparc/elf/configure: Delete file.
12372 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12373 * sysdeps/sparc/sparc32/start.S: ... here.
12374 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12375 * sysdeps/sparc/sparc64/start.S: ... here.
12376 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12377 * sysdeps/sparc/sparc32/Makefile: ... this.
12378 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12379 * sysdeps/sparc/sparc64/Makefile: ... this.
12380
12381 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12382 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12383 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12384 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12385 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12386 * sysdeps/s390/s390-32/setjmp.S: ... here.
12387 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12388 * sysdeps/s390/s390-32/configure.in: ... here.
12389 * sysdeps/s390/s390-32/elf/configure: Delete file.
12390 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12391 * sysdeps/s390/s390-32/start.S: ... here.
12392
12393 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12394 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12395 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12396 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12397 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12398 * sysdeps/s390/s390-64/setjmp.S: ... here.
12399 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12400 * sysdeps/s390/s390-64/configure.in: ... here
12401 * sysdeps/s390/s390-64/elf/configure: Delete file.
12402 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12403 * sysdeps/s390/s390-64/start.S: ... here.
12404 * sysdeps/s390/s390-64/elf/configure: Delete.
12405
12406 * configure.in: Remove support for elf directories in sysdeps.
12407
12408 * configure: Regenerated.
12409 * sysdeps/i386/configure: Regenerated.
12410 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12411 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12412 * sysdeps/s390/s390-32/configure: Regenerated.
12413 * sysdeps/s390/s390-64/configure: Regenerated.
12414 * sysdeps/sh/configure: Regenerated.
12415 * sysdeps/sparc/configure: Regenerated.
12416 * sysdeps/x86_64/configure: Regenerated.
12417
a3f61311
AS
124182012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12419
c876e002
AS
12420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12421
a3f61311
AS
12422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12423 denormal result into account.
12424
ac4c54f0
RM
124252012-03-25 Roland McGrath <roland@hack.frob.com>
12426
12427 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12428 Reported by Allan McRae <allan@archlinux.org>.
12429
6a9b9c02
JL
124302012-03-23 Jeff Law <law@redhat.com>
12431
12432 * nss/getnssent.c (__nss_getent): Fix typo.
12433
4c42a0c1
DM
124342012-03-23 David S. Miller <davem@davemloft.net>
12435
12436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12437
1532c7ac
L
124382012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12439
12440 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12441 to pad to uint64_t for each field.
12442 (dl_tls_index): Replace unsigned long with uint64_t.
12443
3ff42526
PP
124442012-03-23 Daniel Jacobowitz <dmj@google.com>
12445 Paul Pluzhnikov <ppluzhnikov@google.com>
12446
12447 [BZ #6528]
12448 * grp/Makefile (otherlibs): Don't set it.
12449 * inet/Makefile (otherlibs): Likewise.
12450 * login/Makefile (otherlibs): Likewise.
12451 * nscd/Makefile (otherlibs): Likewise.
12452 * posix/Makefile (otherlibs): Likewise.
12453 * pwd/Makefile (otherlibs): Likewise.
12454 * rt/Makefile (otherlibs): Likewise.
12455 * sunrpc/Makefile (otherlibs): Likewise.
12456 * nss/Makefile (otherlibs): Likewise.
12457 Add libnss_files to routines and static-only-routines.
12458 ($(objpfx)getent): Remove rule.
12459 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12460 static-only-routines.
12461
7c69cd14
JM
124622012-03-22 Joseph Myers <joseph@codesourcery.com>
12463
12464 [BZ #13892]
12465 * math/s_cexp.c: Include <float.h>.
12466 (__cexp): Handle exp result overflowing not necessarily
12467 overflowing both real and imaginary parts of result.
12468 * math/s_cexpf.c: Likewise.
12469 * math/s_cexpl.c: Likewise.
12470 * math/libm-test.inc (cexp_test): Add more tests.
12471 * sysdeps/i386/fpu/libm-test-ulps: Update.
12472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12473
81b035fe
L
124742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12475
12476 * include/link.h (ELFW): New macro.
12477 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12478 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12479
1da7940c
L
124802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12481
12482 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12483 with uint64_t.
12484
b749dbb9
L
124852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12486
12487 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12488 declaration.
12489 (struct La_x32_retval): Likewise.
12490
2ff87f3f
L
124912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12492
12493 * sysdeps/x86_64/preconfigure.in: New file.
12494 * sysdeps/x86_64/preconfigure: New generated file.
12495
c0df8e69
JM
124962012-03-22 Joseph Myers <joseph@codesourcery.com>
12497
48e44791
JM
12498 [BZ #13824]
12499 * math/e_exp2l.c: Include <float.h>.
12500 (__ieee754_exp2l): Handle overflow and underflow cases
12501 separately. Only pass fractional part of argument to
12502 __ieee754_expl.
12503 * math/libm-test.inc (exp2_test): Add more tests.
12504
c0df8e69
JM
12505 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12506 negating x to take absolute value.
12507 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12508 Likewise.
12509 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12510 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12511 Likewise.
12512 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12513 computing low part if x was negated.
12514 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12515
c8e43ba7
L
125162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12517
12518 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12519 la_x32_gnu_pltexit.
12520 (pltexit): Cast int_retval to ptrdiff_t.
12521 * elf/tst-auditmod3b.c: Likewise.
12522 * elf/tst-auditmod4b.c: Likewise.
12523 * elf/tst-auditmod5b.c: Likewise.
12524 * elf/tst-auditmod6b.c: Likewise.
12525 * elf/tst-auditmod6c.c: Likewise.
12526 * elf/tst-auditmod7b.c: Likewise.
12527
12528 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12529 and x32_gnu_pltexit.
12530
12531 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12532 __ELF_NATIVE_CLASS.
12533 (La_x32_regs): New macro.
12534 (La_x32_retval): Likewise.
12535 (la_x32_gnu_pltenter): New function prototype.
12536 (la_x32_gnu_pltexit): Likewise.
12537
7998fa78
AS
125382012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12539
dcb33988
AS
12540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12541 exponent.
12542
233fc563
AS
12543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12544
7998fa78
AS
12545 * configure.in (libc_cv_cc_nofma): Check for option to disable
12546 generation of FMA instructions.
12547 * configure: Regenerate.
12548 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12549 * sysdeps/ieee754/dbl-64/Makefile: New file.
12550 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12551 Remove brandred-fma4.
12552 (CFLAGS-brandred-fma4.c): Remove.
12553 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12554 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12555 define.
12556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12557 define.
12558
8e95c99a
L
125592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12560
12561 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12562 LLONG_MAX != LONG_MAX.
12563 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12564 (_fitoa_word): Likewise.
12565 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12566 LLONG_MAX != LONG_MAX.
12567 * stdio-common/_itowa.h: Include <_itoa.h>.
12568 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12569 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12570 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12571 only if not defined.
12572 (_ITOA_WORD_TYPE): Likewise.
12573 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12574 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12575
6f4db457
DM
125762012-03-21 David S. Miller <davem@davemloft.net>
12577
12578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12579
7785fe5a
L
125802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12581
12582 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12583 of x86_64 when setting libc_cv_slibdir, libdir and
12584 libc_cv_localedir.
12585 * sysdeps/unix/sysv/linux/configure: Regenerated.
12586
4535cd55
JM
125872012-03-21 Joseph Myers <joseph@codesourcery.com>
12588
12589 * manual/lang.texi (Old Varargs): Remove section.
12590 (How Variadic): Update menu.
12591 (va_start): Do not mention varargs.h.
12592
17228132
TS
125932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12594 Joseph Myers <joseph@codesourcery.com>
12595
12596 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12597 link test.
12598 * configure: Regenerated.
12599
8149f976
TS
126002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12601
05f3d1f6
UD
12602 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12603 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12604 conformtest.pl
8149f976 12605
1a4ac776
JM
126062012-03-21 Joseph Myers <joseph@codesourcery.com>
12607
be22ce65
JM
12608 * NOTES: Remove.
12609 * Makefile (files-for-dist): Remove NOTES.
12610 (NOTES): Remove rule.
12611 * README: Don't refer to NOTES.
12612 * manual/creature.texi: Don't include macros.texi.
12613 * manual/intro.texi (creature.texi): Remove comment referring to
12614 NOTES.
12615
40b601fb
JM
12616 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12617 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12618 * configure: Regenerated.
12619 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12620 LIBC_TRY_CC_OPTION.
12621 (libc_cv_as_i686): Likewise.
12622 (libc_cv_cc_avx): Likewise.
12623 (libc_cv_cc_sse2avx): Likewise.
12624 (libc_cv_cc_fma4): Likewise.
12625 (libc_cv_cc_novzeroupper): Likewise.
12626 * sysdeps/i386/configure: Regenerated.
12627
1a4ac776
JM
12628 [BZ #13883]
12629 * sysdeps/i386/fpu/s_cexp.S: Remove.
12630 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12631 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12632 * math/libm-test.inc (cexp_test): Add more tests.
12633 * sysdeps/i386/fpu/libm-test-ulps: Update.
12634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12635
a458e7fe
AM
126362012-03-21 Allan McRae <allan@archlinux.org>
12637
12638 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12639
0cb7efc5
JM
126402012-03-21 Joseph Myers <joseph@codesourcery.com>
12641
12642 [BZ #13871]
12643 * math/w_exp2.c: Do not include <float.h>.
12644 (o_threshold, u_threshold): Remove.
12645 (__exp2): Calculate result before checking finiteness and calling
12646 __kernel_standard.
12647 * math/w_exp2f.c: Likewise.
12648 * math/w_exp2l.c: Likewise.
12649 * math/libm-test.inc (exp2_test): Require overflow exception for
12650 1e6 input.
2460d3aa
JM
12651
12652 [BZ #3866]
12653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12654 range of signed 64-bit integers before using fistpll. Remove
12655 checks for whether integers fit in mantissa bits.
12656 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12657 the range of signed 32-bit integers before using fistpl. Remove
12658 checks for whether integers fit in mantissa bits.
12659 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12660 (__ieee754_powl): Test for y outside the range of signed 64-bit
12661 integers before using fistpll. Reduce 64-bit values to 63-bit
12662 ones as needed.
12663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12664 divide-by-zero is raised for zero to large negative powers.
12665 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12666 (__ieee754_powl): Test for y outside the range of signed 64-bit
12667 integers before using fistpll. Reduce 64-bit values to 63-bit
12668 ones as needed.
12669 * math/libm-test.inc (pow_test): Add more tests.
12670
eb96ffb0
L
126712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12672
12673 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12674 <stdio-common/_itoa.h>.
12675 * debug/segfault.c: Likewise.
12676 * elf/dl-cache.c: Likewise.
12677 * elf/dl-minimal.c: Likewise.
12678 * elf/dl-misc.c: Likewise.
12679 * elf/dl-sysdep.c: Likewise.
12680 * elf/dl-version.c: Likewise.
12681 * elf/rtld.c: Likewise.
12682 * hurd/hurdsock.c: Likewise.
12683 * hurd/lookup-retry.c: Likewise.
12684 * malloc/malloc.c: Likewise.
12685 * malloc/mtrace.c: Likewise.
12686 * nscd/nscd_getgr_r.c: Likewise.
12687 * nscd/nscd_getpw_r.c: Likewise.
12688 * nscd/nscd_getserv_r.c: Likewise.
12689 * posix/getopt_init.c: Likewise.
12690 * posix/wordexp.c: Likewise.
12691 * stdio-common/_itoa.c: Likewise.
12692 * stdio-common/printf_fphex.c: Likewise.
12693 * stdio-common/vfprintf.c: Likewise.
12694 * string/_strerror.c: Likewise.
12695 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12696 * sysdeps/i386/i686/hp-timing.h: Likewise.
12697 * sysdeps/mach/_strerror.c: Likewise.
12698 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12699 * sysdeps/mach/hurd/sethostid.c: Likewise.
12700 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12701 * sysdeps/mach/xpg-strerror.c: Likewise.
12702 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12703 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12704 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12705 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12706 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12707 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12708 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12709 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12710 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12711 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12712 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12713 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12714 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12715 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12716 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12717 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12718 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12719 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12720 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12721 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12722 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12723
12724 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12725
12726 * stdio-common/_itoa.h: Moved to ...
12727 * sysdeps/generic/_itoa.h: Here.
12728
12729 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12730
12731 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12732 instead of "_itoa.h" and "_itowa.h".
12733 * stdio-common/vfprintf.: Likewise.
12734
d1af992d
L
127352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12736
12737 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12738 <bits/wordsize.h>.
12739 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12740 (__signbit): Likwise.
12741 (llrintf): Likwise.
12742 (llrint): Likwise.
12743
114883e0
L
127442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12745
12746 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12747 __WORDSIZE != 64.
12748
c135cc1b
JM
127492012-03-20 Joseph Myers <joseph@codesourcery.com>
12750
12751 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12752 OVERFLOW_EXCEPTION_OK.
12753 * math/libm-test.inc ("Philosophy"): Update comment about
12754 exception testing.
12755 (OVERFLOW_EXCEPTION): Define.
12756 (OVERFLOW_EXCEPTION_OK): Likewise.
12757 (INVALID_EXCEPTION_OK): Renumber.
12758 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12759 (IGNORE_ZERO_INF_SIGN): Likewise.
12760 (test_exceptions): Handle FE_OVERFLOW.
12761 (exp10_test): Expect overflow exceptions.
12762 (exp2_test): Likewise.
12763 (expm1_test): Likewise.
12764 (nextafter_test): Likewise.
12765 (pow_test): Likewise.
12766 (scalbn_test): Likewise.
12767 (scalbln_test): Likewise.
12768
95443d88
L
127692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12770
12771 * sysdeps/x86_64/bits/atomic.h
12772 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12773 64bit integer.
12774 (atomic_exchange_acq): Likewise.
12775 (__arch_exchange_and_add_body): Likewise.
12776 (__arch_add_body): Likewise.
12777 (atomic_add_negative): Likewise.
12778 (atomic_add_zero): Likewise.
12779
490df6c4
L
127802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12781
c2722551 12782 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12783 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12784
5e52b189
L
127852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12786
12787 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12788 Check __x86_64__ instead of __WORDSIZE.
12789
a9879d4c
L
127902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12791
12792 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12793
5df98260
DM
127942012-03-19 David S. Miller <davem@davemloft.net>
12795
e1497744
DM
12796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12797
5df98260
DM
12798 * sysdeps/sparc/fpu/fenv_private.h: New file.
12799 * sysdeps/sparc/fpu/math_private.h: Use it.
12800 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12801 Remove.
12802 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12803 (libc_feholdexcept_setroundl): Remove.
12804 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12805 Remove.
12806 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12807 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12808
b4c35121
L
128092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12810
12811 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12812 int64_t instead of long int.
12813 (INSERT_WORDS64): Likwise.
12814
56965fd7
L
128152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12816
12817 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12818 _Unwind_GetCFA return to _Unwind_Ptr first.
12819
83d1aec8
JM
128202012-03-19 Joseph Myers <joseph@codesourcery.com>
12821
1897ad44
JM
12822 [BZ #13629]
12823 * math/s_clog.c: Include <float.h>.
12824 (__clog): Scale large or subnormal inputs.
12825 * math/s_clogf.c: Likewise.
12826 * math/s_clogl.c: Likewise.
12827 * math/s_clog10.c: Include <float.h>.
12828 (M_LOG10_2): Define.
12829 (__clog10): Scale large or subnormal inputs.
12830 * math/s_clog10f.c: Likewise.
12831 * math/s_clog10l.c: Likewise.
12832 * math/libm-test.inc (clog_test): Add more tests.
12833 (clog10_test): Likewise.
12834 * sysdeps/i386/fpu/libm-test-ulps: Update.
12835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12836
7726d6a9
JM
12837 [BZ #11451]
12838 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12839 x and y.
12840 * math/libm-test.inc (atan2_test): Add another test.
12841
83d1aec8
JM
12842 * Makerules (common-objdir-compile): Remove.
12843 * sysdeps/unix/Makefile (config-generated): Do not add
12844 $(unix-generated) to variable.
12845 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12846 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12847 Remove rule.
12848 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12849 Likewise.
12850 [generic bits/local_lim.h] (before-compile): Do not append to
12851 variable.
12852 [generic bits/local_lim.h] (common-generated): Likewise.
12853 [generic sys/param.h] (before-compile): Do not append to variable.
12854 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12855 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12856 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12857 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12858 include.
12859 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12860 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12861 [generic sys/param.h] ($(addprefix
12862 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12863 [generic sys/param.h] (common-generated): Do not append to
12864 variable.
12865 [generic sys/param.h] (sysdep_headers): Likewise.
12866 [generic bits/errno.h] (before-compile): Do not append to
12867 variable.
12868 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12869 rule.
12870 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12871 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12872 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12873 [generic bits/errno.h] (common-generated): Do not append to
12874 variable.
12875 [generic bits/ioctls.h] (before-compile): Do not append to
12876 variable.
12877 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12878 rule.
12879 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12880 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12881 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12882 rule.
12883 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12884 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12885 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12886 [generic bits/ioctls.h] (common-generated): Do not append to
12887 variable.
12888 [generic sys/syscall.h] (syscall.h): Remove variable.
12889 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12890 rule.
12891 [generic sys/syscall.h] (before-compile): Do not append to
12892 variable.
12893 [generic sys/syscall.h] (common-generated): Likewise.
12894 * sysdeps/unix/errnos-tmpl.c: Remove file.
12895 * sysdeps/unix/errnos.awk: Likewise.
12896 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12897 * sysdeps/unix/ioctls.awk: Likewise.
12898 * sysdeps/unix/mk-local_lim.c: Likewise.
12899 * sysdeps/unix/snarf-ioctls: Likewise.
12900
4851a949
RH
129012012-03-19 Richard Henderson <rth@twiddle.net>
12902
bd37f2ee
RH
12903 * sysdeps/i386/fpu/fenv_private.h: New file.
12904 * sysdeps/i386/fpu/math_private.h: Use it.
12905 (math_opt_barrier, math_force_eval): Remove.
12906 (libc_feholdexcept_setround_53bit): Remove.
12907 (libc_feupdateenv_53bit): Remove.
12908 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12909 (math_opt_barrier, math_force_eval): Remove.
12910 (libc_feholdexcept): Remove.
12911 (libc_feholdexcept_setround): Remove.
12912 (libc_fetestexcept, libc_fesetenv): Remove.
12913 (libc_feupdateenv_test): Remove.
12914 (libc_feupdateenv, libc_feholdsetround): Remove.
12915 (libc_feresetround): Remove.
12916
d0adc922
RH
12917 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12918 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12919
0fe0f1f8
RH
12920 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12921 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12922 (libc_feupdateenv_testl): New.
12923 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12924 (libc_feupdateenv_testf): New.
12925 (libc_feupdateenv): Use libc_feupdateenv_test.
12926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12927 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12928
eb92c487
RH
12929 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12930 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12931 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12932 (libc_feresetround_noex): New.
12933 (libc_feresetround_noexf): New.
12934 (libc_feresetround_noexl): New.
12935 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12936 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12937 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12938 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12939 SET_RESTORE_ROUND.
12940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12942 (__cos): Likewise.
12943 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12944 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12945 SET_RESTORE_ROUND_NOEX.
12946 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12947 SET_RESTORE_ROUND_NOEXF.
12948 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12949 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12950 (libc_feholdsetroundf): New.
12951 (libc_feresetround, libc_feresetroundf): New.
12952
7d2e8012
RH
12953 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12954 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12955 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12956
b4dabbb4
RH
12957 * sysdeps/generic/math_private.h: Include <fenv.h>.
12958 (default_libc_feholdexcept): New.
12959 (default_libc_feholdexcept_setround): New.
12960 (default_libc_fesetenv, default_libc_feupdateenv): New.
12961 (libc_feholdexcept): Only define if undefined.
12962 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12963 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12964 (libc_feholdexcept_setroundl): Likewise.
12965 (libc_feholdexcept_setround_53bit): Likewise.
12966 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12967 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12968 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12969 (libc_feupdateenv_53bit): Likewise.
12970 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12971 (libc_feholdexcept): Convert from macro to inline function.
12972 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12973 (libc_fesetenv, libc_feupdateenv): Likewise.
12974
4851a949
RH
12975 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12976 not previously defined.
12977 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12978 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12979 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12980 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12981 * sysdeps/ieee754/flt-32/math_private.h: New file.
12982 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12983 math_private.h below SET_FLOAT_WORD.
12984 (__isnan, __isinf_ns, __finite): Remove.
12985 (__isnanf, __isinf_nsf, __finitef): Remove.
12986
e79d442e
AS
129872012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12988
12989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12990
90b80344
DM
129912012-03-17 David S. Miller <davem@davemloft.net>
12992
12993 [BZ #6471]
12994 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12995 for 2.16.
12996
edc21804
DM
129972012-03-16 David S. Miller <davem@davemloft.net>
12998
77e927af
DM
12999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13000 warnings.
13001
374976dd
DM
13002 [BZ #6471]
13003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13004 properly.
13005 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13006 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13007 sysdep_routines when subdir is sysvipc.
13008 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13009 __getshmlba helper.
13010
edc21804
DM
13011 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13012
473c3ef3
L
130132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13014
13015 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13016 [__LP64__].
13017
eb0f39b6
L
130182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13019
13020 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13021 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13022 (__lround): Renamed to ...
13023 (__llround): This. Replace long int with long long int.
13024 Define lround functions as aliases of llround functions.
13025 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13026
6b6cd74b
L
130272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13028
13029 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13030 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13031 adresses to uintptr_t. Replace "long int" and "unsigned long
13032 int" with "greg_t" on va_arg.
13033
f1a77b01
L
130342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13035
13036 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13037 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13038
13039 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13040 Move e_machine check before EI_CLASS check. Handle x32
13041 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13042 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13043 SKIP_EM_IA_64 and include
13044 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13045
13046 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13047 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13048 (add_system_dir): New macro.
13049
13050 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13051 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13052
11b90b9f
JM
130532012-03-16 Joseph Myers <joseph@codesourcery.com>
13054
c36e1d23
JM
13055 [BZ #2551]
13056 [BZ #2552]
13057 [BZ #2553]
13058 [BZ #2554]
13059 [BZ #2562]
13060 [BZ #2563]
13061 [BZ #2565]
13062 [BZ #2566]
13063 [BZ #2576]
13064 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13065 (y0): Likewise.
13066 * math/w_j0f.c (j0f): Likewise.
13067 (y0f): Likewise.
13068 * math/w_j0l.c (__j0l): Likewise.
13069 (__y0l): Likewise.
13070 * math/w_j1.c (j1): Likewise.
13071 (y1): Likewise.
13072 * math/w_j1f.c (j1f): Likewise.
13073 (y1f): Likewise.
13074 * math/w_j1l.c (__j1l): Likewise.
13075 (__y1l): Likewise.
13076 * math/w_jn.c (jn): Likewise.
13077 (yn): Likewise.
13078 * math/w_jnf.c (jnf): Likewise.
13079 (ynf): Likewise.
13080 * math/w_jnl.c (__jnl): Likewise.
13081 (__ynl): Likewise.
13082 * math/libm-test.inc (j0_test): Add more tests.
13083 (j1_test): Likewise.
13084 (jn_test): Likewise. Add trailing semicolon to existing test.
13085 (y0_test): Likewise.
13086 (y1_test): Likewise.
13087 * sysdeps/i386/fpu/libm-test-ulps: Update.
13088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13089
11b90b9f
JM
13090 [BZ #13851]
13091 [BZ #13854]
13092 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13093 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13094 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13095 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13096 (__tanl): Set errno for infinite argument.
13097 * sysdeps/i386/fpu/mptan.c: Remove.
13098 * sysdeps/i386/fpu/s_tan.S: Likewise.
13099 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13100 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13101 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13102 * math/libm-test.inc (tan_test): Add more tests and enable more
13103 tests for double and long double.
13104 * sysdeps/i386/fpu/libm-test-ulps: Update.
13105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13106
6a1bd2a1
JK
131072012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13108
13109 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13110 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13111
10a803e0
RM
131122012-03-16 Roland McGrath <roland@hack.frob.com>
13113
13114 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13115 * configure.in: Use it for both main tree and add-ons.
13116 * configure: Regenerated.
13117
f196c7f7
L
131182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13119
13120 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13121
8848d99d
JM
131222012-03-16 Joseph Myers <joseph@codesourcery.com>
13123
96cbe7f4
JM
13124 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13125 in comment.
13126
8848d99d
JM
13127 [BZ #13851]
13128 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13129 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13131 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13133 infinite argument.
13134 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13136 != 0 for prec == 2.
13137 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13138 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13139 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13140 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13141 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13142 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13143 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13144 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13145 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13146 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13147 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13148 * math/libm-test.inc (cos_test): Add more tests and enable more
13149 tests for long double.
13150 (sin_test): Likewise.
13151 (sincos_test): Likewise.
13152 * sysdeps/i386/fpu/libm-test-ulps: Update.
13153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13154
dd7f4703
DM
131552012-03-16 David S. Miller <davem@davemloft.net>
13156
13157 * sysdeps/sparc/fpu/math_private.h: New file.
13158
006f1daa
DM
131592012-03-15 David S. Miller <davem@davemloft.net>
13160
c0c83bc8
DM
13161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13162 file.
e6a62e18 13163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13165 file.
e6a62e18
DM
13166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13172 sysdep routines.
13173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13174
88cb87d9
DM
13175 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13176 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13177
006f1daa 13178 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13180 sparc-ifunc.h
006f1daa 13181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13183 Likewise.
13184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13185 Likewise.
006f1daa
DM
13186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13190 Likewise.
006f1daa
DM
13191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13196 Likewise.
13197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13198 Likewise.
006f1daa
DM
13199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13222 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13223
11e0098e
AS
132242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13225
13226 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13227 scaling.
13228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13229
e85b09d0
AJ
132302012-03-15 Andreas Jaeger <aj@suse.de>
13231
13232 [BZ #13852]
13233 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13234 ieee754/flt-32 implementation for sin, cos and sincos.
13235 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13236 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13237 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13238 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13239 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13240 ieee754/flt-32 implementation for tan.
13241
13242 * math/libm-test.inc (cos_test): Enable some large input tests for
13243 float as well
13244 (sin_test): Likewise.
13245 (sincos_test): Likewise.
13246 (tan_test): Add tests for large input.
13247
13248 * sysdeps/i386/fpu/libm-test-ulps: Update.
13249
81c64153
AJ
132502012-03-15 Andreas Jaeger <aj@suse.de>
13251
13252 [BZ #13658]
13253 * math/libm-test.inc (cos_test): Add more test cases.
13254 (sin_test): Likewise.
13255 (sincos_test): Likewise.
13256
7bbfa5c6
AJ
132572012-03-15 Andreas Jaeger <aj@suse.de>
13258
13259 [BZ #13837]
13260 * math/libm-test.inc (cos_test): Add a test case for large input
13261 value.
13262 (sin_test): Likewise.
13263 (sincos_test): Likewise.
13264
132652012-03-15 Andreas Jaeger <aj@suse.de>,
13266 Joseph Myers <joseph@codesourcery.com>
13267
13268 [BZ #13658]
0671f479 13269 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13270 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13271 * sysdeps/i386/fpu/branred.c: Likewise.
13272 * sysdeps/i386/fpu/dosincos.c: Likewise.
13273 * sysdeps/i386/fpu/mpa.c: Likewise.
13274 * sysdeps/i386/fpu/s_cos.S: Likewise.
13275 * sysdeps/i386/fpu/s_sin.S: Likewise.
13276 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13277 * sysdeps/i386/fpu/sincos32.c: Likewise.
13278
13279 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13280 Define.
13281 (libc_feupdateenv_53bit): Define.
13282 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13283 Define.
13284 (libc_feupdateenv_53bit): Define.
13285
13286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13287 53 bit (without extend i386 double precision).
13288
13289 * math/libm-test.inc (sincos_test): Add tests for large input.
13290 (sin): Likewise.
13291 (cos): Likewise.
13292
13293 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13294
9cad04ea
AS
132952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13296
13297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13298
f7062b9a
DM
132992012-03-15 David S. Miller <davem@davemloft.net>
13300
13301 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13302 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13303 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13304 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13317 file.
f7062b9a 13318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13320 file.
f7062b9a 13321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13323 file.
f7062b9a 13324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13326 file.
f7062b9a
DM
13327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13329 fmin/fmax sysdep routines.
13330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13331
7bd951ff
DM
133322012-03-14 David S. Miller <davem@davemloft.net>
13333
559398ab
DM
13334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13339 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13341 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13361 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13363 routines.
13364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13365 file.
559398ab 13366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13368 file.
559398ab 13369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13371 file.
559398ab 13372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13374 file.
559398ab 13375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13377 file.
559398ab 13378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13380 file.
13381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13382 file.
13383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13384 file.
13385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13386 file.
13387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13388 New file.
13389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13390 file.
13391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13392 file.
559398ab 13393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13395 file.
559398ab 13396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13398 file.
559398ab 13399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13401 file.
559398ab 13402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13404 VIS3 routines.
559398ab
DM
13405
13406 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13407 New file.
13408
5a1c1e32
DM
13409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13410
eae47a36
DM
13411 * sysdeps/sparc/configure.in: New file.
13412 * sysdeps/sparc/configure: Generate.
13413 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13414 * configure: Regenerate.
13415 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13416 * config.make.in (have-as-vis3): New.
13417 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13418 available use -Av9d instead of -Av9a.
13419 * sysdeps/sparc/sparc64/Makefile: Likewise.
13420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13422 New file.
13423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13424 file.
13425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13426 New file.
13427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13428 file.
eae47a36
DM
13429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13433 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13434
c0c83bc8
DM
13435 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13436 fzeros/fnegs to load 0x80000000 into a float register instead of
13437 using the stack.
7bd951ff
DM
13438 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13439
bd951ccb
JM
134402012-03-14 Joseph Myers <joseph@codesourcery.com>
13441
13442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13443 bits/syscall.h.
13444 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13445 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13446 ($(inst_includedir)/bits/syscall.h): Remove rule.
13447 ($(objpfx)bits/syscall.d): Include instead of
13448 $(objpfx)syscall-list.d.
13449 (generated): Change syscall-list.h and syscall-list.d to
13450 bits/syscall.h and bits/syscall.d.
13451
bb4e6db2
RM
134522012-03-14 Roland McGrath <roland@hack.frob.com>
13453
13454 [BZ #13846]
13455 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13456
aa4a2ae1
JM
134572012-03-14 Joseph Myers <joseph@codesourcery.com>
13458
e456826d
JM
13459 [BZ #13841]
13460 * math/s_csqrt.c: Include <float.h>.
13461 (__csqrt): Scale large or subnormal inputs.
13462 * math/s_csqrtf.c: Likewise.
13463 * math/s_csqrtl.c: Likewise.
13464 * math/libm-test.inc (csqrt_test): Add more tests.
13465 * sysdeps/i386/fpu/libm-test-ulps: Update.
13466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13467
aa4a2ae1
JM
13468 [BZ #13840]
13469 * math/libm-test.inc (hypot_test): Add more tests.
13470
7c10fd35
DM
134712012-03-13 David S. Miller <davem@davemloft.net>
13472
13473 [BZ #13840]
13474 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13475 double-precision for the calculation instead of scaling.
13476
f453b98b
JM
134772012-03-13 Joseph Myers <joseph@codesourcery.com>
13478
13479 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13480 manipulate bits before adding and subtracting TWO52[sx].
13481 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13482 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13483 Likewise.
13484 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13485
09a3453f
DM
134862012-03-13 David S. Miller <davem@davemloft.net>
13487
8e59da90
DM
13488 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13489 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13490 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13491 rtld-global-offsets.h
13492 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13493
2a8ab7f2
DM
13494 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13495 large parameters.
13496
10f62770
DM
13497 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13498
5f0bdb18
DM
13499 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13500 'err' in the ifdef scope in which it is actually used.
13501
09a3453f
DM
13502 * nss/nss_db/db-init.c: Include string.h
13503
b4b2eb5e
DM
135042012-03-12 David S. Miller <davem@davemloft.net>
13505
98bb2f1c
DM
13506 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13507 masking out of the most significant byte of random value used.
13508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13509 Fix coding style in previous change.
13510
b4b2eb5e
DM
13511 * sysdeps/unix/sysv/linux/kernel-features.h
13512 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13513 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13514 expression.
13515 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13516 later.
13517
6e226b09
DM
135182012-03-11 David S. Miller <davem@davemloft.net>
13519
a1bcbd40
DM
13520 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13521 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13522 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13523 for 'resultvar' otherwise things get truncated on 64-bit.
13524
cb9d6174
DM
13525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13526 Fix masking out of the most significant byte of random value used.
13527
6e226b09
DM
13528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13529
058c132d
AS
135302012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13531
13532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13533
2d2cd515
DM
135342012-03-09 David S. Miller <davem@davemloft.net>
13535
13536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13537 variables with appropriate CPP guards.
13538 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13539 frame pointer, not the stack pointer. Correct layout comments. Fix test
13540 on resulting framesize and the management of the outregs buffer for pltexit.
13541 Preserve floating point return values across _dl_call_pltexit call.
13542 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13543 framesize and the management of the outregs buffer for pltexit.
13544 Preserve floating point return values across _dl_call_pltexit
13545 call.
13546 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13547 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13548 (print_exit): Fix format string for return register value.
13549
9a07f9d0
JM
135502012-03-10 Joseph Myers <joseph@codesourcery.com>
13551
13552 * sunrpc/Makefile (others): Add rpcgen.
13553 ($(objpfx)rpcgen): Remove special build rule and dependency on
13554 libc.
13555 * sunrpc/rpcgen.c: New file.
13556
547b5e30
PE
135572012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13558
c524201a
PE
13559 [BZ #13673]
13560 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13561 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13562 * sysdeps/i386/crti.S: Likewise.
13563 * sysdeps/i386/crtn.S: Likewise.
13564 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13565 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13566 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13567 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13568 * sysdeps/sh/crti.S: Likewise.
13569 * sysdeps/sh/crtn.S: Likewise.
13570 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13571
7b6235f2
PE
13572 [BZ #13673]
13573 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13574 with URL.
13575 * locale/programs/locfile-kw.gperf: Likewise.
13576 * locale/programs/charmap-kw.h: Regenerated.
13577 * locale/programs/locfile-kw.h: Likewise.
13578
547b5e30
PE
13579 [BZ #13673]
13580 * intl/plural.y: Replace FSF snail mail address with URL.
13581 * intl/plural.c: Regenerated.
13582
5f0a5dae
RH
135832012-03-09 Richard Henderson <rth@twiddle.net>
13584
13585 * include/math_private.h: Remove file.
13586 * math/math_private.h: Move file ...
13587 * sysdeps/generic/math_private.h: ... here.
13588
b8c03620
RH
13589 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13590 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13591 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13592
4e234f5d 13593 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13594 and <math_private.h>.
13595 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13596 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13597 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13598 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13599 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13646 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13647 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13648 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13661 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13683 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13686 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13687 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13688 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13689 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13690 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13691 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13692 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13694 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13695 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13696 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13697 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13698 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13700 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13701 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13702 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13703 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13705 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13707 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13708 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13709 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13710 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13712 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13713 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13714 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13715 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13716 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13717 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13718 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13719 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13720 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13721 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13722 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13723 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13724 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13725 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13726 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13727 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13728 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13729 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13730 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13731 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13732 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13733 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13734 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13735 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13736 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13737 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13738 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13739 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13740 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13742 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13743 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13744 * sysdeps/ieee754/k_standard.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13858 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13860 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13864 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13865 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13867 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13872 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13874 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13875 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13877 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13893 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13894 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13895 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13905 * sysdeps/ieee754/s_lib_version.c: Likewise.
13906 * sysdeps/ieee754/s_matherr.c: Likewise.
13907 * sysdeps/ieee754/s_signgam.c: Likewise.
13908 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13909 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13910 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13911 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13912 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13913 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13914 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13915 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13916 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13917 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13918 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13919 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13920 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13921 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13922 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13923 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13924 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13925 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13926 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13927 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13929
1991fa03
JM
139302012-03-09 Joseph Myers <joseph@codesourcery.com>
13931
13932 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13933 * sunrpc/rpc_main.c: Likewise.
13934 * sunrpc/rpc_svcout.c: Likewise.
13935
60d6f5a6
DM
139362012-03-09 David S. Miller <davem@davemloft.net>
13937
13938 * include/math_private.h: New file.
13939
4962050e
JM
139402012-03-09 Joseph Myers <joseph@codesourcery.com>
13941
02a6f887
JM
13942 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13943 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13944 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13945 from <bits/socket_type.h>.
13946 (enum __socket_type): Don't define here.
13947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13949 bits/socket_type.h.
13950
c6e013c1
JM
13951 [BZ #13566]
13952 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13953 checking __USE_GNU.
13954
4962050e
JM
13955 * Makerules ($(inst_includedir)/%.h): New rule.
13956 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13957 (install-others): Remove variable setting.
13958 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13959
38842f45
RH
139602012-03-08 Richard Henderson <rth@twiddle.net>
13961
67bb6da6
RH
13962 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13963 from macro to inline function; merge with the
13964 !__LIBC_INTERNAL_MATH_INLINES version.
13965 (__ieee754_sqrtf): Likewise.
13966
15194b4b
RH
13967 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13968 to inline function.
13969 (__rintf, __floor, __floorf): Likewise.
13970
64e21ede
RH
13971 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13972 macro to inline function.
13973 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13974
38842f45
RH
13975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13976 not <math/math_private.h>.
13977
c64bf5fe
DM
139782012-03-08 David S. Miller <davem@davemloft.net>
13979
13980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13981 copyright year.
13982 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13983
82d86f28
TS
139842012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13985
13986 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13987 normalization.
13988 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13989 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13990
aea5d727
UD
139912012-03-08 Ulrich Drepper <drepper@gmail.com>
13992
13993 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13994 be defined individually, they must be defined as a block. Define
13995 S for printing a string instead of hidint the different by using a
13996 macro for adding the 'l'.
13997 * stdio-common/tst-fphex-wide.c: Adjust.
13998
70bca0a3
MP
139992012-03-07 Marek Polacek <polacek@redhat.com>
14000
14001 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14002
65b81130
MP
140032012-03-08 Marek Polacek <polacek@redhat.com>
14004
14005 [BZ #13806]
14006 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14007 * stdio-common/tst-fphex.c: Define a few macros to make the
14008 test reusable. Use them.
14009 * stdio-common/tst-fphex-wide.c: New file.
14010
07037eeb
JM
140112012-03-08 Joseph Myers <joseph@codesourcery.com>
14012
a7a93d50
JM
14013 [BZ #6911]
14014 * manual/macros.texi (gnusystems): New macro.
14015 (nongnusystems): Likewise.
14016 (gnulinuxhurdsystems): Likewise.
14017 (gnuhurdsystems): Likewise..
14018 (gnulinuxsystems): Likewise.
14019 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14020 variants of the GNU system, not "GNU system".
14021 * manual/conf.texi: Likewise.
14022 * manual/errno.texi: Likewise. Update example of errno macro
14023 expansion.
14024 * manual/filesys.texi: Likewise.
14025 (getumask): Document as specific to GNU/Hurd.
14026 * manual/install.texi: Likewise. Reword some references to
14027 GNU/Linux.
14028 * manual/intro.texi: Likewise.
14029 * manual/io.texi: Likewise.
14030 (File Name Portability): Detail which constraints are inapplicable
14031 to all GNU systems and which are only inapplicable to GNU/Hurd.
14032 * manual/job.texi: Likewise.
14033 * manual/llio.texi: Likewise.
14034 (O_NOCTTY): Document as present on GNU/Linux.
14035 * manual/maint.texi: Likewise.
14036 * manual/memory.texi: Likewise.
14037 * manual/pattern.texi: Likewise.
14038 * manual/pipe.texi: Likewise.
14039 * manual/process.texi: Likewise.
14040 * manual/resource.texi: Likewise.
14041 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14042 child on GNU/Hurd.
14043 * manual/setjmp.texi: Likewise.
14044 * manual/signal.texi: Likewise.
14045 * manual/startup.texi: Likewise.
14046 * manual/stdio.texi: Likewise.
14047 * manual/terminal.texi: Likewise.
14048 (ONLCR): Document as POSIX.
14049 (OXTABS): Document availability on GNU/Linux as XTABS.
14050 (ONOEOT): Document availability separately from other bits.
14051 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14052 * manual/time.texi: Likewise.
14053 * manual/users.texi: Likewise.
14054 * INSTALL: Regenerated.
14055 * sysdeps/gnu/errlist.c: Regenerated.
14056
07037eeb
JM
14057 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14058 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14059 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14060 puts.
14061 * configure: Regenerated.
14062
d1d3431a
JM
140632012-03-07 Joseph Myers <joseph@codesourcery.com>
14064
af6a1e37
JM
14065 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14066 default includes instead of AC_HEADER_CHECK.
14067 * sysdeps/i386/configure: Regenerated.
14068
d1d3431a
JM
14069 [BZ #10716]
14070 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14071 * math/s_cacoshf.c (__cacoshf): Likewise.
14072 * math/s_cacoshl.c (__cacoshl): Likewise.
14073 * math/s_casinh.c (__casinh): Set signs of result from argument.
14074 * math/s_casinhf.c (__casinhf): Likewise.
14075 * math/s_casinhl.c (__casinhl): Likewise.
14076 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14077 (casinh_test): Add more tests.
14078 * sysdeps/i386/fpu/libm-test-ulps: Update.
14079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14080
482ff4da
UD
140812012-03-07 Ulrich Drepper <drepper@gmail.com>
14082
872fda05
UD
14083 * po/zh_TW.po: Update from translation team.
14084
a4300c7a
UD
14085 * login/Makefile (distribute): Remove variable.
14086 * catgets/Makefile: Likewise.
14087 * mach/Makefile: Likewise.
14088 * malloc/Makefile: Likewise.
14089 * misc/Makefile: Likewise.
14090 * iconv/Makefile: Likewise.
14091 * nscd/Makefile: Likewise.
14092 * hurd/Makefile: Likewise.
14093 * manual/Makefile: Likewise.
14094 * locale/Makefile: Likewise.
14095 * intl/Makefile: Likewise.
14096 * conform/Makefile: Likewise.
14097 * nss/Makefile: Likewise.
14098 * time/Makefile: Likewise.
14099 * soft-fp/Makefile: Likewise.
14100 * dirent/Makefile: Likewise.
14101 * gmon/Makefile: Likewise.
14102 * po/Makefile: Likewise.
14103 * rt/Makefile: Likewise.
14104 * socket/Makefile: Likewise.
14105 * math/Makefile: Likewise.
14106 * signal/Makefile: Likewise.
14107 * debug/Makefile: Likewise.
14108 * elf/Makefile: Likewise.
14109 * timezone/Makefile: Likewise.
14110 * stdlib/Makefile: Likewise.
14111 * iconvdata/Makefile: Likewise.
14112 * sunrpc/Makefile: Likewise.
14113 * io/Makefile: Likewise.
14114 * argp/Makefile: Likewise.
14115 * inet/Makefile: Likewise.
14116 * hesiod/Makefile: Likewise.
14117 * grp/Makefile: Likewise.
14118 * csu/Makefile: Likewise.
14119 * wctype/Makefile: Likewise.
14120 * crypt/Makefile: Likewise.
14121 * libio/Makefile: Likewise.
14122 * string/Makefile: Likewise.
14123 * nis/Makefile: Likewise.
14124 * resolv/Makefile: Likewise.
14125 * stdio-common/Makefile: Likewise.
14126 * wcsmbs/Makefile: Likewise.
14127 * dlfcn/Makefile: Likewise.
14128 * posix/Makefile: Likewise.
14129
3b7c4e74 14130 [BZ #6959]
482ff4da
UD
14131 * timezone/Makefile: Don't install timezone files, just the programs
14132 and scripts.
14133
f72ed77d
UD
141342012-03-06 Ulrich Drepper <drepper@gmail.com>
14135
a000466f
UD
14136 * nss/databases.def: Add missing gshadow entry.
14137
f72ed77d
UD
14138 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14139
a53b7a4e
MP
141402012-03-06 Marek Polacek <polacek@redhat.com>
14141
14142 [BZ #13726]
14143 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14144 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14145 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14146 * stdio-common/tst-long-dbl-fphex.c: New file.
14147
e9258400
DM
141482012-03-06 David S. Miller <davem@davemloft.net>
14149
14150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14151 (set_obp_int): New function.
14152 (get_obp_int): New function.
14153 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14154 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14155 Avoid unused variable warnings on 'val' and use builtin_expect.
14156 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14157 __builtin_expect.
e9258400
DM
14158 (INLINE_CLONE_SYSCALL): Likewise.
14159
3bd2c723
DM
141602012-03-05 David S. Miller <davem@davemloft.net>
14161
14162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14163
bbb78d03
AS
141642012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14165
884c5db4
AS
14166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14167
bbb78d03
AS
14168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14169 only for |x| >= 40.
14170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14171
1c9f702a 141722012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14173
14174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14175 Replace gettimeofday with __vdso_gettimeofday.
14176
7be16f82
RM
14177 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14178 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14179 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14180
14181 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14182 time with __vdso_time.
14183
ed58a00f
JM
141842012-03-05 Joseph Myers <joseph@codesourcery.com>
14185
14186 * manual/lang.texi (size_t): Note types to which size_t may be
14187 equivalent with the GNU C Library, but do not describe when
14188 differences between them are significant.
14189
30ee4ced
AJ
141902012-03-05 Andreas Jaeger <aj@suse.de>
14191
14192 * sysdeps/i386/fpu/libm-test-ulps: Update.
14193
b7cd39e8
JM
141942012-03-05 Joseph Myers <joseph@codesourcery.com>
14195
14196 [BZ #3976]
14197 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14198 (__ieee754_pow): Save and restore rounding mode and use
14199 round-to-nearest for main computations.
14200 * math/libm-test.inc (pow_test_tonearest): New function.
14201 (pow_test_towardzero): Likewise.
14202 (pow_test_downward): Likewise.
14203 (pow_test_upward): Likewise.
14204 (main): Call the new functions.
14205 * sysdeps/i386/fpu/libm-test-ulps: Update.
14206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14207
14208 [BZ #3976]
14209 * math/libm-test.inc (cosh_test_tonearest): New function.
14210 (cosh_test_towardzero): Likewise.
14211 (cosh_test_downward): Likewise.
14212 (cosh_test_upward): Likewise.
14213 (sinh_test_tonearest): Likewise.
14214 (sinh_test_towardzero): Likewise.
14215 (sinh_test_downward): Likewise.
14216 (sinh_test_upward): Likewise.
14217 (main): Call the new functions.
14218 * sysdeps/i386/fpu/libm-test-ulps: Update.
14219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14220
6c6a98c9
TV
142212012-03-05 Tom de Vries <tom@codesourcery.com>
14222
14223 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14224 default stack guard is set in last bytes.
14225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14226
21bb2d2e 142272012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14228
21bb2d2e 14229 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14230
21bb2d2e
AJ
14231 [BZ #13656]
14232 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14233 possibly allocate from heap instead of stack.
14234 * stdio-common/bug-vfprintf-nargs.c: New file.
14235 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14236
c6922934
AS
142372012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14238
14239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14240
bc957d53
MP
142412012-03-03 Marek Polacek <polacek@redhat.com>
14242
14243 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14244 * math/math_private.h: Likewise.
14245 * stdlib/tst-strtod.c: Likewise.
14246 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14247 * sysdeps/x86_64/bits/atomic.h: Likewise.
14248
6358490d
DM
142492012-03-02 David S. Miller <davem@davemloft.net>
14250
14251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14255 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14256 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14257 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14258 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14259
01ae168d
RM
142602012-03-02 Roland McGrath <roland@hack.frob.com>
14261
d9a17c07
RM
14262 [BZ #13792]
14263 * manual/examples/README: New file, says the example source files
14264 can be used under GPL>=2.
14265 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14266 line containing just "*/".
14267 * manual/examples/add.c: Add copyright header (GPL>=2).
14268 * manual/examples/argp-ex1.c: Likewise.
14269 * manual/examples/argp-ex2.c: Likewise.
14270 * manual/examples/argp-ex3.c: Likewise.
14271 * manual/examples/argp-ex4.c: Likewise.
14272 * manual/examples/atexit.c: Likewise.
14273 * manual/examples/db.c: Likewise.
14274 * manual/examples/dir.c: Likewise.
14275 * manual/examples/dir2.c: Likewise.
14276 * manual/examples/execinfo.c: Likewise.
14277 * manual/examples/filecli.c: Likewise.
14278 * manual/examples/filesrv.c: Likewise.
14279 * manual/examples/fmtmsgexpl.c: Likewise.
14280 * manual/examples/genpass.c: Likewise.
14281 * manual/examples/inetcli.c: Likewise.
14282 * manual/examples/inetsrv.c: Likewise.
14283 * manual/examples/isockad.c: Likewise.
14284 * manual/examples/longopt.c: Likewise.
14285 * manual/examples/memopen.c: Likewise.
14286 * manual/examples/memstrm.c: Likewise.
14287 * manual/examples/mkfsock.c: Likewise.
14288 * manual/examples/mkisock.c: Likewise.
14289 * manual/examples/mygetpass.c: Likewise.
14290 * manual/examples/pipe.c: Likewise.
14291 * manual/examples/popen.c: Likewise.
14292 * manual/examples/rprintf.c: Likewise.
14293 * manual/examples/search.c: Likewise.
14294 * manual/examples/select.c: Likewise.
14295 * manual/examples/setjmp.c: Likewise.
14296 * manual/examples/sigh1.c: Likewise.
14297 * manual/examples/sigusr.c: Likewise.
14298 * manual/examples/stpcpy.c: Likewise.
14299 * manual/examples/strdupa.c: Likewise.
14300 * manual/examples/strftim.c: Likewise.
14301 * manual/examples/strncat.c: Likewise.
14302 * manual/examples/subopt.c: Likewise.
14303 * manual/examples/swapcontext.c: Likewise.
14304 * manual/examples/termios.c: Likewise.
14305 * manual/examples/testopt.c: Likewise.
14306 * manual/examples/testpass.c: Likewise.
14307 * manual/examples/timeval_subtract.c: Likewise.
14308
01ae168d
RM
14309 [BZ #13792]
14310 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14311 function to ...
14312 * manual/timeval_subtract.c.texi: ... here, new file.
14313
49efa33d
DM
143142012-03-02 David S. Miller <davem@davemloft.net>
14315
14316 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14317
28afd92d
JM
143182012-03-02 Joseph Myers <joseph@codesourcery.com>
14319
804360ed
JM
14320 [BZ #3976]
14321 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14322 (__sin): Save and restore rounding mode and use round-to-nearest
14323 for all computations.
14324 (__cos): Save and restore rounding mode and use round-to-nearest
14325 for all computations.
14326 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14327 <fenv.h>.
14328 (tan): Save and restore rounding mode and use round-to-nearest for
14329 all computations.
14330 * math/libm-test.inc (cos_test_tonearest): New function.
14331 (cos_test_towardzero): Likewise.
14332 (cos_test_downward): Likewise.
14333 (cos_test_upward): Likewise.
14334 (sin_test_tonearest): Likewise.
14335 (sin_test_towardzero): Likewise.
14336 (sin_test_downward): Likewise.
14337 (sin_test_upward): Likewise.
14338 (tan_test_tonearest): Likewise.
14339 (tan_test_towardzero): Likewise.
14340 (tan_test_downward): Likewise.
14341 (tan_test_upward): Likewise.
14342 (main): Call the new functions.
14343 * sysdeps/i386/fpu/libm-test-ulps: Update.
14344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14345
a6d06d7b
JM
14346 [BZ #10135]
14347 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14348 small n, then large n, before computing and testing k+n.
14349 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14350 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14351 Likewise.
14352 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14353 Likewise.
14354 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14355 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14356 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14357 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14360 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14361 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14362 * math/libm-test.inc (scalbn_test): Add more tests.
14363 (scalbln_test): Likewise.
14364
07e12bb3
JM
14365 * manual/filesys.texi (mode_t): Describe constraints on size and
14366 signedness, not exact equivalence to a particular type.
14367 (ino_t): Likewise.
14368 (ino64_t): Likewise.
14369 (dev_t): Likewise.
14370 (nlink_t): Likewise.
14371 (blkcnt_t): Likewise.
14372 (blkcnt64_t): Likewise.
14373 * manual/llio.texi (off_t): Likewise.
14374
28afd92d
JM
14375 [BZ #3976]
14376 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14377 (__ieee754_exp): Save and restore rounding mode and use
14378 round-to-nearest for all computations.
14379 * math/libm-test.inc (exp_test_tonearest): New function.
14380 (exp_test_towardzero): Likewise.
14381 (exp_test_downward): Likewise.
14382 (exp_test_upward): Likewise.
14383 (main): Call the new functions.
14384 * sysdeps/i386/fpu/libm-test-ulps: Update.
14385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14386
b1eeb65d
CD
143872012-03-01 Chris Demetriou <cgd@google.com>
14388
14389 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14390 have predictable order.
14391
53362a4b
DM
143922012-03-01 David S. Miller <davem@davemloft.net>
14393
3c969083
DM
14394 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14395
759707de
DM
14396 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14397 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14398 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14399 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14400
dfdb8ff2
DM
14401 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14402 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14403 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14405 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14406 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14407 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14408 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14409 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14410
ead89f96
DM
14411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14412
7f66bd07
DM
14413 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14414 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14415 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14416
53362a4b
DM
14417 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14418 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14419 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14420 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14421 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14422 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14423 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14424 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14425 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14426 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14427 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14428 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14430 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14431 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14433 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14434 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14435 * sysdeps/sparc/elf/configure: Regenerated.
14436
7b1902cb
JM
144372012-03-01 Joseph Myers <joseph@codesourcery.com>
14438
bec039bc
JM
14439 * configure.in (AS, LD): Require binutils 2.20 or later.
14440 * configure: Regenerated.
14441 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14442 as required minimum version.
14443 * INSTALL: Regenerated.
14444
7b1902cb
JM
14445 [BZ #2541]
14446 [BZ #4108]
14447 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14448 before squaring exponent.
14449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14450 bottom long double and 27 bits of top long double before squaring
14451 exponent.
14452 * math/libm-test.inc (erfc_test): Add more tests.
14453 * sysdeps/i386/fpu/libm-test-ulps: Update.
14454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14456
f775c276
KT
144572012-03-01 Kai Tietz <ktietz@redhat.com>
14458
14459 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14460 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14461 containing bit-fields.
14462 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14463 * soft-fp/single.h (_FP_UNION_S): Likewise.
14464 * soft-fp/double.h (_FP_UNION_D): Likewise.
14465
5b8a4d4a
JM
144662012-02-29 Joseph Myers <joseph@codesourcery.com>
14467
0bab47b6
JM
14468 [BZ #13786]
14469 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14470 not include ../strcmp.S.
14471 [USE_AS_STRNCASECMP_L]: Likewise.
14472 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14473 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14474 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14475 (__strncasecmp_l_ia32): Define as alias to
14476 __strncasecmp_l_nonascii.
14477
0fcad3e2
JM
14478 [BZ #5794]
14479 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14480 * sysdeps/i386/fpu/libm-test-ulps: Update.
14481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14482
5b8a4d4a
JM
14483 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14485
8fdceb2e
JL
144862012-02-29 Jeff Law <law@redhat.com>
14487
14488 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14489 out of bounds read.
14490
1f393a11
MP
144912012-02-29 Marek Polacek <polacek@redhat.com>
14492
14493 [BZ #13706]
14494 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14495 * elf/Makefile: Add rules to run tst-unused-dep.out.
14496
8847f037
DM
144972012-02-28 David S. Miller <davem@davemloft.net>
14498
14499 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14500 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14501 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14502 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14503 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14504 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14505
169d7f11
JM
145062012-02-29 Joseph Myers <joseph@codesourcery.com>
14507
14508 * math/libm-test.inc (llround_test): Move one test from
14509 lround_test. Use TEST_f_L in moved test.
14510 (lround_test): Move misplaced test to llround_test. Add testcase
14511 from bug 2561.
14512
39adf059
UD
145132012-02-28 Ulrich Drepper <drepper@gmail.com>
14514
14515 * sysdeps/x86_64/fpu/e_expf.S: New file.
14516 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14517
71b5d1c5
SB
145182012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14519
14520 [BZ #13637]
14521 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14522 of remain_len that may cause incomplete multi-byte character and
14523 false match.
14524 * posix/bug-regex33.c: New file.
14525 * posix/Makefile (tests): Add bug-regex33.
14526
1f77f049
JM
145272012-02-28 Joseph Myers <joseph@codesourcery.com>
14528
14529 * manual/macros.texi: New file.
14530 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14531 * manual/libc.texinfo: Include macros.texi.
14532 * manual/creatute.texi: Likewise.
14533 * manual/install.texi: Likewise.
14534 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14535 @glibcadj{} in references to the GNU C Library.
14536 * manual/charset.texi: Likewise.
14537 * manual/conf.texi: Likewise.
14538 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14539 when not using those macros.
14540 * manual/creature.texi: Likewise.
14541 * manual/crypt.texi: Likewise.
14542 * manual/errno.texi: Likewise.
14543 * manual/filesys.texi: Likewise.
14544 * manual/header.texi: Likewise.
14545 * manual/install.texi: Likewise.
14546 * manual/intro.texi: Likewise.
14547 * manual/io.texi: Likewise.
14548 * manual/job.texi: Likewise.
14549 * manual/lang.texi: Likewise.
14550 * manual/libc.texiinfo: Likewise.
14551 * manual/llio.texi: Likewise.
14552 * manual/locale.texi: Likewise.
14553 * manual/maint.texi: Likewise.
14554 * manual/math.texi: Likewise.
14555 * manual/memory.texi: Likewise.
14556 * manual/message.texi: Likewise.
14557 * manual/nss.texi: Likewise.
14558 * manual/pattern.texi: Likewise.
14559 * manual/process.texi: Likewise.
14560 * manual/resource.texi: Likewise.
14561 * manual/search.texi: Likewise.
14562 * manual/setjmp.texi: Likewise.
14563 * manual/signal.texi: Likewise.
14564 * manual/socket.texi: Likewise.
14565 * manual/startup.texi: Likewise.
14566 * manual/stdio.texi: Likewise.
14567 * manual/string.texi: Likewise.
14568 * manual/sysinfo.texi: Likewise.
14569 * manual/syslog.texi: Likewise.
14570 * manual/terminal.texi: Likewise.
14571 * manual/time.texi: Likewise.
14572 * manual/users.texi: Likewise.
14573 * INSTALL: Regenerated.
14574 * NOTES: Regenerated.
d40c5d54 14575 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14576
450bf206
AS
145772012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14578
14579 * include/dirent.h: Include <dirstream.h> before
14580 <dirent/dirent.h>.
14581
741a235b
DM
145822012-02-28 David S. Miller <davem@davemloft.net>
14583
14584 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14585 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14586 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14587 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14588
d6b5aa58
DM
145892012-02-27 David S. Miller <davem@davemloft.net>
14590
1aff59a3
DM
14591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14593 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14594 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14595
d6b5aa58
DM
14596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14597 frame pointer instead of stack pointer relative arg slot.
14598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14599 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14600 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14601
433f48bf
CD
146022012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14603
14604 [BZ #3992]
14605 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14606
d674b76d
DM
146072012-02-27 David S. Miller <davem@davemloft.net>
14608
14609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14613 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14614 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14615 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14616 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14617
0e7727f7
JM
146182012-02-27 Joseph Myers <joseph@codesourcery.com>
14619
14620 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14621 later. Allow versions 5-9.
43be4ca2 14622 * configure: Regenerated.
0e7727f7
JM
14623 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14624 required minimum version and 4.6 as recommended version. Do not
14625 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14626 * INSTALL: Regenerated.
0e7727f7 14627
a78bc654
DM
146282012-02-27 David S. Miller <davem@davemloft.net>
14629
428d5830
DM
14630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14634 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14635 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14636 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14637 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14638
a78bc654
DM
14639 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14640 manipulate bits before adding and subtracting TWO112[sx].
14641 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14642
4579f81c
RM
146432012-02-27 Roland McGrath <roland@hack.frob.com>
14644
36c8acb4
RM
14645 [BZ #13775]
14646 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14647 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14648 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14649 being in POSIX, because they are in 1003.1-2008.
14650
84ad622b
RM
14651 * rt/tst-aio.c: Include <fcntl.h>.
14652 * rt/tst-aio7.c: Likewise.
14653 * rt/tst-aio64.c: Likewise.
14654
4579f81c
RM
14655 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14656
abd923db
JM
146572012-02-27 Joseph Myers <joseph@codesourcery.com>
14658
14659 * manual/install.texi (--with-headers): Describe headers as
14660 interface headers, not private headers.
14661 (Specific advice for GNU/Linux systems): Describe use of headers
14662 from "make headers_install", not private headers from older
14663 kernels.
43be4ca2 14664 * INSTALL: Regenerated.
abd923db
JM
14665 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14666 Change to 2.6.19.
14667 * sysdeps/unix/sysv/linux/configure: Regenerated.
14668
6664049b
JM
14669 * manual/llio.texi (fclean): Remove documentation.
14670
bb8b6697
JM
14671 * manual/Makefile (libc-texi-generated): New variable. Include
14672 version.texi.
14673 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14674 $(libc-texi-generated), not duplicated list of files.
14675 (version.texi, stamp-version): New rules.
14676 (realclean): Remove $(libc-texi-generated), not individual files
14677 from that list. Do not remove dir-add.texinfo.
14678 * manual/libc.texinfo: Comment out uses of edition numbers and
14679 references to printed manual. Remove last-updated dates.
14680 (EDITION): Comment out.
14681 (ISBN): Likewise.
14682 (VERSION, UPDATED): Remove.
14683 (version.texi): Include.
14684
12e5c3b9
AS
146852012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14686
14687 * sysdeps/posix/spawni.c: Include <signal.h>.
14688 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14689 * sysdeps/pthread/aio_fsync.c: Likewise.
14690
4efeffc1 146912012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14692
ba63ba08
UD
14693 * conform/Makefile (tests): Run only when not cross-compiling and
14694 when fast-check is not defined.
14695
d94a4670
UD
14696 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14697 * conform/data/limits.h-data: Fixes for POSIX2008.
14698 * conform/run-conformtest.sh: Run all tests.
14699 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14700 headers.
14701 * include/bits/dlfcn.h: Likewise.
14702 * include/langinfo.h: Likewise.
14703 * include/monetary.h: Likewise.
14704 * include/sys/poll.h: Likewise.
14705
14706 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14707 for __USE_GNU.
14708 * posix/spawn.h: Define __need_sigset_t.
14709 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14710 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14711 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14712 to get sigevent_t only.
14713 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14714 only for __USE_GNU.
14715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14716 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14717 process_vm_writev only for __USE_GNU.
14718 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14719
14720 * conform/Makefile: For now ignore errors from run-conformtest.
14721 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14722 POSIX to avoid namespace pollution. Don't prepend headers.
14723 * conform/data/aio.h-data: Fixes for POSIX testing.
14724 * conform/data/fcntl.h-data: Likewise.
14725 * conform/data/glob.h-data: Likewise.
14726 * conform/data/grp.h-data: Likewise.
14727 * conform/data/pthread.h-data: Likewise.
14728 * conform/data/pwd.h-data: Likewise.
14729 * conform/data/signal.h-data: Likewise.
14730 * conform/data/spawn.h-data: Likewise.
14731 * conform/data/stdio.h-data: Likewise.
14732 * conform/data/stdlib.h-data: Likewise.
14733 * conform/data/stropts.h-data: Likewise.
14734 * conform/data/sys/mman.h-data: Likewise.
14735 * conform/data/sys/stat.h-data: Likewise.
14736 * conform/data/sys/types.h-data: Likewise.
14737 * conform/data/sys/wait.h-data: Likewise.
14738 * conform/data/time.h-data: Likewise.
14739 * conform/data/unistd.h-data: Likewise.
14740 * conform/data/utime.h-data: Likewise.
14741
14742 * io/sys/stat.h: fchmod was always in POSIX.
14743 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14744 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14745 * rt/aio.h: Define __need_timespec before including <time.h>.
14746 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14747 struct. Add forward declaration of pthread_attr_t and use it in
14748 sigevent.
14749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14750 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14751 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14752 always remove CLK_TCK definition.
14753
c20105c3
AS
147542012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14755
14756 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14757
7a270350
UD
147582012-02-25 Ulrich Drepper <drepper@gmail.com>
14759
31341567
UD
14760 * conform/run-conformtest.sh: New file.
14761 * conform/Makefile: Run run-conformtest for tests.
14762 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14763 support.
14764
14765 * conform/data/uchar.h-data: New file.
14766 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14767 * conform/data/arpa/inet.h-data: Likewise.
14768 * conform/data/assert.h-data: Likewise.
14769 * conform/data/complex.h-data: Likewise.
14770 * conform/data/cpio.h-data: Likewise.
14771 * conform/data/ctype.h-data: Likewise.
14772 * conform/data/dirent.h-data: Likewise.
14773 * conform/data/dlfcn.h-data: Likewise.
14774 * conform/data/errno.h-data: Likewise.
14775 * conform/data/fcntl.h-data: Likewise.
14776 * conform/data/float.h-data: Likewise.
14777 * conform/data/fmtmsg.h-data: Likewise.
14778 * conform/data/fnmatch.h-data: Likewise.
14779 * conform/data/ftw.h-data: Likewise.
14780 * conform/data/glob.h-data: Likewise.
14781 * conform/data/grp.h-data: Likewise.
14782 * conform/data/iconv.h-data: Likewise.
14783 * conform/data/inttypes.h-data: Likewise.
14784 * conform/data/langinfo.h-data: Likewise.
14785 * conform/data/libgen.h-data: Likewise.
14786 * conform/data/limits.h-data: Likewise.
14787 * conform/data/locale.h-data: Likewise.
14788 * conform/data/math.h-data: Likewise.
14789 * conform/data/monetary.h-data: Likewise.
14790 * conform/data/mqueue.h-data: Likewise.
14791 * conform/data/ndbm.h-data: Likewise.
14792 * conform/data/net/if.h-data: Likewise.
14793 * conform/data/netdb.h-data: Likewise.
14794 * conform/data/netinet/in.h-data: Likewise.
14795 * conform/data/nl_types.h-data: Likewise.
14796 * conform/data/poll.h-data: Likewise.
14797 * conform/data/pthread.h-data: Likewise.
14798 * conform/data/pwd.h-data: Likewise.
14799 * conform/data/regex.h-data: Likewise.
14800 * conform/data/sched.h-data: Likewise.
14801 * conform/data/search.h-data: Likewise.
14802 * conform/data/semaphore.h-data: Likewise.
14803 * conform/data/setjmp.h-data: Likewise.
14804 * conform/data/signal.h-data: Likewise.
14805 * conform/data/spawn.h-data: Likewise.
14806 * conform/data/stdarg.h-data: Likewise.
14807 * conform/data/stdio.h-data: Likewise.
14808 * conform/data/stdlib.h-data: Likewise.
14809 * conform/data/string.h-data: Likewise.
14810 * conform/data/strings.h-data: Likewise.
14811 * conform/data/stropts.h-data: Likewise.
14812 * conform/data/sys/ipc.h-data: Likewise.
14813 * conform/data/sys/mman.h-data: Likewise.
14814 * conform/data/sys/msg.h-data: Likewise.
14815 * conform/data/sys/resource.h-data: Likewise.
14816 * conform/data/sys/select.h-data: Likewise.
14817 * conform/data/sys/sem.h-data: Likewise.
14818 * conform/data/sys/shm.h-data: Likewise.
14819 * conform/data/sys/socket.h-data: Likewise.
14820 * conform/data/sys/stat.h-data: Likewise.
14821 * conform/data/sys/statvfs.h-data: Likewise.
14822 * conform/data/sys/time.h-data: Likewise.
14823 * conform/data/sys/timeb.h-data: Likewise.
14824 * conform/data/sys/times.h-data: Likewise.
14825 * conform/data/sys/types.h-data: Likewise.
14826 * conform/data/sys/uio.h-data: Likewise.
14827 * conform/data/sys/un.h-data: Likewise.
14828 * conform/data/sys/utsname.h-data: Likewise.
14829 * conform/data/sys/wait.h-data: Likewise.
14830 * conform/data/syslog.h-data: Likewise.
14831 * conform/data/tar.h-data: Likewise.
14832 * conform/data/termios.h-data: Likewise.
14833 * conform/data/utime.h-data: Likewise.
14834 * conform/data/utmpx.h-data: Likewise.
14835 * conform/data/varargs.h-data: Likewise.
14836 * conform/data/wchar.h-data: Likewise.
14837 * conform/data/wctype.h-data: Likewise.
14838 * conform/data/wordexp.h-data: Likewise.
14839
14840 * include/stropts.h: New file.
14841 * include/uchar.h: New file.
14842 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14843 * include/assert.h: Likewise.
14844 * include/ctype.h: Likewise.
14845 * include/dirent.h: Likewise.
14846 * include/dlfcn.h: Likewise.
14847 * include/fcntl.h: Likewise.
14848 * include/fnmatch.h: Likewise.
14849 * include/glob.h: Likewise.
14850 * include/grp.h: Likewise.
14851 * include/libio.h: Likewise.
14852 * include/locale.h: Likewise.
14853 * include/math.h: Likewise.
14854 * include/net/if.h: Likewise.
14855 * include/netdb.h: Likewise.
14856 * include/netinet/in.h: Likewise.
14857 * include/pthread.h: Likewise.
14858 * include/pwd.h: Likewise.
14859 * include/regex.h: Likewise.
14860 * include/sched.h: Likewise.
14861 * include/search.h: Likewise.
14862 * include/setjmp.h: Likewise.
14863 * include/signal.h: Likewise.
14864 * include/stdio.h: Likewise.
14865 * include/stdlib.h: Likewise.
14866 * include/string.h: Likewise.
14867 * include/sys/cdefs.h: Likewise.
14868 * include/sys/mman.h: Likewise.
14869 * include/sys/msg.h: Likewise.
14870 * include/sys/resource.h: Likewise.
14871 * include/sys/select.h: Likewise.
14872 * include/sys/socket.h: Likewise.
14873 * include/sys/stat.h: Likewise.
14874 * include/sys/statvfs.h: Likewise.
14875 * include/sys/time.h: Likewise.
14876 * include/sys/times.h: Likewise.
14877 * include/sys/uio.h: Likewise.
14878 * include/sys/utsname.h: Likewise.
14879 * include/sys/wait.h: Likewise.
14880 * include/termios.h: Likewise.
14881 * include/time.h: Likewise.
14882 * include/ulimit.h: Likewise.
14883 * include/unistd.h: Likewise.
14884 * include/utime.h: Likewise.
14885 * include/wchar.h: Likewise.
14886 * include/wctype.h: Likewise.
14887 * include/wordexp.h: Likewise.
14888
14889 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14890
7a270350
UD
14891 * time/time.h: TIME_UTC must be a macro.
14892 Make timespec_get available for ISO C11 only as well.
14893
7724defc
UD
148942012-02-24 Ulrich Drepper <drepper@gmail.com>
14895
14896 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14897 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14898
6b1d1d46
JM
148992012-02-24 Joseph Myers <joseph@codesourcery.com>
14900
14901 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14902
0f8bbd69
JM
149032012-02-24 Joseph Myers <joseph@codesourcery.com>
14904
14905 * manual/texinfo.tex: Update to version 2012-01-19.16.
14906
66ab80bc
JM
149072012-02-24 Joseph Myers <joseph@codesourcery.com>
14908
14909 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14910
74981cc5
RM
149112012-02-24 Roland McGrath <roland@hack.frob.com>
14912
ee968201
RM
14913 [BZ #13738]
14914 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14915 * manual/fdl-1.3.texi: New file.
14916 * manual/fdl-1.1.texi: File removed.
14917
74981cc5
RM
14918 [BZ #13738]
14919 * manual/libc.texinfo (FDL_VERSION): New @set.
14920 Use it for mention of FDL in cover text.
14921 (Documentation License): Use it in @include file name.
14922
7bb764bc
JM
149232012-02-22 Joseph Myers <joseph@codesourcery.com>
14924 Roland McGrath <roland@hack.frob.com>
14925
14926 [BZ #5461]
14927 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14928 not LONG_LONG_MAX and LONG_LONG_MIN.
14929 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14930 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14931 name.
14932 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14933
6cbeae47
JM
149342012-02-22 Joseph Myers <joseph@codesourcery.com>
14935
14936 [BZ #2547]
14937 [BZ #11365]
14938 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14939 manipulate bits before adding and subtracting TWO23[sx].
14940 * math/libm-test.inc (nearbyint_test): Add more tests.
14941
fe45ce09
JM
149422012-02-22 Joseph Myers <joseph@codesourcery.com>
14943
14944 [BZ #2548]
14945 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14946 bits before adding and subtracting TWO23[sx].
14947 * math/libm-test.inc (rint_test): Add more tests.
14948 (rint_test_tonearest): Likewise.
14949 (rint_test_towardzero): Likewise.
14950 (rint_test_downward): Likewise.
14951 (rint_test_upward: Likewise.
14952
ff3b3d82
JM
149532012-02-22 Joseph Myers <joseph@codesourcery.com>
14954
14955 [BZ #10110]
14956 * include/stdc-predef.h: New file. Extracted from features.h.
14957 * include/features.h: Include stdc-predef.h.
14958 * Makefile (headers): Add stdc-predef.h.
14959 * CONFORMANCE (Compiler limitations): Update.
14960
ef0aab35
JM
149612012-02-22 Joseph Myers <joseph@codesourcery.com>
14962
14963 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14964
58639409
DM
149652012-02-21 David S. Miller <davem@davemloft.net>
14966
14967 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14968 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14969
c0e70b25
DM
149702012-02-20 David S. Miller <davem@davemloft.net>
14971
14972 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14973 using a normal save/restore sequence, rather than allocating a
14974 dummy stack frame just to store a frame pointer and restore.
14975 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14976
fb06851d
JM
149772012-02-21 Joseph Myers <joseph@codesourcery.com>
14978
14979 * manual/install.texi: Fix stray word in line-wrapped comment.
14980
7a8b71c3
DM
149812012-02-20 David S. Miller <davem@davemloft.net>
14982
d510c123
DM
14983 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14984 both binutils and gcc support GOTDATA.
14985
0722d7c2
DM
14986 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14987 "rd %pc" in the PIC register setup sequences.
14988
3d2b3019
DM
14989 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14990 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14991 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14992 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14993 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14995 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14996 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14998 (SYSCALL_ERROR_HANDLER): Likewise.
14999 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15000 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15002 (SYSCALL_ERROR_HANDLER): Likewise.
15003
c80098a9
DM
15004 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15005 (HAVE_GCC_GOTDATA): New.
15006 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15007 relocation support in both binutils and gcc.
15008 * sysdeps/sparc/elf/configure: Regenerate.
15009
3a2545a0
DM
15010 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15011 * sysdeps/sparc/sparc32/elf/configure: Delete.
15012 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15013 * sysdeps/sparc/sparc64/elf/configure: Delete.
15014 * sysdeps/sparc/elf/configure.in: New file.
15015 * sysdeps/sparc/elf/configure: Generate.
15016
7a8b71c3
DM
15017 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15018 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15019 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15020 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15021 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15022
f1e86fca
JM
150232012-02-21 Joseph Myers <joseph@codesourcery.com>
15024
15025 * manual/install.texi: Do not mention specific glibc version
15026 numbers.
15027 * manual/libc.texinfo (VERSION, UPDATED): Update.
15028 (@copying): Use @copyright{} and range of years.
15029
0e7dfaef
JM
150302012-02-21 Joseph Myers <joseph@codesourcery.com>
15031
15032 [BZ #13695]
15033 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15034 [crti.S not in sysdirs] (generated): Do not append.
15035 [crti.S not in sysdirs] (omit-deps): Likewise.
15036 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15037 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15038 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15039 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15040 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15041 Likewise.
15042 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15043 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15044 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15045 * csu/defs.awk: Remove file.
15046 * sysdeps/generic/initfini.c: Likewise.
15047 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15048 variable.
15049 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15050 Likewise.
15051
599af3ca
JM
150522012-02-20 Joseph Myers <joseph@codesourcery.com>
15053
15054 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15055 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15056 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15059 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15060 <bits/epoll.h>.
15061 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15062 (__EPOLL_PACKED): Define to empty if not defined by
15063 <bits/epoll.h>.
15064 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15066 bits/epoll.h.
15067
0e499750
JM
150682012-02-20 Joseph Myers <joseph@codesourcery.com>
15069
15070 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15071 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15072 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15073 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15074 <bits/timerfd.h>.
15075 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15077 bits/timerfd.h.
15078
5ad91f6e
JM
150792012-02-20 Joseph Myers <joseph@codesourcery.com>
15080
15081 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15082 in C locale.
15083 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15084 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15085 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15087
06b99b02
AJ
150882012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15089
15090 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15091 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15092
7638c0fd
AS
150932012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15094
15095 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15096 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15097 defined.
15098 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15099 Likewise.
15100 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15101 entry for 2.16.
15102
92221550
AJ
151032012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15104
15105 * math/w_acos.c: Use non-signaling floating-point comparisons.
15106 * math/w_acosf.c: Likewise.
15107 * math/w_acosh.c: Likewise.
15108 * math/w_acoshf.c: Likewise.
15109 * math/w_acoshl.c: Likewise.
15110 * math/w_acosl.c: Likewise.
15111 * math/w_asin.c: Likewise.
15112 * math/w_asinf.c: Likewise.
15113 * math/w_asinl.c: Likewise.
15114 * math/w_atanh.c: Likewise.
15115 * math/w_atanhf.c: Likewise.
15116 * math/w_atanhl.c: Likewise.
15117 * math/w_exp2.c: Likewise.
15118 * math/w_exp2f.c: Likewise.
15119 * math/w_exp2l.c: Likewise.
15120 * math/w_j0.c: Likewise.
15121 * math/w_j0f.c: Likewise.
15122 * math/w_j0l.c: Likewise.
15123 * math/w_j1.c: Likewise.
15124 * math/w_j1f.c: Likewise.
15125 * math/w_j1l.c: Likewise.
15126 * math/w_jn.c: Likewise.
15127 * math/w_jnf.c: Likewise.
15128 * math/w_log.c: Likewise.
15129 * math/w_log10.c: Likewise.
15130 * math/w_log10f.c: Likewise.
15131 * math/w_log10l.c: Likewise.
15132 * math/w_log2.c: Likewise.
15133 * math/w_log2f.c: Likewise.
15134 * math/w_log2l.c: Likewise.
15135 * math/w_logf.c: Likewise.
15136 * math/w_logl.c: Likewise.
15137 * math/w_sqrt.c: Likewise.
15138 * math/w_sqrtf.c: Likewise.
15139 * math/w_sqrtl.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15143 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15144 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15145
ebaf36eb
JM
151462012-02-19 Joseph Myers <joseph@codesourcery.com>
15147
15148 [BZ #9739]
15149 * manual/string.texi (strnlen): Use correct parameter name in
15150 equivalent expression.
15151
71c254a6
JM
151522012-02-19 Joseph Myers <joseph@codesourcery.com>
15153
15154 [BZ #11174]
15155 * manual/users.texi (seteuid): Consistently use neweuid for
15156 argument name.
15157
16d2c631
JM
151582012-02-19 Joseph Myers <joseph@codesourcery.com>
15159
15160 [BZ #13704]
15161 * manual/nss.texi (Services in the NSS configuration): Correct
15162 list of services in example configuration file.
15163
cd837b09
NB
151642012-02-19 Nick Bowler <nbowler@draconx.ca>
15165
15166 [BZ #11322]
15167 * manual/arith.texi: Remove statements about negative zero
15168 behaving identically to zero.
15169
02c4bbad
JM
151702012-02-18 Joseph Myers <joseph@codesourcery.com>
15171
15172 [BZ #5993]
15173 * manual/install.texi: Do not document upgrading from libc5.
15174
366842e7
JM
151752012-02-18 Joseph Myers <joseph@codesourcery.com>
15176
15177 [BZ #4596]
15178 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15179
dd54084d
DM
151802012-02-18 David S. Miller <davem@davemloft.net>
15181
15182 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15183 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15184 %o7 across the call.
15185 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15186 instead.
15187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15188 SETUP_PIC_REG_LEAF.
15189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15190 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15191 * sysdeps/sparc/crtn.S: Likewise.
15192
2bcc53a3
UD
151932012-02-17 Ulrich Drepper <drepper@gmail.com>
15194
15195 * aout/Makefile: Remove.
15196
09c093b5
RK
151972012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15198
15199 [BZ #13058]
15200 * manual/examples/argp-ex1.c (main): Format definition in GNU
15201 style.
15202 * manual/examples/argp-ex2.c (main): Likewise.
15203 * manual/examples/argp-ex3.c (main): Likewise.
15204 * manual/examples/argp-ex4.c (main): Likewise.
15205 * manual/examples/longopt.c (main): Use new-style prototype
15206 definition.
15207 * manual/examples/strncat.c (main): Specify return type and use
15208 (void) for arguments.
15209 * manual/examples/subopt.c (main): Use char **argv argument.
15210
2ee633a2
JM
152112012-02-17 Joseph Myers <joseph@codesourcery.com>
15212
15213 [BZ #5077]
15214 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15215 rounding modes.
15216
0520adde
FB
152172012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15218
15219 [BZ #6907]
15220 * manual/string.texi (strchr): Change when strchrnul is
15221 recommended.
15222
3f4081cd
DGM
152232012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15224
15225 [BZ #174]
15226 * manual/locale.texi (setlocale): Document LOCPATH.
15227
d1b10e78
JM
152282012-02-17 Joseph Myers <joseph@codesourcery.com>
15229
15230 [BZ #10210]
15231 * manual/process.texi (execle): Move @dots{} before last argument.
15232
79c6869c
PB
152332012-02-17 Paul Bolle <pebolle@tiscali.nl>
15234
15235 [BZ #12047]
15236 * manual/charset.texi (Generic Charset Conversion): Fix typo
15237 (LC_TYPE -> LC_CTYPE).
15238
cc6e48bc
NB
152392012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15240
15241 [BZ #5805]
15242 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15243 (scalbnf): Likewise.
15244 (scalbnl): Likewise.
15245 (scalbln): Likewise.
15246 (scalblnf): Likewise.
15247 (scalblnl): Likewise.
15248 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15249 (vwarnx): Likewise.
15250 (verr): Likewise.
15251 (verrx): Likewise.
15252 * manual/filesys.texi (telldir): Use braces around return type.
15253 * manual/llio.texi (mmap): Add space after comma.
15254 (mmap64): Likewise.
15255 * manual/math.texi (jn): Use @var{} on parameter names.
15256 (jnf): Likewise.
15257 (jnl): Likewise.
15258 (yn): Likewise.
15259 (ynf): Likewise.
15260 (ynl): Likewise.
15261 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15262 line.
15263 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15264 "...".
15265 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15266 (sched_get_priority_max): Likewise.
15267 * manual/signal.texi (sigvec): Add space after comma.
15268 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15269 names.
15270 (if_indextoname): Likewise.
15271 (if_freenameindex): Likewise.
15272 (sendto): Use ',' instead of '.' in prototype.
15273 * manual/startup.texi (syscall): Use @dots{} instead of literal
15274 "...".
15275 * manual/stdio.texi (__fpending): Separate initial words of
15276 paragraph from @deftypefun line.
15277 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15278 "...".
15279 (vsyslog): Use @var{} on parameter names.
15280 * manual/terminal.texi (stty): Use @var{} on parameter names.
15281 * manual/users.texi (getutmp): Use @var{} on parameter names.
15282 (getutmpx): Likewise.
15283
5b23062f
JM
152842012-02-17 Joseph Myers <joseph@codesourcery.com>
15285
15286 [BZ #6884]
15287 * manual/stdio.texi (fopen): Fix typos in description of
15288 ",ccs=STRING".
15289
8dee4833
AJ
152902012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15291
15292 [BZ #4026]
15293 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15294 get clock_id definition.
15295
9078ce93
TS
152962012-02-17 Thomas Schwinge <thomas@schwinge.name>
15297
15298 [BZ #4822]
15299 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15300 (madvise): Cast every argument to void on its own.
15301
3835c55f
JM
153022012-02-17 Joseph Myers <joseph@codesourcery.com>
15303
15304 [BZ #9902]
15305 * manual/startup.texi (Exit Status): Fix typo.
15306
35c47e37
JM
153072012-02-17 Joseph Myers <joseph@codesourcery.com>
15308
15309 [BZ #10140]
15310 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15311 * manual/examples/argp-ex2.c: Likewise.
15312 * manual/examples/argp-ex3.c: Likewise.
15313
e3b69ca7
RH
153142012-02-16 Richard Henderson <rth@redhat.com>
15315
15316 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15317 * sysdeps/s390/s390-32/initfini.c: Remove.
15318 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15319 * sysdeps/s390/s390-64/initfini.c: Remove.
15320
df83af67
KK
153212012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15322
15323 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15324 compiler output for sysdeps/generic/initfini.c.
15325 * sysdeps/sh/elf/initfini.c: Remove file.
15326
f63f3380
DM
153272012-02-16 David S. Miller <davem@davemloft.net>
15328
fb59b3a4
DM
15329 [BZ #11494]
15330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15331
f63f3380
DM
15332 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15333 * sysdeps/sparc/crti.S: New file.
15334 * sysdeps/sparc/crtn.S: New file.
15335 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15336 * sysdeps/sparc/sparc64/Makefile: Likewise.
15337
df6a4a4a
MF
153382012-02-15 Mike Frysinger <vapier@gentoo.org>
15339
6dd8f3dc 15340 [BZ #3335]
df6a4a4a
MF
15341 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15342
1cac7236
RM
153432012-02-15 Roland McGrath <roland@hack.frob.com>
15344
d2c736f8
RM
15345 [BZ #4822]
15346 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15347
1cac7236
RM
15348 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15349 (write, read, close): Likewise.
15350 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15351
8e475601
JM
153522012-02-15 Joseph Myers <joseph@codesourcery.com>
15353
15354 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15355 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15356 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15357 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15358 <bits/signalfd.h>.
15359 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15361 bits/signalfd.h.
15362
ed656b40
MP
153632012-02-14 Marek Polacek <polacek@redhat.com>
15364
15365 * sysdeps/x86_64/crti.S: New file.
15366 * sysdeps/x86_64/crtn.S: New file.
15367 * sysdeps/x86_64/elf/initfini.c: Remove file.
15368
2a979d3a
JM
153692012-02-13 Joseph Myers <joseph@codesourcery.com>
15370
15371 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15372 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15373 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15374 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15375 <bits/inotify.h>.
15376 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15378 bits/inotify.h.
15379
2a418ac3
JM
153802012-02-13 Joseph Myers <joseph@codesourcery.com>
15381
15382 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15383 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15384 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15385 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15386 <bits/eventfd.h>.
15387 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15389 bits/eventfd.h.
15390
fb779be7
TS
153912012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15392
e19e83c5
RM
15393 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15394 __feraiseexcept instead of feraiseexcept.
7c35ffed 15395
fb779be7
TS
15396 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15397 nanosleep invocations.
15398 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15399 strings, and add error checking for a nanosleep invocations.
15400
59ba27a6
PE
154012012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15402
15403 Replace FSF snail mail address with URLs, as per GNU coding standards.
15404 Most of the snail mail addresses were wrong anyway, and omitting
15405 them makes the source code easier to maintain. Almost all of the
15406 changes are to license notices and to locale LC_IDENTIFICATION
15407 addresses, except for this one:
15408 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15409 not its snail mail address.
15410
57b957eb
RH
154112012-02-09 Richard Henderson <rth@twiddle.net>
15412
af850b1c
RH
15413 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15414 of kernel-features.h.
15415
57b957eb
RH
15416 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15417
6b73181a
MP
154182012-02-08 Marek Polacek <polacek@redhat.com>
15419
15420 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15421 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15422 * sysdeps/gnu/_G_config.h: Likewise.
15423 * sysdeps/generic/_G_config.h: Likewise.
15424
26ecc33a
AS
154252012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15426
6c6dbc63
AS
15427 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15428 tests.
15429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15430
e216c012
AS
15431 * sysdeps/powerpc/powerpc32/crti.S: New file.
15432 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15433 * sysdeps/powerpc/powerpc64/crti.S: New file.
15434 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15435
26ecc33a
AS
15436 * Makeconfig (have-initfini): Don't set.
15437 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15438 * configure.in (nopic_initfini): Don't substitute.
15439 * config.h.in (HAVE_INITFINI): Don't #undef.
15440 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15441 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15442
3add8e13
JM
154432012-02-08 Joseph Myers <joseph@codesourcery.com>
15444
15445 Support crti.S and crtn.S provided directly by architectures.
15446 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15447 [crti.S in sysdirs] (omit-deps): Likewise.
15448 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15449 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15450 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15451 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15452 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15453 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15454 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15455 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15456 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15457 compiler output for sysdeps/generic/initfini.c.
15458 * sysdeps/i386/elf/Makefile: Remove file.
15459 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15460
a22f12b4
MP
154612012-02-07 Marek Polacek <polacek@redhat.com>
15462
15463 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15464 * sysdeps/gnu/_G_config.h: Likewise.
15465 * sysdeps/mach/hurd/_G_config.h: Likewise.
15466
148cf100
MP
154672012-02-07 Marek Polacek <polacek@redhat.com>
15468
15469 * math/Makefile (tests): Add tst-CMPLX2.
15470 * math/tst-CMPLX2.c: New file.
15471
cfdc0dd7
AS
154722012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15473
84ba42c4
AS
15474 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15475
cfdc0dd7
AS
15476 * math/libm-test.inc (jn_test): Add missing L suffix.
15477
622c86f4
MP
154782012-02-06 Marek Polacek <polacek@redhat.com>
15479
15480 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15481 * sysdeps/i386/fpu/e_powf.S: Likewise.
15482 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15483 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15484 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15485 * sysdeps/i386/fpu/e_pow.S: Likewise.
15486 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15487 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15488 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15489 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15490 * sysdeps/i386/fpu/e_log2.S: Likewise.
15491 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15492 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15493 * sysdeps/i386/fpu/e_powl.S: Likewise.
15494 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15496 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15497 * sysdeps/i386/fpu/e_logl.S: Likewise.
15498 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15499 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15500 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15501 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15502 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15503 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15504 * sysdeps/i386/fpu/e_log.S: Likewise.
15505 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15506 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15507 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15508 * sysdeps/i386/fpu/e_logf.S: Likewise.
15509 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15510 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15511 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15512 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15513 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15514 * sysdeps/i386/fpu/e_log10.S: Likewise.
15515 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15516 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15517 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15518 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15519 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15520 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15521 * sysdeps/i386/asm-syntax.h: Likewise.
15522 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15523 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15524 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15525 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15526 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15527 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15528 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15529 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15530 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15531 * sysdeps/powerpc/sysdep.h: Likewise.
15532 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15533 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15534
d4a54ac6
JM
155352012-02-06 Joseph Myers <joseph@codesourcery.com>
15536
15537 [BZ #411]
15538 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15539
314054ea
JM
155402012-02-06 Joseph Myers <joseph@codesourcery.com>
15541
15542 * sysdeps/i386/sysdep.h: Include <features.h>.
15543 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15544 version.
15545
d8e0ca50
JM
155462012-02-05 Joseph Myers <joseph@codesourcery.com>
15547
15548 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15549 Define.
15550 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15551 LOAD_PIC_REG_STR.
15552
b1da7dd9
JM
155532012-02-03 Joseph Myers <joseph@codesourcery.com>
15554
15555 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15556 (SETUP_PIC_REG): Use GET_PC_THUNK.
15557 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15558 macro.
15559
9a1d9254
JM
155602012-02-03 Joseph Myers <joseph@codesourcery.com>
15561
15562 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15563 for non-PIC compilation.
15564 (SETUP_PIC_REG): Add .p2align directive.
15565 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15566 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15567 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15568 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15569 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15570 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15571 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15573 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15575 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15576 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15580 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15581 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15594 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15595 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15602 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15606
65dc3b75
JM
156072012-02-03 Joseph Myers <joseph@codesourcery.com>
15608
15609 * math/tst-CMPLX.c: Include <stdio.h>.
15610
d55bf177
JM
156112012-01-31 Joseph Myers <joseph@codesourcery.com>
15612
15613 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15614 float.
15615 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15616 * sysdeps/sparc/bits/mathdef.h: Likewise.
15617
69db4f8f
MP
156182012-01-31 Marek Polacek <polacek@redhat.com>
15619
15620 * libio/libio.h: Don't define _PARAMS.
15621 * locale/programs/config.h: Don't define PARAMS.
15622 * stdlib/strtol_l.c: Likewise.
15623 (__strtol_l): Remove PARAMS from the prototype.
15624
41b81892
UD
156252012-01-31 Ulrich Drepper <drepper@gmail.com>
15626
3b49edc0
UD
15627 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15628 names. Just use the correct names. Remove unnecessary wrapper
15629 functions.
15630 * malloc/arena.c: Likewise.
15631 * malloc/hooks.c: Likewise.
15632
41b81892
UD
15633 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15634 ARENA_TEST says not to. Simplify test for creation of a new arena.
15635 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15636
27a25b6e
UD
156372012-01-30 Ulrich Drepper <drepper@gmail.com>
15638
15639 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15640 into tail calls.
15641 (update_get_addr): New function.
15642 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15643 GET_ADDR_MODULE parameter.
15644
c8a89e7d
JM
156452012-01-30 Joseph Myers <joseph@codesourcery.com>
15646
15647 * crypt/cert.c: Remove __STDC__ conditionals.
15648 * crypt/crypt-entry.c: Likewise.
15649 * crypt/crypt_util.c: Likewise.
15650 * libio/filedoalloc.c: Likewise.
15651 * libio/fileops.c: Likewise.
15652 * libio/genops.c: Likewise.
15653 * libio/iofclose.c: Likewise.
15654 * libio/iofdopen.c: Likewise.
15655 * libio/iofopen.c: Likewise.
15656 * libio/iofopen64.c: Likewise.
15657 * libio/iogetdelim.c: Likewise.
15658 * libio/iopopen.c: Likewise.
15659 * libio/obprintf.c: Likewise.
15660 * libio/oldfileops.c: Likewise.
15661 * libio/oldiofclose.c: Likewise.
15662 * libio/oldiofdopen.c: Likewise.
15663 * libio/oldiofopen.c: Likewise.
15664 * libio/oldiopopen.c: Likewise.
15665 * libio/wfiledoalloc.c: Likewise.
15666 * libio/wgenops.c: Likewise.
15667 * locale/programs/xmalloc.c: Likewise.
15668 * misc/syslog.c: Likewise.
15669 * stdio-common/xbug.c: Likewise.
15670 * string/memchr.c: Likewise.
15671 * string/memcmp.c: Likewise.
15672 * string/memrchr.c: Likewise.
15673 * string/rawmemchr.c: Likewise.
15674 * sysdeps/posix/getcwd.c: Likewise.
15675 * time/strftime_l.c: Likewise.
15676
3b100462
JM
156772012-01-30 Joseph Myers <joseph@codesourcery.com>
15678
15679 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15680 * config.make.in (config-cflags-sse2avx): Define.
15681 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15682 Fix typo.
15683
607998af
CM
156842012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15685
15686 * scripts/config.guess: Update from upstream config git repository.
15687 * scripts/config.sub: Likewise.
15688
3601428f
CM
156892012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15690
3ac8b282
CM
15691 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15692 (EM_NUM): Update.
15693 (R_TILEPRO_*, R_TILEGX_*): New macros.
15694
e034841e
CM
15695 * scripts/firstversions.awk: Fix bug in version range handling.
15696
540d7568
CM
15697 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15698
3601428f
CM
15699 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15700
463de862
CM
15701 * include/sys/epoll.h: New file.
15702 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15703 libc_hidden_def.
15704
73139a76
UD
157052012-01-28 Ulrich Drepper <drepper@gmail.com>
15706
96bc5b45
UD
15707 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15708 Avoid unnecessary __WORDSIZE == 64 test.
15709 (fmaxf): Use VEX format if possible.
15710 (fmax): Likewise.
15711 (fminf): Likewise.
15712 (fmin): Likewise.
15713
56f6f6a2
UD
15714 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15715 * math/math_private.h: Remove libc_fegetround* and
15716 libc_fesetround*.
15717 * sysdeps/i386/configure.in: Check for -msse2avx.
15718 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15719 also if SSE2AVX is defined.
15720 Remove libc_fegetround* and libc_fesetround*.
15721 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15722 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15724 of HAS_YMM_USABLE.
15725 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15726 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15727 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15729 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15730
73139a76
UD
15731 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15732
d73f93a4
AZ
157332012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15734
15735 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15736 size is not set.
15737 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15738
6ee65ed6
UD
157392012-01-27 Ulrich Drepper <drepper@gmail.com>
15740
15741 [BZ #13618]
15742 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15743 relocation.
15744 * Makeconfig (libm): Define.
15745 * elf/Makefile: Add rules to build and run tst-relsort1.
15746 * elf/tst-relsort1.c: New file.
15747 * elf/tst-relsort1mod1.c: New file.
15748 * elf/tst-relsort1mod2.c: New file.
15749
8db21882
JM
157502012-01-27 Joseph Myers <joseph@codesourcery.com>
15751
15752 * math/s_ldexp.c: Remove __STDC__ conditionals.
15753 * math/s_ldexpf.c: Likewise.
15754 * math/s_ldexpl.c: Likewise.
15755 * math/s_nextafter.c: Likewise.
15756 * math/s_nexttowardf.c: Likewise.
15757 * math/s_significand.c: Likewise.
15758 * math/s_significandf.c: Likewise.
15759 * math/s_significandl.c: Likewise.
15760 * math/w_jnl.c: Likewise.
15761 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15762 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15763 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15764 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15765 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15766 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15767 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15770 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15771 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15773 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15774 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15775 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15776 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15778 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15780 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15781 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15782 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15783 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15784 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15785 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15786 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15787 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15788 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15789 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15790 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15791 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15792 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15793 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15794 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15795 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15796 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15797 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15798 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15799 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15800 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15801 * sysdeps/ieee754/k_standard.c: Likewise.
15802 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15806 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15824 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15825 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15826 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15827 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15829 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15830 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15831 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15834 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15835 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15837 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15838 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15839 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15840 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15842 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15844 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15845 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15847 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15849 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15850 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15851 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15852 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15853 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15854 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15855 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15859 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15861 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15862 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15863 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15867 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15868 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15870 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15871 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15872 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15873 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15874 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15875 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15876 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15877 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15881 * sysdeps/ieee754/s_matherr.c: Likewise.
15882 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15883 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15886
965a54a4
JM
158872012-01-26 Joseph Myers <joseph@codesourcery.com>
15888
15889 * crypt/md5.h: Remove __STDC__ conditionals.
15890 * libio/libioP.h: Likewise.
15891 * locale/programs/config.h: Likewise.
15892 * sysdeps/generic/sysdep.h: Likewise.
15893 * sysdeps/i386/asm-syntax.h: Likewise.
15894 * sysdeps/s390/asm-syntax.h: Likewise.
15895 * sysdeps/unix/sysdep.h: Likewise.
15896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15898
7071ad79
JM
158992012-01-26 Joseph Myers <joseph@codesourcery.com>
15900
15901 * libio/libio.h: Remove __STDC__ conditionals.
15902 * malloc/obstack.h: Likewise.
15903 * math/complex.h: Likewise.
15904 * math/math.h: Likewise.
15905 * sysdeps/generic/_G_config.h: Likewise.
15906 * sysdeps/gnu/_G_config.h: Likewise.
15907 * sysdeps/mach/hurd/_G_config.h: Likewise.
15908 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15909 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15910 * sysdeps/sparc/bits/mathdef.h: Likewise.
15911
afc5ed09
UD
159122012-01-26 Ulrich Drepper <drepper@gmail.com>
15913
15914 [BZ #13583]
15915 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15916 Clean up HAS_* macros.
afc5ed09 15917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15918 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15919 possible.
15920 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15921 HAS_AVX.
15922 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15923 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15924 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15925 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15926 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15927
bdb6de1d
JM
159282012-01-25 Joseph Myers <joseph@codesourcery.com>
15929
15930 * elf/tst-unique3.cc (gets): Remove declaration.
15931 * elf/tst-unique3lib.cc (gets): Likewise.
15932 * elf/tst-unique3lib2.cc (gets): Likewise.
15933 * elf/tst-unique4.cc (gets): Likewise.
15934
b15549e6
UD
159352012-01-24 Ulrich Drepper <drepper@gmail.com>
15936
15937 * include/stdio.h: Add C++ protection. Add gets declarations and
15938 definitions.
15939 * debug/tst-chk1.c: Don't declare gets here.
15940 * stdio-common/tst-gets.c: Likewise.
15941
a037381f
JM
159422012-01-24 Joseph Myers <joseph@codesourcery.com>
15943
15944 * posix/glob: Remove directory.
15945
f1d4aa75
JM
159462012-01-24 Joseph Myers <joseph@codesourcery.com>
15947
15948 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15949
81c0c964
PT
159502012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15951
15952 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15953 of the non-standard EPFNOSUPPORT.
15954
0ea698ae
ST
159552011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15956
15957 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15958 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15959 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15960
d220b117
UD
159612012-01-21 Ulrich Drepper <drepper@gmail.com>
15962
15963 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15964
3e1aa84e
UD
159652012-01-20 Ulrich Drepper <drepper@gmail.com>
15966
15967 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15968 transient errors.
15969 * nscd/grpcache.c (cache_addgr): Likewise.
15970 * nscd/hstcache.c (cache_addhst): Likewise.
15971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15972 * nscd/pwdcache.c (cache_addpw): Likewise.
15973 * nscd/servicescache.c (cache_addserv): Likewise.
15974
400aa020
UD
159752012-01-16 Ulrich Drepper <drepper@gmail.com>
15976
d77e7869
UD
15977 * malloc/malloc.c: Various cleanups.
15978 * malloc/hooks.c: Likewise.
15979
400aa020
UD
15980 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15981 * stdlib/bug-fmtmsg1.c: New file.
15982
15983 * stdlib/fmtmsg.c (init): Add missing unlock.
15984 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15985
e0a309cf
MP
159862012-01-12 Marek Polacek <polacek@redhat.com>
15987
15988 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15989 and _GNU_SOURCE.
15990
929d11c7
WS
159912012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15992
15993 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15994 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15995 macro to ensure uniqueness of label name.
15996 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15997 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15998
41d0e869
UD
159992012-01-11 Ulrich Drepper <drepper@gmail.com>
16000
0cc5ed3b
UD
16001 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16002
41d0e869
UD
16003 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16004 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16007
a47a831a
UD
160082012-01-10 Ulrich Drepper <drepper@gmail.com>
16009
daa891c0
UD
16010 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16011
16012 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16013 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16014 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16015
e58ef0f2
UD
16016 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16017
a47a831a 16018 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16019 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16020 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16022
16023 * math/bits/math-finite.h: Add ldexp support.
16024
a0bfc9c7
MP
160252012-01-10 Marek Polacek <polacek@redhat.com>
16026
16027 * locale/programs/localedef.h (show_archive_content): Add noreturn
16028 attribute.
16029
d6e97a1d
UD
160302012-01-09 Ulrich Drepper <drepper@gmail.com>
16031
16032 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16033
d5835c26
UD
160342012-01-08 Ulrich Drepper <drepper@gmail.com>
16035
e5f484c6
UD
16036 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16037
d5835c26
UD
16038 * io/Makefile (headers): Add bits/poll2.h.
16039
d1f741e9
WS
160402011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16041
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16043 typo #include statement.
16044
ec09c1c4
UD
160452012-01-08 Ulrich Drepper <drepper@gmail.com>
16046
16047 * include/sys/cdefs.h: Define __attribute_alloc_size.
16048 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16049 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16050 * elf/pldd.c: Likewise.
16051 * iconv/iconv_charmap.c: Likewise.
16052 * iconv/iconvconfig.c: Likewise.
16053 * iconv/strtab.c: Likewise.
16054 * locale/programs/locale.c: Likewise.
16055 * locale/programs/localedef.h: Likewise.
16056 * locale/programs/simple-hash.c: Likewise.
16057 * nscd/nscd.h: Likewise.
16058 * nss/makedb.c: Likewise.
16059 * sysdeps/generic/ldconfig.h: Likewise.
16060 * locale/programs/localedef.c: Remove xmalloc prototype.
16061 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16062
20b38e03
PP
160632012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16064
16065 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16066 appropriate.
16067
a0da5fe1
UD
160682012-01-08 Ulrich Drepper <drepper@gmail.com>
16069
1d5a644a 16070 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16071 * math/tst-CMPLX.c: New file.
1d5a644a 16072
8784a6db
UD
16073 * math/complex.h (CMPLXL): Fix typo.
16074
d9a216c0
UD
16075 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16076 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16077 GLIBC_2.16.
16078 * debug/tst-chk1.c: Add poll and ppoll tests.
16079 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16080 * include/sys/poll.h: Add hidden proto for ppoll.
16081 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16082 * sysdeps/mach/hurd/ppoll.c: Likewise.
16083 * io/ppoll.c: Likewise.
16084 * debug/poll_chk.c: New file.
16085 * debug/ppoll_chk.c: New file.
16086 * include/bits/poll2.h: New file.
16087 * io/bits/poll2.h: New file.
16088
ac097f5c
UD
16089 [BZ #1350]
16090 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16091
2119dcfa
UD
16092 * configure.in: static is always set to yes. Remove.
16093 * config.make.in: Don't set build-static.
16094 * Makeconfig: Remove use of build-static.
16095 * dlfcn/Makefile: Likewise.
16096 * elf/Makefile: Likewise.
16097 * math/Makefile: Likewise.
16098 * misc/Makefile: Likewise.
16099 * nptl/Makefile: Likewise.
16100 * sysdeps/mach/hurd/Makefile: Likewise.
16101
121766a9
UD
16102 * configure.in: PWD_P is not used anymore.
16103 * config.make.in: Remove PWD_P entry.
16104
51a1d39c 16105 * configure.in: Remove last remnants of RANLIB.
8720d066 16106 No need to check for signed size_t anymore.
215f4bdc
UD
16107 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16108 and IA-64.
3857022a 16109 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16110 * aclocal.m4: Likewise.
16111
d3ed7225
UD
16112 * wcsmbs/mbrtoc16.c: Implement using towc function.
16113 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16114 * wcsmbs/wcsmbsload.c: Likewise.
16115 * iconv/gconv_simple.c: Likewise.
16116 * iconv/gconv_int.h: Likewise.
16117 * iconv/gconv_builtin.h: Likewise.
16118 * iconv/iconv_prog.c: Remove CHAR16 handling.
16119
16120 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16121
16122 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16123
a0da5fe1
UD
16124 * configure.in: Remove --with-elf and --enable-bounded options.
16125 Dont set base_machine for ia64. More non-ELF conditions removed.
16126 Remove testing and setting of leading underscore information.
16127 * config.make.in (build-bounded): Set to no.
16128 * config.h.in: Remove NO_UNDERSCORES entry.
16129 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16130 them.
16131 * csu/start.c: Remove !NO_UNDERSCORE code.
16132 * locale/localeinfo.h: Likewise.
16133 * sysdeps/generic/machine-gmon.h: Likewise.
16134 * sysdeps/generic/sysdep.h: Likewise.
16135 * sysdeps/i386/sysdep.h: Likewise.
16136 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16137 * sysdeps/mach/sysdep.h: Likewise.
16138 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16139 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16140 * sysdeps/sh/sysdep.h: Likewise.
16141 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16142 * sysdeps/unix/i386/sysdep.S: Likewise.
16143 * sysdeps/unix/sparc/start.c: Likewise.
16144 * sysdeps/unix/sparc/sysdep.S: Likewise.
16145 * sysdeps/unix/sparc/sysdep.h: Likewise.
16146 * sysdeps/unix/start.c: Likewise.
16147 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16148 * sysdeps/x86_64/sysdep.h: Likewise.
16149
df78418a
UD
161502012-01-07 Ulrich Drepper <drepper@gmail.com>
16151
a784e502
UD
16152 [BZ #13553]
16153 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16154 for non-gcc.
16155 * argp/argp-fmtstream.h: Use const instead __const.
16156 * argp/argp.h: Likewise.
16157 * assert/assert.h: Likewise.
16158 * bits/fenv.h: Likewise.
16159 * bits/sched.h: Likewise.
16160 * bits/sigset.h: Likewise.
16161 * bits/sigthread.h: Likewise.
16162 * catgets/nl_types.h: Likewise.
16163 * conform/data/pthread.h-data: Likewise.
16164 * crypt/crypt-private.h: Likewise.
16165 * crypt/crypt.h: Likewise.
16166 * crypt/crypt_util.c: Likewise.
16167 * ctype/ctype.h: Likewise.
16168 * debug/execinfo.h: Likewise.
16169 * debug/mbsnrtowcs_chk.c: Likewise.
16170 * debug/mbsrtowcs_chk.c: Likewise.
16171 * debug/wcsnrtombs_chk.c: Likewise.
16172 * debug/wcsrtombs_chk.c: Likewise.
16173 * debug/wcstombs_chk.c: Likewise.
16174 * dirent/dirent.h: Likewise.
16175 * dlfcn/dlfcn.h: Likewise.
16176 * elf/neededtest4.c: Likewise.
16177 * grp/grp.h: Likewise.
16178 * gshadow/gshadow.h: Likewise.
16179 * iconv/gconv.h: Likewise.
16180 * iconv/gconv_int.h: Likewise.
16181 * iconv/gconv_simple.c: Likewise.
16182 * iconv/iconv.h: Likewise.
16183 * iconv/loop.c: Likewise.
16184 * iconv/skeleton.c: Likewise.
16185 * include/aio.h: Likewise.
16186 * include/aliases.h: Likewise.
16187 * include/argz.h: Likewise.
16188 * include/arpa/inet.h: Likewise.
16189 * include/assert.h: Likewise.
16190 * include/dirent.h: Likewise.
16191 * include/dlfcn.h: Likewise.
16192 * include/execinfo.h: Likewise.
16193 * include/fcntl.h: Likewise.
16194 * include/fenv.h: Likewise.
16195 * include/glob.h: Likewise.
16196 * include/grp.h: Likewise.
16197 * include/libintl.h: Likewise.
16198 * include/mntent.h: Likewise.
16199 * include/netdb.h: Likewise.
16200 * include/pwd.h: Likewise.
16201 * include/rpc/netdb.h: Likewise.
16202 * include/sched.h: Likewise.
16203 * include/search.h: Likewise.
16204 * include/shadow.h: Likewise.
16205 * include/signal.h: Likewise.
16206 * include/stdio.h: Likewise.
16207 * include/stdlib.h: Likewise.
16208 * include/string.h: Likewise.
16209 * include/sys/socket.h: Likewise.
16210 * include/sys/stat.h: Likewise.
16211 * include/sys/statfs.h: Likewise.
16212 * include/sys/statvfs.h: Likewise.
16213 * include/sys/syslog.h: Likewise.
16214 * include/sys/time.h: Likewise.
16215 * include/sys/uio.h: Likewise.
16216 * include/time.h: Likewise.
16217 * include/unistd.h: Likewise.
16218 * include/utmp.h: Likewise.
16219 * include/wchar.h: Likewise.
16220 * include/wctype.h: Likewise.
16221 * inet/aliases.h: Likewise.
16222 * inet/arpa/inet.h: Likewise.
16223 * inet/netinet/ether.h: Likewise.
16224 * inet/netinet/in.h: Likewise.
16225 * intl/libintl.h: Likewise.
16226 * io/bits/fcntl2.h: Likewise.
16227 * io/fcntl.h: Likewise.
16228 * io/ftw.h: Likewise.
16229 * io/sys/poll.h: Likewise.
16230 * io/sys/stat.h: Likewise.
16231 * io/sys/statfs.h: Likewise.
16232 * io/sys/statvfs.h: Likewise.
16233 * io/utime.h: Likewise.
16234 * libio/bits/stdio.h: Likewise.
16235 * libio/bits/stdio2.h: Likewise.
16236 * libio/libio.h: Likewise.
16237 * libio/libioP.h: Likewise.
16238 * libio/stdio.h: Likewise.
16239 * locale/lc-ctype.c: Likewise.
16240 * locale/locale.h: Likewise.
16241 * login/utmp.h: Likewise.
16242 * malloc/arena.c: Likewise.
16243 * malloc/malloc.c: Likewise.
16244 * malloc/malloc.h: Likewise.
16245 * malloc/mcheck.c: Likewise.
16246 * malloc/mtrace.c: Likewise.
16247 * math/bits/mathcalls.h: Likewise.
16248 * math/fenv.h: Likewise.
16249 * math/math_private.h: Likewise.
16250 * misc/bits/error.h: Likewise.
16251 * misc/bits/syslog.h: Likewise.
16252 * misc/err.h: Likewise.
16253 * misc/error.h: Likewise.
16254 * misc/fstab.h: Likewise.
16255 * misc/mntent.h: Likewise.
16256 * misc/regexp.h: Likewise.
16257 * misc/search.h: Likewise.
16258 * misc/sgtty.h: Likewise.
16259 * misc/sys/mman.h: Likewise.
16260 * misc/sys/syslog.h: Likewise.
16261 * misc/sys/uio.h: Likewise.
16262 * misc/sys/xattr.h: Likewise.
16263 * misc/ttyent.h: Likewise.
16264 * nis/rpcsvc/ypclnt.h: Likewise.
16265 * nss/nss.h: Likewise.
16266 * posix/bits/unistd.h: Likewise.
16267 * posix/fnmatch.h: Likewise.
16268 * posix/glob.h: Likewise.
16269 * posix/sched.h: Likewise.
16270 * posix/spawn.h: Likewise.
16271 * posix/sys/wait.h: Likewise.
16272 * posix/unistd.h: Likewise.
16273 * posix/wordexp.h: Likewise.
16274 * pwd/pwd.h: Likewise.
16275 * resolv/netdb.h: Likewise.
16276 * resource/sys/resource.h: Likewise.
16277 * rt/aio.h: Likewise.
16278 * rt/bits/mqueue2.h: Likewise.
16279 * rt/mqueue.h: Likewise.
16280 * shadow/shadow.h: Likewise.
16281 * signal/signal.h: Likewise.
16282 * socket/send.c: Likewise.
16283 * socket/sendto.c: Likewise.
16284 * socket/sys/socket.h: Likewise.
16285 * stdio-common/printf.h: Likewise.
16286 * stdlib/bits/stdlib.h: Likewise.
16287 * stdlib/fmtmsg.h: Likewise.
16288 * stdlib/monetary.h: Likewise.
16289 * stdlib/stdlib.h: Likewise.
16290 * stdlib/ucontext.h: Likewise.
16291 * streams/stropts.h: Likewise.
16292 * string/argz.h: Likewise.
16293 * string/bits/string2.h: Likewise.
16294 * string/string.h: Likewise.
16295 * string/strings.h: Likewise.
16296 * sunrpc/rpc/auth.h: Likewise.
16297 * sunrpc/rpc/auth_des.h: Likewise.
16298 * sunrpc/rpc/clnt.h: Likewise.
16299 * sunrpc/rpc/netdb.h: Likewise.
16300 * sunrpc/rpc/pmap_clnt.h: Likewise.
16301 * sunrpc/rpc/xdr.h: Likewise.
16302 * sysdeps/generic/inttypes.h: Likewise.
16303 * sysdeps/generic/net/if.h: Likewise.
16304 * sysdeps/generic/sys/swap.h: Likewise.
16305 * sysdeps/gnu/net/if.h: Likewise.
16306 * sysdeps/gnu/utmpx.h: Likewise.
16307 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16308 * sysdeps/i386/i486/bits/string.h: Likewise.
16309 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16310 * sysdeps/s390/bits/string.h: Likewise.
16311 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16312 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16313 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16314 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16315 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16316 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16317 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16318 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16319 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16320 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16321 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16322 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16323 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16324 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16325 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16326 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16327 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16329 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16330 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16331 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16332 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16333 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16334 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16335 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16336 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16337 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16338 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16339 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16340 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16341 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16342 * sysvipc/sys/ipc.h: Likewise.
16343 * sysvipc/sys/msg.h: Likewise.
16344 * sysvipc/sys/sem.h: Likewise.
16345 * sysvipc/sys/shm.h: Likewise.
16346 * termios/termios.h: Likewise.
16347 * time/sys/time.h: Likewise.
16348 * time/time.h: Likewise.
16349 * wcsmbs/bits/wchar2.h: Likewise.
16350 * wcsmbs/uchar.h: Likewise.
16351 * wcsmbs/wchar.h: Likewise.
16352 * wctype/wctype.h: Likewise.
16353
0269750c
UD
16354 [BZ #13551]
16355 * Makeconfig: Remove all but ELF support including AIX support.
16356 * Makerules: Likewise.
16357 * config.h.in: Likewise.
16358 * config.make.in: Likewise.
16359 * configure: Likewise.
16360 * configure.in: Likewise.
16361 * csu/Makefile: Likewise.
16362 * csu/version.c: Likewise.
16363 * debug/Makefile: Likewise.
16364 * dlfcn/Makefile: Likewise.
16365 * elf/Makefile: Likewise.
16366 * extra-lib.mk: Likewise.
16367 * iconv/Makefile: Likewise.
16368 * include/libc-symbols.h: Likewise.
16369 * include/shlib-compat.h: Likewise.
16370 * resolv/Makefile: Likewise.
16371 * resolv/res_libc.c: Likewise.
16372 * rt/Makefile: Likewise.
16373 * sysdeps/i386/asm-syntax.h: Likewise.
16374 * sysdeps/i386/sysdep.h: Likewise.
16375 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16376 * sysdeps/mach/sysdep.h: Likewise.
16377 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16378 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16379 * sysdeps/s390/asm-syntax.h: Likewise.
16380 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16381 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16382 * sysdeps/sh/sysdep.h: Likewise.
16383 * sysdeps/unix/sparc/sysdep.h: Likewise.
16384 * sysdeps/wordsize-32/divdi3.c: Likewise.
16385 * sysdeps/x86_64/sysdep.h: Likewise.
16386
00bbd29b
UD
16387 * argp/Versions: Remove _argp_unlock_xxx.
16388
16389 [BZ #13559]
16390 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16391 * abilist/libBrokenLocale.abilist: Likewise.
16392 * abilist/libanl.abilist: Likewise.
16393 * abilist/libc.abilist: Likewise.
16394 * abilist/libcrypt.abilist: Likewise.
16395 * abilist/libdl.abilist: Likewise.
16396 * abilist/libm.abilist: Likewise.
16397 * abilist/libnsl.abilist: Likewise.
16398 * abilist/libpthread.abilist: Likewise.
16399 * abilist/libresolv.abilist: Likewise.
16400 * abilist/librt.abilist: Likewise.
16401 * abilist/libthread_db.abilist: Likewise.
16402 * abilist/libutil.abilist: Likewise.
16403 * abilist/libnss_db.abilist: New file.
16404
16405 * scripts/abilist.awk: Add support for indirect functions.
16406
a2693a0e
UD
16407 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16408
3f05895f
UD
16409 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16410
ecb6fb48
UD
16411 * shlib-versions: Remove entries for ports architectures.
16412
664f8cb9
UD
16413 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16414 files in ports.
16415 * elf/stackguard-macros.h: Remove support for IA-64.
16416 * elf/tst-auditmod1.c: Likewise.
16417 * sysdeps/generic/ldsodefs.h: Likewise.
16418
7ae81d88
UD
16419 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16420 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16421 configure files.
16422
bdeba135
UD
16423 [BZ #13552]
16424 * configure.in: Remove --enable-omitfp support.
16425 * FAQ.in: Adjust.
16426 * config.make.in: Likewise.
16427 * Makeconfig: Likewise.
16428 * manual/install.texi: Likewise.
16429
d75a0a62
UD
16430 In case anyone cares, the IA-64 architecture could move to ports.
16431 * sysdeps/ia64/*: Removed.
16432 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16433 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16434
dcc9756b
UD
16435 [BZ #13555]
16436 * configure.in: Remove entries for unsupported architectures.
16437
d3761ebc 16438 [BZ #13533]
9954432e
UD
16439 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16440 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16441 routines.
16442 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16443 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16444 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16445 fall back to using wcrtomb.
16446 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16447 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16448 renaming.
16449 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16450 * wcsmbs/tst-c16c32-1.c: New file.
16451
16452 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16453 local variable.
16454
c3a87236
UD
16455 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16456
28926a1b
UD
16457 * elf/tst-unique3.cc: Add explicit declaration of gets.
16458 * elf/tst-unique3lib.cc: Likewise.
16459 * elf/tst-unique3lib2.cc: Likewise.
16460 * elf/tst-unique4.cc: Likewise.
16461
df78418a
UD
16462 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16463
8ecd6b2a
JM
164642012-01-06 Joseph Myers <joseph@codesourcery.com>
16465
16466 [BZ #13566]
16467 * assert/assert.h (static_assert): Don't define for C++.
16468 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16469 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16470
9f115170
UD
164712012-01-03 Ulrich Drepper <drepper@gmail.com>
16472
5e0d0300
UD
16473 * iconv/loop.c (single loop): Fix assertion in storing of
16474 remaining bytes.
16475
9f115170
UD
16476 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16477
81fb02b0
UD
164782012-01-01 Ulrich Drepper <drepper@gmail.com>
16479
16480 * posix/getconf.c: Update copyright year.
16481 * nss/getent.c: Likewise.
a316c1f6 16482 * nss/makedb.c: Likewise.
81fb02b0
UD
16483 * iconv/iconvconfig.c: Likewise.
16484 * iconv/iconv_prog.c: Likewise.
16485 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16486 * elf/pldd.c: Likewise.
16487 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16488 * catgets/gencat.c: Likewise.
16489 * csu/version.c: Likewise.
16490 * elf/ldd.bash.in: Likewise.
16491 * elf/sprof.c (print_version): Likewise.
16492 * locale/programs/locale.c: Likewise.
16493 * locale/programs/localedef.c: Likewise.
a316c1f6 16494 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16495 * nscd/nscd.c (print_version): Likewise.
16496 * debug/xtrace.sh: Likewise.
16497 * malloc/memusage.sh: Likewise.
16498 * malloc/mtrace.pl: Likewise.
16499 * debug/catchsegv.sh: Likewise.
16500
2ba92745
JJ
165012011-12-30 Jakub Jelinek <jakub@redhat.com>
16502
16503 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16504 pure attribute.
16505
dadebdae
UD
165062011-12-24 Ulrich Drepper <drepper@gmail.com>
16507
d3761ebc 16508 [BZ #13533]
db6af3eb
UD
16509 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16510 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16511 transformations.
16512 * iconv/gconv_int.h: Likewise.
16513 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16514 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16515 from libc for GLIBC_2.16.
16516 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16517 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16518 * wcsmbs/uchar.h: Really define mbstate_t.
16519 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16520 * wcsmbs/c16rtomb.c: New file.
16521 * wcsmbs/mbrtoc16.c: New file.
16522 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16523 for C/POSIX locale.
16524 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16525 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16526
dadebdae
UD
16527 * wcsmbs/wchar.h: Add missing __restrict.
16528
67371b56
UD
165292011-12-23 Ulrich Drepper <drepper@gmail.com>
16530
74033a25
UD
16531 [BZ #13532]
16532 * time/Makefile (routines): Add timespec_get.
16533 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16534 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16535 timespec for ISO C11.
16536 * time/timespec_get.c: New file.
16537 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16538 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16539
380d7e87
UD
16540 [BZ #13531]
16541 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16542 * stdlib/stdlib.h: Declare aligned_alloc.
16543 * Versions.def: Add GLIBC_2.16 for libc.
16544 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16545
4e9e7a35
UD
16546 [BZ 13527]
16547 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16548 ISO C11.
16549
380d7e87 16550 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16551 code.
16552
03a71829
UD
16553 [BZ #13528]
16554 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16555
839e283e
UD
16556 [BZ #13529]
16557 * assert/assert.h (static_assert): Define.
16558
ce5294e2 16559 * version.h: Update for 2.16 development version.
90fa7312 16560
8d44e150 16561 [BZ #13526]
d7809905
UD
16562 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16563 _ISOC11_SOURCE.
16564
c0da14cd
UD
16565 * version.h (RELEASE): Bump for 2.15 release.
16566 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16567
530a3249
MP
16568 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16569 Patch by Marek Polacek <mpolacek@redhat.com>.
16570
67371b56
UD
16571 * bits/byteswap.h: Protect long long constants with __extension__.
16572 * sysdeps/i386/bits/byteswap.h: Likewise.
16573 * sysdeps/ia64/bits/byteswap.h: Likewise.
16574 * sysdeps/s390/bits/byteswap.h: Likewise.
16575 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16576
15db4de1
LD
165772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16578
16579 [BZ #13540]
bbe315ea
LD
16580 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16581 destination buffer.
15db4de1
LD
16582 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16583
2b2596b1
MP
165842011-12-23 Marek Polacek <polacek@redhat.com>
16585
16586 * elf/dl-addr.c (determine_info): Add inline keyword.
16587 * elf/tst-auditmod4b.c (check_avx): Likewise.
16588 * elf/tst-auditmod6b.c (check_avx): Likewise.
16589 * elf/tst-auditmod6c.c (check_avx): Likewise.
16590 * elf/tst-auditmod7b.c (check_avx): Likewise.
16591
70c6c246
UD
165922011-12-23 Ulrich Drepper <drepper@gmail.com>
16593
16594 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16595 !__SSE_MATH__.
16596
c044cf14
LD
165972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16598
15db4de1 16599 [BZ #13540]
c044cf14
LD
16600 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16601 processing for last bytes.
16602
6b13d9d9
BH
166032011-08-06 Bruno Haible <bruno@clisp.org>
16604
d455f537
BH
16605 [BZ #13061]
16606 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16607 U+0385, not to U+1FEE.
16608
6b13d9d9
BH
16609 [BZ #13062]
16610 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16611 entry for U+00A5 U+0301.
16612
db910efd
UD
166132011-12-22 Ulrich Drepper <drepper@gmail.com>
16614
27deeafc
UD
16615 [BZ #13166]
16616 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16617 buffer for the output is too small.
16618
aed9d171
UD
16619 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16620 optimization.
16621
db910efd
UD
16622 [BZ #13185]
16623 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16624 SSE flags if possible.
16625
2bd779ae
LD
166262011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16627
e7f9dac3 16628 [BZ #13540]
2bd779ae
LD
16629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16630 processing for last bytes.
16631
154bfc16
JM
166322011-12-22 Joseph Myers <joseph@codesourcery.com>
16633
16634 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16635 (syscall-list-default-options, syscall-list-default-condition)
16636 (syscall-list-includes): Define.
16637 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16638 list of ABIs and options and #if conditions for each ABI. Do not
16639 handle common syscalls between ABIs specially.
16640 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16641 Remove.
16642 (syscall-list-variants, syscall-list-32bit-options)
16643 (syscall-list-32bit-condition, syscall-list-64bit-options)
16644 (syscall-list-64bit-condition): Define.
16645 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16646 (syscall-list-variants, syscall-list-32bit-options)
16647 (syscall-list-32bit-condition, syscall-list-64bit-options)
16648 (syscall-list-64bit-condition): Define.
16649 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16650 Remove.
16651 (syscall-list-variants, syscall-list-32bit-options)
16652 (syscall-list-32bit-condition, syscall-list-64bit-options)
16653 (syscall-list-64bit-condition): Define.
16654 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16655 Remove.
16656 (syscall-list-variants, syscall-list-32bit-options)
16657 (syscall-list-32bit-condition, syscall-list-64bit-options)
16658 (syscall-list-64bit-condition): Define.
16659
21eaf3a5
UD
166602011-12-22 Ulrich Drepper <drepper@gmail.com>
16661
16c6f992
UD
16662 * locale/iso-639.def: Add brx entry.
16663
41043168
UD
16664 [BZ #13328]
16665 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16666 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16667
21eaf3a5
UD
16668 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16669 __feraiseexcept_renamed.
16670
e3a851a2
UD
166712011-12-21 Ulrich Drepper <drepper@gmail.com>
16672
4920765e
UD
16673 [BZ #13538]
16674 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16675 EPOLLET with unsigned values.
16676 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16677 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16678
e3a851a2
UD
16679 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16680 to large cancellation.
16681 * math/s_cacoshf.c: Likewise.
16682 * math/s_cacoshl.c: Likewise.
16683
b27e24b8
RK
166842011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16685
16686 [BZ #13305]
aebefeee 16687 [BZ #12786]
b27e24b8
RK
16688 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16689 * math/s_cacoshf.c: Likewise.
16690 * math/s_cacoshl.c: Likewise.
16691
ee190f67
UD
166922011-12-21 Ulrich Drepper <drepper@gmail.com>
16693
16694 [BZ #13439]
16695 * iconv/gconv.h: Define __GCONV_SWAP.
16696 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16697 * iconvdata/utf-16.c: Likewise.
16698 * iconvdata/utf-32.c: Likewise.
16699
707f25df
AS
167002011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16701
16702 [BZ #13524]
16703 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16704 numerator after shifting it by one limb.
16705
d2daaa1e
RÁE
167062011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16707
16708 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16709 under [__USE_EXTERN_INLINES].
16710
a4647e72
UD
167112011-12-17 Ulrich Drepper <drepper@gmail.com>
16712
16713 [BZ #13446]
16714 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16715
f0b264f1
AZ
167162011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16717
16718 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16719 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16720 optimized code.
16721 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16722 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16723 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16724 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16725 for strncasecmp/strncasecmp_l compilation.
16726 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16727 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16728
8ef4f244
MP
167292011-12-08 Marek Polacek <mpolacek@redhat.com>
16730
16731 [BZ #13484]
16732 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16733 of __asm__.
16734
97ac2654
UD
167352011-12-17 Ulrich Drepper <drepper@gmail.com>
16736
16737 [BZ #13506]
16738 * time/tzfile.c (__tzfile_read): Check values from file header.
16739
91d2a845
WS
167402011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16741
16742 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16743 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16744 * powerpc/powerpc32/dl-start.S: Likewise.
16745 * powerpc/powerpc32/elf/start.S: Likewise.
16746 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16747 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16748 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16749 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16750 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16751 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16752 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16753 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16754 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16755 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16756 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16757 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16758 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16759 * powerpc/powerpc32/memset.S: Likewise.
16760 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16761 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16762 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16763 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16764 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16765 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16766 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16767 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16768 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16769 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16770 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16771 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16772 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16773
a1267ba1
AZ
167742011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16775
16776 * math/libm-test.inc: Added more nearbyint tests.
16777 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16779 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16780 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16781
ad8ac1bd
RL
167822011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16783
16784 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16785 FD_CLOEXEC.
16786
1d3e4b61
UD
167872011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16788
16789 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16790 Add wcscpy-ssse3 wcscpy-c.
16791 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16792 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16793 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16794 * sysdeps/x86_64/wcschr.S: New file.
16795 * sysdeps/x86_64/wcsrchr.S: New file.
16796 * string/test-strcmp.c: Remove checking of wcscmp function for
16797 wrong alignments.
16798 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16799 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16800 wcsrchr-sse2 wcsrchr-c.
16801 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16802 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16803 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16804 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16805 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16806 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16807 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16808 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16809 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16810 * wcsmbc/wcschr.c (WCSCHR): New macro.
16811
5b330a2d
UD
168122011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16813
16814 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16815 * wcsmbs/test-wcsrchr.c: New file.
16816 * string/test-strrchr.c: Add wcsrchr support.
16817 (WIDE): New macro.
16818 * wcsmbs/test-wcscpy.c: New file.
16819 * string/test-strcpy.c: Add wcscpy support.
16820 (WIDE): New macro.
26428b7c 16821
f039c043
UD
168222011-12-10 Ulrich Drepper <drepper@gmail.com>
16823
16824 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16825 the inner loop.
16826
850fb039
AS
168272011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16828
16829 [BZ #13472]
16830 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16831
4efbd5cb
UD
168322011-12-04 Ulrich Drepper <drepper@gmail.com>
16833
52ff5dd0 16834 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16835 Minor optimizations.
52ff5dd0 16836
4efbd5cb
UD
16837 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16838 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16839 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16840
8a426e12
UD
168412011-12-03 Ulrich Drepper <drepper@gmail.com>
16842
aff2453d
UD
16843 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16844 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16845 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16846 for gcc to avoid warnings.
16847 * inet/Makefile (tests): Add tst-checks.
16848 * inet/tst-checks.c: New file.
16849
16850 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16851 warning.
16852
16853 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16854 __wmemcmp_sse2.
16855
16856 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16857 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16858
8a426e12
UD
16859 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16860
9bea3473
UD
168612011-12-02 Ulrich Drepper <drepper@gmail.com>
16862
3a965496
UD
16863 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16864 problem.
16865
9bea3473
UD
16866 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16867
f101631b
UD
168682011-11-29 Joseph Myers <joseph@codesourcery.com>
16869
16870 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16871 conditional on GCC version.
16872 (__arch_compare_and_exchange_val_8_acq)
16873 (__arch_compare_and_exchange_val_16_acq)
16874 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16875 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16876 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16877
a98275aa
UD
168782011-12-02 Joseph Myers <joseph@codesourcery.com>
16879
16880 * sysdeps/sh/backtrace.c: New file.
16881
d4cc29a2
AS
168822011-12-02 Andreas Schwab <schwab@redhat.com>
16883
16884 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16885 parenthesis.
16886
6257af2d
AS
168872011-12-01 Andreas Schwab <schwab@redhat.com>
16888
16889 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16890 falling back to utime.
16891
b5f44c1a
AS
168922011-11-30 Andreas Schwab <schwab@redhat.com>
16893
16894 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16895 expectations for float.
16896
f3a6cc0a
AS
168972011-11-29 Andreas Schwab <schwab@redhat.com>
16898
16899 * locale/weight.h (findidx): Add parameter len.
16900 * locale/weightwc.h (findidx): Likewise.
16901 * posix/fnmatch_loop.c (FCT): Adjust caller.
16902 * posix/regcomp.c (build_equiv_class): Likewise.
16903 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16904 * posix/regexec.c (check_node_accept_bytes): Likewise.
16905 * string/strcoll_l.c (STRCOLL): Likewise.
16906 * string/strxfrm_l.c (STRXFRM): Likewise.
16907
9d65ea3a
UD
169082011-11-17 Ulrich Drepper <drepper@gmail.com>
16909
16910 * Makefile.in: Remove CVSOPT handling.
16911 * configure.in: Remove use of AC_REVISION.
16912 * iconvdata/Makefile (distribute): No need to filter out CVS.
16913 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16914 handling.
16915
5583a086
AS
169162011-11-16 Andreas Schwab <schwab@redhat.com>
16917
16918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16919 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16920 [USE_AS_STRNCASECMP_L]: Likewise.
16921 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16922 NO_TLS_DIRECT_SEG_REFS.
16923 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16924 Fix argument offsets for non-PIC.
16925 [USE_AS_STRNCASECMP_L]: Likewise.
16926 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16927 NO_TLS_DIRECT_SEG_REFS.
16928
d62a8200
UD
169292011-11-15 Ulrich Drepper <drepper@gmail.com>
16930
9d65ea3a 16931 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16932 O_CLOEXEC.
16933 * locale/loadlocale.c (_nl_load_locale): Likewise.
16934
09f93bd3
AS
169352011-11-15 Andreas Schwab <schwab@redhat.com>
16936
446514f9
AS
16937 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16938 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16939 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16940 (SYSCALL_GETTIME): Set errno on error.
16941
09f93bd3
AS
16942 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16943 count references to noai6ai_cached.
16944
312be3f9
UD
169452011-11-15 Ulrich Drepper <drepper@gmail.com>
16946
16947 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16948
16949 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16950 FD_CLOEXEC for /proc/self/maps.
16951
16952 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16953 FD_CLOEXEC for /proc/meminfo.
16954
16955 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16956 gai.conf.
16957
16958 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16959 FD_CLOEXEC for given file.
16960
16961 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16962
16963 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16964 FD_CLOEXEC for /etc/hosts.
16965 (_gethtent): Likewise.
16966
16967 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16968
16969 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16970 cancellation and set FD_CLOEXEC for /etc/netgroup.
16971
16972 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16973 reading /etc/publickey.
16974
16975 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16976 allow cancellation when reading /etc/group.
16977
16978 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16979 cancellation.
16980 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16981
16982 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16983 when using data file.
16984
16985 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16986
16987 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16988 (write_nis_obj): Use "c" and "e" in fopen.
16989
16990 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16991
16992 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16993
16994 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16995
16996 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16997
16998 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16999 locale.alias.
17000
17001 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17002
17003 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17004
17005 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17006
17007 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17008 file parsing and set FD_CLOEXEC.
17009
82af0fa8
UD
170102011-11-14 Ulrich Drepper <drepper@gmail.com>
17011
17012 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17013
a5fb313c
AS
170142011-11-14 Andreas Schwab <schwab@redhat.com>
17015
17016 * malloc/arena.c (arena_get2): Don't call reused_arena when
17017 _int_new_arena failed.
17018
6abf3465
UD
170192011-11-14 Ulrich Drepper <drepper@gmail.com>
17020
17021 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17022 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17023 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17024 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17025 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17026 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17027 to compile strcasecmp and strncasecmp.
17028 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17029 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17030
17031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17032
76e3966e
UD
170332011-11-13 Ulrich Drepper <drepper@gmail.com>
17034
17035 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17036 locale-defines.sym to gen-as-const-headers.
17037 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17038 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17040 to compile strcasecmp and strncasecmp.
17041 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17042 strcasecmp_l and strncasecmp_l.
17043 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17044 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17045 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17046 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17047 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17048 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17049 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17050 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17051 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17052 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17053 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17054
ab26144e
UD
170552011-11-12 Ulrich Drepper <drepper@gmail.com>
17056
7edb22ef
UD
17057 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17058 result of SYSDEP_GETTIME_CPU to retval.
17059 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17060 parameter list to macro. Remove trailing semicolon. Adjust users.
17061
9694fc44
UD
17062 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17063 variable.
17064
8ad89ef8
UD
17065 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17066 mantissa words.
17067 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17068
0c822ef9
UD
17069 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17070 from unused variable.
17071
874e0564
UD
17072 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17073 DWARF definitions.
17074 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17075 for assembling.
17076
3a2edc79
UD
17077 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17078 over namespaces.
17079
f3c2577f
UD
17080 * sunrpc/rpc_prot.c (rejected): Fix case value.
17081
294ce126
UD
17082 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17083 unsigned long long int to avoid warnings in shift.
17084
5e2b63c6
UD
17085 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17086 of use of trans.
17087 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17088 variable tmp.
17089
e7f4b08e
UD
17090 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17091 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17092 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17093
ab26144e
UD
17094 * nis/nis_table.c (nis_list): Use variable of correct type for
17095 result of __follow_path call.
17096
8a6d5255
AZ
170972011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17098
17099 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17100 of math functions ceil, trunc, floor, round, and sqrt, when
17101 avaliable on the platform.
17102 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17103 name clash.
17104 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17105 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17106 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17107
aaddc98c
MP
171082011-10-30 Marek Polacek <mpolacek@redhat.com>
17109
17110 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17111 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17112
95b7042b
RM
171132011-11-11 Roland McGrath <roland@hack.frob.com>
17114
17115 * include/unistd.h: Fix __readlink return type.
17116 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17117
57769839
UD
171182011-11-11 Ulrich Drepper <drepper@gmail.com>
17119
17120 * stdlib/ucontext.h: Undo last change for makecontext.
17121
edc5984d
AS
171222011-11-11 Andreas Schwab <schwab@redhat.com>
17123
98591e58
AS
17124 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17125
edc5984d
AS
17126 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17127 * setjmp/setjmp.h: Mark functions as non-leaf.
17128 * setjmp/bits/setjmp2.h: Likewise.
17129 * stdlib/ucontext.h: Likewise.
17130
77cdc054
AS
171312011-11-10 Andreas Schwab <schwab@redhat.com>
17132
17133 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17134 (reused_arena): Don't check arena limit.
17135 (arena_get2): Atomically check arena limit.
17136
fe72eebd
UD
171372011-11-08 Ulrich Drepper <drepper@gmail.com>
17138
5f078c32
UD
17139 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17140 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17141
fe72eebd
UD
17142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17143 instructions.
17144
ae1bc2fa
AS
171452011-11-07 Andreas Schwab <schwab@redhat.com>
17146
7583a88d
AS
17147 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17148 handler when locking.
17149
ae1bc2fa
AS
17150 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17151 Fix size of allocated buffer.
17152
10fb0bfa
AS
171532011-11-04 Andreas Schwab <schwab@redhat.com>
17154
998832a4
AS
17155 [BZ #10103]
17156 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17157 declarations for long double functions.
17158 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17159
10fb0bfa
AS
17160 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17161
3d7ba52b
AS
171622011-11-03 Andreas Schwab <schwab@redhat.com>
17163
a9ae54a1
AS
17164 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17165 installed.
17166
3d7ba52b
AS
17167 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17168 is disabled.
17169
bc8db248
ST
171702011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17171
17172 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17173
45b96dd6
AS
171742011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17175
647776f6
AS
17176 * include/alloca.h (stackinfo_alloca_round): Define.
17177 (extend_alloca): Use it.
17178 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17179 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17180 here.
17181
d91a8b93
AS
17182 * scripts/check-local-headers.sh: Ignore libaudit.h.
17183
45b96dd6
AS
17184 * nscd/Makefile (extra-objs): Make recursively expanded.
17185
432d41ce
UD
171862011-11-01 Ulrich Drepper <drepper@gmail.com>
17187
34372fc6
UD
17188 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17189 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17190
fadb59f8
UD
17191 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17192 * posix/tst-rfc3484-2.c: Likewise.
17193 * posix/tst-rfc3484-3.c: Likewise.
17194
78239589
UD
17195 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17196 process_vm_writev.
17197 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17198 process_vm_writev.
17199 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17200 process_vm_writev from libc using GLIBC_2.15 version.
17201
432d41ce
UD
17202 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17203
02f9c6cf
PP
172042011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17205
17206 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17207 stack usage.
17208
3a2c0242
UD
172092011-10-31 Ulrich Drepper <drepper@gmail.com>
17210
f4ec4833
UD
17211 [BZ #13367]
17212 * nss/getent.c (initgroups_keys): Show error message in case no group
17213 names are given.
17214
3a2c0242
UD
17215 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17216 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17217 __bump_nl_timestamp.
17218 * nscd/connections (nscd_init): When host database is served open
17219 netlink socket and request notification about configuration changes.
17220 (main_loop_poll): Track netlink file descriptor and bump timestamp
17221 in case data becomes available.
17222 (main_loop_epoll): Likewise.
17223 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17224 (database_pers_head): Add extra_data fileds.
17225 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17226 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17227 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17228 Adjust caller.
17229 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17230 in6ai data, call __free_in6ai.
17231 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17232 Add -DHAVE_NETLINK.
17233 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17234 interface information. Reuse previous data if netlink timestamp
17235 is not changed.
17236 (__bump_nl_timestamp): New function.
17237 (__free_in6ai): New function.
17238
636064eb
UD
172392011-10-30 Ulrich Drepper <drepper@gmail.com>
17240
17241 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17242 close_not_cancel_no_status here.
17243 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17244
9beb2334
UD
172452011-10-29 Ulrich Drepper <drepper@gmail.com>
17246
6ef76f3b
UD
17247 [BZ #13276]
17248 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17249 return value.
17250
0ffc4f3e 17251 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17252 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17253 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17254
cb95113e
UD
172552011-07-03 Andreas Jaeger <aj@suse.de>
17256
17257 [BZ #10709]
17258 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17259 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17260 * math/libm-test.inc (sin_test): Add test case.
17261
a1b560ff
UD
172622011-10-29 Ulrich Drepper <drepper@gmail.com>
17263
c9aaface
UD
17264 [BZ #13337]
17265 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17266 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17267
d272e7f1
UD
17268 * elf/chroot_canon.c (chroot_canon): Cleanups.
17269
1bc33071
UD
17270 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17271
1760874d
TJ
17272 [BZ #13335]
17273 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17274 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17275
51d91b18
UD
17276 * string/test-strchr.c: Make usable for strchrnul testing.
17277 * string/test-strchrnul.c: New file.
17278 * string/Makefile (strop-tests): Add strchrnul.
17279
a1b560ff 17280 * po/it.po: Update from translation team.
b611fb81 17281 * po/es.po: Likewise.
a1b560ff 17282
a5b81e1f
UD
172832011-10-28 Ulrich Drepper <drepper@gmail.com>
17284
fd52bc6d
UD
17285 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17286 the three constants needed as parameters. Drop the others.
17287 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17288 __m128i_strloadu_tolower.
52e4b9eb
UD
17289 Create and initialize variable zero and use it in all the places
17290 where _mm_setzero_si128 was used.
fd52bc6d 17291
a5b81e1f
UD
17292 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17293 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17294 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17295 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17296 anymore.
17297 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17298 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17299 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17300 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17301 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17302 __mpranred, __mptan.
17303 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17304 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17305 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17306 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17307 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17308 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17310 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17311 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17312
b4343346
AS
173132011-10-28 Andreas Schwab <schwab@redhat.com>
17314
0c92d8a8
AS
17315 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17316 redefine if SHARED.
17317 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17318
b4343346
AS
17319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17320 wide char related routines to wcsmbs subdir.
17321
3871f58f
AS
173222011-10-27 Andreas Schwab <schwab@redhat.com>
17323
17324 [BZ #13344]
17325 * misc/sys/cdefs.h (__THROWNL): Define.
17326 * posix/unistd.h: Use __THREADNL instead of __THREAD
17327 for memory synchronization functions.
17328
94d44d9f
RM
173292011-10-26 Roland McGrath <roland@hack.frob.com>
17330
21b64b15 17331 [BZ #13349]
94d44d9f
RM
17332 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17333 doesn't exist.
17334 * manual/stdio.texi (Obstack Streams): Node removed.
17335
f6ce9294
AS
173362011-10-26 Andreas Schwab <schwab@redhat.com>
17337
80479147
AS
17338 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17339 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17340 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17341
f6ce9294
AS
17342 * math/math_private.h (math_force_eval): Allow non-addressable
17343 arguments.
17344 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17345
618280a1
UD
173462011-10-25 Ulrich Drepper <drepper@gmail.com>
17347
e0016b11
UD
17348 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17349 file is not needed.
17350
17351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17352 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17353 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17354 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17355 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17356 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17357 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17358 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17359 Add AVX variants.
17360 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17361 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17362 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17363 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17364 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17365 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17366 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17367 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17368 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17369 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17370 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17371 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17372 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17373 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17374 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17375 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17376 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17377 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17378 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17379
17380 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17381 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17382
618280a1
UD
17383 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17384 place. Use VEX encoding when compiling for AVX.
17385
37822576
AS
173862011-10-25 Andreas Schwab <schwab@redhat.com>
17387
1f1e1947
AS
17388 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17389 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17390
37822576
AS
17391 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17392
31ea014d
UD
173932011-10-25 Ulrich Drepper <drepper@gmail.com>
17394
d7826aa1 17395 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17396 useless if() expression.
d7826aa1
UD
17397 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17406 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17407 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17408 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17409 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17410 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17411 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17412 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17413 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17414 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17415 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17416
31ea014d
UD
17417 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17418
16437fec
AS
174192011-10-25 Andreas Schwab <schwab@redhat.com>
17420
17421 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17422 condition.
17423 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17424
31d3cc00
UD
174252011-10-25 Ulrich Drepper <drepper@gmail.com>
17426
17427 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17428 .text section. Avoid duplicate constants.
17429 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17437 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17438 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17439 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17440 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17441 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17442 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17443 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17444 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17445 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17446 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17447 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17449 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17450 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17451 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17453 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17454 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17455 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17456 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17458 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17459 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17460 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17461 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17462 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17463 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17464 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17465 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17466 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17467 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17468 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17469 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17470 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17471 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17472 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17473 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17474
58985aa9
UD
174752011-10-24 Ulrich Drepper <drepper@gmail.com>
17476
202c9deb
UD
17477 * sysdeps/x86_64/dla.h: Move to ...
17478 * sysdeps/x86_64/fpu/dla.h: ...here.
17479 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17480 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17481
af968f62
UD
17482 * config.make.in: Add have-mfma4 entry.
17483 * configure.in: Substitute libc_cv_cc_fma4.
17484 * math/Makefile (dbl-only-routines): Add sincostab.
17485 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17486 Use __sincostab not sincos.
17487 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17488 name is a macro.
17489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17493 using __copysign.
17494 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17495 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17496 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17497 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17498 and __inv.
17499 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17500 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17501 __copysign.
17502 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17503 define aliases when function name is a macro.
17504 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17505 sysdeps/ieee754/dbl-64/sincos.tbl.
17506 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17507 fma4-enabled routines.
17508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17509 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17510 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17511 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17512 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17513 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17514 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17515 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17516 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17517 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17518 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17519 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17520 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17521 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17522 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17523 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17524 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17525 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17526 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17528 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17529 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17531 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17532 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17533 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17534 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17535 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17536 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17537 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17538
58985aa9
UD
17539 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17540 rename.
17541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17549
a201fbcf
AS
175502011-10-24 Andreas Schwab <schwab@redhat.com>
17551
17552 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17553
fc2ee42a
LD
175542011-10-23 Ulrich Drepper <drepper@gmail.com>
17555
bb3129bd
UD
17556 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17557
0275fff8
UD
17558 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17559 prediction.
17560 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17561
2fa2ae85
UD
17562 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17563 Remove unused variable magic_bits.
17564 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17565
fc2ee42a
LD
17566 * string/strnlen.c: Define and use STRNLEN macro.
17567 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17568 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17570 * wcsmbs/wcslen.c: Define and use WCSLEN.
17571 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17572 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17573 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17574 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17575 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17576 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17577 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17578
ce7dd29f
LD
175792011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17580
17581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17582 strnlen-sse2-no-bsf.
17583 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17585 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17586 Add strnlen support.
17587 (USE_AS_STRNLEN): New macro.
17588 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17589 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17590 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17591 * sysdeps/x86_64/wcslen.S: New file.
17592
979c70a3
MZ
175932011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17594
17595 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17596 XMM-moves are used for copying on small sizes.
17597
2d09f82f
LD
175982011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17599
17600 * wcsmbs/Makefile (strop-tests): Add wcschr.
17601 * wcsmbs/test-wcschr.c: New file.
17602 * string/test-strchr.c: Update.
17603 Add wcschr support.
17604 (WIDE): New macro.
17605
619fccca
LD
176062011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17607
2d09f82f 17608 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17609 * wcsmbs/test-wcslen.c: New file.
17610 * string/test-strlen.c: Update.
17611 Add wcslen support.
17612 (WIDE): New macro.
17613
09f699ea
UD
176142011-10-23 Ulrich Drepper <drepper@gmail.com>
17615
17616 * po/it.po: Update from translation team.
17617
95584d3b
LD
176182011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17619
17620 * sysdeps/x86_64/wcscmp.S: Update.
17621 Fix wrong comparison semantics.
17622 wcscmp shall use signed comparison not unsigned.
17623 Don't use substraction to avoid overflow bug.
17624 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17625 * wcsmbc/wcscmp.c: Likewise.
17626 * string/test-strcmp.c: Likewise.
17627 Add new tests to check cases with negative values.
17628
c8b3296b
UD
176292011-10-23 Ulrich Drepper <drepper@gmail.com>
17630
17631 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17632 * sysdeps/x86_64/dla.h: ...here. New file.
17633 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17642
246ad57a
AS
176432011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17644
17645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17646 __ynl_finite aliases.
17647
a1a87169
UD
176482011-10-22 Ulrich Drepper <drepper@gmail.com>
17649
0d355eb7
UD
17650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17651
a1a87169
UD
17652 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17653 define DLA_FMA.
17654 [DLA_FMA] (EMULV): Use DLA_FMA.
17655 [DLA_FMA] (MUL12): Use EMULV.
17656 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17657 that are not needed.
17658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17665
ee2aafe0
AS
176662011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17667
17668 * math/s_nan.c: Undef __nan.
17669 * math/s_nanf.c: Undef __nanf.
17670 * math/s_nanl.c: Undef __nanl.
17671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17672 "math_private.h".
17673
bc62c2fb
UD
176742011-10-22 Ulrich Drepper <drepper@gmail.com>
17675
77425c63
UD
17676 * math/s_catan.c: Add branch predictions.
17677 * math/s_catanf.c: Likewise.
17678 * math/s_catanh.c: Likewise.
17679 * math/s_catanhf.c: Likewise.
17680 * math/s_catanhl.c: Likewise.
17681 * math/s_catanl.c: Likewise.
17682 * math/s_cexp.c: Likewise.
17683 * math/s_cexpf.c: Likewise.
17684 * math/s_cexpl.c: Likewise.
17685 * math/s_clog.c: Likewise.
17686 * math/s_clog10.c: Likewise.
17687 * math/s_clog10f.c: Likewise.
17688 * math/s_clog10l.c: Likewise.
17689 * math/s_clogf.c: Likewise.
17690 * math/s_clogl.c: Likewise.
17691 * math/s_csqrt.c: Likewise.
17692 * math/s_csqrtf.c: Likewise.
17693 * math/s_csqrtl.c: Likewise.
17694 * math/s_ctanf.c: Likewise.
17695 * math/s_ctanh.c: Likewise.
17696 * math/s_ctanhf.c: Likewise.
17697 * math/s_ctanhl.c: Likewise.
17698 * math/s_ctanl.c: Likewise.
17699
bc62c2fb
UD
17700 * math/math_private.h: Define __nan, __nanf, __nanl.
17701 * math/s_cacosh.c: Include <math_private.h>.
17702 * math/s_cacoshl.c: Likewise.
17703 * math/s_casinh.c: Likewise.
17704 * math/s_casinhf.c: Likewise.
17705 * math/s_casinhl.c: Likewise.
17706 * math/s_ccos.c: Rely entire on ccosh.
17707 * math/s_ccosf.c: Rely entire on ccoshf.
17708 * math/s_ccosl.c: Rely entirely on ccoshl.
17709 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17710 Remove tests for FE_INVALID.
17711 * math/s_ccoshf.c: Likewise.
17712 * math/s_ccoshl.c: Likewise.
17713 * math/s_csin.c: Likewise.
17714 * math/s_csinf.c: Likewise.
17715 * math/s_csinh.c Likewise.
17716 * math/s_csinhf.c: Likewise.
17717 * math/s_csinhl.c: Likewise.
17718 * math/s_csinl.c: Likewise.
17719 * math/s_ctan.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17721 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17722 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17723
8ec250a4
UD
177242011-10-21 Ulrich Drepper <drepper@gmail.com>
17725
c196fed8
UD
17726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17727 compilation problems.
17728
8ec250a4
UD
17729 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17730 __builtin_expect.
17731
8d4f46c6
UD
177322011-10-20 Ulrich Drepper <drepper@gmail.com>
17733
ed72b654
UD
17734 * sysdeps/i386/configure.in: Test for -mfma4 option.
17735 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17736 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17737 COMMON_CPUID_INDEX_80000001.
17738 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17739 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17740 use it if FMA3 is not supported.
17741 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17742
8d4f46c6
UD
17743 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17744 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17745
d45c60c2
AS
177462011-10-20 Andreas Schwab <schwab@redhat.com>
17747
17748 [BZ #12892]
17749 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17750 it would create a cycle with a link time dependency.
17751
d9a4d2ab
UD
177522011-10-19 Ulrich Drepper <drepper@gmail.com>
17753
855d1560
UD
17754 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17755 instruction.
17756 * string/Makefile (strop-tests): Add rawmemchr.
17757 * string/test-rawmemchr.c: New file.
17758
d9a4d2ab
UD
17759 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17760 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17761 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17762 when compiling str{,n}casecmp and when AVX is available. Hook up
17763 new optimized code in initializers.
17764
8f3b1ffe
AS
177652011-10-19 Andreas Schwab <schwab@redhat.com>
17766
17767 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17768 __feraiseexcept instead of feraiseexcept.
17769
d38f1dba
UD
177702011-10-18 Ulrich Drepper <drepper@gmail.com>
17771
d9a8d0ab
UD
17772 * math/math_private.h: Define defaults for libc_fetestexcept and
17773 libc_feupdateenv.
17774 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17775 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17776 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17777 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17778 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17779 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17780 libc_fetestexcept and libc_feupdateenv.
17781
4855e3dd
UD
17782 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17783 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17784 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17785 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17786 libc_feholdexcept_setround.
17787
581d30e3
UD
17788 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17789 Add s_nearbyint-c and s_nearbyintf-c.
17790 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17791 nearbyintf inlines.
17792 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17793 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17794 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17795 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17796
d38f1dba
UD
17797 * math/math_private.h: Define defaults for libc_fegetround,
17798 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17799 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17800 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17801 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17802 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17803 standard functions.
17804 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17805 Remove comments and hacks for old compiler versions.
17806 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17807 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17808 libc_feholdexceptl.
17809
caa6c9d8
AS
178102011-10-18 Andreas Schwab <schwab@redhat.com>
17811
17812 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17813 (__feraiseexcept_renamed): Add __NTH.
17814 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17815 namespace violations.
17816
97c066e6
UD
178172011-10-17 Ulrich Drepper <drepper@gmail.com>
17818
99ce7b04
UD
17819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17820
1004d182
UD
17821 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17822
228a984d
UD
17823 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17824 recently added interfaces.
17825 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17826
c8553a6a
UD
17827 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17828 about macro parameter expansion.
17829
ed22dcf6
UD
17830 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17831 __NO_MATH_INLINES is defined. Cleanups.
17832
17833 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17834 and __floorf is target has SSE4.1.
17835 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17836 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17837 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17838 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17839
b171c137
UD
17840 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17841 name.
17842 (floorf): Likewise.
17843
97c066e6
UD
17844 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17845
629f62ef
AS
178462011-10-17 Andreas Schwab <schwab@redhat.com>
17847
49a43d80
AS
17848 * misc/sys/cdefs.h: Fix last change.
17849
629f62ef
AS
17850 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17851 database lookup.
17852
e453f6cd
UD
178532011-10-16 Ulrich Drepper <drepper@gmail.com>
17854
aa78043a
UD
17855 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17856
ad0f5cad
UD
17857 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17859 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17860 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17862 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17863 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17864 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17865 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17866 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17867 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17868 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17869 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17870 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17871 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17872 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17873 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17874 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17875 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17876 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17877 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17878 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17879
17880 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17881 ceil, ceilf, floor, floorf.
17882
17883 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17884 Perform IRELATIVE relocations last.
17885
e453f6cd
UD
17886 * elf/do-rel.h: Add another parameter nrelative, replacing the
17887 local variable with the same name. Change name of the function
17888 to end in Rel or Rela (uppercase).
17889 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17890 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17891 elf_dynamic_do_##reloc function.
17892
fd5bdc09
UD
178932011-10-15 Ulrich Drepper <drepper@gmail.com>
17894
79b195b5
UD
17895 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17896 is sufficient, at least on modern CPUs.
17897
d4a28569
UD
17898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17899
b61099b5
UD
17900 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17901 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17902
bcf01e6d
UD
17903 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17904 __expl_finite.
17905 * math/bits/math-finite.h: Add entries for exp.
17906 * math/e_expl.c: Add __*_finite alias.
17907 * sysdeps/i386/fpu/e_exp.S: Likewise.
17908 * sysdeps/i386/fpu/e_expf.S: Likewise.
17909 * sysdeps/i386/fpu/e_expl.c: Likewise.
17910 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17911 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17912 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17914 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17915 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17916 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17917
ba1a0d59
UD
17918 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17919 is sufficient, at least on modern CPUs.
17920
fd5bdc09
UD
17921 * ctype/ctype-info.c (__ctype_init): Define.
17922 * include/ctype.h (__ctype_init): Declare.
17923 (__ctype_b_loc): The variable is always initialized.
17924 (__ctype_toupper_loc): Likewise.
17925 (__ctype_tolower_loc): Likewise.
17926 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17927 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17928
7872cfb0
AS
179292011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17930
b468825a
AS
17931 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17932
7872cfb0
AS
17933 * configure.in: Also look in $cxxmachine/include for C++ system
17934 headers.
17935
be13f7bf
LD
179362011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17937
17938 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17939 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17940 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17941 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17942 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17943 (USE_AS_WMEMCMP): New macro.
17944 Fixing indents.
17945 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17946 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17947 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17948 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17950 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17951 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17952 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17953 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17954 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17955 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17956 (USE_AS_WMEMCMP): New macro.
17957 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17958 * sysdeps/string/test-memcmp.c: Update.
17959 Fix simple_wmemcmp.
17960 Add new tests.
17961 * wcsmbs/wmemcmp.c: Update.
17962 (WMEMCMP): New macro.
17963 Fix overflow bug.
17964
556a2007
AJ
179652011-10-12 Andreas Jaeger <aj@suse.de>
17966
17967 [BZ #13268]
17968 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17969
538faaa7
UD
179702011-10-15 Ulrich Drepper <drepper@gmail.com>
17971
ab6737ff
UD
17972 * libio/iofwide.c (do_length): Avoid warning.
17973
538faaa7
UD
17974 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17975
396a21b1
UD
179762011-10-14 Ulrich Drepper <drepper@gmail.com>
17977
cdf2901f
UD
17978 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17979
38ad40ce
UD
17980 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17981 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17982 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17983 * sysdeps/i386/i686/fpu/e_log.S: New file.
17984 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17985 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17986
396a21b1
UD
17987 * ctype/ctype.h: Add support for inlined isXXX functions when
17988 compiling C++ code.
17989
6b1f68c9
AS
179902011-10-14 Andreas Schwab <schwab@redhat.com>
17991
349290c0
AS
17992 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17993
6b1f68c9
AS
17994 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17995
f2282d42
RM
179962011-10-13 Roland McGrath <roland@hack.frob.com>
17997
17998 [BZ #13291]
17999 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18000
5298ffa8
AS
180012011-10-13 Andreas Schwab <schwab@redhat.com>
18002
714fad23
AS
18003 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18004 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18005 feraiseexcept.
18006
81dcc7fb
AS
18007 * sysdeps/x86_64/memrchr.S: Check for zero size.
18008
5298ffa8
AS
18009 * string/stratcliff.c: Add memrchr tests.
18010
951fbcec
LD
180112011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18012
18013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18014 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18015 rawmemchr-sse2 rawmemchr-sse2-bsf.
18016 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18017 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18018 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18019 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18020 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18021 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18022 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18023 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18024 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18025 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18026 * string/memrchr.c (MEMRCHR): New macro.
18027
0ac5ae23
UD
180282011-10-12 Ulrich Drepper <drepper@gmail.com>
18029
18030 Add integration with gcc's -ffinite-math-only and optimize wrapper
18031 functions in libm.
18032 * Versions.def: Define GLIBC_2.15 version for libm.
18033 * math/Makefile (headers): Add bits/math-finite.h.
18034 * math/bits/math-finite.h: New file.
18035 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18036 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18037 * math/e_acoshl.c: Add __*_finite alias.
18038 * math/e_acosl.c: Likewise.
18039 * math/e_asinl.c: Likewise.
18040 * math/e_atan2l.c: Likewise.
18041 * math/e_atanhl.c: Likewise.
18042 * math/e_coshl.c: Likewise.
18043 * math/e_exp10.c: Likewise.
18044 * math/e_exp10f.c: Likewise.
18045 * math/e_exp10l.c: Likewise.
18046 * math/e_exp2l.c: Likewise.
18047 * math/e_fmodl.c: Likewise.
18048 * math/e_gammal_r.c: Likewise.
18049 * math/e_hypotl.c: Likewise.
18050 * math/e_j0l.c: Likewise.
18051 * math/e_j1l.c: Likewise.
18052 * math/e_jnl.c: Likewise.
18053 * math/e_lgammal_r.c: Likewise.
18054 * math/e_log10l.c: Likewise.
18055 * math/e_log2l.c: Likewise.
18056 * math/e_logl.c: Likewise.
18057 * math/e_powl.c: Likewise.
18058 * math/e_sinhl.c: Likewise.
18059 * math/e_sqrtl.c: Likewise.
18060 * math/e_scalb.c: Completely rewritten and optimized.
18061 * math/e_scalbf.c: Likewise.
18062 * math/e_scalbl.c: Likewise.
18063 * math/w_acos.c: Likewise.
18064 * math/w_acosf.c: Likewise.
18065 * math/w_acosl.c: Likewise.
18066 * math/w_acosh.c: Likewise.
18067 * math/w_acoshf.c: Likewise.
18068 * math/w_acoshl.c: Likewise.
18069 * math/w_asin.c: Likewise.
18070 * math/w_asinf.c: Likewise.
18071 * math/w_asinl.c: Likewise.
18072 * math/w_atan2.c: Likewise.
18073 * math/w_atan2f.c: Likewise.
18074 * math/w_atan2l.c: Likewise.
18075 * math/w_atanh.c: Likewise.
18076 * math/w_atanhf.c: Likewise.
18077 * math/w_atanhl.c: Likewise.
18078 * math/w_exp10.c: Likewise.
18079 * math/w_exp10f.c: Likewise.
18080 * math/w_exp10l.c: Likewise.
18081 * math/w_fmod.c: Likewise.
18082 * math/w_fmodf.c: Likewise.
18083 * math/w_fmodl.c: Likewise.
18084 * math/w_j0.c: Likewise.
18085 * math/w_j0f.c: Likewise.
18086 * math/w_j0l.c: Likewise.
18087 * math/w_j1.c: Likewise.
18088 * math/w_j1f.c: Likewise.
18089 * math/w_j1l.c: Likewise.
18090 * math/w_jn.c: Likewise.
18091 * math/w_jnf.c: Likewise.
18092 * math/w_log.c: Likewise.
18093 * math/w_logf.c: Likewise.
18094 * math/w_logl.c: Likewise.
18095 * math/w_log10.c: Likewise.
18096 * math/w_log10f.c: Likewise.
18097 * math/w_log10l.c: Likewise.
18098 * math/w_log2.c: Likewise.
18099 * math/w_log2f.c: Likewise.
18100 * math/w_log2l.c: Likewise.
18101 * math/w_pow.c: Likewise.
18102 * math/w_powf.c: Likewise.
18103 * math/w_powl.c: Likewise.
18104 * math/w_remainder.c: Likewise.
18105 * math/w_remainderf.c: Likewise.
18106 * math/w_remainderl.c: Likewise.
18107 * math/w_scalb.c: Likewise.
18108 * math/w_scalbf.c: Likewise.
18109 * math/w_scalbl.c: Likewise.
18110 * math/w_sqrt.c: Likewise.
18111 * math/w_sqrtf.c: Likewise.
18112 * math/w_sqrtl.c: Likewise.
18113 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18114 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18115 used.
18116 * math/math_private.h: Declare __kernel_standard_f.
18117 * math/w_cosh.c: Remove cruft and optimize a bit.
18118 * math/w_coshf.c: Likewise.
18119 * math/w_coshl.c: Likewise.
18120 * math/w_exp2.c: Likewise.
18121 * math/w_exp2f.c: Likewise.
18122 * math/w_exp2l.c: Likewise.
18123 * math/w_hypot.c: Likewise.
18124 * math/w_hypotf.c: Likewise.
18125 * math/w_hypotl.c: Likewise.
18126 * math/w_lgamma.c: Likewise.
18127 * math/w_lgamma_r.c: Likewise.
18128 * math/w_lgammaf.c: Likewise.
18129 * math/w_lgammaf_r.c: Likewise.
18130 * math/w_lgammal.c: Likewise.
18131 * math/w_lgammal_r.c: Likewise.
18132 * math/w_sinh.c: Likewise.
18133 * math/w_sinhf.c: Likewise.
18134 * math/w_sinhl.c: Likewise.
18135 * math/w_tgamma.c: Likewise.
18136 * math/w_tgammaf.c: Likewise.
18137 * math/w_tgammal.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18139 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18140 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18141 Minor optimizations. Pretty printing. Remove cruft.
18142 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18143 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18144 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18145 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18146 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18147 * sysdeps/i386/fpu/e_asin.S: Likewise.
18148 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18149 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18150 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18151 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18152 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18153 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18154 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18155 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18156 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18157 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18158 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18159 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18160 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18161 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18162 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18163 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18164 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18165 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18166 * sysdeps/i386/fpu/e_log.S: Likewise.
18167 * sysdeps/i386/fpu/e_log10.S: Likewise.
18168 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18169 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18170 * sysdeps/i386/fpu/e_log2.S: Likewise.
18171 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18172 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18173 * sysdeps/i386/fpu/e_logf.S: Likewise.
18174 * sysdeps/i386/fpu/e_logl.S: Likewise.
18175 * sysdeps/i386/fpu/e_pow.S: Likewise.
18176 * sysdeps/i386/fpu/e_powf.S: Likewise.
18177 * sysdeps/i386/fpu/e_powl.S: Likewise.
18178 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18179 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18180 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18181 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18182 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18183 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18184 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18185 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18186 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18208 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18209 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18210 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18211 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18212 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18213 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18214 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18215 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18216 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18217 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18218 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18219 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18220 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18221 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18222 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18223 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18224 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18225 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18226 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18227 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18228 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18267 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18272 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18278 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18279 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18280 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18281 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18282 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18283 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18284 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18285 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18286 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18287 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18288 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18289 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18290 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18291 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18292 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18293 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18294 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18295 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18296 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18297 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18298 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18299 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18300 (__isnanf): Likewise.
18301 (__isinf_ns): Likewise.
18302 (__isinf_nsf): Likewise.
18303 (__finite): Likewise.
18304 (__finitef): Likewise.
18305 (__ieee754_sqrt): Define as macro.
18306 (__ieee754_sqrtf): Define as macro.
18307 (__ieee754_sqrtl): Define as macro.
18308 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18309 inlined copy.
18310 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18311 __FINITE_MATH_ONLY__ consistent.
18312 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18313
12cc2fcd
AS
183142011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18315
a843a204
AS
18316 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18317 of rawmemchr.
18318
12cc2fcd
AS
18319 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18320
c853acd5
UD
183212011-10-09 Ulrich Drepper <drepper@gmail.com>
18322
18323 * po/ja.po: Update from translation team.
18324
c658d255
RM
183252011-10-08 Roland McGrath <roland@hack.frob.com>
18326
110946e4
RM
18327 * locale/programs/locarchive.c (prepare_address_space): New function.
18328 (create_archive, enlarge_archive, open_archive): Use it.
18329
50604220
RM
18330 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18331 inside [SHARED], where it is used.
18332
c658d255
RM
18333 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18334
18335 * nss/getent.c (netgroup_keys): Remove unused variable.
18336 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18337
6a621eb7
UD
183382011-10-08 Ulrich Drepper <drepper@gmail.com>
18339
7edb55ce
UD
18340 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18341 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18342 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18343 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18344 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18345 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18346 * math/Makefile (libm-calls): Add s_isinf_ns.
18347 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18348 * math/multc3.c: Likewise.
18349 * math/s_casin.c: Likewise.
18350 * math/s_casinf.c: Likewise.
18351 * math/s_casinl.c: Likewise.
18352 * math/s_ccos.c: Likewise.
18353 * math/s_ccosf.c: Likewise.
18354 * math/s_ccosl.c: Likewise.
18355 * math/s_ctan.c: Likewise.
18356 * math/s_ctanf.c: Likewise.
18357 * math/s_ctanh.c: Likewise.
18358 * math/s_ctanhf.c: Likewise.
18359 * math/s_ctanhl.c: Likewise.
18360 * math/s_ctanl.c: Likewise.
18361 * math/w_fmod.c: Likewise.
18362 * math/w_fmodf.c: Likewise.
18363 * math/w_fmodl.c: Likewise.
18364 * math/w_remainder.c: Likewise.
18365 * math/w_remainderf.c: Likewise.
18366 * math/w_remainderl.c: Likewise.
18367 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18368 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18369 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18371 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18372 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18373 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18374 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18375
187da0ae
UD
18376 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18377 of the number.
18378 * stdio-common/printf_fphex.c: Likewise.
18379 * stdio-common/printf_size.c: Likewise.
18380
9277c064
UD
18381 * math/e_exp10.c: Include math_private.h using <...> not "...".
18382 * math/e_exp10f.c: Likewise.
18383 * math/e_exp10l.c: Likewise.
18384 * math/e_exp2l.c: Likewise.
18385 * math/e_j0l.c: Likewise.
18386 * math/e_j1l.c: Likewise.
18387 * math/e_jnl.c: Likewise.
18388 * math/e_lgammal_r.c: Likewise.
18389 * math/e_rem_pio2l.c: Likewise.
18390 * math/e_scalb.c: Likewise.
18391 * math/e_scalbf.c: Likewise.
18392 * math/e_scalbl.c: Likewise.
18393 * math/k_cosl.c: Likewise.
18394 * math/k_sinl.c: Likewise.
18395 * math/k_tanl.c: Likewise.
18396 * math/s_cacoshf.c: Likewise.
18397 * math/s_catan.c: Likewise.
18398 * math/s_catanf.c: Likewise.
18399 * math/s_catanh.c: Likewise.
18400 * math/s_catanhf.c: Likewise.
18401 * math/s_catanhl.c: Likewise.
18402 * math/s_catanl.c: Likewise.
18403 * math/s_ccosh.c: Likewise.
18404 * math/s_ccoshf.c: Likewise.
18405 * math/s_ccoshl.c: Likewise.
18406 * math/s_cexp.c: Likewise.
18407 * math/s_cexpf.c: Likewise.
18408 * math/s_cexpl.c: Likewise.
18409 * math/s_clog.c: Likewise.
18410 * math/s_clog10.c: Likewise.
18411 * math/s_clog10f.c: Likewise.
18412 * math/s_clog10l.c: Likewise.
18413 * math/s_clogf.c: Likewise.
18414 * math/s_clogl.c: Likewise.
18415 * math/s_csin.c: Likewise.
18416 * math/s_csinf.c: Likewise.
18417 * math/s_csinh.c: Likewise.
18418 * math/s_csinhf.c: Likewise.
18419 * math/s_csinhl.c: Likewise.
18420 * math/s_csinl.c: Likewise.
18421 * math/s_csqrt.c: Likewise.
18422 * math/s_csqrtf.c: Likewise.
18423 * math/s_csqrtl.c: Likewise.
18424 * math/s_ctan.c: Likewise.
18425 * math/s_ctanf.c: Likewise.
18426 * math/s_ctanh.c: Likewise.
18427 * math/s_ctanhf.c: Likewise.
18428 * math/s_ctanhl.c: Likewise.
18429 * math/s_ctanl.c: Likewise.
18430 * math/s_ldexp.c: Likewise.
18431 * math/s_ldexpf.c: Likewise.
18432 * math/s_ldexpl.c: Likewise.
18433 * math/s_significand.c: Likewise.
18434 * math/s_significandf.c: Likewise.
18435 * math/s_significandl.c: Likewise.
18436 * math/w_acos.c: Likewise.
18437 * math/w_acosf.c: Likewise.
18438 * math/w_acosh.c: Likewise.
18439 * math/w_acoshf.c: Likewise.
18440 * math/w_acoshl.c: Likewise.
18441 * math/w_acosl.c: Likewise.
18442 * math/w_asin.c: Likewise.
18443 * math/w_asinf.c: Likewise.
18444 * math/w_asinl.c: Likewise.
18445 * math/w_atan2.c: Likewise.
18446 * math/w_atan2f.c: Likewise.
18447 * math/w_atan2l.c: Likewise.
18448 * math/w_atanh.c: Likewise.
18449 * math/w_atanhf.c: Likewise.
18450 * math/w_atanhl.c: Likewise.
18451 * math/w_cosh.c: Likewise.
18452 * math/w_coshf.c: Likewise.
18453 * math/w_coshl.c: Likewise.
18454 * math/w_dremf.c: Likewise.
18455 * math/w_exp10.c: Likewise.
18456 * math/w_exp10f.c: Likewise.
18457 * math/w_exp10l.c: Likewise.
18458 * math/w_exp2.c: Likewise.
18459 * math/w_exp2f.c: Likewise.
18460 * math/w_fmod.c: Likewise.
18461 * math/w_fmodf.c: Likewise.
18462 * math/w_fmodl.c: Likewise.
18463 * math/w_hypot.c: Likewise.
18464 * math/w_hypotf.c: Likewise.
18465 * math/w_hypotl.c: Likewise.
18466 * math/w_j0.c: Likewise.
18467 * math/w_j0f.c: Likewise.
18468 * math/w_j0l.c: Likewise.
18469 * math/w_j1.c: Likewise.
18470 * math/w_j1f.c: Likewise.
18471 * math/w_j1l.c: Likewise.
18472 * math/w_jn.c: Likewise.
18473 * math/w_jnf.c: Likewise.
18474 * math/w_jnl.c: Likewise.
18475 * math/w_lgamma.c: Likewise.
18476 * math/w_lgamma_r.c: Likewise.
18477 * math/w_lgammaf.c: Likewise.
18478 * math/w_lgammaf_r.c: Likewise.
18479 * math/w_lgammal.c: Likewise.
18480 * math/w_lgammal_r.c: Likewise.
18481 * math/w_log.c: Likewise.
18482 * math/w_log10.c: Likewise.
18483 * math/w_log10f.c: Likewise.
18484 * math/w_log10l.c: Likewise.
18485 * math/w_log2.c: Likewise.
18486 * math/w_log2f.c: Likewise.
18487 * math/w_log2l.c: Likewise.
18488 * math/w_logf.c: Likewise.
18489 * math/w_logl.c: Likewise.
18490 * math/w_pow.c: Likewise.
18491 * math/w_powf.c: Likewise.
18492 * math/w_powl.c: Likewise.
18493 * math/w_remainder.c: Likewise.
18494 * math/w_remainderf.c: Likewise.
18495 * math/w_remainderl.c: Likewise.
18496 * math/w_scalb.c: Likewise.
18497 * math/w_scalbf.c: Likewise.
18498 * math/w_scalbl.c: Likewise.
18499 * math/w_sinh.c: Likewise.
18500 * math/w_sinhf.c: Likewise.
18501 * math/w_sinhl.c: Likewise.
18502 * math/w_sqrt.c: Likewise.
18503 * math/w_sqrtf.c: Likewise.
18504 * math/w_sqrtl.c: Likewise.
18505 * math/w_tgamma.c: Likewise.
18506 * math/w_tgammaf.c: Likewise.
18507 * math/w_tgammal.c: Likewise.
18508
6a621eb7
UD
18509 * po/ja.po: Update from translation team.
18510
bf582445
AJ
185112011-09-29 Andreas Jaeger <aj@suse.de>
18512
f9efbf3a
AJ
18513 [BZ #13179]
18514 * sunrpc/netname.c (netname2host): Fix logic.
18515
bf582445
AJ
18516 [BZ #6779]
18517 [BZ #6783]
18518 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18519 correctly.
18520 * math/w_remainder.c (__remainder): Likewise.
18521 * math/w_remainderf.c (__remainderf): Likewise.
18522 * math/libm-test.inc (remainder_test): Add test cases.
18523
48693bea
AK
185242011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18525
18526 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18527 sdiv_qrnnd.
18528
42622229
LD
185292011-10-07 Ulrich Drepper <drepper@gmail.com>
18530
18531 * string/test-memcmp.c: Avoid unncessary #defines.
18532 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18533
093ecf92
LD
185342011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18535
18536 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18537 Use new sse2 version for core i3 - i7 as it's faster
18538 than sse42 version.
18539 (bit_Prefer_PMINUB_for_stringop): New.
18540 * sysdeps/x86_64/rawmemchr.S: Update.
18541 Replace with faster SSE2 version.
18542 * sysdeps/x86_64/memrchr.S: New file.
18543 * sysdeps/x86_64/memchr.S: Update.
18544 Replace with faster SSE2 version.
18545
fde56e5c
MP
185462011-09-12 Marek Polacek <mpolacek@redhat.com>
18547
18548 * elf/dl-load.c (lose): Add cast to avoid warning.
18549
21fd49a9
UD
185502011-10-07 Ulrich Drepper <drepper@gmail.com>
18551
5a06e643
UD
18552 * po/ca.po: Update from translation team.
18553
684ae515
UD
18554 * inet/getnetgrent_r.c: Hook up nscd.
18555 * nscd/Makefile (routines): Add nscd_netgroup.
18556 (nscd-modules): Add netgroupcache.
18557 (CFLAGS-netgroupcache.c): Define.
18558 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18559 (cache_search): Add const to second parameter.
18560 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18561 INNETGR.
18562 (dbs): Add netgrdb entry.
18563 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18564 (verify_persistent_db): Handle netgrdb.
18565 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18566 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18567 GETFDNETGR.
18568 (netgroup_response_header): Define.
18569 (innetgroup_response_header): Define.
18570 (datahead): Add netgroup_response_header and innetgroup_response_header
18571 elements.
18572 * nscd/nscd.conf: Add entries for netgroup cache.
18573 * nscd/nscd.h (dbtype): Add netgrdb.
18574 (_PATH_NSCD_NETGROUP_DB): Define.
18575 (netgroup_iov_disabled): Declare.
18576 (xmalloc, xcalloc, xrealloc): Move declarations here.
18577 (cache_search): Adjust prototype.
18578 Add netgroup-related prototypes.
18579 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18580 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18581 (__nscd_innetgr): Declare.
18582 * nscd/selinux.c (perms): Use access_vector_t as element type and
18583 add netgroup-related initializers.
18584 * nscd/netgroupcache.c: New file.
18585 * nscd/nscd_netgroup.c: New file.
18586 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18587 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18588 For four parameters use innetgr.
18589 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18590 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18591 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18592 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18593
21fd49a9
UD
18594 * nscd/connections.c (register_traced_file): Don't register file
18595 for disabled databases.
18596
054c0457
UD
185972011-10-06 Ulrich Drepper <drepper@gmail.com>
18598
32b63198
UD
18599 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18600
054c0457
UD
18601 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18602 from tree and freeing node.
18603
64031225
JO
186042011-09-25 Jiri Olsa <jolsa@redhat.com>
18605
18606 * nss/nsswitch.c (__nss_database_lookup): Handle
18607 nss_parse_service_list out of memory case.
18608
0490345c
JO
186092011-09-15 Jiri Olsa <jolsa@redhat.com>
18610
18611 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18612 out of memory case.
18613
3a62d00d
AS
186142011-10-04 Andreas Schwab <schwab@redhat.com>
18615
18616 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18617 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18618 pass it down.
18619 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18620 elf_machine_rela, elf_machine_lazy_rel.
18621 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18622 (ELF_DYNAMIC_DO_REL): Likewise.
18623 (ELF_DYNAMIC_DO_RELA): Likewise.
18624 (ELF_DYNAMIC_RELOCATE): Likewise.
18625 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18626 to ELF_DYNAMIC_DO_REL.
18627 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18628 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18629 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18630 elf_machine_rela.
18631 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18632 skip_ifunc, don't call ifunc function if non-zero.
18633 (elf_machine_rela): Likewise.
18634 (elf_machine_lazy_rel): Likewise.
18635 (elf_machine_lazy_rela): Likewise.
18636 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18637 (elf_machine_lazy_rel): Likewise.
18638 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18639 Likewise.
18640 (elf_machine_lazy_rel): Likewise.
18641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18642 Likewise.
18643 (elf_machine_lazy_rel): Likewise.
18644 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18645 (elf_machine_lazy_rel): Likewise.
18646 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18647 (elf_machine_lazy_rel): Likewise.
18648 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18649 (elf_machine_lazy_rel): Likewise.
18650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18651 (elf_machine_lazy_rel): Likewise.
18652 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18653 (elf_machine_lazy_rel): Likewise.
18654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18655 (elf_machine_lazy_rel): Likewise.
18656
68577918
UD
186572011-09-28 Ulrich Drepper <drepper@gmail.com>
18658
18659 * nss/nss_files/files-init.c (_nss_files_init): Use static
18660 initialization for all the *_traced_file variables.
18661
68822d74
AS
186622011-09-28 Andreas Schwab <schwab@redhat.com>
18663
18664 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18665
2056100b
RM
186662011-09-27 Roland McGrath <roland@hack.frob.com>
18667
18668 [BZ #13226]
18669 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18670
32c76b63
AS
186712011-09-27 Andreas Schwab <schwab@redhat.com>
18672
18673 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18674 Reread the line before reparsing it.
18675
bf972c9d
AS
186762011-09-26 Andreas Schwab <schwab@redhat.com>
18677
18678 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18679
e057a1b5
JM
186802011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18681 Maxim Kuvyrkov <maxim@codesourcery.com>
18682 Joseph Myers <joseph@codesourcery.com>
18683
18684 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18685 if needed for __stack_chk_guard.
18686
bc7e1c36
RM
186872011-09-19 Roland McGrath <roland@hack.frob.com>
18688
ecb1482f
RM
18689 * sysdeps/posix/spawni.c (script_execute): Always define it.
18690 It will be optimized away if unused.
18691 (maybe_script_execute): New function.
18692 (__spawni): Call it.
18693
bc7e1c36
RM
18694 * Makerules: Don't include tls.make.
18695 (config-tls): Always set to thread.
18696 * tls.make.c: File removed.
18697
1c3b002b
MF
186982011-09-19 Mike Frysinger <vapier@gentoo.org>
18699
18700 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18701 * config.make.in (CPPFLAGS-config): New substituted variable.
18702
2840865d
UD
187032011-09-15 Ulrich Drepper <drepper@gmail.com>
18704
88738eb6
UD
18705 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18706
cbf645a6 18707 [BZ #13192]
2840865d
UD
18708 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18709 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18710
b402e91a
RM
187112011-09-15 Roland McGrath <roland@hack.frob.com>
18712
18713 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18714 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18715 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18716 (CALL_FAIL): Likewise.
18717 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18718 (CALL_FAIL): Macro removed.
18719 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18720
4c1a1f71
UD
187212011-09-15 Ulrich Drepper <drepper@gmail.com>
18722
18723 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18724 for __FINITE_MATH_ONLY__ == 1.
18725
edc121be
AS
187262011-09-15 Andreas Schwab <schwab@redhat.com>
18727
18728 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18729 __ieee754_sqrt instead of sqrt.
18730 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18731 __ieee754_sqrtf instead of sqrtf.
18732 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18733 __floorf instead of floorf.
18734 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18735 __floorf, __truncf instead of floorf, truncf.
18736
cd205654
UD
187372011-09-14 Ulrich Drepper <drepper@gmail.com>
18738
ee4d0315
UD
18739 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18740
cd205654
UD
18741 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18742 __extern_always_inline.
18743 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18744 32-bit.
18745
48b67d71
AS
187462011-09-14 Andreas Schwab <schwab@redhat.com>
18747
18748 * elf/rtld.c (dl_main): Also relocate in dependency order when
18749 doing symbol dependency testing.
18750
1ae12c75
AS
187512011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18752
18753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18754 Always define `refsym'.
18755
995a80df
AS
187562011-09-13 Andreas Schwab <schwab@redhat.com>
18757
e529793b
AS
18758 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18759 (__FD_ELT): Renamed from __FDELT.
18760 * misc/bits/select2.h (__FD_ELT): Likewise.
18761 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18762 __FD_MASK instead of __FDELT, __FDMASK.
18763 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18764 Likewise.
18765 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18766 Likewise.
18767
52d4fef8
AS
18768 * elf/Makefile (gen-ldd): Fix pattern.
18769
995a80df
AS
18770 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18771 (init_tls): Likewise.
18772
8682f8b0
UD
187732011-09-12 Ulrich Drepper <drepper@gmail.com>
18774
18775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18776
de82006d
AS
187772011-09-12 Andreas Schwab <schwab@redhat.com>
18778
a7c8e6a1
AS
18779 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18780 `struct cmsghdr *' instead of `void *'.
18781 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18782 Likewise.
18783
0f31fe77
AS
187842011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18785
18786 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18787 if non-absolute.
18788 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18789 ldd_rewrite_script.
0f31fe77 18790
32b4c839
UD
187912011-09-11 Ulrich Drepper <drepper@gmail.com>
18792
83cd1420
UD
18793 * configure.in: Remove --with-tls option.
18794 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18795 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18796 out in case it is missing.
18797 * sysdeps/ia64/elf/configure.in: Likewise.
18798 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18799 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18800 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18801 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18802 * sysdeps/sh/elf/configure.in: Likewise.
18803 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18804 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18805 * sysdeps/x86_64/elf/configure.in: Likewise.
18806 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18807 * sysdeps/mach/hurd/tls.h: Likewise.
18808
633f745d
UD
18809 [BZ #13067]
18810 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18811
f318beb8
UD
18812 [BZ #13090]
18813 * configure.in: Fix use of AC_INIT.
18814
32b4c839
UD
18815 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18816
3ce1f295
UD
188172011-09-10 Ulrich Drepper <drepper@gmail.com>
18818
bb016596
UD
18819 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18820 __set_errno.
8e58439c
UD
18821 * malloc/hooks.c: Likewise.
18822
aebae053 18823 [BZ #11929]
02d46fc4
UD
18824 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18825 variables statically.
18826 (narenas): Initialize.
18827 (list_lock): Initialize.
bb016596
UD
18828 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18829 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18830 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18831 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18832 Add initializers to main_arena and mp_.
18833 (malloc_state): Remove pagesize member. Change all users to use
18834 GLRO(dl_pagesize).
18835
18836 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18837 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18838 is always initialized.
18839
22a89187
UD
18840 * malloc/malloc.c: Removed unused configurations and dead code.
18841 * malloc/arena.c: Likewise.
18842 * malloc/hooks.c: Likewise.
02d46fc4 18843 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18844
d063d164
UD
18845 * include/tls.h: Removed. USE___THREAD must always be defined.
18846 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18847 * elf/dl-libc.c: Likewise.
18848 * elf/dl-tsd.c: Likewise.
18849 * include/errno.h: Likewise.
18850 * include/netdb.h: Likewise.
18851 * include/resolv.h: Likewise.
18852 * inet/herrno-loc.c: Likewise.
18853 * inet/herrno.c: Likewise.
18854 * malloc/arena.c: Likewise.
18855 * malloc/hooks.c: Likewise.
18856 * malloc/malloc.c: Likewise.
18857 * resolv/res-state.c: Likewise.
18858 * resolv/res_libc.c: Likewise.
18859 * sysdeps/i386/dl-machine.h: Likewise.
18860 * sysdeps/ia64/dl-machine.h: Likewise.
18861 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18862 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18863 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18864 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18865 * sysdeps/sh/dl-machine.h: Likewise.
18866 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18867 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18868 * sysdeps/unix/i386/sysdep.S: Likewise.
18869 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18870 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18872 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18873 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18874 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18875 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18879 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18880 * sysdeps/x86_64/dl-machine.h: Likewise.
18881 * tls.make.c: Likewise.
18882
3ce1f295
UD
18883 * configure.in: Remove --with-__thread option. Make tests for
18884 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18885 tls_model attribute fail if no support is available. Remove
18886 USE_IN_LIBIO.
18887 * Makeconfig: Adjust for dropped configure option. All features are
18888 now mandatory.
18889 * Makerules: Likewise.
18890 * Versions.def: Likewise.
18891 * argp/argp-fmtstream.c: Likewise.
18892 * argp/argp-fmtstream.h: Likewise.
18893 * argp/argp-help.c: Likewise.
18894 * assert/assert.c: Likewise.
18895 * config.h.in: Likewise.
18896 * config.make.in: Likewise.
18897 * configure: Likewise.
18898 * configure.in: Likewise.
18899 * csu/Versions: Likewise.
18900 * csu/init.c: Likewise.
18901 * elf/tst-audit2.c: Likewise.
18902 * elf/tst-tls10.c: Likewise.
18903 * elf/tst-tls10.h: Likewise.
18904 * elf/tst-tls11.c: Likewise.
18905 * elf/tst-tls12.c: Likewise.
18906 * elf/tst-tls14.c: Likewise.
18907 * elf/tst-tlsmod11.c: Likewise.
18908 * elf/tst-tlsmod12.c: Likewise.
18909 * elf/tst-tlsmod13.c: Likewise.
18910 * elf/tst-tlsmod13a.c: Likewise.
18911 * elf/tst-tlsmod14a.c: Likewise.
18912 * elf/tst-tlsmod15b.c: Likewise.
18913 * elf/tst-tlsmod16a.c: Likewise.
18914 * elf/tst-tlsmod16b.c: Likewise.
18915 * elf/tst-tlsmod7.c: Likewise.
18916 * elf/tst-tlsmod8.c: Likewise.
18917 * elf/tst-tlsmod9.c: Likewise.
18918 * gmon/gmon.c: Likewise.
18919 * grp/fgetgrent_r.c: Likewise.
18920 * grp/putgrent.c: Likewise.
18921 * hurd/fopenport.c: Likewise.
18922 * include/libc-symbols.h: Likewise.
18923 * include/tls.h: Likewise.
18924 * intl/gettextP.h: Likewise.
18925 * intl/loadinfo.h: Likewise.
18926 * locale/global-locale.c: Likewise.
18927 * locale/localeinfo.h: Likewise.
18928 * mach/devstream.c: Likewise.
18929 * malloc/arena.c: Likewise.
18930 * malloc/set-freeres.c: Likewise.
18931 * misc/err.c: Likewise.
18932 * misc/getttyent.c: Likewise.
18933 * misc/mntent_r.c: Likewise.
18934 * posix/getopt.c: Likewise.
18935 * posix/wordexp.c: Likewise.
18936 * pwd/fgetpwent_r.c: Likewise.
18937 * resolv/Versions: Likewise.
18938 * resolv/res_hconf.c: Likewise.
18939 * shadow/fgetspent_r.c: Likewise.
18940 * shadow/putspent.c: Likewise.
18941 * stdio-common/printf_fphex.c: Likewise.
18942 * stdio-common/tmpfile.c: Likewise.
18943 * stdlib/abort.c: Likewise.
18944 * stdlib/fmtmsg.c: Likewise.
18945 * sunrpc/auth_unix.c: Likewise.
18946 * sunrpc/clnt_perr.c: Likewise.
18947 * sunrpc/clnt_tcp.c: Likewise.
18948 * sunrpc/clnt_udp.c: Likewise.
18949 * sunrpc/clnt_unix.c: Likewise.
18950 * sunrpc/openchild.c: Likewise.
18951 * sunrpc/svc_simple.c: Likewise.
18952 * sunrpc/svc_tcp.c: Likewise.
18953 * sunrpc/svc_udp.c: Likewise.
18954 * sunrpc/svc_unix.c: Likewise.
18955 * sunrpc/xdr.c: Likewise.
18956 * sunrpc/xdr_array.c: Likewise.
18957 * sunrpc/xdr_rec.c: Likewise.
18958 * sunrpc/xdr_ref.c: Likewise.
18959 * sunrpc/xdr_stdio.c: Likewise.
18960
1248c1c4
PB
189612011-09-09 Ulrich Drepper <drepper@gmail.com>
18962
18963 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18964
189652011-07-03 Andreas Jaeger <aj@suse.de>
18966
18967 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18968 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18969 regenerate with gen-libm-tests.pl.
18970
189712010-05-12 Petr Baudis <pasky@suse.cz>
18972
18973 [BZ #11589]
18974 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18975 around j0() zero points by switching to j1().
18976 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18980
f22e1074
UD
189812011-09-09 Ulrich Drepper <drepper@gmail.com>
18982
f19009c1
UD
18983 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18984 instead of 0.
18985 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18986 instead of 0. .
18987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18988 Patch in part by Pavel Roskin <proski@gnu.org>.
18989
3f8cc204
UD
18990 [BZ #13138]
18991 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18992 realloc.
18993 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18994 Free memory block if necessary.
18995
f22e1074
UD
18996 [BZ #12847]
18997 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18998 be NULL. Don't lock in this case.
18999
0a2349f9
RM
190002011-09-09 Roland McGrath <roland@hack.frob.com>
19001
19002 * elf/elf.h (ELFOSABI_GNU): New macro.
19003 (ELFOSABI_LINUX): Define to that.
19004
f3cdd467
DZ
190052011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19006
19007 * string/strncat.c (strncat): Undef the symbol in case it has been
19008 defined in bits/string.h.
19009
74718d13
UD
190102011-09-09 Ulrich Drepper <drepper@gmail.com>
19011
633e9e0f
UD
19012 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19013
0a2349f9 19014 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19015 link map.
19016
f9924780
AJ
190172011-08-17 Andreas Jaeger <aj@suse.de>
19018
19019 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19020
7f5517aa
PP
190212011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19022 Ian Lance Taylor <iant@google.com>
19023
19024 * math/libm-test.inc (lround_test): New testcase.
19025 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19026
762011fe
UD
190272011-09-08 Ulrich Drepper <drepper@gmail.com>
19028
92963737
UD
19029 * Makefile: Remove support for automatic cvs check-ins.
19030 * Makerules: Likewise.
19031 * config.make.in: Likewise.
19032 * configure.in: Likewise.
19033 * intl/Makefile: Likewise.
19034 * locale/Makefile: Likewise.
19035 * po/Makefile: Likewise.
19036 * posix/Makefile: Likewise.
19037 * sysdeps/gnu/Makefile: Likewise.
19038 * sysdeps/mach/hurd/Makefile: Likewise.
19039 * sysdeps/sparc/sparc32/Makefile: Likewise.
19040
b0727fd8
JS
19041 [BZ #13118]
19042 * posix/Makefile (bug-regex32-ENV): Define.
19043 Patch by John Stanley <jpsinthemix@verizon.net>.
19044
a0f33f99
UD
19045 * misc/Makefile (headers): Add bits/select2.h.
19046 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19047 * misc/bits/select2.h: New file.
19048 * include/bits/select2.h: New file.
19049 * debug/Makefile (routines): Add fdelt_chk.
19050 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19051 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19052 FD_ISSET.
19053 * debug/fdelt_chk.c: New file.
19054
762011fe
UD
19055 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19056 * wcsmbs/test-wmemcmp.c: Likewise.
19057 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19058 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19059
190602011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19061
19062 * string/Makefile (strop-tests): Add memcmp.
19063 * string/test-wmemcmp.c: New file.
19064 * string/test-memcmp.c: Add wmemcmp support.
19065
7f513ec8
RM
190662011-09-08 Roland McGrath <roland@hack.frob.com>
19067
0442afb4
RM
19068 [BZ #13153]
19069 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19070 2011-07-19 change.
19071
7f513ec8
RM
19072 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19073 garbage value in a __mach_port_mod_refs call in the cases of the
19074 task-self and thread-self ports.
19075
a12b2239
ST
190762011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19077
19078 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19079
610f9ab4
AS
190802011-09-08 Andreas Schwab <schwab@redhat.com>
19081
7f513ec8 19082 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19083
48882a1a
LD
190842011-09-07 Ulrich Drepper <drepper@gmail.com>
19085
b49865be
UD
19086 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19087
fdc86bc9
UD
19088 * elf/dl-libc.c (dlerror_run): Pass back error code from
19089 dl_catch_error.
19090
c966526a
UD
19091 [BZ #13123]
19092 * elf/dl-load.c (lose): Free l_origin if it is valid.
19093
48882a1a
LD
19094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19095 names.
19096 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19097 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19099 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19100 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19101 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19102
77a2a8b4
AZ
191032011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19104
19105 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19106 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19107 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19108 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19109 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19110 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19111 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19112 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19113 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19114 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19115
24f579d8
AM
191162011-08-15 Alan Modra <amodra@gmail.com>
19117
19118 [BZ #13092]
19119 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19120 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19121 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19122 ppc_mcount to static-only-routines.
19123 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19124 __mcount_internal.
19125 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19126 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19127
3d4837df
UD
191282011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19129
19130 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19131 for finite and infinity parameters.
19132
22700377
WS
191332011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19134
19135 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19136 and add nop instructions for throughput optimization.
19137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19138
5025581e
WS
191392011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19140
19141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19142 aligned copy for power7 with vector-scalar instructions.
19143 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19144
08a300c9
L
191452011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19146
19147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19148 AVX check.
19149
59178ef9
AS
191502011-09-07 Andreas Schwab <schwab@redhat.com>
19151
19152 [BZ #13144]
19153 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19154 last change.
19155
e38ba7ab
UD
191562011-09-07 Ulrich Drepper <drepper@gmail.com>
19157
19158 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19159 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19160 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19161 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19162 clock_gettime.
19163
d53a73ac
UD
191642011-09-06 Ulrich Drepper <drepper@gmail.com>
19165
fc8bffcc
UD
19166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19167 Forgot to demangle the pointer.
19168
ceaa0c5d
UD
19169 * sysdeps/i386/sysdep.h: Define atom_text_section.
19170 * sysdeps/x86_64/sysdep.h: Likewise.
19171 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19172 section with atom_text_section.
19173 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19175 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19176 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19177 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19178
a77d3c17
UD
19179 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19180 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19181 already be defined. Change to take two parameters and don't assign
19182 result to variable. Adjust all users.
19183 Define INTERNAL_GETTIME if not already defined.
19184 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19185 call.
19186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19187 HAVE_CLOCK_GETTIME_VSYSCALL.
19188 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19189
d53a73ac
UD
19190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19191 gettimeofday vsyscall, just use time.
19192
a8f84144
AS
191932011-09-06 Andreas Schwab <schwab@redhat.com>
19194
19195 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19196 <errno.h>.
19197
ef606249
UD
191982011-09-06 Ulrich Drepper <drepper@gmail.com>
19199
19200 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19201 syscall on x86-64.
19202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19203 syscall.
19204 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19205 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19206 syscall if possible.
19207
6585cb60
UD
192082011-09-05 Ulrich Drepper <drepper@gmail.com>
19209
19210 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19211 e_ident. Don't pass to find_mapsXX.
19212 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19213
a5f524e4
LD
192142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19215
19216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19217 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19218 * sysdeps/x86_64/multiarch/strchr.S: Update.
19219 Check bit_slow_BSF bit.
19220 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19221 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19222 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19223
554881ef
UD
192242011-09-05 Ulrich Drepper <drepper@gmail.com>
19225
d96de963
UD
19226 [BZ #13134]
19227 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19228 before glibc 2.15.
19229 (tryshell): Define.
19230 (__spawni): Change last parameter to be flag. Test
19231 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19232 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19233 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19234 * posix/spawni.c: Likewise.
19235 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19236 * posix/spawnp.c: Likewise. Change normal version to use
19237 SPAWN_XFLAGS_USE_PATH.
19238 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19239 SPAWN_XFLAGS_TRY_SHELL.
19240
d48e5868
UD
19241 [BZ #13150]
19242 * posix/glob.h: Remove gcc 1.x support.
19243
554881ef
UD
19244 [BZ #13068]
19245 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19246
693fb948
LD
192472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19248
19249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19250 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19251 strrchr-sse2-bsf
19252 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19253 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19254 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19255 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19256 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19257 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19258
1b48c537
UD
192592011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19260
49d42c37
UD
19261 * sysdeps/x86_64/wcscmp.S: New file.
19262
1b48c537
UD
19263 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19264 wcscmp-c wcscmp-sse2
19265 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19266 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19267 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19268 * wcsmbs/wcscmp.c: Allow renaming.
19269
15c95c5d
DM
192702011-09-05 David S. Miller <davem@davemloft.net>
19271
19272 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19273 stack slot, rather than the struct return pointer slot.
19274 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19275 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19277 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19278
2f0ad8f3
UD
192792011-09-05 Ulrich Drepper <drepper@gmail.com>
19280
d88ae418
UD
19281 * po/ja.po: Update from translation team.
19282
2f0ad8f3
UD
19283 [BZ #13144]
19284 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19285 kernel in 64-bit binaries.
19286
5f4318d1
DM
192872011-09-01 David S. Miller <davem@davemloft.net>
19288
19289 * elf/elf.h (HWCAP_SPARC_*): Move to..
19290 * sysdeps/sparc/sysdep.h: this new file and add new values.
19291 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19292 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19293 _DL_HWCAP_COUNT to 24.
19294 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19295 entries.
19296 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19297 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19298 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19300 instead of magic constants.
19301 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19302
3ba57516
DM
193032011-08-31 David S. Miller <davem@davemloft.net>
19304
19305 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19307 Reimplement to do errno handling inline.
19308 (SYSCALL_ERROR_HANDLER): New macro.
19309 (__SYSCALL_STRING): Do not do errno handling in asm.
19310 (__CLONE_SYSCALL_STRING): Delete.
19311 (__INTERNAL_SYSCALL_STRING): Delete.
19312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19313 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19314 (PSEUDO): Reimplement to do errno handling inline.
19315 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19316 (SYSCALL_ERROR_HANDLER): New macro.
19317 (__SYSCALL_STRING): Do not do errno handling in asm.
19318 (__CLONE_SYSCALL_STRING): Delete.
19319 (__INTERNAL_SYSCALL_STRING): Delete.
19320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19321 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19322 i386.
19323 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19324 (inline_syscall*): Add 'err' argument.
19325 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19326 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19327 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19328 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19329
19330 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19331 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19332
2bc17433
AS
193332011-08-30 Andreas Schwab <schwab@redhat.com>
19334
19335 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19336
fbeb5f4d
JO
193372011-08-29 Jiri Olsa <jolsa@redhat.com>
19338
19339 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19340 directive.
19341
ad69cc26
DM
193422011-08-24 David S. Miller <davem@davemloft.net>
19343
19344 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19345
39dd69df
AS
193462011-08-24 Andreas Schwab <schwab@redhat.com>
19347
19348 * elf/Makefile: Add rules to build and run unload8 test.
19349 * elf/unload8.c: New file.
19350 * elf/unload8mod1.c: New file.
19351 * elf/unload8mod1x.c: New file.
19352 * elf/unload8mod2.c: New file.
19353 * elf/unload8mod3.c: New file.
19354
19355 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19356 it wasn't used.
19357
2c0b250a
DM
193582011-08-23 David S. Miller <davem@davemloft.net>
19359
19360 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19361 subtract stack bias.
19362 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19363 %sp not %fp in calculations.
19364 (_JMPBUF_UNWINDS_ADJ): Likewise.
19365
22044b48
DM
19366 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19367 (aio_suspend): Call it to force an exception region around the
19368 AIO_MISC_WAIT() invocation.
19369
2cae4995
AS
193702011-08-23 Andreas Schwab <schwab@redhat.com>
19371
19372 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19373 backslash.
19374
873a772e
AJ
193752011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19376
19377 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19378 protection macro.
19379 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19380 and <dl-machine.h>.
19381 (Elf64_FuncDesc): Remove.
19382
25ad0df1
DM
193832011-08-22 David S. Miller <davem@davemloft.net>
19384
19385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19386 sigaltstack check, add missing cfi directives.
19387 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19388 missing cfi directives, and sigaltstack handling.
19389
e888bcbe
AS
193902011-08-16 Andreas Schwab <schwab@redhat.com>
19391
19392 [BZ #11724]
19393 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19394 object is seen twice.
19395 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19396
19397 * elf/Makefile (distribute): Add tst-initorder2.c.
19398 (tests): Add tst-initorder2.
19399 (modules-names): Add tst-initorder2a tst-initorder2b
19400 tst-initorder2c tst-initorder2d. Add rules to build them.
19401 ($(objpfx)tst-initorder2.out): New rule.
19402 * elf/tst-initorder2.c: New file.
19403 * elf/tst-initorder2.exp: New file.
19404
87162f46
AS
194052011-08-22 Andreas Schwab <schwab@redhat.com>
19406
70538b7f
AS
19407 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19408
f55ffe58
AS
19409 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19410 dependencies back to end of function.
19411
87162f46
AS
19412 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19413 $(elfobjdir)/ld.so.
19414
91b392a4
UD
194152011-08-21 Ulrich Drepper <drepper@gmail.com>
19416
19417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19418 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19420 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19421 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19422 of __vdso_gettimeofday.
19423 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19424 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19425 attribute_hidden.
19426 (_libc_vdso_platform_setup): Remove initialization of
19427 __vdso_gettimeofday and __vdso_time.
19428
5c43483f
UD
194292011-08-20 Ulrich Drepper <drepper@gmail.com>
19430
775a77e7
UD
19431 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19432 and fgetc_unlocked.
19433 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19434 getc_unlocked.
89f447ed 19435
49c74ba9
UD
19436 * elf/dl-open.c (add_to_global): Report additions to the global scope
19437 for LD_DEBUG=scopes.
19438 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19439 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19440
5c43483f
UD
19441 [BZ #13114]
19442 * stdio-common/Makefile (tests): Add bug24.
19443 * stdio-common/bug24.c: New file.
19444
a101b025
AJ
194452011-08-19 Andreas Jaeger <aj@suse.de>
19446
19447 [BZ #13114]
19448 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19449 non-existant file when using close-on-exec mode.
19450
c88f1766
UD
194512011-08-20 Ulrich Drepper <drepper@gmail.com>
19452
0276a718
UD
19453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19454 the very first instruction.
19455
c88f1766
UD
19456 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19457 the CFI state in the end.
19458 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19459 inclusion of dl-trampoline.h.
19460 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19461
51ccffa0
AS
194622011-08-19 Andreas Schwab <schwab@redhat.com>
19463
94d7165f
AS
19464 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19465 expectations for long double.
19466
51ccffa0
AS
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19468 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19469
fd708658 194702011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19471
19472 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19473 artificual limit depends upon the system page size.
19474
44f0a71e
UD
194752011-08-17 Ulrich Drepper <drepper@gmail.com>
19476
19477 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19478 * resolv/Makefile: Define CFLAGS-libresolv.
19479
8de79a24
AS
194802011-08-17 Andreas Schwab <schwab@redhat.com>
19481
19482 * nss/makedb.c (compute_tables): Make variables used in nested
19483 function static.
19484
27724598
UD
194852011-08-17 Ulrich Drepper <drepper@gmail.com>
19486
c5305d88
UD
19487 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19488 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19489 if buffer was too small.
19490
27724598
UD
19491 * elf/pldd.c (main): Attach to all threads in the process.
19492 Rewrite /proc handling to use *at functions.
19493
076fe015
UD
194942011-08-16 Ulrich Drepper <drepper@gmail.com>
19495
174baab3
UD
19496 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19497 specifies first scope to show.
19498 (dl_open_worker): Update callers. Move printing scope of new
19499 object to before the relocation.
44f0a71e 19500 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19501 * sysdeps/generic/ldsodefs.h: Update declaration.
19502
076fe015
UD
19503 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19504 string for the scope number.
19505
a60df2c3
UD
195062011-08-14 Ulrich Drepper <drepper@gmail.com>
19507
19508 * nscd/servicescache.c (cache_addserv): Make sure written is always
19509 initialized.
19510
5e4287d1
RM
195112011-08-14 Roland McGrath <roland@hack.frob.com>
19512
85ae0589
RM
19513 * sysdeps/i386/i486/bits/atomic.h
19514 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19515 statement expression, so as to suppress "set but not used" warning.
19516 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19517
69f63097
RM
19518 * string/strncat.c (STRNCAT): Use prototype definition.
19519
675456ef
RM
19520 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19521 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19522 -Iprograms here.
19523 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19524 (localedef-modules): Add localedef.
19525 (locale-modules): Add locale.
19526
5e4287d1
RM
19527 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19528 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19529 to avoid a warning.
19530
9c96ff23
DM
195312011-08-14 David S. Miller <davem@davemloft.net>
19532
19533 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19534 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19535
f9ddf089
UD
195362011-08-13 Ulrich Drepper <drepper@gmail.com>
19537
44f0a71e 19538 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19539 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19540 * elf/rtld.c (dl_main): Set l_name of vDSO.
19541 Call _dl_show_scope when DL_DEBUG_SCOPES.
19542 (process_dl_debug): Recognize scopes flag and also set it for all.
19543 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19544 Declare _dl_show_scope.
19545
1dc27704
UD
19546 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19547 (do_dlopen): Pass caller_dlopen to dl_open.
19548 (__libc_dlopen_mode): Initialize caller_dlopen.
19549
f9ddf089
UD
19550 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19551 of libc. Make tolower call locale-independent. Optimize a bit by
19552 using isdigit instead of isalnum.
19553 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19554
9ac533d3
UD
195552011-08-12 Ulrich Drepper <drepper@gmail.com>
19556
19557 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19558 was a dependency or dynamically loaded.
19559
89edf2e9
UD
195602011-08-11 Ulrich Drepper <drepper@gmail.com>
19561
8e999d29
UD
19562 * intl/l10nflist.c: Allow architecture-specific pop function.
19563 * sysdeps/x86_64/l10nflist.c: New file.
19564
89edf2e9
UD
19565 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19566 classification.
19567
14d96785
AS
195682011-08-10 Andreas Schwab <schwab@redhat.com>
19569
19570 * include/dirent.h: Add libc_hidden_proto for scandirat and
19571 scandirat64. Don't declare __scandirat64.
19572 * dirent/scandirat.c: Add libc_hidden_def.
19573 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19574 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19575
6761ac04
DM
195762011-08-10 David S. Miller <davem@davemloft.net>
19577
19578 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19579 enum.
19580 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19581 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19582 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19583
c55fbd1e
UD
195842011-08-09 Ulrich Drepper <drepper@gmail.com>
19585
19586 * Versions.def [libc]: Add GLIBC_2.15.
19587 * dirent/Makefile (routines): Add scandirat and scandirat64.
19588 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19589 GLIBC_2.15.
19590 * dirent/dirent.h: Declare scandirat and scandirat64.
19591 * dirent/scandirat.c: New file.
19592 * dirent/scandirat64.c: New file.
19593 * sysdeps/wordsize-64/scandirat.c: New file.
19594 * sysdeps/wordsize-64/scandirat64.c: New file.
19595 * dirent/opendir.c: Define opendirat.
19596 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19597 using scandirat.
19598 * dirent/scandir64.c: Adjust for scandir.c change.
19599 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19600 __scandirat64, and __scandir_cancel_handler.
19601 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19602 additional parameter and use openat instead of open (outside of ld.so).
19603 Add new __opendir as wrapper around __opendirat.
19604 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19605 here without requiring old scandirat implementation.
19606
879165f2
UD
196072011-08-08 Ulrich Drepper <drepper@gmail.com>
19608
19609 * dirent/scandir.c (cancel_handler): Renamed to
19610 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19611 defined. Adjust users.
19612 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19613 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19614
cb7e923b
UD
196152011-08-04 Ulrich Drepper <drepper@gmail.com>
19616
16292edd
UD
19617 * string/test-string.h (IMPL): Use __STRING to expand name and then
19618 stringify it.
19619
cb7e923b
UD
19620 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19621 of cleanups.
19622
cff82933
LD
196232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19624
19625 * string/Makefile: Update.
19626 (strop-tests): Append strncat.
19627 * string/test-wcscmp.c: New file.
19628 New comprehensive test for wcscmp.
19629 * string/test-strcmp.c: Update.
19630 (WIDE): New define.
19631
9be9bfcc
AS
196322011-07-22 Andreas Schwab <schwab@redhat.com>
19633
19634 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19635 line.
19636
2e96f1c7
AS
196372011-07-26 Andreas Schwab <schwab@redhat.com>
19638
19639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19640 encoding to ACE if AI_IDN.
19641
85188888
JJ
196422011-08-01 Jakub Jelinek <jakub@redhat.com>
19643
19644 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19645 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19646
5fa16e9b
LD
196472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19648
19649 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19650 Fix overflow bug in strncat.
19651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19652
19653 * string/test-strncat.c: Update.
19654 Add new tests for checking overflow bugs.
19655
196562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19657
19658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19659 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19660 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19661 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19662 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19663 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19664 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19665 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19666 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19667
19668 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19669 (USE_AS_STRCAT): Define.
19670 Add strcat and strncat support.
19671 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19672
8c1a459f
AS
196732011-07-25 Andreas Schwab <schwab@redhat.com>
19674
19675 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19676 __n bigger than INT_MAX+1.
19677 (__strncmp_g): Likewise.
19678
bba33c28
UD
196792011-07-23 Ulrich Drepper <drepper@gmail.com>
19680
798be72d
UD
19681 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19682 * libio/stido.h: Likewise.
19683
8accd4dc
UD
19684 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19685 (AF_NFC): Define.
19686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19687 (AF_NFC): Define.
19688
cbff0d96
UD
19689 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19690 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19692 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19693 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19694
9191c04a
UD
19695 [BZ #13021]
19696 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19697 installed.
19698
bba33c28
UD
19699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19700 typo.
19701 (_dl_x86_64_save_sse): Likewise.
19702
90f139dd
UD
197032011-07-22 Ulrich Drepper <drepper@gmail.com>
19704
1aae088a
UD
19705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19706 OSXSAVE.
19707 (_dl_x86_64_save_sse): Likewise.
19708
8e2045f5
UD
19709 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19710
90f139dd
UD
19711 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19712
1d002f25
AS
197132011-07-21 Andreas Schwab <schwab@redhat.com>
19714
19715 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19716 change.
19717 (_dl_x86_64_save_sse): Use correct AVX check.
19718
21137f89
UD
197192011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19720
19721 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19722 bug in strncpy/strncat.
19723 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19724
a65c0b7a
UD
197252011-07-21 Ulrich Drepper <drepper@gmail.com>
19726
19727 * string/tester.c (test_strcat): Add tests for different alignments
19728 of source and destination.
19729 (test_strncat): Likewise.
19730
6986b98a
UD
197312011-07-20 Ulrich Drepper <drepper@gmail.com>
19732
90bb2039
UD
19733 [BZ #12852]
19734 * posix/glob.c (glob): Check passed in values before using them in
19735 expressions to avoid some overflows.
19736 (glob_in_dir): Likewise.
19737
5644ef54
UD
19738 [BZ #13007]
19739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19740 check for AVX enablement so that we don't crash with old kernels and
19741 new hardware.
19742 * elf/tst-audit4.c: Add same checks here.
19743 * elf/tst-audit6.c: Likewise.
19744
19745 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19746
bfc9dc9b
AS
197472011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19748
19749 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19750
702e64bb
UD
197512011-07-20 Ulrich Drepper <drepper@gmail.com>
19752
19753 * po/cs.po: Update from translation team.
19754 * po/bg.po: Likewise.
19755
295e904f
MP
197562011-07-12 Marek Polacek <mpolacek@redhat.com>
19757
19758 * misc/sys/cdefs.h: Add support for const attribute.
19759 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19760 to gnu_dev_{major,minor,makedev} functions.
19761
3ff94596
MP
197622011-07-20 Marek Polacek <mpolacek@redhat.com>
19763
19764 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19765
28b59fca
AS
197662011-07-20 Andreas Schwab <schwab@redhat.com>
19767
19768 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19769 strlen results.
19770
19df733e
AK
197712011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19772
19773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19774 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19775 register in order to avoid conflicts with the soft frame pointer
19776 being held in r11 when necessary.
19777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19778 (INTERNAL_VSYSCALL_NCS): Likewise.
19779
c8835729
MP
197802011-07-14 Marek Polacek <mpolacek@redhat.com>
19781
19782 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19783 * elf/dl-fini.c (_dl_fini): Adjust caller.
19784 * elf/dl-close.c (_dl_close_worker): Likewise.
19785 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19786
b902330c
MP
197872011-07-15 Marek Polacek <mpolacek@redhat.com>
19788
8991e135
MP
19789 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19790 "aux_cache->nlibs < 0".
19791
b902330c
MP
19792 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19793 in the reload-count case.
19794
99710781
LD
197952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19796
19797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19798 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19799 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19800 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19801 * sysdeps/x86_64/multiarch/strcat.S: New file.
19802 * sysdeps/x86_64/multiarch/strncat.S: New file.
19803 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19804 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19805 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19806 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19808 (USE_AS_STRCAT): Define.
19809 Add strcat and strncat support.
19810 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19812 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19813 * string/strncat.c: Update.
19814 (USE_AS_STRNCAT): Define.
19815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19816 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19817 and i7.
19818 * sysdeps/x86_64/multiarch/init-arch.h
19819 (bit_Prefer_PMINUB_for_stringop): New.
19820 (index_Prefer_PMINUB_for_stringop): Likewise.
19821 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19822 bit_Prefer_PMINUB_for_stringop.
19823
7dc6bd90
UD
198242011-07-19 Ulrich Drepper <drepper@gmail.com>
19825
19826 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19827 buffer64.
19828 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19829 of casting of buffer.
19830 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19831 buffer32 and buffer64.
19832 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19833 writes instead of casting of buffer.
19834 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19835 buffer32.
19836 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19837 casting of buffer.
19838
e0e72284
AS
198392011-07-19 Andreas Schwab <schwab@redhat.com>
19840
19841 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19842
feb1eb0b
UD
198432011-07-19 Ulrich Drepper <drepper@gmail.com>
19844
19845 * nscd/nscd.c (termination_handler): Don't do anything for a database
19846 if it has not yet been initialized.
19847
298711ff
UD
198482011-07-18 Ulrich Drepper <drepper@gmail.com>
19849
19850 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19851
198522011-07-15 Marek Polacek <mpolacek@redhat.com>
19853
19854 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19855
f9d68389
UD
198562011-07-18 Ulrich Drepper <drepper@gmail.com>
19857
19858 * po/nl.po: Update from translation team.
19859 * po/sv.po: Likewise.
19860
db290cf5
RM
198612011-07-16 Roland McGrath <roland@hack.frob.com>
19862
19863 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19864 now disallowed by GCC.
5c550700 19865
fd5e21c7
RM
19866 * configure.in (use-default-link): Default to yes if a test -shared
19867 link meets our qualifications.
19868 * configure: Regenerated.
19869
5c550700
RM
19870 * config.make.in (output-format): New variable.
19871 * configure.in: Check for ld --print-output-format support.
19872 * configure: Regenerated.
19873 * Makerules ($(common-objpfx)format.lds)
19874 [$(output-format) != unknown]: Just use $(output-format),
19875 instead of the linker-script munging.
19876
9fa2c032
RM
198772011-07-14 Roland McGrath <roland@hack.frob.com>
19878
a6928d51
RM
19879 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19880 of $(common-objpfx)shlib.lds.
19881 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19882
661607b3
RM
19883 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19884 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19885
9fa2c032
RM
19886 * configure.in (-z relro check): Adjust test code to add a large
19887 writable data section after it.
19888 * configure: Regenerated.
19889
defe9061
RM
198902011-07-11 Roland McGrath <roland@hack.frob.com>
19891
19892 * configure.in (-z relro check): Fix test code to make the variable
19893 truly const.
19894 * configure: Regenerated.
19895
319b9ad4
UD
198962011-07-11 Ulrich Drepper <drepper@gmail.com>
19897
19898 * nscd/nscd.h (struct traced_file): Define.
19899 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19900 elements. Add traced_files.
19901 (inotify_fd): Declare.
19902 (register_traced_file): Declare.
19903 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19904 (inotify_fd): Export.
19905 (resolv_conf_descr): Remove.
19906 (nscd_init): Move inotify descriptor creation to main.
19907 Don't register files for notification here.
19908 (register_traced_file): New function.
19909 (invalidate_cache): Don't use reset_res to determine whether to call
19910 res_init, go through the list of registered files.
19911 (main_loop_poll): The inotify descriptors are now stored in the
19912 structures for the traced files.
19913 (main_loop_epoll): Likewise
19914 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19915 to __nss_disable_nscd.
19916 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19917 for a database anymore. Check the records for all the registered
19918 files instead.
19919 * nss/Makefile (libnss_files-routines): Add files-init.
19920 (libnss_db-routines): Add db-init.
19921 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19922 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19923 * nss/nss_db/db-init.c: New file.
19924 * nss/nss_files/files-init.c: New file.
19925 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19926 __nss_lookup_function.
19927 (__nss_lookup_function): Call nss_load_library.
19928 (nss_load_all_libraries): New function.
19929 (__nss_disable_nscd): Take parameter with callback function for files
19930 to register. Set is_nscd. Load all the DSOs for the NSS modules
19931 used for the cached services.
19932 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19933 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19934 options for features to all the files in nscd.
19935
19936 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19937
23bee3e8
RM
199382011-07-10 Roland McGrath <roland@hack.frob.com>
19939
19940 * csu/elf-init.c (__libc_csu_init): Comment typo.
19941
46a5b7f0
UD
199422011-07-09 Ulrich Drepper <drepper@gmail.com>
19943
19944 * po/pl.po: Update from translation team.
19945 * po/ja.po: Likewise.
19946 * po/ru.po: Likewise.
19947 * po/ko.po: Likewise.
19948 * po/fr.po: Likewise.
19949
d30cf5bb
RM
199502011-07-09 Roland McGrath <roland@hack.frob.com>
19951
113ddea4
RM
19952 * configure.in (.ctors/.dtors header and trailer check):
19953 Use an empirical test on a built program.
19954 * configure: Regenerated.
19955
574920b4
RM
19956 * configure.in (-z relro check): Use an empirical test on a built DSO.
19957 Detect, but do not require, on ia64.
19958 * configure: Regenerated.
19959
d30cf5bb
RM
19960 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19961 Update tests that use readelf to use $READELF instead.
19962 * configure: Regenerated.
19963
8538fdb3
UD
199642011-07-08 Ulrich Drepper <drepper@gmail.com>
19965
19966 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19967 if the result is not used.
19968
04d08991
AJ
199692011-07-05 Andreas Jaeger <aj@suse.de>
19970
19971 [BZ#9696]
19972 * stdlib/tst-strtod.c: Add testcase.
19973
de283087
AD
199742011-07-07 Ulrich Drepper <drepper@gmail.com>
19975
4e5f31c8 19976 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19977 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19978 The latter has a higher limit. Take additional parameter to pass to
19979 the new function.
19980 (__pathconf): Pass file to __statfs_link_max.
19981 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19982 __statfs_link_max.
19983 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19984 __statfs_link_max.
19985
de283087
AD
19986 [BZ #12868]
19987 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19989 Handle Lustre.
19990 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19991 (__statfs_filesize_max): Likewise.
19992 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19993
c75fa153
AJ
199942011-07-05 Andreas Jaeger <aj@suse.de>
19995
19996 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19997
1a544854
UD
199982011-07-06 Marek Polacek <mpolacek@redhat.com>
19999
20000 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20001 `status' variable.
20002 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20003 Likewise.
20004
6f0eec67
UD
200052011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20006
20007 * Makefile (strop-tests): Add strncat.
20008 * string/test-strncat.c: New file.
20009
aae30307
UD
200102011-06-30 Marek Polacek <mpolacek@redhat.com>
20011
20012 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20013
c0cfb5eb
UD
200142011-06-21 Andreas Jaeger <aj@suse.de>
20015
20016 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20017 Copy rule from iconvdata/Makefile.
20018
01636b21
UD
200192011-07-06 Ulrich Drepper <drepper@gmail.com>
20020
20021 [BZ #12922]
20022 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20023 but no long options are defined, just return 'W'.
20024
9895c8bc
UD
200252011-06-22 Marek Polacek <mpolacek@redhat.com>
20026
20027 [BZ #9696]
20028 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20029
5d4cf042
UD
200302011-07-06 Ulrich Drepper <drepper@gmail.com>
20031
20032 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20033 netgroups to read.
960e5535 20034 (innetgr): Likewise.
5d4cf042 20035
751eb97e
RM
200362011-07-05 Roland McGrath <roland@hack.frob.com>
20037
20038 * config.make.in (install_root): Default to $(DESTDIR).
20039
f15f1e45
UD
200402011-07-05 Ulrich Drepper <drepper@gmail.com>
20041
20042 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20043
4e34ac6a
RM
200442011-07-02 Roland McGrath <roland@hack.frob.com>
20045
5e9b6af4
RM
20046 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20047
84f9ea0f
RM
20048 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20049 containing directory rather than embedding absolute directory names.
20050
ea5ee9f7
RM
20051 * scripts/check-local-headers.sh: Rewritten using awk.
20052 Match by word, not by line. Print error messages for matches.
20053 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20054
1b74661a
RM
20055 * Makerules [shlib-lds-flags empty]:
20056 ($(common-objpfx)libc_pic.opts): New target.
20057 ($(common-objpfx)libc_pic.os.clean): New target.
20058 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20059
20060 * config.make.in (OBJCOPY): New variable.
20061 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20062 * configure: Regenerated.
20063
f781ef40
RM
20064 * config.make.in (use-default-link): New variable.
20065 * configure.in (use_default_link): Grok --with-default-link to set it.
20066 * configure: Regenerated.
20067 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20068 (shlib-lds, shlib-lds-flags): Define to empty.
20069
2d4fa81e
RM
20070 * Makerules (shlib-lds): New variable.
20071 (shlib-lds-flags): New variable.
20072 (build-shlib, build-moduile, build-module-asneeded): Use it.
20073 ($(common-objpfx)libc.so): Use $(shlib-lds).
20074 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20075 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20076
31fffa6b
RM
20077 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20078 DT_FLAGS/DT_FLAGS_1 with zero flags.
20079
4e34ac6a
RM
20080 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20081 linker script munging.
20082
fcfc776b
UD
200832011-07-02 Ulrich Drepper <drepper@gmail.com>
20084
20085 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20086 as 128-bit value.
20087 * crypt/sha512.c (sha512_process_block): Perform total addition using
20088 128-bit if possible.
20089 (__sha512_finish_ctx): Likewise.
20090 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20091 as 64-bit value.
20092 * crypt/sha256.c (SWAP64): Define.
20093 (sha256_process_block): Perform total addition using 64-bit if
20094 possible.
20095 (__sha256_finish_ctx): Likewise.
20096
99231d9a
UD
200972011-07-01 Ulrich Drepper <drepper@gmail.com>
20098
20099 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20100 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20101 * nscd/hstcache.c (cache_addhst): Likewise.
20102 * nscd/grpcache.c (cache_addgr): Likewise.
20103 * nscd/aicache.c (addhstaiX): Likewise
20104 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20105
445b4a53
TK
201062011-07-01 Thorsten Kukuk <kukuk@suse.de>
20107
20108 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20109 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20110 * nscd/hstcache.c (cache_addhst): Likewise.
20111 * nscd/grpcache.c (cache_addgr): Likewise.
20112 * nscd/aicache.c (addhstaiX): Likewise
20113
6d4d8e8e
AS
201142011-07-01 Andreas Schwab <schwab@redhat.com>
20115
20116 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20117 domain only when needed.
20118
89f654c5
AS
201192011-06-30 Andreas Schwab <schwab@redhat.com>
20120
20121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20122 is always restored.
20123
cf3b23ff
UD
201242011-06-29 Ulrich Drepper <drepper@gmail.com>
20125
20126 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20127 are re-adding the entry.
20128 * nscd/servicescache.c (cache_addserv): Likewise.
20129
751626f9
AJ
201302011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20131
20132 * sysdeps/generic/dl-irel.h: fix protection against multiple
20133 inclusions.
20134 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20135
9113ea1f
UD
201362011-06-28 Ulrich Drepper <drepper@gmail.com>
20137
5c0b8d90
UD
20138 [BZ #12935]
20139 * malloc/memusage.sh: Fix quoting in message.
20140 * debug/xtrace.sh: Likewise.
20141
9113ea1f
UD
20142 * configure.in: Remove support for --experimental-malloc option, make
20143 it the default.
20144 * config.make.in: Likewise.
20145 * malloc/Makefile: Likewise.
20146
a4172181
AS
201472011-06-27 Andreas Schwab <schwab@redhat.com>
20148
20149 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20150 two-byte characters.
20151
78a7eee7
RM
201522011-06-27 Roland McGrath <roland@hack.frob.com>
20153
62bede13
RM
20154 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20155 AC_CACHE_CHECK invocation.
20156 * configure: Regenerated.
20157
78a7eee7
RM
20158 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20159
5ce33a62
UD
201602011-06-27 Ulrich Drepper <drepper@gmail.com>
20161
034807a9
UD
20162 [BZ #12350]
20163 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20164 bit from old_res_options.
20165
4902da17
UD
20166 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20167
5ce33a62
UD
20168 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20169 value type for setfct.
20170
c2344f56
L
201712011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20172
20173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20174 __gettimeofday instead of gettimeofday.
20175
68468076
UD
201762011-06-26 Ulrich Drepper <drepper@gmail.com>
20177
20178 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20179
acb0d739
L
201802011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20181
20182 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20183
20184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20185 info.
20186
8912479f
L
201872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20188
20189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20190 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20191 strcpy-sse2-unaligned strncpy-sse2-unaligned
20192 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20193 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20194 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20195 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20196 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20197 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20198 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20199 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20200 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20201 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20202 (STRCPY): Support SSE2 and SSSE3 versions.
20203
d5495a11
UD
202042011-06-24 Ulrich Drepper <drepper@gmail.com>
20205
20206 [BZ #12874]
20207 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20208 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20209 kernels which artificially limit size of requests.
20210
0b1cbaae
L
202112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20212
20213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20214 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20215 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20216 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20217 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20218 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20219 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20220 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20221 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20222 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20223 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20224 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20225 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20226 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20227 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20229 Enable unaligned load optimization for Intel Core i3, i5 and i7
20230 processors.
20231 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20232 Define.
20233 (index_Fast_Unaligned_Load): Define.
20234 (HAS_FAST_UNALIGNED_LOAD): Define.
20235
07f494a0
MP
202362011-06-23 Marek Polacek <mpolacek@redhat.com>
20237
20238 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20239
fa3fc0fe
UD
202402011-06-22 Ulrich Drepper <drepper@gmail.com>
20241
20242 [BZ #12907]
20243 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20244 until it is clear that the information is realy needed.
20245 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20246
e12df166
AS
202472011-06-22 Andreas Schwab <schwab@redhat.com>
20248
20249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20250
852eb34d
UD
202512011-06-22 Ulrich Drepper <drepper@gmail.com>
20252
84e2a551
UD
20253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20254 /sys/devices/system/cpu/online if it is usable.
20255
852eb34d
UD
20256 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20257 reading the information from the /proc filesystem to once a second.
20258
6e502e19
UD
202592011-06-21 Andreas Jaeger <aj@suse.de>
20260
20261 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20262 NULL after inclusion of kernel headers.
20263
75d39ff2
UD
202642011-06-21 Ulrich Drepper <drepper@gmail.com>
20265
51f9aa6a
UD
20266 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20267 calls to internal_setent.
20268
c0244a9d
UD
20269 [BZ #12885]
20270 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20271 addresses using gethostbyname4_r ignore IPv4 addresses.
20272
c5e3c2ae
UD
20273 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20274 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20275
75d39ff2
UD
20276 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20277
42675c6f
DM
202782011-06-20 David S. Miller <davem@davemloft.net>
20279
20280 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20281 inclusions.
20282 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20283
20284 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20285 (elf_irel): Use it.
20286 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20287 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20288 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20289 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20290 * sysdeps/x86_64/dl-irel.h: Likewise.
20291
20292 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20293 * elf/dl-sym.c: Likewise.
20294
57912a71
UD
202952011-06-15 Ulrich Drepper <drepper@gmail.com>
20296
20297 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20298 need to dereference resplen2.
20299
ee22793d
AS
203002011-06-14 Andreas Schwab <schwab@redhat.com>
20301
20302 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20303
a9e836b0
UD
203042011-06-15 Ulrich Drepper <drepper@gmail.com>
20305
77fb9117
UD
20306 * Makeconfig: Define vardbdir and inst_vardbdir.
20307 * nss/Makefile: Add rules to install db-Makefile.
20308
40c1b22c
UD
20309 * nss/nss_db/db-XXX.c: Cleanup.
20310
9f2da732
UD
20311 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20312 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20313 GLIBC_PRIVATE.
20314 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20315 * nss/makedb.c: Implement -g option to specify that value strings
20316 are generated and should not be added to table iterated over for
20317 get*ent calls.
20318 * nss/nss_db/db-initgroups.c: New file.
20319
82e9a1f7
UD
20320 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20321 interface.
20322
c41af17e
UD
20323 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20324 (internal_getgrouplist): Adjust to name change.
20325 Update use_initgroups_entry if this is not the first call.
20326 * nss/databases.def: Add initgroups entry.
20327
a9e836b0
UD
20328 * nss/makedb.c (compute_tables): Check result of multiple hash table
20329 sizes to minimize maximum chain length.
20330
2666d441
UD
203312011-06-14 Ulrich Drepper <drepper@gmail.com>
20332
20333 * Versions.def: Add entry for libnss_db.
20334 * shlib-versions: Likewise.
20335 * nss/Makefile: Add rules to build libnss_db.
20336 * nss/Versions: Add libnss_db information. Organize libnss_files
20337 entries better.
20338 * nss/db-Makefile: Add gshadow support. Change rules for the new
20339 makedb progra. Some minor improvements to generate smaller files.
20340 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20341 here from...
20342 * nss/makedb.c: ...here.
20343 Improve database format to be smaller and require less memory at
20344 runtime.
20345 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20346 db anymore.
20347 * nss/nss_db/db-netgrp.c: Likewise.
20348 * nss/nss_db/db-open.c: Likewise.
20349 * nss/nss_files/flies-XXX.x: Adjust comments.
20350 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20351 * nss/nss_files/files-grp.c: Likewise.
20352 * nss/nss_files/files-hosts.c: Likewise.
20353 * nss/nss_files/files-network.c: Likewise.
20354 * nss/nss_files/files-proto.c: Likewise.
20355 * nss/nss_files/files-pwd.c: Likewise.
20356 * nss/nss_files/files-rpc.c: Likewise.
20357 * nss/nss_files/files-service.c: Likewise.
20358 * nss/nss_files/files-sgrp.c: Likewise.
20359 * nss/nss_files/files-spwd.c: Likewise.
20360 * nss/nss_db/db-alias.c: Removed.
20361 * nss/nss_db/dummy-db.h: Removed.
20362
9ee76b5a
UD
203632011-06-02 Ulrich Drepper <drepper@gmail.com>
20364
20365 * nss/makedb.c: Rewritten to not use database library.
20366 * nss/Makefile: Update to build new makedb program.
20367
c71ca1f8
AJ
203682011-06-14 Andreas Jaeger <aj@suse.de>
20369
20370 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20371 memset declaration.
20372
3154bfb8
UD
203732011-06-10 Andreas Schwab <schwab@redhat.com>
20374
20375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20376 tmpbuf.
20377
b350afab
RM
203782011-06-10 Roland McGrath <roland@hack.frob.com>
20379
decd4e50
RM
20380 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20381 * elf/Makefile ($(objpfx)ld.so): Likewise.
20382
5615eaf2
RM
20383 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20384 Don't list ld.so twice in dependencies.
20385
20386 * posix/bug-regex31.c: Include <stdlib.h>.
20387
20388 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20389
20390 * nis/nss_compat/compat-spwd.c
20391 (getspent_next_nss_netgr): Remove unused variable.
20392 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20393
20394 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20395 nonmembers" output to use the right array.
20396
20397 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20398
20399 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20400
20401 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20402 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20403 * catgets/gencat.c (read_input_file): Likewise.
20404 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20405
20406 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20407 variable definition inside #if's controlling its use.
20408
20409 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20410
20411 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20412
20413 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20414
20415 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20416 unreachable code.
20417
20418 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20419
b68e08db
RM
20420 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20421 * configure: Regenerated.
20422
b350afab
RM
20423 * Makerules: Revert last change.
20424 * elf/Makefile: Likewise.
20425
28368601
RM
204262011-06-09 Roland McGrath <roland@hack.frob.com>
20427
20428 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20429 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20430 (reloc-link): Likewise.
20431
11988f8f
UD
204322011-06-09 Ulrich Drepper <drepper@gmail.com>
20433
20434 * elf/Makefile: Add rules to build pldd.
20435 * elf/pldd.c: New file.
20436 * elf/pldd-xx.c: New file.
20437
e80fab37
UD
204382011-06-07 Ulrich Drepper <drepper@gmail.com>
20439
20440 * version.h: Update for 2.15 development version.
20441
9b849836
DM
204422011-06-07 David S. Miller <davem@davemloft.net>
20443
20444 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20445 ifuncs.
20446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20447 elf_machine_lazy_rel): Likewise.
20448 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20450 elf_machine_lazy_rel): Likewise.
20451 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20452 dl_hwcap via passed in argument.
20453 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20454 Likewise.
20455
5a31b283
AK
204562011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20457
20458 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20459
069e52f8
RM
204602011-06-06 Roland McGrath <roland@hack.frob.com>
20461
20462 [BZ #12849]
20463 * manual/fdl-1.1.texi: New file, verbatim from:
20464 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20465 * manual/lgpl-2.1.texi: New file, verbatim from:
20466 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20467 * manual/Makefile (licenses): New variable, list those new file names.
20468 (texis): Use it.
20469 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20470
20471 * manual/fdl.texi: File removed.
20472 * manual/lesser.texi: File removed.
20473 * manual/libc.texinfo (Copying, Documentation License):
20474 Use new @include file names, put @appendix directive before @include.
20475
f16846a5
JJ
204762011-06-04 Jakub Jelinek <jakub@redhat.com>
20477
20478 [BZ #12841]
20479 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20480 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20481 (mq_open): Add __NTH.
20482
3d29045b
L
204832011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20484
20485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20486 Assume Intel Core i3/i5/i7 processor if AVX is available.
20487
8c297311
UD
204882011-05-31 Ulrich Drepper <drepper@gmail.com>
20489
20490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20491 typo.
20492
c8fc0c91
UD
204932011-05-31 Andreas Schwab <schwab@redhat.com>
20494
20495 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20496 memory. Use alloca_account. Fix memory leak when retrying.
20497
5b27a807
UD
204982011-05-31 Ulrich Drepper <drepper@gmail.com>
20499
356f8bc6
UD
20500 * version.h (RELEASE): Bump for 2.14 release.
20501 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20502
5b27a807
UD
20503 * config.make.in (RANLIB): Remove entry.
20504
01f16ab0
UD
205052011-05-30 Ulrich Drepper <drepper@gmail.com>
20506
41fce8bd
UD
20507 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20508 (libc.pot): Work around missing support for .ksh extension in xgettext.
20509
4769ae77
UD
20510 [BZ #12684]
20511 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20512 if both request failed.
20513 (send_dg): In case of server errors clear resplen or *resplen2.
20514
6b1e7d19
UD
20515 [BZ #12454]
20516 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20517 when there are multiple maps.
20518 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20519 (_dl_fini): Remove test here.
20520
01f16ab0
UD
20521 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20522
b1ebd700
UD
205232011-05-29 Ulrich Drepper <drepper@gmail.com>
20524
7ae22829
UD
20525 [BZ #12350]
20526 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20527 bit from old_res_options.
20528 (gaih_inet): Likewise.
20529
553149f6 20530 [BZ #11099]
18a84741 20531 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20532 as signed.
20533
652ffab1
UD
20534 * resolv/res_init.c (res_setoptions): Make the code more compact.
20535
16985fd0
UD
20536 [BZ #11558]
20537 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20538 set RES_USEVC.
20539
0464f746
UD
20540 [BZ #11634]
20541 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20542
7d17596c
UD
20543 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20544
cf6bbbd7
UD
20545 [BZ #11781]
20546 * malloc/malloc.h: Declare malloc hook variables as volatile.
20547
13f1ab36
UD
20548 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20549 in last patch.
20550
b1ebd700
UD
20551 [BZ #11799]
20552 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20553 raise in the comment.
80e2212d
UD
20554 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20555 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20556 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20557
ce67228d
UD
205582011-05-28 Ulrich Drepper <drepper@gmail.com>
20559
8887a920
UD
20560 [BZ #12811]
20561 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20562 grow the buffers more if it already has to be sufficient.
20563 (build_wcs_upper_buffer): Likewise.
20564 * posix/regexec.c (check_matching): Likewise.
20565 (clean_state_log_if_needed): Likewise.
20566 (extend_buffers): Don't enlarge buffers beyond size of the input
20567 buffer.
20568 Patches mostly by Emil Wojak <emil@wojak.eu>.
20569 * posix/bug-regex32.c: New file.
20570 * posix/Makefile (tests): Add bug-regex32.
20571
4f031072
UD
20572 * locale/findlocale.c (_nl_find_locale): Return right away if
20573 _nl_explode_name failed.
20574 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20575
d0478f0c
UD
20576 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20577
de81b246
UD
20578 * debug/xtrace.sh: Unify messages.
20579 * malloc/memusage.sh: Likewise.
20580
c738465a
UD
20581 [BZ #12813]
20582 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20583 time symbol from vDSO. Substitute with vsyscall if not available.
20584 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20585 __vdso_time.
20586
f1f929d7
UD
20587 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20588 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20589 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20590 Add sendmmsg and internal_sendmmsg.
20591 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20592 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20593 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20594
ce67228d
UD
20595 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20596 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20597 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20598
e57420c6
UD
205992011-05-27 Ulrich Drepper <drepper@gmail.com>
20600
a8509ca5
UD
20601 [BZ #12813]
20602 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20603 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20604 available.
20605 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20606 __vdso_getcpu.
20607
e57420c6
UD
20608 [BZ #12814]
20609 * iconvdata/Makefile (tests): Add bug-iconv9.
20610 * iconvdata/bug-iconv9.c: New file.
20611
4d07db15
AS
206122011-05-27 Andreas Schwab <schwab@redhat.com>
20613
20614 [BZ #12814]
20615 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20616
ea486f69
JJ
206172011-05-25 Jakub Jelinek <jakub@redhat.com>
20618
20619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20620 (struct user_regs_struct): Change intcs field back to cs.
20621
6f038433
UD
206222011-05-25 Ulrich Drepper <drepper@gmail.com>
20623
20624 * po/ja.po: Update from translation team.
20625
67f86a25
UD
206262011-05-23 Ulrich Drepper <drepper@gmail.com>
20627
20628 [BZ #12795]
20629 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20630 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20631
def7fbd6
AS
206322011-05-20 Andreas Schwab <schwab@redhat.com>
20633
20634 * stdlib/longlong.h: Update from GCC.
20635
f50ef8f1
AS
206362011-05-23 Andreas Schwab <schwab@redhat.com>
20637
20638 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20639 parameter name.
20640 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20641 Add parameter name.
20642 (__sysconf): Pass it down.
20643
de7ce8f1
UD
206442011-05-22 Ulrich Drepper <drepper@gmail.com>
20645
f2962a71
UD
20646 [BZ #12671]
20647 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20648 some situations.
20649 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20650 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20651 add in in __libc_use_alloca calls. Adjust callers.
20652 (glob): Use malloc in some situations.
20653
de7ce8f1
UD
20654 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20655 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20656 pltexit.
20657
aec84f53
UD
206582011-05-21 Ulrich Drepper <drepper@gmail.com>
20659
05bb4a68
UD
20660 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20661 and CLOCK_BOOTTIME_ALARM.
20662
7ea72f99
UD
20663 [BZ #12782]
20664 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20665 is returned.
20666
7e4afad5
UD
20667 * string/_strerror.c (__strerror_r): Print negative errors as signed
20668 numbers.
20669
8e211fec
UD
20670 [BZ #12777]
20671 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20672 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20673 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20674
f7d82dc9
UD
20675 * configure.in: Fix typo in redirection and correct removal of test
20676 files in two cases.
20677
cc9e536d
UD
20678 [BZ #12788]
20679 * locale/setlocale.c (new_composite_name): Fix test to check for
20680 identical name of all categories.
20681
aec84f53
UD
20682 [BZ #12792]
20683 * libio/filedoalloc.c (local_isatty): New function.
20684 (_IO_file_doallocate): Use local_isatty.
20685 * stdio-common/perror.c (perror): In case a new stream is used
20686 forward the stream error.
20687 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20688 error flag.
20689
78e64fdc
RT
206902011-05-20 Ulrich Drepper <drepper@gmail.com>
20691
34a9094f
UD
20692 [BZ #11869]
20693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20694 alloca.
20695 * include/alloca.h (extend_alloca_account): Define.
20696
78e64fdc
RT
20697 [BZ #11857]
20698 * posix/regex.h: Fix comments with documentation of user-accessible
20699 fields after compilation and describe correct free'ing of pattern
20700 after re_compile_pattern.
20701 Patch by Reuben Thomas <rrt@sc3d.org>.
20702
457bddfc
RA
207032011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20704
20705 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20706 and -mno-altivec to prevent the compiler from using Altivec and/or
20707 VSX instructions when the corresponding registers are not available.
20708
a4527b51
AS
207092011-05-19 Andreas Schwab <schwab@redhat.com>
20710
20711 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20712
ed690b2f
UD
207132011-05-19 Ulrich Drepper <drepper@gmail.com>
20714
20715 * libio/freopen.c (freopen): Use __dup2, not dup2.
20716 * libio/freopen64.c (freopen64): Likewise.
20717
8db73634
L
207182011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20719
20720 [BZ #12775]
20721 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20722 * math/Makefile (tests): Add test-powl.
20723 (CFLAGS-test-powl.c): Define.
20724 * math/test-powl.c: New file.
20725
0a197a9d
L
207262011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20727
20728 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20729
ee30c380
UD
207302011-05-17 Ulrich Drepper <drepper@gmail.com>
20731
20732 [BZ #11837]
20733 * iconvdata/gb18030.c: Update to GB18020-2005.
20734
6ce75379
UD
207352011-05-16 Ulrich Drepper <drepper@gmail.com>
20736
a4b89fd8
AR
20737 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20738 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20739 Patch by Aharon Robbins <arnold@skeeve.com>.
20740
ea389b12
UD
20741 [BZ #11892]
20742 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20743 on the stack.
20744
68a3f91f
UD
20745 [BZ #11895]
20746 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20747 through underflows.
20748
15cc7dd1
UD
20749 [BZ #12766]
20750 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20751 point to strings before performing equality test for error_one_per_line
20752 mode.
20753
f3799213
UD
20754 [BZ #11697]
20755 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20756
d79a9c94
UD
20757 [BZ #11820]
20758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20759 (struct user_fpregs_struct): Avoid __uint*_t types.
20760
56e5eb46
UD
20761 [BZ #6420]
20762 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20763 symbol info. Use it instead of calling _dl_addr locally.
20764 (lock_and_info): New function.
20765 (tr_freehook): Call lock_and_info and pass symbol info as additional
20766 parameter to tr_where.
20767 (tr_mallochook): Likewise.
20768 (tr_reallochook): Likewise.
20769 (tr_memalignhook): Likewise.
20770
6ce75379
UD
20771 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20772 used and couldn't be at all thread-safe.
20773
f8a3b5bf
UD
207742011-05-15 Ulrich Drepper <drepper@gmail.com>
20775
94b7cc37
UD
20776 * libio/freopen.c (freopen): Don't close old file descriptor
20777 before the new one is opened. Instead dup the new file descriptor
20778 to the old one after the new stream is created.
20779 * libio/freopen64.c (freopen64): Likewise.
20780 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20781 * libio/fileops.c (_IO_new_file_close_it): Handle new
20782 _IO_FLAGS2_NOCLOSE flag.
20783 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20784 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20785 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20786 _IO_FLAGS2_NOCLOSE flag.
20787 * include/unistd.h: Add hidden_proto for dup3.
20788 Define __have_dup3.
20789 * io/dup3.c: Define hidden symbol.
20790 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20791
bd25564e
UD
20792 [BZ #7101]
20793 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20794 when an incomplete long option is used.
20795 * posix/tst-getopt_long1.c: New file.
20796 * posix/Makefile (tests): Add tst-getopt_long1.
20797
c84cfef4
UD
20798 [BZ #10138]
20799 * scripts/config.guess: Update from autoconf-2.68.
20800 * scripts/config.sub: Likewise.
20801
3b85df27
UD
20802 [BZ #10157]
20803 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20804 tests into ...
20805 (has_cpuclock): ...this. New function.
20806 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20807 macro here based on has_cpuclock code.
20808
15a856b1
UD
20809 [BZ #10149]
20810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20811 First byte (not low byte) is now always NUL.
20812 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20813
05f399e6
UD
20814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20815 Use non-cancelable interfaces.
20816
10a52685 20817 [BZ #9809]
94ecc67d
UD
20818 * locale/iso-639.def: Add entry for Sorani.
20819
f8a3b5bf
UD
20820 [BZ #11901]
20821 * include/stdlib.h: Move include protection to the right place.
20822 Define abort_msg_s. Declare __abort_msg with it.
20823 * stdlib/abort.c (__abort_msg): Adjust type.
20824 * assert/assert.c (__assert_fail_base): New function. Majority
20825 of code from __assert_fail. Allocate memory for __abort_msg with
20826 mmap.
20827 (__assert_fail): Now call __assert_fail_base.
20828 * assert/assert-perr.c: Remove bulk of implementation. Use
20829 __assert_fail_base.
20830 * include/assert.hL Declare __assert_fail_base.
20831 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20832 mmap.
20833 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20834
1af4e298
UD
208352011-05-14 Ulrich Drepper <drepper@gmail.com>
20836
f8a3b5bf 20837 [BZ #11952]
d26dfc60
MG
20838 [BZ #12453]
20839 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20840 until all modules are registered in the DTV.
20841 * elf/Makefile: Add rules to build and run tst-tls19.
20842 * elf/tst-tls19.c: New file.
20843 * elf/tst-tls19mod1.c: New file.
20844 * elf/tst-tls19mod2.c: New file.
20845 * elf/tst-tls19mod3.c: New file.
20846 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20847
2fc54d6f
UD
20848 [BZ #12083]
20849 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20850 correctly.
20851
98d76b46
UD
20852 [BZ #12601]
20853 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20854 two-byte sequence errors.
20855 * iconvdata/Makefile (tests): Add bug-iconv8.
20856 * iconvdata/bug-iconv8.c: New file.
20857
da3c19ef
UD
20858 [BZ #12626]
20859 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20860 buf2 definition.
20861
ca408c15
UD
20862 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20863
d6f67f7d
UD
20864 [BZ #12432]
20865 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20866 (dummy_getcfa): New function.
20867 (init): Get _Unwind_GetCFA address, use dummy if not found.
20868 (backtrace_helper): In recursion check, also check whether CFA changes.
20869 (__backtrace): Completely initialize arg.
20870
1af4e298 20871 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20872 storing incomplete byte sequence in state object. Avoid testing for
20873 guaranteed too small input if we know there is enough data available.
1af4e298 20874
da62f81b
AS
208752011-05-11 Andreas Schwab <schwab@redhat.com>
20876
20877 * Makeconfig (+link-pie): Indent.
20878 * Rules (binaries-pie): Define if $(have-fpie) and
20879 $(build-shared).
20880 (binaries-shared): Also filter out $(binaries-pie).
20881 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20882 * nscd/Makefile (others-pie): Add nscd.
20883 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20884 ($(objpfx)nscd): Remove command override.
20885 * login/Makefile (others-pie): Add pt_chown.
20886 ($(objpfx)pt_chown): Remove command override.
20887 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20888 remove command overrides.
20889
fcabc0f8
UD
208902011-05-13 Ulrich Drepper <drepper@gmail.com>
20891
20030ae6
UD
20892 * libio/tst_putwc.c: Fix error messages.
20893
fcabc0f8
UD
20894 [BZ #12724]
20895 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20896 currently writing and seek to current position when not.
20897 * libio/Makefile (tests): Add bug-fclose1.
20898 * libio/bug-fclose1.c: New file.
20899
320a5dc0
PB
209002011-05-12 Ulrich Drepper <drepper@gmail.com>
20901
20902 [BZ #12511]
20903 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20904 don't set DF_1_NODELETE here.
20905 (do_lookup_x): When entering new entry test for copy relocation
20906 and if necessary set DF_1_NODELETE flag.
20907 * elf/tst-unique4.cc: New file.
20908 * elf/tst-unique4.h: New file.
20909 * elf/tst-unique4lib.cc: New file.
20910 * elf/Makefile: Add rules to build and run tst-unique4.
20911 Patch by Piotr Bury <pbury@goahead.com>.
20912
22836f52
UD
209132011-05-11 Ulrich Drepper <drepper@gmail.com>
20914
f574184a
UD
20915 [BZ #12052]
20916 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20917
e1fb097f
UD
20918 [BZ #12625]
20919 * misc/mntent_r.c (addmntent): Flush the stream after the output
20920
22836f52
UD
20921 [BZ #12393]
20922 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20923 (is_trusted_path_normalize): Skip initial colon. Append slash
20924 to empty buffer. Duplicate is_trusted_path code but allow
20925 constructed patch to be prefix.
20926 (is_dst): Allow $ORIGIN followed by /.
20927 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20928 Correct testing of result of is_trusted_path_normalize
20929 (decompose_rpath): Fix warning.
20930
7b3b0b2a
UD
209312011-05-10 Ulrich Drepper <drepper@gmail.com>
20932
20933 [BZ #11257]
20934 * grp/initgroups.c (internal_getgrouplist): When we found the service
20935 list through the initgroups entry in nsswitch.conf do not always
20936 continue on a successful lookup. Don't always use the
eac80ce2 20937 __nss_group_database value if it is set.
7b3b0b2a
UD
20938 * nss/nsswitch.conf (initgroups): Change action for successful db
20939 lookup to continue for compatibility.
20940
2a81eaa5
UD
209412011-05-09 Ulrich Drepper <drepper@gmail.com>
20942
be97a69e
UD
20943 [BZ #11532]
20944 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20945 and CP774 modules.
20946 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20947 and CP774 modules.
20948 * iconvdata/tst-tables.sh: Likewise.
20949 * iconvdata/cp770.c: New file.
20950 * iconvdata/cp771.c: New file.
20951 * iconvdata/cp772.c: New file.
20952 * iconvdata/cp773.c: New file.
20953 * iconvdata/cp774.c: New file.
20954 * iconvdata/testdata/CP770: New file.
20955 * iconvdata/testdata/CP770..UTF8: New file.
20956 * iconvdata/testdata/CP771: New file.
20957 * iconvdata/testdata/CP771..UTF8: New file.
20958 * iconvdata/testdata/CP772: New file.
20959 * iconvdata/testdata/CP772..UTF8: New file.
20960 * iconvdata/testdata/CP773: New file.
20961 * iconvdata/testdata/CP773..UTF8: New file.
20962 * iconvdata/testdata/CP774: New file.
20963 * iconvdata/testdata/CP774..UTF8: New file.
20964
20965 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20966 END CHARMAP line.
20967 * iconvdata/gen-8bit-gap.sh: Likewise.
20968 * iconvdata/gen-8bit.sh: Likewise.
20969
c1e9e399
UD
20970 * locale/iso-639.def: Add ary entry.
20971
24c55fb3 20972 [BZ #11258]
96b4b1b0
UD
20973 * locale/C-translit.h.in: Add U20A1 transliteration.
20974
bdc2f971
KB
20975 [BZ #12178]
20976 * locale/iso-639.def: Add wae entry.
20977 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20978
2952b117
UD
20979 [BZ #12545]
20980 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20981 for n.
20982
2a81eaa5
UD
20983 [BZ #12711]
20984 * locale/C-translit.h.in: Add entry for U20B9.
20985 Patch by pravin.d.s@gmail.com.
20986
28377d1b
UD
209872011-05-08 Ulrich Drepper <drepper@gmail.com>
20988
7fb90fb8
UD
20989 [BZ #12713]
20990 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20991 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20992 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20993 in rtld. Use *stat64.
7fb90fb8 20994 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20995 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20996 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20997 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20998 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20999 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21000 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21001 __fstatat64 macros.
7fb90fb8
UD
21002 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21003 * dirent/rewinddir.c: Add libc_hidden_def.
21004 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21005 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21006
28377d1b
UD
21007 * include/dirent.h (__alloc_dir): Add flags parameter.
21008 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21009 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21010 __alloc_dir.
21011 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21012 from fdopendir if O_CLOEXEC is already set.
21013
66bdbaa4
AM
210142011-03-15 Alan Modra <amodra@gmail.com>
21015
21016 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21017 l_tls_firstbyte_offset non-zero. Save padding offset in
21018 l_tls_firstbyte_offset for later use.
21019 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21020 freeing static tls block.
21021
95721191
JN
210222011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21023
21024 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21025 where #ifdef was intended. The intent is to prevent ARG_MAX from
21026 being defined by the kernel headers.
21027
f87dfb1f
UD
210282011-05-07 Ulrich Drepper <drepper@gmail.com>
21029
21030 [BZ #12734]
21031 * resolv/resolv.h: Define RES_NOTLDQUERY.
21032 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21033 no-tld-query and set RES_NOTLDQUERY.
21034 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21035 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21036 modern BIND to search name as TLD unless forbidden.
21037
47c3cd7a
UD
210382011-05-07 Petr Baudis <pasky@suse.cz>
21039 Ulrich Drepper <drepper@gmail.com>
21040
21041 [BZ #12393]
21042 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21043 (is_trusted_path): ...to here.
c1e9ea35 21044 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21045 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21046 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21047
8a35c912
PP
210482011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21049
21050 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21051 __BEGIN/__END_DECLS.
21052
acd41f47
UD
210532011-05-06 Ulrich Drepper <drepper@gmail.com>
21054
21055 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21056 NSS_STATUS_NOTFOUND if no record was found.
21057
597df647
AS
210582011-05-05 Andreas Schwab <schwab@redhat.com>
21059
21060 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21061 (headers-not-in-tirpc): Remove rpc/netdb.h
21062 * resolv/netdb.h: Revert last change.
21063
b9af1301
PP
210642011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21065
21066 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21067 circular dependency between libgcc.a and libc.a.
21068
4e34d5f5
AS
210692011-05-05 Andreas Schwab <schwab@redhat.com>
21070
21071 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21072 * nis/Makefile: Don't install rpcsvc/*.
21073 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21074 instead of <rpc/types.h>.
21075 (MAXHOSTNAMELEN): Define.
21076
00ee369c
AS
210772011-05-03 Andreas Schwab <schwab@redhat.com>
21078
21079 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21080
0b592a30
MB
210812011-04-28 Maciej Babinski <mbabinski@google.com>
21082
21083 [BZ #12714]
21084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21085 gethostbyname4_r when IPv6 results are possible.
21086
6e04cbbe
UD
210872011-05-02 Ulrich Drepper <drepper@gmail.com>
21088
21089 [BZ #12723]
21090 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21091 _PC_PIPE_BUF handling.
21092
e4ecafe0
BH
210932011-04-30 Bruno Haible <bruno@clisp.org>
21094
21095 [BZ #12717]
21096 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21097 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21098 to 'int'.
21099 * inet/getnameinfo.c (getnameinfo): Likewise.
21100
125ee683
UD
211012011-04-29 Ulrich Drepper <drepper@gmail.com>
21102
21103 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21104 to groups setting in database lookup.
21105 * nss/nsswitch.conf: Add initgroups entry.
21106
b722481a
EB
211072011-04-22 Ulrich Drepper <drepper@gmail.com>
21108
21109 [BZ #12685]
21110 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21111 mode string.
21112 Patch by Eric Blake <eblake@redhat.com>.
21113
4df46dbd
L
211142011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21115
21116 * sunrpc/Makefile (need-export-routines): Add svc_run.
21117 (routines): Remove svc_run.
21118 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21119 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21120 * sunrpc/svc_run.c (svc_run): Likewise.
21121 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21122
e84142d2
UD
211232011-04-21 Ulrich Drepper <drepper@gmail.com>
21124
21125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21126 problem in reallocation in last patch.
21127
877175d8
UD
211282011-04-20 Ulrich Drepper <drepper@gmail.com>
21129
21130 * sunrpc/Makefile: Move inclusion of Rules.
21131
ab8eed78
UD
211322011-04-19 Ulrich Drepper <drepper@gmail.com>
21133
21134 * nss/nss_files/files-initgroups.c: New file.
21135 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21136 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21137 _nss_files_initgroups_dyn.
21138
e3d8f584
RS
211392011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21140
21141 * elf/elf.h (R_ARM_IRELATIVE): Define.
21142
af190f45
UD
211432011-04-19 Ulrich Drepper <drepper@gmail.com>
21144
21145 * po/ru.po: Update from translation team.
21146
53cf59ef
UD
211472011-04-17 Ulrich Drepper <drepper@gmail.com>
21148
21149 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21150 dependencies.
21151
4c559bcd
MF
211522011-02-06 Mike Frysinger <vapier@gentoo.org>
21153
21154 [BZ #12653]
21155 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21156 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21157 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21158 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21159 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21160
4420675c
AS
211612011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21162
21163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21164 differing bytes.
21165 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21166 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21167 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21168
75ea32ab
UD
211692011-04-17 Ulrich Drepper <drepper@gmail.com>
21170
21171 [BZ #12420]
21172 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21173 storing it.
21174 * stdlib/bug-getcontext.c: New file.
21175 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21176
27390476
AK
211772011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21178
21179 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21180 instructions into .machine "z9-109".
21181 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21182 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21183
10442705
AK
211842011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21185
21186 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21187 between environment variables and auxiliary vector.
21188
7b57bfe5
UD
211892011-04-16 Ulrich Drepper <drepper@gmail.com>
21190
21191 * Makefile: Add rules to build linkobj/libc.so.
21192 * include/libc-symbols.h: Define libc_hidden_nolink.
21193 * include/rpc/auth.h: Mark functions which are to be hidden.
21194 * include/rpc/auth_des.h: Likewise.
21195 * include/rpc/auth_unix.h: Likewise.
21196 * include/rpc/clnt.h: Likewise.
21197 * include/rpc/des_crypt.h: Likewise.
21198 * include/rpc/key_prot.h: Likewise.
21199 * include/rpc/pmap_clnt.h: Likewise.
21200 * include/rpc/pmap_prot.h: Likewise.
21201 * include/rpc/pmap_rmt.h: Likewise.
21202 * include/rpc/rpc_msg.h: Likewise.
21203 * include/rpc/svc.h: Likewise.
21204 * include/rpc/svc_auth.h: Likewise.
21205 * include/rpc/xdr.h: Likewise.
21206 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21207 * nss/Makefile: Likewise.
21208 * sunrpc/Makefile: Don't install headers. Build library with normal
21209 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21210 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21211 for the compat linking library. Remove use of INTDEF/INTUSE.
21212 * sunrpc/auth_none.c: Likewise.
21213 * sunrpc/auth_unix.c: Likewise.
21214 * sunrpc/authdes_prot.c: Likewise.
21215 * sunrpc/authuxprot.c: Likewise.
21216 * sunrpc/clnt_gen.c: Likewise.
21217 * sunrpc/clnt_perr.c: Likewise.
21218 * sunrpc/clnt_raw.c: Likewise.
21219 * sunrpc/clnt_simp.c: Likewise.
21220 * sunrpc/clnt_tcp.c: Likewise.
21221 * sunrpc/clnt_udp.c: Likewise.
21222 * sunrpc/clnt_unix.c: Likewise.
21223 * sunrpc/des_crypt.c: Likewise.
21224 * sunrpc/des_soft.c: Likewise.
21225 * sunrpc/get_myaddr.c: Likewise.
21226 * sunrpc/key_call.c: Likewise.
21227 * sunrpc/key_prot.c: Likewise.
21228 * sunrpc/netname.c: Likewise.
21229 * sunrpc/pm_getmaps.c: Likewise.
21230 * sunrpc/pm_getport.c: Likewise.
21231 * sunrpc/pmap_clnt.c: Likewise.
21232 * sunrpc/pmap_prot.c: Likewise.
21233 * sunrpc/pmap_prot2.c: Likewise.
21234 * sunrpc/pmap_rmt.c: Likewise.
21235 * sunrpc/publickey.c: Likewise.
21236 * sunrpc/rpc_cmsg.c: Likewise.
21237 * sunrpc/rpc_common.c: Likewise.
21238 * sunrpc/rpc_dtable.c: Likewise.
21239 * sunrpc/rpc_prot.c: Likewise.
21240 * sunrpc/rpc_thread.c: Likewise.
21241 * sunrpc/rtime.c: Likewise.
21242 * sunrpc/svc.c: Likewise.
21243 * sunrpc/svc_auth.c: Likewise.
21244 * sunrpc/svc_authux.c: Likewise.
21245 * sunrpc/svc_raw.c: Likewise.
21246 * sunrpc/svc_run.c: Likewise.
21247 * sunrpc/svc_simple.c: Likewise.
21248 * sunrpc/svc_tcp.c: Likewise.
21249 * sunrpc/svc_udp.c: Likewise.
21250 * sunrpc/svc_unix.c: Likewise.
21251 * sunrpc/svcauth_des.c: Likewise.
21252 * sunrpc/xcrypt.c: Likewise.
21253 * sunrpc/xdr.c: Likewise.
21254 * sunrpc/xdr_array.c: Likewise.
21255 * sunrpc/xdr_float.c: Likewise.
21256 * sunrpc/xdr_intXX_t.c: Likewise.
21257 * sunrpc/xdr_mem.c: Likewise.
21258 * sunrpc/xdr_rec.c: Likewise.
21259 * sunrpc/xdr_ref.c: Likewise.
21260 * sunrpc/xdr_sizeof.c: Likewise.
21261 * sunrpc/xdr_stdio.c: Likewise.
21262
e6c61494
UD
212632011-04-10 Ulrich Drepper <drepper@gmail.com>
21264
21265 [BZ #12650]
21266 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21267 * sysdeps/ia64/dl-tls.h: Likewise.
21268 * sysdeps/powerpc/dl-tls.h: Likewise.
21269 * sysdeps/s390/dl-tls.h: Likewise.
21270 * sysdeps/sh/dl-tls.h: Likewise.
21271 * sysdeps/sparc/dl-tls.h: Likewise.
21272 * sysdeps/x86_64/dl-tls.h: Likewise.
21273 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21274
34fe483e
AS
212752011-03-14 Andreas Schwab <schwab@redhat.com>
21276
21277 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21278 rpath element also skip the following colon.
21279 (expand_dynamic_string_token): Add is_path parameter and pass
21280 down to DL_DST_REQUIRED and _dl_dst_substitute.
21281 (decompose_rpath): Call expand_dynamic_string_token with
21282 non-zero is_path. Ignore empty rpaths.
21283 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21284 with zero is_path.
21285
f12a32e6
AS
212862011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21287
21288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21289 Make cancelable.
21290
38a7d692
UD
212912011-04-09 Ulrich Drepper <drepper@gmail.com>
21292
21293 [BZ #12655]
21294 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21295 Patch by Filipe David Manana <fdmanana@apache.org>.
21296
e451d22b
AS
212972011-04-07 Andreas Schwab <schwab@redhat.com>
21298
21299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21300 Maintain aligned stack.
21301 (CHECK_RSP): Remove unused macro.
21302
dedc7c7b
UD
213032011-04-03 Ulrich Drepper <drepper@gmail.com>
21304
21305 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21306 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21307
94521213
UD
213082011-04-02 Ulrich Drepper <drepper@gmail.com>
21309
21310 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21311
8cb700c0 21312 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21313
0354e355
L
213142011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21315
21316 [BZ #12518]
21317 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21318 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21319 * sysdeps/x86_64/memmove.c: New file.
21320 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21321 (memcpy): Renamed to ...
21322 (__new_memcpy): This.
21323 (memcpy): Provide GLIBC_2_14 memcpy.
21324 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21325 (memcpy): Provide GLIBC_2_2_5 memcpy.
21326
8593482f
UD
213272011-04-01 Ulrich Drepper <drepper@gmail.com>
21328
21329 [BZ #12631]
21330 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21331
81a5726b
AS
213322011-03-30 Andreas Schwab <schwab@redhat.com>
21333
21334 * misc/syncfs.c: New file.
21335 * misc/Makefile (routines): Add syncfs.
21336 * posix/unistd.h: Declare syncfs.
21337 * sysdeps/unix/syscalls.list: Add syncfs.
21338
00e5419f
AS
213392011-04-01 Andreas Schwab <schwab@redhat.com>
21340
21341 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21342 open_by_handle_at.
21343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21348 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21350
748876bf
UD
213512011-04-01 Ulrich Drepper <drepper@gmail.com>
21352
658e451d
UD
21353 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21354 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21355 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21357 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21359 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21360
748876bf
UD
21361 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21362 sync_file_range.c with -fexceptions.
21363 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21364 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21365 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21366 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21367 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21368 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21370 sync_file_range as cancellation point
21371 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21372 now a wrapper around __call_sync_file_range with cancellation handling.
21373 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21374 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21375 function name to __call_sync_file_range.
21376 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21377 Add call_sync_file_range.
748876bf 21378
6e63d5e1
AS
213792011-04-01 Andreas Schwab <schwab@redhat.com>
21380
21381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21382 bits/timex.h.
6e63d5e1 21383
46998f74
UD
213842011-04-01 Ulrich Drepper <drepper@gmail.com>
21385
4c1423ed
UD
21386 * iconv/iconv.h: Fix typo in comment.
21387 * io/fcntl.h: Likewise.
21388 * libio/stdio.h: Likewise.
21389 * posix/spawn.h: Likewise.
21390 * posix/unistd.h: Likewise.
21391 * stdlib/stdlib.h: Likewise.
21392 * time/time.h: Likewise.
21393 * wcsmbs/wchar.h: Likewise.
21394
158648c0
UD
21395 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21396 open_by_handle): Add.
21397 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21398 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21399 Augment a few comments.
21400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21404 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21405 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21406 open_by_handle.
21407
46998f74
UD
21408 * io/fcntl.h (AT_EMPTY_PATH): Define.
21409
83fe108b
UD
214102011-03-30 Ulrich Drepper <drepper@gmail.com>
21411
21412 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21413 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21414 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21415 to...
21416 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21417 * Versions.def: Add GLIBC_2.14.
21418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21419 Export.
83fe108b 21420
bb242059
UD
214212011-03-22 Ulrich Drepper <drepper@gmail.com>
21422
21423 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21424 round counter.
21425 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21426
c97a1282
L
214272011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21428
21429 [BZ #12597]
21430 * string/test-strncmp.c (do_page_test): New function.
21431 (check2): Likewise.
21432 (test_main): Call check2.
21433 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21434
2a115601
UD
214352011-03-20 Ulrich Drepper <drepper@gmail.com>
21436
21437 [BZ #12587]
21438 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21439 Handle cache information in CPU leaf 4.
21440 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21441
8126d904
UD
214422011-03-18 Ulrich Drepper <drepper@gmail.com>
21443
042c49c6 21444 [BZ #12583]
8126d904
UD
21445 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21446 character representation.
21447 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21448
ccfe366e
RA
214492011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21450
21451 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21452 END(__isnan) to END(__isnanf) to match function entry point/label
21453 EALIGN(__isnanf,...).
21454
c6e13027
JJ
214552011-03-10 Jakub Jelinek <jakub@redhat.com>
21456
21457 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21458
33f85a3f
UD
214592011-03-10 Ulrich Drepper <drepper@gmail.com>
21460
028478fa
UD
21461 [BZ #12510]
21462 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21463 copy from the symbol referenced in the relocation to initialize the
21464 used variable.
21465 Patch by Piotr Bury <pbury@goahead.com>.
21466 * elf/Makefile: Add rules to build and tst-unique3.
21467 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21468 * elf/tst-unique3.cc: New file.
21469 * elf/tst-unique3.h: New file.
21470 * elf/tst-unique3lib.cc: New file.
21471 * elf/tst-unique3lib2.cc: New file.
21472
33f85a3f
UD
21473 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21474
03592fc7
MF
214752011-03-10 Mike Frysinger <vapier@gentoo.org>
21476
21477 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21478 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21479 to _start.
03592fc7 21480
6a5ee102
UD
214812011-03-06 Ulrich Drepper <drepper@gmail.com>
21482
21483 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21484 to-be-loaded object along a path to loader is ld.so.
21485
7e4ba49c
HJ
214862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21487 Ulrich Drepper <drepper@gmail.com>
21488
21489 * sysdeps/x86_64/memset.S: After aligning destination, code
21490 branches to different locations depending on the value of
21491 misalignment, when multiarch is enabled. Fix this.
21492
214932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21494
21495 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21496 Set _x86_64_preferred_memory_instruction for AMD processsors.
21497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21498 Set bit_Prefer_SSE_for_memop for AMD processors.
21499
13a804de
UD
215002011-03-04 Ulrich Drepper <drepper@gmail.com>
21501
21502 * libio/fmemopen.c (fmemopen): Optimize a bit.
21503
9d25c392
AS
215042011-03-03 Andreas Schwab <schwab@redhat.com>
21505
21506 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21507
a5543c6a
RM
215082011-03-03 Roland McGrath <roland@redhat.com>
21509
21510 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21511
012d35f7
DM
215122011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21513
7e4ba49c 21514 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21515 __bzero_ultra1 instead of __memset_ultra1.
21516
4bff6e01
AS
215172011-02-23 Andreas Schwab <schwab@redhat.com>
21518 Ulrich Drepper <drepper@gmail.com>
21519
21520 [BZ #12509]
21521 * include/link.h (struct link_map): Add l_orig_initfini.
21522 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21523 returning unsuccessfully.
21524 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21525 close of a file loaded at startup, restore the original l_initfini
21526 list.
21527 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21528 list, store the pointer.
21529 * elf/Makefile ($(objpfx)noload-mem): New rule.
21530 (noload-ENV): Define.
21531 (tests): Add $(objpfx)noload-mem.
21532 * elf/noload.c: Include <memcheck.h>.
21533 (main): Call mtrace. Close all opened handles.
21534
f2092faf
AS
215352011-02-17 Andreas Schwab <schwab@redhat.com>
21536
21537 [BZ #12454]
21538 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21539 dependencies are missing.
21540
6c8a2e88
ST
215412011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21542
f2092faf 21543 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21544 Hurd needs munmap.
21545 * sysdeps/mach/hurd/ifreq.h: New file.
21546
84a42118
PB
215472011-01-27 Petr Baudis <pasky@suse.cz>
21548 Ulrich Drepper <drepper@gmail.com>
21549
071f805e 21550 [BZ 12445]#
84a42118
PB
21551 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21552 to extend_alloca().
21553 * stdio-common/bug23.c: New file.
21554 * stdio-common/Makefile (tests): Add bug23.
21555
e23fe25b
AS
215562010-09-28 Andreas Schwab <schwab@redhat.com>
21557 Ulrich Drepper <drepper@gmail.com>
21558
21559 [BZ #12489]
21560 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21561 before performing relro protection. At old place add assertion
21562 to make sure nothing changed.
21563
d3f02e10
NS
215642011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21565 Glauber de Oliveira Costa <glommer@gmail.com>
21566
21567 * elf/elf.h: Add new ARM TLS relocs.
21568
d55fd7a5
RA
215692011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21570
21571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21572 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21573 cast from r3.
21574 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21575 'tests' variable.
21576 * sysdeps/wordsize-64/tst-writev.c: New file.
21577
2206397e
RA
215782011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21579
21580 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21581 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21582 insns in _dl_start to prevent a TOC reference before relocs are
21583 resolved.
21584
e9433893
UD
215852011-02-15 Ulrich Drepper <drepper@gmail.com>
21586
21587 [BZ #12469]
21588 * Makeconfig: Remove RANLIB definition.
21589 * Makerules: Don't use RANLIB.
21590 * aclocal.m4: Remove ranlib test.
21591 * configure.in: No need to check for ranlib.
21592 * elf/rtld-Rules: Don't use RANLIB.
21593
f75286c6
ST
215942011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21595
8e31c82d
ST
21596 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21597 protection macro.
21598 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21599 inclusion protection macro.
21600
f75286c6
ST
21601 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21602 SIGRTMIN and SIGRTMAX and print information in that case only when
21603 SIGRTMIN is defined.
21604
c1d0e639
JJ
216052011-02-11 Jakub Jelinek <jakub@redhat.com>
21606
21607 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21608 arginfo fn returning -1.
21609
21610 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21611 and thousands string is zero terminated.
21612
edf9294e
AS
216132011-02-03 Andreas Schwab <schwab@redhat.com>
21614
21615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21616 sysdeps/unix/sysv/linux/bits/socket.h.
21617
2b7e92df
ST
216182011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21619
edf9294e
AS
21620 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21621 (__CPU_COUNT): Remove old macros.
21622 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21623 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21624 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21625 (__sched_cpualloc, __sched_cpufree): Add declarations.
21626
a4c7ea7b
UD
216272011-02-05 Ulrich Drepper <drepper@gmail.com>
21628
21629 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21630 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21631 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21632 (readdhstai): Return value of addhstaiX call.
21633 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21634 (addgrbyX): Return value returned by cache_addgr.
21635 (readdgrbyname): Return value returned by addgrbyX.
21636 (readdgrbygid): Likewise.
21637 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21638 (addpwbyX): Return value returned by cache_addpw.
21639 (readdpwbyname): Return value returned by addhstbyX.
21640 (readdpwbyuid): Likewise.
21641 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21642 (addservbyX): Return value returned by cache_addserv.
21643 (readdservbyname): Return value returned by addservbyX:
21644 (readdservbyport): Likewise.
21645 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21646 (addhstbyX): Return value returned by cache_addhst.
21647 (readdhstbyname): Return value returned by addhstbyX.
21648 (readdhstbyaddr): Likewise.
21649 (readdhstbynamev6): Likewise.
21650 (readdhstbyaddrv6): Likewise.
21651 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21652 (readdinitgroups): Return value returned by addinitgroupsX.
21653 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21654 (prune_cache): Keep track of timeout value of re-added entries.
21655 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21656 * nscd/nscd.h: Adjust prototypes of readd* functions.
21657
a0bf67cc
RM
216582011-02-04 Roland McGrath <roland@redhat.com>
21659
21660 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21661 (nis_stats): Likewise.
21662 * nis/nis_modify.c (nis_modify): Likewise.
21663 * nis/nis_remove.c (nis_remove): Likewise.
21664 * nis/nis_add.c (nis_add): Likewise.
21665
21666 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21667
21668 * posix/fnmatch_loop.c: Add some consts.
21669
21670 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21671
435b95eb
L
216722011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21673
21674 [BZ #12460]
21675 * config.make.in (config-cflags-novzeroupper): Define.
21676 * configure.in: Substitute libc_cv_cc_novzeroupper.
21677 * elf/Makefile (AVX-CFLAGS): Define.
21678 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21679 (CFLAGS-tst-auditmod4a.c): Likewise.
21680 (CFLAGS-tst-auditmod4b.c): Likewise.
21681 (CFLAGS-tst-auditmod6b.c): Likewise.
21682 (CFLAGS-tst-auditmod6c.c): Likewise.
21683 (CFLAGS-tst-auditmod7b.c): Likewise.
21684 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21685
8517b15e
UD
216862011-02-02 Ulrich Drepper <drepper@gmail.com>
21687
21688 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21689 function to the callback.
21690 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21691
10a656fe
AS
216922011-02-02 Andreas Schwab <schwab@redhat.com>
21693
21694 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21695 of errno.
21696
968dad0a
UD
216972011-01-19 Ulrich Drepper <drepper@gmail.com>
21698
9f94d2ea 21699 [BZ #11724]
968dad0a
UD
21700 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21701 of constructors.
21702 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21703 of destructors.
21704 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21705
21706 [BZ #11724]
21707 * elf/Makefile: Add rules to build and run new test.
21708 * elf/tst-initorder.c: New file.
21709 * elf/tst-initorder.exp: New file.
21710 * elf/tst-initordera1.c: New file.
21711 * elf/tst-initordera2.c: New file.
21712 * elf/tst-initordera3.c: New file.
21713 * elf/tst-initordera4.c: New file.
21714 * elf/tst-initorderb1.c: New file.
21715 * elf/tst-initorderb2.c: New file.
21716 * elf/tst-order-a1.c: New file.
21717 * elf/tst-order-a2.c: New file.
21718 * elf/tst-order-a3.c: New file.
21719 * elf/tst-order-a4.c: New file.
21720 * elf/tst-order-b1.c: New file.
21721 * elf/tst-order-b2.c: New file.
21722 * elf/tst-order-main.c: New file.
21723 New test case by George Gensure <werkt0@gmail.com>.
21724
86e92359
UD
217252010-10-01 Andreas Schwab <schwab@redhat.com>
21726
21727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21728 decoding ACE if AI_CANONIDN.
21729
5d5732b0
UD
217302011-01-18 Ulrich Drepper <drepper@gmail.com>
21731
21732 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21733
a77e8cbc
UD
217342011-01-17 Ulrich Drepper <drepper@gmail.com>
21735
6392473f
UD
21736 * version.h (RELEASE): Bump for 2.13 release.
21737 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21738
620a0529
UD
21739 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21740
18ba70a5
UD
21741 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21742 MADV_NOHUGEPAGE.
32465c3e
UD
21743 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21749
c0dafcf1
UD
21750 * posix/getconf.c: Update copyright year.
21751 * catgets/gencat.c: Likewise.
21752 * csu/version.c: Likewise.
21753 * debug/catchsegv.sh: Likewise.
21754 * debug/xtrace.sh: Likewise.
21755 * elf/ldconfig.c: Likewise.
21756 * elf/ldd.bash.in: Likewise.
21757 * elf/sprof.c (print_version): Likewise.
21758 * iconv/iconv_prog.c: Likewise.
21759 * iconv/iconvconfig.c: Likewise.
21760 * locale/programs/locale.c: Likewise.
21761 * locale/programs/localedef.c: Likewise.
21762 * malloc/memusage.sh: Likewise.
21763 * malloc/mtrace.pl: Likewise.
21764 * nscd/nscd.c (print_version): Likewise.
21765 * nss/getent.c: Likewise.
21766
a77e8cbc
UD
21767 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21768 PF_CAIF, and PF_ALG.
21769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21770
77e8bddf
AS
217712011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21772
1f20b93a
AS
21773 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21774 (modules-names): Use them.
21775 (ifunc-test-modules, ifunc-pie-tests): Define.
21776 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21777 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21778 (test-extras): Likewise.
21779 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21780 $(compile-command.c).
21781 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21782 (all-built-dso): Define.
21783 (check-textrel.out, check-execstack.out): Depend on it.
21784
77e8bddf
AS
21785 * configure.in: Don't override --enable-multi-arch.
21786
bc425b33
UD
217872011-01-15 Ulrich Drepper <drepper@gmail.com>
21788
21789 [BZ #6812]
21790 * nscd/hstcache.c (tryagain): Define.
21791 (cache_addhst): Return tryagain not notfound for temporary errors.
21792 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21793 failed.
21794
794c3ad3
UD
217952011-01-14 Ulrich Drepper <drepper@gmail.com>
21796
70181fdd
UD
21797 [BZ #10563]
21798 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21799 to make the syscall.
21800 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21801
794c3ad3
UD
21802 [BZ #12378]
21803 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21804 and fall back to matching as normal character if the string ends before
21805 the matching ']' is found. This is what POSIX requires.
21806 * posix/testfnm.c: Adjust test result.
21807 * posix/globtest.sh: Adjust test result. Add new test.
21808 * posix/tst-fnmatch.input: Likewise.
21809 * posix/tst-fnmatch2.c: Add new test.
21810
68dc9497
AS
218112010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21812
21813 * elf/Makefile (check-execstack): Revert last change. Depend on
21814 check-execstack.h.
21815 (check-execstack.h): New target.
21816 (generated): Add check-execstack.h.
21817 * elf/check-execstack.c: Include "check-execstack.h".
21818 (main): Revert last change.
21819 (handle_file): Return zero if GNU_STACK is absent and
21820 DEFAULT_STACK_PERMS doesn't include PF_X.
21821
451f001b
UD
218222011-01-13 Ulrich Drepper <drepper@gmail.com>
21823
cfa28e56
UD
21824 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21825 in child fails because the descriptor is already closed.
8cf8ce17
UD
21826 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21827 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21828 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21829
1086d70d
UD
21830 [BZ #12397]
21831 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21832 syscall.
21833
451f001b
UD
21834 [BZ #10484]
21835 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21836 temporary buffer used to handle multi lookups locally.
a85b5cb4 21837 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21838
08769175
UD
218392011-01-12 Ulrich Drepper <drepper@gmail.com>
21840
21841 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21842 loader is ld.so.
21843
5e49c52e
UD
218442011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21845
21846 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21847 alignment for SSE2.
21848
60522a5f
UD
218492011-01-12 Ulrich Drepper <drepper@gmail.com>
21850
21851 [BZ #12394]
21852 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21853 characters. When rounding increased number of integer digits recompute
21854 number of groups.
21855 * stdio-common/tst-grouping.c: New file.
21856 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21857
f257bbd7
UD
218582011-01-09 Ulrich Drepper <drepper@gmail.com>
21859
21860 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21861 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21862
21863 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21864 void.
21865 * bits/select.h: Likewise.
21866
fa9c15cb
UD
218672011-01-08 Ulrich Drepper <drepper@gmail.com>
21868
21869 * po/ja.po: Update from translation team.
21870
16c2895f
DM
218712011-01-04 David S. Miller <davem@sunset.davemloft.net>
21872
21873 [BZ #11155]
21874 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21875 implementation just like for lxstat, fxstatat, et al.
21876
2543fef2
JM
218772010-12-27 Jim Meyering <meyering@redhat.com>
21878
21879 [BZ #12348]
21880 * posix/regexec.c (build_trtable): Return failure indication upon
21881 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21882
98727dbe
UD
218832010-12-25 Ulrich Drepper <drepper@gmail.com>
21884
5bd6dc5c
UD
21885 [BZ #12201]
21886 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21887 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21888 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21889 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21890
97983464
UD
21891 [BZ #12207]
21892 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21893
98727dbe
UD
21894 [BZ #12204]
21895 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21896 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21897
4a531bb0
L
218982010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21899
21900 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21901 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21902 script has SORT_BY_INIT_PRIORITY.
21903 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21904 NO_CTORS_DTORS_SECTIONS is defined.
21905 * elf/soinit.c: Likewise.
21906 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21907 NO_CTORS_DTORS_SECTIONS is defined.
21908 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21909 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21910 * sysdeps/sh/init-first.c: Likewise.
21911 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21912
07eb4b71
UD
219132010-12-24 Ulrich Drepper <drepper@gmail.com>
21914
21915 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21916 always use the slow path.
21917
30950a5f
RA
219182010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21919
21920 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21921 similar rule which adds the sysdep directories to the header search in
21922 order to pick up the correct platform stackinfo.h.
21923 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21924 perform test if it is, otherwise return successfully without testing.
21925 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21926 DEFAULT_STACK_PERMS define in stackinfo.h.
21927 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21928 defined in stackinfo.h.
21929 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21930 DEFAULT_STACK_PERMS defined in stackinfo.h.
21931 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21932 * sysdeps/ia64/stackinfo.h: Likewise.
21933 * sysdeps/s390/stackinfo.h: Likewise.
21934 * sysdeps/sh/stackinfo.h: Likewise.
21935 * sysdeps/sparc/stackinfo.h: Likewise.
21936 * sysdeps/x86_64/stackinfo.h: Likewise.
21937 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21938 PF_X for powerpc64. Retain PF_X for powerpc32.
21939
db753e2c
UD
219402010-12-19 Ulrich Drepper <drepper@gmail.com>
21941
14b697f7
UD
21942 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21943 accurately.
db753e2c
UD
21944 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21945 GETDENTS_64BIT_ALIGNED.
21946
28300719
UD
219472010-12-14 Ulrich Drepper <dreper@gmail.com>
21948
14b697f7 21949 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21950
4f197237
AS
219512010-12-10 Andreas Schwab <schwab@redhat.com>
21952
dbb0472f
AS
21953 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21954 _GNU_SOURCE.
21955
4f197237
AS
21956 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21957 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21958 Remove __restrict.
21959 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21960 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21961
fb88ac72
UD
219622010-12-09 Ulrich Drepper <drepper@gmail.com>
21963
21964 [BZ #11655]
21965 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21966 are initialized.
21967
42acbb92
JJ
219682010-12-09 Jakub Jelinek <jakub@redhat.com>
21969
21970 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21971
c038d98d
UD
219722010-12-03 Ulrich Drepper <drepper@gmail.com>
21973
21974 * po/it.po: Update from translation team.
21975
3a4a2499
L
219762010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21977
21978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21979 unused codes.
21980
1e24cf6e
UD
219812010-11-30 Ulrich Drepper <drepper@gmail.com>
21982
21983 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21984
a7690819
AS
219852010-11-24 Andreas Schwab <schwab@redhat.com>
21986
21987 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21988 specially.
21989 (gaih_getanswer_slice): Likewise.
21990
3bf8d1b1
JJ
219912010-10-20 Jakub Jelinek <jakub@redhat.com>
21992
21993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21994
6db52fbb
PB
219952010-05-31 Petr Baudis <pasky@suse.cz>
21996
21997 [BZ #11149]
21998 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21999 silently even in the chroot mode.
22000
eaca7569
UD
220012010-11-22 Ulrich Drepper <drepper@gmail.com>
22002
22003 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22004 last patch a bit. Pretty printing
22005
3056dcdb
UD
220062010-05-31 Petr Baudis <pasky@suse.cz>
22007
22008 [BZ #10085]
22009 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22010 initialization of skip_initgroups_dyn.
22011
cf7c9078
UD
220122010-11-19 Ulrich Drepper <drepper@gmail.com>
22013
22014 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22015 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22016
a1fb5e3e
UD
220172010-11-16 Ulrich Drepper <drepper@gmail.com>
22018
22019 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22020
3540d66b
AS
220212010-11-11 Andreas Schwab <schwab@redhat.com>
22022
22023 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22024 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22025 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22026 ($(objpfx)tst-fnmatch-mem): New rule.
22027 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22028 * posix/tst-fnmatch.c (main): Call mtrace.
22029
13b69574
L
220302010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22031
22032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22033 Support Intel processor model 6 and model 0x2c.
22034
da93d214
LM
220352010-11-10 Luis Machado <luisgpm@br.ibm.com>
22036
22037 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22038 signed comparison.
22039
8ca52c6e
L
220402010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22041
22042 [BZ #12205]
22043 * string/test-strncasecmp.c (check_result): New function.
22044 (do_one_test): Use it.
22045 (check1): New function.
22046 (test_main): Use it.
22047 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22048 Support strcasecmp and strncasecmp.
22049
69da074d
UD
220502010-11-08 Ulrich Drepper <drepper@gmail.com>
22051
22052 [BZ #12194]
22053 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22054 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22055
ff02d528
L
220562010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22057
22058 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22059 IFUNC support.
22060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22061 memset-x86-64.
22062 * sysdeps/x86_64/multiarch/bzero.S: New file.
22063 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22064 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22065 * sysdeps/x86_64/multiarch/memset.S: New file.
22066 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22068 Set bit_Prefer_SSE_for_memop for Intel processors.
22069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22070 Define.
22071 (index_Prefer_SSE_for_memop): Define.
22072 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22073
344d0b54
LM
220742010-11-04 Luis Machado <luisgpm@br.ibm.com>
22075
22076 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22077 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22078
c0dde15b
UD
220792010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22080
22081 [BZ #12191]
22082 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22083 (__x86_64_raw_data_cache_size_half): Likewise.
22084 (__x86_64_raw_shared_cache_size): Likewise.
22085 (__x86_64_raw_shared_cache_size_half): Likewise.
22086
22087 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22088 (__x86_64_raw_data_cache_size_half): Likewise.
22089 (__x86_64_raw_shared_cache_size): Likewise.
22090 (__x86_64_raw_shared_cache_size_half): Likewise.
22091 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22092 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22093 and __x86_64_raw_shared_cache_size_half. Round
22094 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22095 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22096 to multiple of 256 bytes.
22097
0e516e0e
MS
220982010-11-03 Ulrich Drepper <drepper@gmail.com>
22099
22100 [BZ #12167]
22101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22102 of inacessible symlinks. Verify result of symlink before returning it.
22103 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22104 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22105
0e012e87
ER
221062010-10-28 Erich Ritz <erichritz@gmail.com>
22107
22108 * math/math.h (isinf): Fix typo in comment.
22109
de0ff7bc
UD
221102010-11-01 Ulrich Drepper <drepper@gmail.com>
22111
22112 * po/da.po: Update from translation team.
22113
fa41c84d
UD
221142010-10-26 Ulrich Drepper <drepper@gmail.com>
22115
22116 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22117 is added to the list.
22118
f0967738
AK
221192010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22120 Ulrich Drepper <drepper@gmail.com>
22121
22122 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22123 the global list here. Move code to...
22124 (_dl_add_to_namespace_list): ...here. New function.
22125 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22126 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22127 * elf/dl-load.c (lose): Don't remove the element from the list.
22128 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22129 (_dl_map_object): Likewise.
22130
221312010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22132
22133 [BZ #12159]
22134 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22135 into all bytes of SSE register.
22136 Patch by Richard Li <richardpku@gmail.com>.
22137
f0967738 221382010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22139
22140 [BZ #12140]
22141 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22142 perturbing.
22143
d0b9e94f
MB
221442010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22145
22146 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22147 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22148 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22149 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22151 submachine.
22152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22153
8e9f92e9
AS
221542010-10-22 Andreas Schwab <schwab@redhat.com>
22155
22156 * include/dlfcn.h (__RTLD_SECURE): Define.
22157 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22158 mode & __RTLD_SECURE instead.
22159 (open_path): Rename preloaded parameter to secure.
22160 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22161 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22162 * elf/dl-deps.c (openaux): Likewise.
22163 * elf/rtld.c (struct map_args): Remove is_preloaded.
22164 (map_doit): Don't use it.
22165 (dl_main): Likewise.
22166 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22167 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22168
bc96fbda
AS
221692010-09-09 Andreas Schwab <schwab@redhat.com>
22170
22171 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22172 (sysd-rules-targets): Remove duplicates.
22173 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22174 rtld-%.$o dependency.
22175
22cd1c9b
AS
221762010-10-18 Andreas Schwab <schwab@redhat.com>
22177
22178 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22179 _dl_map_object do it.
22180
18edac48
UD
221812010-10-19 Ulrich Drepper <drepper@gmail.com>
22182
22183 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22184 fast fma builtins, define the macros in the C99 standard.
22185 (FP_FAST_FMAF): Likewise.
22186 (FP_FAST_FMAL): Likewise.
22187 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22188
22189 * bits/mathdef.h: Update copyright year.
22190 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22191
d2050124
MM
221922010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22193
22194 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22195 builtins, define the macros in the C99 standard.
22196 (FP_FAST_FMAF): Likewise.
22197 (FP_FAST_FMAL): Likewise.
22198 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22199 multiply/add.
22200 (FP_FAST_FMAF): Likewise.
22201
475facd1
JJ
222022010-10-15 Jakub Jelinek <jakub@redhat.com>
22203
22204 [BZ #3268]
22205 * math/libm-test.inc (fma_test): Some new testcases.
22206 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22207 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22208 y and infinite z. Do multiplication by C already in long double.
22209 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22211 y and infinite z. Do bitwise or of inexact bit into u.d.
22212 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22213 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22214 * sysdeps/i386/fpu/s_fma.S: Removed.
22215 * sysdeps/i386/fpu/s_fmal.S: Removed.
22216
7c08a05c
JJ
222172010-10-16 Jakub Jelinek <jakub@redhat.com>
22218
22219 [BZ #3268]
22220 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22222 computation is not scheduled after fetestexcept. Fix value
22223 of minimum denormal long double.
22224
f3f7372d
JJ
222252010-10-14 Jakub Jelinek <jakub@redhat.com>
22226
22227 [BZ #3268]
22228 * math/libm-test.inc (fma_test): Add some more tests.
22229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22230 correctly.
22231
14d43591
AS
222322010-10-15 Andreas Schwab <schwab@redhat.com>
22233
22234 * scripts/data/localplt-s390-linux-gnu.data: New file.
22235 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22236
5e908464
JJ
222372010-10-13 Jakub Jelinek <jakub@redhat.com>
22238
22239 [BZ #3268]
22240 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22241 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22242 instead of dbl-64.
22243 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22244 inlines.
22245 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22247 if one of x and y is very large and the other is subnormal.
22248 * sysdeps/s390/fpu/s_fmaf.c: New file.
22249 * sysdeps/s390/fpu/s_fma.c: New file.
22250 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22251 * sysdeps/powerpc/fpu/s_fma.S: New file.
22252 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22253 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22254 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22255
222562010-10-12 Jakub Jelinek <jakub@redhat.com>
22257
22258 [BZ #3268]
22259 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22260 fma tests.
22261 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22262 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22263 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22264 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22265 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22266 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22267 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22268
b833d51f
UD
222692010-10-12 Ulrich Drepper <drepper@redhat.com>
22270
22271 [BZ #12078]
22272 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22273 * posix/bug-regex31.input: Add test case.
22274
1751705d
UD
222752010-10-11 Ulrich Drepper <drepper@gmail.com>
22276
e9b9cbf5
UD
22277 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22278 * posix/bug-regex31.input: New file.
22279
22280 [BZ #12078]
22281 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22282 (parse_sub_exp): Fix last change, use postorder.
22283
ef06edbe
UD
22284 * posix/bug-regex31.c: New file.
22285 * posix/Makefile: Add rules to build and run bug-regex31.
22286
a129c80d
UD
22287 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22288
22289 [BZ #12078]
22290 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22291
b76b818e
UD
22292 [BZ #12108]
22293 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22294 to have entries in sys_siglist.
22295
1751705d
UD
22296 [BZ #12093]
22297 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22298 be NULL.
22299
9ff8d36f
JJ
223002010-10-07 Jakub Jelinek <jakub@redhat.com>
22301
22302 [BZ #3268]
22303 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22304 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22305 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22306 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22307 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22308 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22309 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22310 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22311 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22312 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22313 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22314 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22315 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22316 * math/ftestexcept.c (fetestexcept): Likewise.
22317 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22318 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22319 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22320 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22321 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22322 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22323 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22324
af325969
UD
223252010-10-11 Ulrich Drepper <drepper@gmail.com>
22326
c579b202 22327 [BZ #12107]
af325969
UD
22328 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22329 newline.
22330
67a67b95
UD
223312010-10-06 Ulrich Drepper <drepper@gmail.com>
22332
22333 * string/bug-strstr1.c: New file.
22334 * string/Makefile: Add rules to build and run bug-strstr1.
22335
5fb308bc
EB
223362010-10-05 Eric Blake <eblake@redhat.com>
22337
22338 [BZ #12092]
22339 * string/str-two-way.h (two_way_long_needle): Always clear memory
22340 when skipping input due to the shift table.
22341
45db99c7
UD
223422010-10-03 Ulrich Drepper <drepper@gmail.com>
22343
3b111893
UD
22344 [BZ #12005]
22345 * malloc/mcheck.c: Handle large requests.
22346
45db99c7
UD
22347 [BZ #12077]
22348 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22349 for strncmp and strncasecmp.
22350 * string/stratcliff.c: Add tests for strcmp and strncmp.
22351 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22352
cf7a1eb8
NI
223532010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22354
22355 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22356 __set_fpscr.
22357
6484ba5e
AJ
223582010-09-30 Andreas Jaeger <aj@suse.de>
22359
22360 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22361 (CGROUP_SUPER_MAGIC): Define.
22362 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22363 Handle btrfs and cgroup file systems.
22364 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22365 Likewise.
22366
91c42559
LM
223672010-09-27 Luis Machado <luisgpm@br.ibm.com>
22368
22369 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22370 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22371
87a97932
AK
223722010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22373
22374 [BZ #12067]
22375 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22376 trying to locate the ELF header.
22377
c21cc9bc
AS
223782010-09-27 Andreas Schwab <schwab@redhat.com>
22379
22380 [BZ #11611]
22381 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22382 Mask out sign-bit copies when constructing f_fsid.
22383
315970f6
PB
223842010-09-24 Petr Baudis <pasky@suse.cz>
22385
22386 * debug/stack_chk_fail_local.c: Add missing licence exception.
22387 * debug/warning-nop.c: Likewise.
22388
1ac7a2c7
JM
223892010-09-15 Joseph Myers <joseph@codesourcery.com>
22390
22391 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22392 implementing getdents64 using getdents syscall, set d_type if
22393 __ASSUME_GETDENTS32_D_TYPE.
22394
56801c50
AS
223952010-09-16 Andreas Schwab <schwab@redhat.com>
22396
22397 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22398 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22399
dda51327
UD
224002010-09-21 Ulrich Drepper <drepper@redhat.com>
22401
22402 [BZ #12037]
22403 * posix/unistd.h: Undo change of feature selection for ftruncate from
22404 2010-01-11.
22405
8ffcee4a
UD
224062010-09-20 Ulrich Drepper <drepper@redhat.com>
22407
a545ecd9 22408 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22409 detection.
22410
e24f0a8b
AS
224112010-09-20 Andreas Schwab <schwab@redhat.com>
22412
22413 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22414 fanotify_mark.
22415 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22416
7291c56f
AS
224172010-09-14 Andreas Schwab <schwab@redhat.com>
22418
22419 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22420 variables after CHECK_SP call.
22421 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22422
bc5fb037
AS
224232010-09-13 Andreas Schwab <schwab@redhat.com>
22424 Ulrich Drepper <drepper@redhat.com>
22425
22426 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22427 re-relocationg ld.so.
22428 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22429 _dl_init_paths call.
22430 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22431 here anymore.
22432
e66e7419
UD
224332010-09-14 Ulrich Drepper <drepper@redhat.com>
22434
22435 * resolv/res_init.c (__res_vinit): Count the default server we added.
22436
c044aa75
CLT
224372010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22438 Ulrich Drepper <drepper@redhat.com>
22439
22440 [BZ #11968]
22441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22442 (____longjmp_chk): Use %ebx for saving value across system call.
22443 Add unwind info.
22444
32cf4069
AS
224452010-09-06 Andreas Schwab <schwab@redhat.com>
22446
22447 * manual/Makefile: Don't mix pattern rules with normal rules.
22448
817328ee
AS
224492010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22450
22451 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22452 operation.
22453 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22454 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22455 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22456 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22458 Likewise.
22459
29fddf61
UD
224602010-09-04 Ulrich Drepper <drepper@redhat.com>
22461
22462 [BZ #11979]
22463 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22464 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22465
0959ffc9
UD
224662010-09-02 Ulrich Drepper <drepper@redhat.com>
22467
22468 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22469 * sysdeps/x86_64/addmul_1.S: Likewise.
22470 * sysdeps/x86_64/lshift.S: Likewise.
22471 * sysdeps/x86_64/mul_1.S: Likewise.
22472 * sysdeps/x86_64/rshift.S: Likewise.
22473 * sysdeps/x86_64/sub_n.S: Likewise.
22474 * sysdeps/x86_64/submul_1.S: Likewise.
22475
ece29840
ST
224762010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22477
0959ffc9
UD
22478 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22479 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22480 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22481 * bits/sched.h [__need_schedparam]
ece29840 22482 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22483 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22484 (__defined_schedparam): Define to 1.
ece29840
ST
22485 (__sched_param): New structure, identical to sched_param.
22486 (__need_schedparam): Undefine.
22487
e53a31fe
MF
224882010-08-31 Mike Frysinger <vapier@gentoo.org>
22489
fdc0c10d
MF
22490 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22491 (epoll_create1): Declare.
22492
e53a31fe
MF
22493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22494
a726d796
AS
224952010-08-31 Andreas Schwab <schwab@redhat.com>
22496
22497 [BZ #7066]
22498 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22499 shifting retval into place.
22500
2f3e3dc7
UD
225012010-09-01 Ulrich Drepper <drepper@redhat.com>
22502
f2933da9
UD
22503 * nis/rpcsvc/nis.h: Update copyright notice.
22504 * nis/rpcsvc/nis.x: Likewise.
22505 * nis/rpcsvc/nis_callback.h: Likewise.
22506 * nis/rpcsvc/nis_callback.x: Likewise.
22507 * nis/rpcsvc/nis_object.x: Likewise.
22508 * nis/rpcsvc/nis_tags.h: Likewise.
22509 * nis/rpcsvc/yp.h: Likewise.
22510 * nis/rpcsvc/yp.x: Likewise.
22511 * nis/rpcsvc/ypupd.h: Likewise.
22512 * nis/yp_xdr.c: Likewise.
22513 * nis/ypupdate_xdr.c: Likewise.
22514
2f3e3dc7
UD
22515 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22516 mainly the body of pmap_getport. Add parameters to specify timeouts.
22517 (pmap_getport): Use __libc_rpc_getport.
22518 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22519 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22520 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22521
f3dcc2f9
AS
225222010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22523
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22525 fanotify_mark.
22526
6d34eb5b
RM
225272010-08-27 Roland McGrath <roland@redhat.com>
22528
22529 * sysdeps/i386/i686/multiarch/Makefile
22530 (CFLAGS-varshift.c): New variable.
22531
9ea3de11
UD
225322010-08-27 Ulrich Drepper <drepper@redhat.com>
22533
c96d23fc
UD
22534 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22535 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22536
9ea3de11
UD
22537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22538
22539 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22540
623aac7f
L
225412010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22542
22543 * sysdeps/x86_64/strlen.S: Unroll the loop.
22544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22545 strlen-sse2 strlen-sse2-bsf.
22546 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22547 __strlen_no_bsf if bit_Slow_BSF is set.
22548 (__strlen_sse42): Removed.
22549 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22550 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22551
8b2b7715
RM
225522010-08-25 Roland McGrath <roland@redhat.com>
22553
22554 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22555 * sysdeps/x86_64/multiarch/varshift.c: New file.
22556 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22557 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22558 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22559 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22560
e73015f2
L
225612010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22562
22563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22564 strlen-sse2 strlen-sse2-bsf.
22565 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22566 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22567 (__strlen_sse2): Removed.
22568 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22571 bit_Slow_BSF for Atom.
22572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22573 (index_Slow_BSF): Define.
22574 (HAS_SLOW_BSF): Define.
22575
df24a73e
UD
225762010-08-25 Ulrich Drepper <drepper@redhat.com>
22577
22578 [BZ #10851]
22579 * resolv/res_init.c (__res_vinit): When no server address at all
22580 is given default to loopback.
22581
f2ac4868
RM
225822010-08-24 Roland McGrath <roland@redhat.com>
22583
09055553
RM
22584 * configure.in: Remove config-name.h generation.
22585 * configure: Regenerated.
22586 * config-name.in: File removed.
22587 * scripts/config-uname.sh: New file.
22588 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22589 ($(objdir)config-name.h): New target.
22590
f2ac4868
RM
22591 * sunrpc/rpc_parse.h: Avoid nested comment.
22592
73f27d5e
RH
225932010-08-24 Richard Henderson <rth@redhat.com>
22594 Ulrich Drepper <drepper@redhat.com>
22595 H.J. Lu <hongjiu.lu@intel.com>
22596
22597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22598 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22599 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22600 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22601 _mm_alignr_epi8 with _mm_loadu_si128.
22602 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22603 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22604 (__m128i_shift_right): Removed.
22605 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22606 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22607 * sysdeps/x86_64/multiarch/varshift.h: New file.
22608 * sysdeps/x86_64/multiarch/varshift.S: New file.
22609
84b9230c
MF
226102010-08-21 Mike Frysinger <vapier@gentoo.org>
22611
22612 * configure.in: Move assembler checks to before sysdep dir checking.
22613
9bbd0ddc
PB
226142010-08-20 Petr Baudis <pasky@suse.cz>
22615
22616 * LICENSES: Sync the sunrpc license.
22617
9da4bb31
UD
226182010-08-19 Ulrich Drepper <drepper@redhat.com>
22619
a7ab6ec8
UD
22620 * sunrpc/auth_des.c: Update copyright notice once again.
22621 * sunrpc/auth_none.c: Likewise.
22622 * sunrpc/auth_unix.c: Likewise.
22623 * sunrpc/authdes_prot.c: Likewise.
22624 * sunrpc/authuxprot.c: Likewise.
22625 * sunrpc/bindrsvprt.c: Likewise.
22626 * sunrpc/clnt_gen.c: Likewise.
22627 * sunrpc/clnt_perr.c: Likewise.
22628 * sunrpc/clnt_raw.c: Likewise.
22629 * sunrpc/clnt_simp.c: Likewise.
22630 * sunrpc/clnt_tcp.c: Likewise.
22631 * sunrpc/clnt_udp.c: Likewise.
22632 * sunrpc/clnt_unix.c: Likewise.
22633 * sunrpc/des_crypt.c: Likewise.
22634 * sunrpc/des_soft.c: Likewise.
22635 * sunrpc/get_myaddr.c: Likewise.
22636 * sunrpc/getrpcport.c: Likewise.
22637 * sunrpc/key_call.c: Likewise.
22638 * sunrpc/key_prot.c: Likewise.
22639 * sunrpc/openchild.c: Likewise.
22640 * sunrpc/pm_getmaps.c: Likewise.
22641 * sunrpc/pm_getport.c: Likewise.
22642 * sunrpc/pmap_clnt.c: Likewise.
22643 * sunrpc/pmap_prot.c: Likewise.
22644 * sunrpc/pmap_prot2.c: Likewise.
22645 * sunrpc/pmap_rmt.c: Likewise.
22646 * sunrpc/rpc/auth.h: Likewise.
22647 * sunrpc/rpc/auth_unix.h: Likewise.
22648 * sunrpc/rpc/clnt.h: Likewise.
22649 * sunrpc/rpc/des_crypt.h: Likewise.
22650 * sunrpc/rpc/key_prot.h: Likewise.
22651 * sunrpc/rpc/netdb.h: Likewise.
22652 * sunrpc/rpc/pmap_clnt.h: Likewise.
22653 * sunrpc/rpc/pmap_prot.h: Likewise.
22654 * sunrpc/rpc/pmap_rmt.h: Likewise.
22655 * sunrpc/rpc/rpc.h: Likewise.
22656 * sunrpc/rpc/rpc_des.h: Likewise.
22657 * sunrpc/rpc/rpc_msg.h: Likewise.
22658 * sunrpc/rpc/svc.h: Likewise.
22659 * sunrpc/rpc/svc_auth.h: Likewise.
22660 * sunrpc/rpc/types.h: Likewise.
22661 * sunrpc/rpc/xdr.h: Likewise.
22662 * sunrpc/rpc_clntout.c: Likewise.
22663 * sunrpc/rpc_cmsg.c: Likewise.
22664 * sunrpc/rpc_common.c: Likewise.
22665 * sunrpc/rpc_cout.c: Likewise.
22666 * sunrpc/rpc_dtable.c: Likewise.
22667 * sunrpc/rpc_hout.c: Likewise.
22668 * sunrpc/rpc_main.c: Likewise.
22669 * sunrpc/rpc_parse.c: Likewise.
22670 * sunrpc/rpc_parse.h: Likewise.
22671 * sunrpc/rpc_prot.c: Likewise.
22672 * sunrpc/rpc_sample.c: Likewise.
22673 * sunrpc/rpc_scan.c: Likewise.
22674 * sunrpc/rpc_scan.h: Likewise.
22675 * sunrpc/rpc_svcout.c: Likewise.
22676 * sunrpc/rpc_tblout.c: Likewise.
22677 * sunrpc/rpc_util.c: Likewise.
22678 * sunrpc/rpc_util.h: Likewise.
22679 * sunrpc/rpcinfo.c: Likewise.
22680 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22681 * sunrpc/rpcsvc/key_prot.x: Likewise.
22682 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22683 * sunrpc/rpcsvc/mount.x: Likewise.
22684 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22685 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22686 * sunrpc/rpcsvc/rex.x: Likewise.
22687 * sunrpc/rpcsvc/rstat.x: Likewise.
22688 * sunrpc/rpcsvc/rusers.x: Likewise.
22689 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22690 * sunrpc/rpcsvc/spray.x: Likewise.
22691 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22692 * sunrpc/rtime.c: Likewise.
22693 * sunrpc/svc.c: Likewise.
22694 * sunrpc/svc_auth.c: Likewise.
22695 * sunrpc/svc_authux.c: Likewise.
22696 * sunrpc/svc_raw.c: Likewise.
22697 * sunrpc/svc_run.c: Likewise.
22698 * sunrpc/svc_simple.c: Likewise.
22699 * sunrpc/svc_tcp.c: Likewise.
22700 * sunrpc/svc_udp.c: Likewise.
22701 * sunrpc/svc_unix.c: Likewise.
22702 * sunrpc/svcauth_des.c: Likewise.
22703 * sunrpc/xcrypt.c: Likewise.
22704 * sunrpc/xdr.c: Likewise.
22705 * sunrpc/xdr_array.c: Likewise.
22706 * sunrpc/xdr_float.c: Likewise.
22707 * sunrpc/xdr_mem.c: Likewise.
22708 * sunrpc/xdr_rec.c: Likewise.
22709 * sunrpc/xdr_ref.c: Likewise.
22710 * sunrpc/xdr_sizeof.c: Likewise.
22711 * sunrpc/xdr_stdio.c: Likewise.
22712
9da4bb31
UD
22713 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22714 handling.
22715
bdaa77bc
AS
227162010-08-19 Andreas Schwab <schwab@redhat.com>
22717
22718 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22719
fe2f79db
LM
227202010-08-19 Luis Machado <luisgpm@br.ibm.com>
22721
22722 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22723 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22724 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22725 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22726 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22727 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22728 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22729 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22731 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22732 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22733 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22734 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22735 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22736
b9b42ee0
AB
227372010-07-26 Anton Blanchard <anton@samba.org>
22738
22739 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22740 * malloc/arena.c (heap_trim): Likewise.
22741
1c06ba31
UD
227422010-08-16 Ulrich Drepper <drepper@redhat.com>
22743
22744 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22745 here. Not...
22746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22747 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22748
f8392f40
L
227492010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22750
22751 * sysdeps/i386/elf/Makefile: New file.
22752
3162f12e
AS
227532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22754
22755 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22756 from fanotify_init.
22757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22759
28c90b2c
UD
227602010-08-15 Ulrich Drepper <drepper@redhat.com>
22761
22762 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22763 of strncasecmp_l.
1feccb6c 22764 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22765
ca6bb004
UD
227662010-08-14 Ulrich Drepper <drepper@redhat.com>
22767
e9f82e0d
UD
22768 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22769 strncase_l-nonascii.
22770 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22771 Add strncase_l-ssse3.
22772 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22773 * sysdeps/x86_64/strcmp.S: Likewise.
22774 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22775 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22776 * sysdeps/x86_64/strncase.S: New file.
22777 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22778 * sysdeps/x86_64/strncase_l.S: New file.
22779 * string/Makefile (strop-tests): Add strncasecmp.
22780 * string/test-strncasecmp.c: New file.
22781
22782 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22783 warning.
22784
ca6bb004
UD
22785 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22786 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22787
052fa7b3
AS
227882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22789
22790 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22791
962dba78
UD
227922010-08-12 Ulrich Drepper <drepper@redhat.com>
22793
22794 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22795 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22796 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22797
bebff237
AM
227982010-05-01 Alan Modra <amodra@gmail.com>
22799
22800 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22801 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22802 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22803 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22804 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22805 tidying. Don't tail-call __sigjmp_save for static lib.
22806 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22807 save location.
22808 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22809 (CALL_MCOUNT): Add eh info, and nop after bl.
22810 (TAIL_CALL_SYSCALL_ERROR): New macro.
22811 (PSEUDO_RET): Use it.
22812 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22813 Correct save location of integer regs and cr.
22814 (_dl_profile_resolve): Correct cr save location. Delete nops
22815 after bl when SHARED. Reduce cfi size a little by better
22816 placement of cfi directives.
22817 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22818 make a stack frame. Instead use parm save area as a temp.
22819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22820 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22822 Don't make a stack frame for parent, use parm save area.
22823 Increase child stack frame to 112 bytes. Don't save unused reg,
22824 and adjust reg usage. Set up cfi on error recovery and
22825 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22827 (__makecontext): Add dummy nop after jump to exit.
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22829 Use correct parm save area and cr save, reduce stack frame.
22830 Correct cfi for possible PSEUDO_RET frame setup.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22832 Branch to local label emitted by PSEUDO_RET rather than
22833 __syscall_error.
22834
02637374
AS
228352010-08-12 Andreas Schwab <schwab@redhat.com>
22836
22837 [BZ #11904]
22838 * locale/programs/locale.c (print_assignment): New function.
22839 (show_locale_vars): Use it.
22840
c3e2f19b
UD
228412010-08-11 Ulrich Drepper <drepper@redhat.com>
22842
3cdaa6ad
UD
22843 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22844 field.
22845 (struct statfs64): Likewise.
22846 (_STATFS_F_FLAGS): Define.
22847 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22848 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22849 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22850 (ST_VALID): Define locally.
22851 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22852 __statvfs_getflags, use the provided value.
22853 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22854 __ASSUME_STATFS_F_FLAGS.
22855
754f7da3
UD
22856 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22857
10b3bedc
UD
22858 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22859 Add sys/fanotify.h.
22860 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22861 fanotify_mask for GLIBC_2.13.
22862 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22863 fanotify_init and fanotify_mark.
22864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22865 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22866
c08fb0d7
UD
22867 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22868 Add prlimit.
22869 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22870 prlimit64 for GLIBC_2.13.
22871 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22872 prlimit64.
22873 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22874 syscall.
22875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22876 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22877 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22878 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22879 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22880 add prlimit alias.
22881 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22882
15bac72b
UD
22883 [BZ #11903]
22884 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22885 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22886
c3e2f19b
UD
22887 * nss/Makefile: Add rules to build and run tst-nss-test1.
22888 * shlib-versions: Add entry for libnss_test1.
22889 * nss/nss_test1.c: New file.
22890 * nss/tst-nss-test1.c: New file.
22891
22892 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22893 (__nss_configure_lookup): Set appropriate entry in
22894 __nss_configure_lookup to true.
22895 * nss/nsswitch.h: Define enum with indeces of databases in
22896 databases and __nss_database_custom arrays. Declare
22897 __nss_database_custom.
22898 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22899 to avoid using nscd when custom rules are installed.
22900 * nss/getXXbyYY_r.c: Likewise.
22901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22902
22903 * nss/nss_files/files-parse.c: Whitespace fixes.
22904
f15ce4d8
UD
229052010-08-09 Ulrich Drepper <drepper@redhat.com>
22906
22907 [BZ #11883]
22908 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22909 * posix/fnmatch_loop.c: Likewise.
22910
d22e4cc9
AK
229112010-07-17 Andi Kleen <ak@linux.intel.com>
22912
22913 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22914 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22915 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22916 * Versions.def [GLIBC_2.13]: Add.
22917
805bc17d
UD
229182010-08-06 Ulrich Drepper <drepper@redhat.com>
22919
22920 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22921 Also fail if tpwd after pwuid call is NULL.
22922
5a42321d
ST
229232010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22924
22925 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22926 when converting to ms.
22927
fd3ebeda
ST
229282010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22929
22930 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22931 EOPNOTSUPP errors with ENOTTY.
22932 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22933 EOPNOTSUPP errors with ENOTTY.
22934
73507d3a
UD
229352010-07-31 Ulrich Drepper <drepper@redhat.com>
22936
22937 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22938 Add strcasecmp_l-ssse3.
22939 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22940 strcasecmp.
22941 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22942 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22943 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22944
fe36dd02
UD
229452010-07-30 Ulrich Drepper <drepper@redhat.com>
22946
66f6765a
UD
22947 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22948
42e08a54
UD
22949 * string/Makefile (strop-tests): Add strcasecmp.
22950 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22951 strcasecmp_l-nonascii.
22952 (gen-as-const-headers): Add locale-defines.sym.
22953 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22954 * sysdeps/x86_64/strcasecmp.S: New file.
22955 * sysdeps/x86_64/strcasecmp_l.S: New file.
22956 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22957 * sysdeps/x86_64/locale-defines.sym: New file.
22958 * string/test-strcasecmp.c: New file.
22959
fe36dd02
UD
22960 * string/test-strcasestr.c: Test both ends of the range of characters.
22961 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22962
48cbc0d6
RM
229632010-07-29 Roland McGrath <roland@redhat.com>
22964
76e6d6bc 22965 [BZ #11856]
48cbc0d6
RM
22966 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22967
880113d9
UD
229682010-07-27 Ulrich Drepper <drepper@redhat.com>
22969
22970 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22971 for ld.so.
22972
deb9cabb
AS
229732010-07-27 Andreas Schwab <schwab@redhat.com>
22974
22975 * manual/memory.texi (Malloc Tunable Parameters): Document
22976 M_PERTURB.
22977
1c7570ff
RM
229782010-07-26 Roland McGrath <roland@redhat.com>
22979
22980 [BZ #11840]
22981 * configure.in (-fgnu89-inline check): Set and substitute
22982 gnu89_inline, not libc_cv_gnu89_inline.
22983 * configure: Regenerated.
22984 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22985
24fb0f88
UD
229862010-07-26 Ulrich Drepper <drepper@redhat.com>
22987
22988 * string/test-strnlen.c: New file.
22989 * string/Makefile (strop-tests): Add strnlen.
22990 * string/tester.c (test_strnlen): Add a few more test cases.
22991 * string/tst-strlen.c: Better error reporting.
22992
22993 * sysdeps/x86_64/strnlen.S: New file.
22994
8e96b93a
UD
229952010-07-24 Ulrich Drepper <drepper@redhat.com>
22996
22997 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22998 lower-latency instructions.
22999
dbc676d4
UD
230002010-07-23 Ulrich Drepper <drepper@redhat.com>
23001
23002 * string/test-strcasestr.c: New file.
23003 * string/test-strstr.c: New file.
23004 * string/Makefile (strop-tests): Add strstr and strcasestr.
23005 * string/str-two-way.h: Don't undefine MAX.
23006 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23007
f6a31e0e
AS
230082010-07-21 Andreas Schwab <schwab@redhat.com>
23009
23010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23011 strcasestr-nonascii.
23012 (CFLAGS-strcasestr-nonascii.c): Define.
23013 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23014 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23015 Remove unused attribute.
23016
5dbc3b6c
RM
230172010-07-20 Roland McGrath <roland@redhat.com>
23018
23019 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23020 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23021 ld.so.cache was broken. With it, there is no way to disable dsocaps
23022 like LD_HWCAP_MASK can disable hwcaps.
23023
23d101d8
EPM
230242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23025
23026 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23027
cc9f2e47
UD
230282010-07-16 Ulrich Drepper <drepper@redhat.com>
23029
23030 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23031 call in strcasestr.
23032 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23033 __strcasestr_sse42_nonascii.
23034 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23035 strcasestr-nonascii.c.
23036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23037
77c1b069
LM
230382010-06-15 Luis Machado <luisgpm@br.ibm.com>
23039
23040 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23041 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23042 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23043 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23044
440566c3
UD
230452010-07-09 Ulrich Drepper <drepper@redhat.com>
23046
23047 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23048 fcntl.
23049
5be9d05d
AS
230502010-07-06 Andreas Schwab <schwab@redhat.com>
23051
c30b7ee2 23052 [BZ #11577]
5be9d05d
AS
23053 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23054 dl_signal_cerror.
23055
8a492a67
UD
230562010-07-06 Ulrich Drepper <drepper@redhat.com>
23057
23058 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23059 _PC_PIPE_BUF using F_GETPIPE_SZ.
23060
713df3d5
RM
230612010-07-05 Roland McGrath <roland@redhat.com>
23062
23063 * manual/arith.texi (Rounding Functions): Fix rint description
23064 implicit in round description.
23065
702e8f14
UD
230662010-07-02 Ulrich Drepper <drepper@redhat.com>
23067
23068 * elf/Makefile: Fix linking for a few tests to make recent linker
23069 happy.
23070
52ed8be9
AS
230712010-06-30 Andreas Schwab <schwab@redhat.com>
23072
23073 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23074 $(common-objpfx)libc_nonshared.a.
23075
f47c9a11
LM
230762010-06-21 Luis Machado <luisgpm@br.ibm.com>
23077
23078 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23079 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23080 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23081 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23082 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23083 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23084 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23085 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23100 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23101 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23102 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23103 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23104 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23105 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23106 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23107 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23108 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23109 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23110 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23111 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23126
6fb8cbcb
L
231272010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23128
23129 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23130 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23131 * string/memmove.c (memmove): Renamed to ...
23132 (MEMMOVE): ...this. Default to memmove.
23133 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23134 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23135 (END_CHK): Define.
23136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23137 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23138 mempcpy-ssse3-back memmove-ssse3-back.
23139 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23141 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23142 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23143 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23144 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23145 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23146 * sysdeps/x86_64/multiarch/memmove.c: New file.
23147 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23148 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23149 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23150 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23151 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23153 Define.
23154 (index_Fast_Copy_Backward): Define.
23155 (HAS_ARCH_FEATURE): Define.
23156 (HAS_FAST_REP_STRING): Define.
23157 (HAS_FAST_COPY_BACKWARD): Define.
23158
4e733bac 231592010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23160
23161 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23162 Restore proper fallback handling.
23163
63c4ed22
UD
231642010-06-19 Ulrich Drepper <drepper@redhat.com>
23165
ac2b484c
UD
23166 [BZ #11701]
23167 * posix/group_member.c (__group_member): Correct checking loop.
23168
63c4ed22
UD
23169 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23170 OOM in getpwuid_r correctly. Return error number when the caller
23171 should return, otherwise -1.
23172 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23173 call returning > 0 value.
23174 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23175
765ade4b
AS
231762010-06-07 Andreas Schwab <schwab@redhat.com>
23177
23178 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23179 libc_nonshared.a from targets in modules-names.
23180
80da2e09
KS
231812010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23182
23183 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23184 requires it.
23185
158db122
LM
231862010-06-10 Luis Machado <luisgpm@br.ibm.com>
23187
23188 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23189 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23192
caa78cf8
AS
231932010-06-02 Andreas Schwab <schwab@redhat.com>
23194
23195 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23196
b2ef2c01
UD
231972010-06-14 Ulrich Drepper <drepper@redhat.com>
23198
23199 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23200 and F_GETPIPE_SZ.
23201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23206 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23207
fbd643b6
RM
232082010-06-14 Roland McGrath <roland@redhat.com>
23209
23210 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23211
f32f2869
JJ
232122010-06-07 Jakub Jelinek <jakub@redhat.com>
23213
23214 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23215 __REDIRECT followed by __THROW.
23216 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23217 * posix/getopt.h (getopt): Likewise.
23218
2a50c078
EPM
232192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23220
23221 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23222 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23223 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23224 in AT_FLAGS.
23225 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23226 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23227
eb5ad2eb
LM
232282010-05-28 Luis Machado <luisgpm@br.ibm.com>
23229
23230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23231
3c88fe1e
L
232322010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23233
23234 [BZ #11640]
23235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23236 Properly check family and model.
23237
d2f73151
TY
232382010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23239
23240 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23241
ebd2e13d
LM
232422010-05-24 Luis Machado <luisgpm@br.ibm.com>
23243
23244 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23245
b32b8b45
UD
232462010-05-21 Ulrich Drepper <drepper@redhat.com>
23247
23248 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23249 symbol reference.
23250
9acbe24d
AS
232512010-05-19 Andreas Schwab <schwab@redhat.com>
23252
23253 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23254 symbol reference.
23255
f0ccf6ea
AS
232562010-05-21 Andreas Schwab <schwab@redhat.com>
23257
3d04ff3a
AS
23258 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23259 and internal_recvmmsg.
23260 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23261 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23262 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23263 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23264
f0ccf6ea
AS
23265 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23266 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23267 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23268
5b08ac57
AS
232692010-05-20 Andreas Schwab <schwab@redhat.com>
23270
23271 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23272
4828935d
LM
232732010-05-17 Luis Machado <luisgpm@br.ibm.com>
23274
23275 POWER7 optimizations.
23276 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23277 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23278
373d545e
UD
232792010-05-19 Ulrich Drepper <drepper@redhat.com>
23280
23281 * version.h: Update for 2.13 development version.
23282
21a2b1ae
AS
232832010-05-12 Andrew Stubbs <ams@codesourcery.com>
23284
23285 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23286 exceptions. Return 0.
23287
3f7dcb2b
RM
232882010-05-07 Roland McGrath <roland@redhat.com>
23289
23290 * elf/ldconfig.c (main): Add a const.
23291
5f24d53a 232922010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23293
a160f8d8
UD
23294 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23295 (args_options): Add no-idn option.
23296 (ahosts_keys_int): Add idn_flags to ai_flags.
23297 (parse_option): Handle 'i' option to clear idn_flags.
23298
5f24d53a
UD
23299 * malloc/malloc.c (_int_free): Possible race in the most recently
23300 added check. Only act on the data if no current modification
23301 happened.
265bb1ce
UD
23302
23303See ChangeLog.17 for earlier changes.
This page took 2.962402 seconds and 5 git commands to generate.