]> sourceware.org Git - glibc.git/blame - ChangeLog
Update version.h and include/features.h for 2.17 release.
[glibc.git] / ChangeLog
CommitLineData
147d03b0
DM
12012-12-21 David S. Miller <davem@davemloft.net>
2
3 * po/hr.po: Update from translation team.
4
a8ebb2b9
AK
52012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6
7 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8
95b4f1b6
SE
92012-12-19 Steve Ellcey <sellcey@mips.com>
10
b2d94007 11 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12
cedb2a90
MS
132012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14
15 * manual/contrib.texi (Contributors): Spelling correction.
16
bbf527d6
DM
172012-12-15 David S. Miller <davem@davemloft.net>
18
19 * po/ru.po: Update from translation team.
20
bc38c906
DM
212012-12-13 David S. Miller <davem@davemloft.net>
22
85429b1a
DM
23 * NEWS: Mention IFUNC testsuite enhancements.
24
d283e353
DM
25 * po/pl.po: Update from translation team.
26 * po/bg.po: Likewise.
27
bc38c906
DM
28 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30
a181b0d7
DM
312012-12-11 David S. Miller <davem@davemloft.net>
32
4641d57e
DM
33 * po/sv.po: Update from translation team.
34
f7bc6495
DM
35 * po/vi.po: Update from translation team.
36
6fc9048f
DM
37 * po/cs.po: Update from translation team.
38
a181b0d7
DM
39 * po/de.po: Update from translation team.
40 * po/eo.po: Likewise.
41 * po/nl.po: Likewise.
42
f70bfe80
SP
432012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
44
3c8b4190
SP
45 [BZ #14246]
46 * manual/argp.texi (Argp Helper Functions): Move node to follow
47 Argp Parsing State.
48
f70bfe80
SP
49 [BZ #14872]
50 * manual/conf.texi (Limits on File System Capacity): Mention if
51 terminating null is included in the max size.
52
188f0adf
AJ
532012-12-10 Andreas Jaeger <aj@suse.de>
54
55 * po/cs.po: Update from translation team.
56
56e7d3ad
SP
572012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58
59 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60 void pointer and cast to uintptr_t.
61 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62 path.
63 * sysdeps/s390/s390-64/memcpy.S: Likewise.
64 * sysdeps/s390/s390-64/memset.S: Likewise.
65
76f2d2ea 662012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
67
68 [BZ #14833]
69 * menual/message.texi (Message Translation): Fix typos.
70 (Helper programs for gettext): Likewise.
71
67cbf9a2
AS
722012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73
74 [BZ #14898]
75 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
76 Change to -1.
77
682d0e9a
DM
782012-12-07 David S. Miller <davem@davemloft.net>
79
80 * po/libc.pot: Update.
81
573cd484
RH
822012-12-07 Richard Henderson <rth@redhat.com>
83
7e9da188 84 [BZ #10114]
573cd484
RH
85 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
86 normal/normal case to before the switch.
87 (_FP_DIV): Likewise.
88
e933a943
MF
892012-12-06 Carlos O'Donell <carlos@systemhalted.org>
90 Mike Frysinger <vapier@gentoo.org>
91
92 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
93 check for __NR_fadvise64_64.
94
82123268
CM
952012-12-06 Chris Metcalf <cmetcalf@tilera.com>
96
97 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
98 0, not just to plain "0" as a statement.
99 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
100 with cw.
101
d9814526
JM
1022012-12-06 Joseph Myers <joseph@codesourcery.com>
103
104 * NEWS: Use sourceware.org in Bugzilla URL.
105
7728c574
SP
1062012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
107
f16946dd
SP
108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
109 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
110
5704bbcb
SP
111 * stdio-common/tst-put-error.c (do_test): Add newline to the
112 padded test to ensure flush.
113
17aa0516
JL
1142012-12-05 Jeff Law <law@redhat.com>
115
116 * sunrpc/etc.rpc (fedfs_admin): Add entry.
117
363313b5
JM
1182012-12-05 Joseph Myers <joseph@codesourcery.com>
119
effbd42a
JM
120 * README: Don't refer to ports add-on as distributed separately.
121 Mention AArch64 in list of systems supported in the ports add-on.
122
87600365
JM
123 * LICENSES: Add more non-FSF copyright and license notices.
124
a0d7066a
JM
125 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
126 ((unused)).
127
66ca5a5b
JM
128 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
129
363313b5
JM
130 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
131 10000 as width of padded output.
132
b37984ad
JM
1332012-12-04 Joseph Myers <joseph@codesourcery.com>
134
9003570a
JM
135 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
136
b37984ad
JM
137 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
138 variable LX with __attribute__ ((unused)).
139 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
140 Likewise.
141 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
144 with __attribute__ ((unused)).
145
c8df52ec
DM
1462012-12-04 David S. Miller <davem@abraco.davemloft.net>
147
148 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
149
b3b099af
JM
1502012-12-04 Joseph Myers <joseph@codesourcery.com>
151
c33aa6e3
JM
152 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
153 (CFLAGS-nldbl-acos.c): New variable.
154 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
155 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
156 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
157 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
158 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
159 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
160 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
161 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
162 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
163 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
164 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
165 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
166 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
167 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
168 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
169 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
170 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
171 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
172 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
173 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
174 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
175 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
176 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
177 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
178 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
179 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
180 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
181 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
182 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
183 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
184 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
185 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
186 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
187 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
188 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
189 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
190 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
191 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
192 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
193 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
194 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
195 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
196 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
197 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
198 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
199 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
200 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
201 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
202 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
203 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
204 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
205 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
206 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
207 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
208 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
209 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
210 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
211 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
212 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
213 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
214 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
215 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
216 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
217 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
218 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
219 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
220 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
221 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
222 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
223 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
224 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
225 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
226 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
227 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
228 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
229 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
230 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
231 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
232 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
233 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
234 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
235 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
236 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
237 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
238 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
239 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
240 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
241 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
242 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
243 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
244 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
245 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
246 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
247 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
248 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
249 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
250 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
251
20f0018d
JM
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
253 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
254
b3b099af
JM
255 [BZ #14914]
256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
257 whole low double instead of just low 47 bits when splitting values
258 into two parts.
259
029264d1
AM
2602012-12-03 Allan McRae <allan@archlinux.org>
261
262 * manual/stdio.texi (Predefined Printf Handlers): Remove
263 @hsep and @vsep usage.
264
c9d6789e
MF
2652012-12-03 Mike Frysinger <vapier@gentoo.org>
266
267 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
268 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
269
4b7634a5
JL
2702012-12-03 Jeff Law <law@redhat.com>
271
272 * time/sys/time.h (settimeofday): Do not mark TV argument
273 as __nonnull.
274
eb6cbd24
MF
2752012-12-01 Mike Frysinger <vapier@gentoo.org>
276
277 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
278 when currently writing and seek to current position when not.
279 * libio/Makefile (tests): Remove bug-fclose1.
280 * libio/bug-fclose1.c: Delete.
281
f638872a
JM
2822012-12-01 Joseph Myers <joseph@codesourcery.com>
283
284 * manual/arith.texi (feenableexcept): Fix typo.
285 (fedisableexcept): Likewise.
286
48085d14
RM
2872012-11-30 Roland McGrath <roland@hack.frob.com>
288
289 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
290 second, differently-typed declaration, rather than a cast.
291
1a538b9f
SP
2922012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
293
294 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
295 * include/rpc/svc.h: ... here.
296
d07f2ff1 2972012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
298
299 [BZ #13013]
300 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
301 depending n and resplen2 to catch cases where answer
302 equals answerp2.
303
c93ec1f0
CD
3042012-11-29 Carlos O'Donell <carlos@systemhalted.org>
305
306 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
307 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
308
37db69de
MF
3092012-11-29 Mike Frysinger <vapier@gentoo.org>
310
311 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
312
e10c4e4f
RM
3132012-11-29 Roland McGrath <roland@hack.frob.com>
314
315 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
316
2af1b328
JL
3172012-11-28 Jeff Law <law@redhat.com>
318
319 [BZ #13761]
320 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
321 dataset_temporary. Track alloca usage into alloca_used.
322 If dataset is large allocate and release it via malloc/free.
323
111db5b1
FW
3242012-06-04 Florian Weimer <fweimer@redhat.com>
325
f06cc227 326 [BZ #14197]
111db5b1
FW
327 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
328
dd694abd
DM
3292012-11-28 David S. Miller <davem@davemloft.net>
330
331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
332
9984dd01
JM
3332012-11-28 Joseph Myers <joseph@codesourcery.com>
334
335 [BZ #14803]
336 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
337 of pi/2 rounded to nearest to 64 bits.
338 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
339 nearest to 64 bits.
340 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
341 bits.
342
14bc93a9
JL
3432012-11-28 Jeff Law <law@redhat.com>
344 Martin Osvald <mosvald@redhat.com>
345
346 [BZ #14889]
347 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
348 * sunrpc/svc.c: Include time.h.
349 (__svc_accept_failed): New function.
350 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
351 any reason other than EINTR, call __svc_accept_failed.
352 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
353 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
354
e3c6aa3a
AS
3552012-11-28 Andreas Schwab <schwab@suse.de>
356
357 * scripts/abilist.awk: Also handle indirect functions in .opd
358 section.
359
1bead169
JM
3602012-11-28 Joseph Myers <joseph@codesourcery.com>
361
362 [BZ #13881]
363 * sysdeps/x86/fpu/powl_helper.c: New file.
364 * sysdeps/x86/fpu/Makefile: Likewise.
365 * sysdeps/i386/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 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
370 (p3): New object.
371 (__ieee754_powl): Use __powl_helper for finite arguments except
372 integer exponents below 8.
373 * math/libm-test.inc (pow_test): Add more tests and enable some
374 previously disabled tests.
375 * sysdeps/i386/fpu/libm-test-ulps: Update.
376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
377
0817d63d
SP
3782012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
379 Carlos O'Donell <carlos_odonell@mentor.com>
380
381 * nss/makedb.c (is_prime): Assert that input is odd and greater
382 than 4. Note that fact in a comment too.
383 (next_prime): Add 4 to input.
384
de2fd463
SP
3852012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
386
387 [BZ #11741]
388 * libio/Makefile (tests): Add test case tst-fwrite-error.
389 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
390 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
391 * libio/tst-fwrite-error.c: New test case.
392
c515fb51
L
3932012-11-26 H.J. Lu <hongjiu.lu@intel.com>
394
395 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
396 before casting to void *.
397 * include/libc-internal.h (__pointer_type): New macro.
398 (__integer_if_pointer_type_sub): Likewise.
399 (__integer_if_pointer_type): Likewise.
400 (cast_to_integer): Likewise.
401 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
402 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
403 before casting to atomic64_t.
404 (atomic_exchange_acq): Likewise.
405 (__arch_exchange_and_add_body): Likewise.
406 (__arch_add_body): Likewise.
407 (atomic_add_negative): Likewise.
408 (atomic_add_zero): Likewise.
409
4cf77aa9
JM
4102012-11-26 Joseph Myers <joseph@codesourcery.com>
411
412 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
413 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
414 (add_fdes): Likewise.
415 (linear_search_fdes): Likewise.
416 (binary_search_unencoded_fdes): Likewise.
417
d260b3b4
AS
4182012-11-26 Andreas Schwab <schwab@linux-m68k.org>
419
420 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
421
67060746
AC
4222012-11-24 Adam Conrad <adconrad@0c3.net>
423
424 * configure.in: Autodetect C++ header directories.
425 * configure: Regenerated.
426
800938a1
MF
4272012-11-23 Mike Frysinger <vapier@gentoo.org>
428
429 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
430
4e6e34e6
AS
4312012-11-23 Andreas Schwab <schwab@linux-m68k.org>
432
433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
434
7c7feb47
JM
4352012-11-22 Joseph Myers <joseph@codesourcery.com>
436
7184dcdf
JM
437 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
438 LDBL_MANT_DIG == 106]: Disable some tests.
439 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
440 Likewise.
441 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
442 Likewise.
443
0a42601f
JM
444 [BZ #14871]
445 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
446 input for small inputs. Return +/- pi/2 for large inputs.
447 * math/libm-test.inc (atan_test): Add more tests.
448
79c9b9fe
JM
449 * sysdeps/generic/unwind-dw2-fde-glibc.c
450 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
451 __attribute__ ((unused)).
452
c60d3bf2
JM
453 [BZ #14645]
454 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
455 x * y if x and y are nonzero and z is zero.
456
ef1e0867
JM
457 [BZ #14811]
458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
459 nonzero exponents with absolute value below 0x1p-117 to +/-
460 0x1p-117.
461
1468ded3
JM
462 [BZ #14869]
463 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
464 up arguments below 2**-450, not just those below 2**-500.
465 * math/libm-test.inc (hypot_test): Add another test.
466
8e27e3cc
JM
467 [BZ #14868]
468 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
469 Return a+b for ratio over 2**120, not 2**60.
470 * math/libm-test.inc (hypot_test): Add another test.
471
c9c0279b
JM
472 * math/libm-test.inc (clog_test): Use
473 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
474 (clog10_test): Likewise.
475
7c7feb47
JM
476 [BZ #6778]
477 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
478
fff1530e
AS
4792012-11-22 Andreas Schwab <schwab@suse.de>
480
481 * sysdeps/i386/fpu/libm-test-ulps: Update.
482
94558d30
PT
4832012-11-22 Pino Toscano <toscano.pino@tiscali.it>
484
485 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
486 printf output with newline.
487
7e1be741
L
4882012-11-21 H.J. Lu <hongjiu.lu@intel.com>
489
6bfea974
L
490 [BZ #14865]
491 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
492 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
493 -z nodlopen, -z initfirst and -z execstack support.
494 * configure: Regenerated.
495
7e1be741
L
496 * elf/elf.h (DF_1_NODIRECT): New macro.
497 (DF_1_IGNMULDEF): Likewise.
498 (DF_1_NOKSYMS): Likewise.
499 (DF_1_NOHDR): Likewise.
500 (DF_1_EDITED): Likewise.
501 (DF_1_NORELOC): Likewise.
502 (DF_1_SYMINTPOSE): Likewise.
503 (DF_1_GLOBAUDIT): Likewise.
504 (DF_1_SINGLETON): Likewise.
505 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
506 DT_1_SUPPORTED_MASK bits.
507 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
508
105ce2ce
CD
5092012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
510
511 * sysdeps/unix/make-syscalls.sh: Document prefixes.
512
123be9de
TS
5132012-11-20 Thomas Schwinge <thomas@codesourcery.com>
514
d072f3f7
TS
515 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
516 macro.
517
123be9de
TS
518 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
519 (sendmmsg): Move declarations...
520 * socket/sys/socket.h: ... here.
521 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
522 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
523 include it from...
524 * socket/recvmmsg.c: ... this new file.
525 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
526 (sendmmsg): Rename to __sendmmsg, create weak alias and make
527 definition of __sendmmsg hidden.
528 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
529 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
530 Move ENOSYS stub into and include it from...
531 * socket/sendmmsg.c: ... this new file.
532 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
533 (sysdep_routines): Move recvmmsg and sendmmsg...
534 * socket/Makefile (routines): ... here.
535 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
536 (GLIBC_PRIVATE): Add __sendmmsg.
537 * include/sys/socket.h (__sendmmsg): Add declarations.
538 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
539 sendmmsg.
540
cf9a5d18
JM
5412012-11-20 Joseph Myers <joseph@codesourcery.com>
542
543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
544 variable I1 with __attribute__ ((unused)).
545 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
546
ecd4caf9
JM
5472012-11-19 Joseph Myers <joseph@codesourcery.com>
548
be14d48f
JM
549 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
550 DUMMY variables with __attribute__ ((unused)).
551
ecd4caf9
JM
552 * bits/byteswap.h: Include <bits/types.h>.
553 (__bswap_64): Use __uint64_t instead of unsigned long long int.
554
986cab95
PT
5552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
556
557 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
558 string_t. Do not manually set errno.
559 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
560 length with __strnlen. Make sure to both set errno and return it on
561 failure.
562
6d33cc9d
DM
5632012-11-19 David S. Miller <davem@davemloft.net>
564
565 With help from Joseph Myers.
566 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
567 very large arguments properly.
568 * math/libm-test.inc (atan_test): New tests.
569 (atan2_test): New tests.
570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
572
ee663277
JM
5732012-11-19 Joseph Myers <joseph@codesourcery.com>
574
877f2d8e
JM
575 [BZ #14856]
576 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
577 Define to 3.
578
116fc08a
JM
579 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
580 [POSIX] (EADDRNOTAVAIL): Likewise.
581 [POSIX] (EAFNOSUPPORT): Likewise.
582 [POSIX] (EALREADY): Likewise.
583 [POSIX] (ECONNABORTED): Likewise.
584 [POSIX] (ECONNREFUSED): Likewise.
585 [POSIX] (ECONNRESET): Likewise.
586 [POSIX] (EDESTADDRREQ): Likewise.
587 [POSIX] (EDQUOT): Likewise.
588 [POSIX] (EHOSTUNREACH): Likewise.
589 [POSIX] (EIDRM): Likewise.
590 [POSIX] (EISCONN): Likewise.
591 [POSIX] (ELOOP): Likewise.
592 [POSIX] (EMULTIHOP): Likewise.
593 [POSIX] (ENETDOWN): Likewise.
594 [POSIX] (ENETUNREACH): Likewise.
595 [POSIX] (ENOBUFS): Likewise.
596 [POSIX] (ENODATA): Likewise.
597 [POSIX] (ENOLINK): Likewise.
598 [POSIX] (ENOMSG): Likewise.
599 [POSIX] (ENOPROTOOPT): Likewise.
600 [POSIX] (ENOSR): Likewise.
601 [POSIX] (ENOSTR): Likewise.
602 [POSIX] (ENOTCONN): Likewise.
603 [POSIX] (ENOTSOCK): Likewise.
604 [POSIX] (EOPNOTSUPP): Likewise.
605 [POSIX] (EOVERFLOW): Likewise.
606 [POSIX] (EPROTO): Likewise.
607 [POSIX] (EPROTONOSUPPORT): Likewise.
608 [POSIX] (EPROTOTYPE): Likewise.
609 [POSIX] (ESTALE): Likewise.
610 [POSIX] (ETIME): Likewise.
611 [POSIX] (ETXTBSY): Likewise.
612 [POSIX] (EWOULDBLOCK): Likewise.
613 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
614 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
615 [POSIX] (SEEK_CUR): Likewise.
616 [POSIX] (SEEK_END): Likewise.
617 [POSIX || UNIX98] (mode_t): Do not require.
618 [POSIX] (off_t): Likewise.
619 [POSIX] (pid_t): Likewise.
620 [POSIX] (sys/stat.h): Do not allow header.
621 [POSIX] (unistd.h): Likewise.
622 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
623 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
624 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
625 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
626 require.
627 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
628 sigevent): Specify elements.
629 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
630 entry.
631 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
632 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
633
a483863f
JM
634 * conform/data/cpio.h-data [POSIX]: Disable whole file.
635 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
636 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
637 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
638 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
639 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
640 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
641 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
642 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
643 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
644 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
645 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
646 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
647 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
648 Likewise.
649 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
650 Likewise.
651 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
652 Likewise.
653 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
654 Likewise.
655 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
656 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
657 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
658 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
659 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
660 Specify lower bound on value.
661 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
662 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
663 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
664 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
665 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
666 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
667 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
668 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
669 value.
670 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
671 as optional.
672 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
673 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
674 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
675 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
676 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
677 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
678 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
679 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
680 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
681 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
682 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
683 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
684 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
685 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
686 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
687 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
688 entry.
689 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
690 optional.
691 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
692 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
693 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
694 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
695 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
696 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
697 Likewise.
698 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
699 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
700 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
701 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
702 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
703 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
704 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
705 as optional.
706 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
707 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
708 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
709 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
710 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
711 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
712 specify as optional.
713 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
714 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
715 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
716 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
717 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
718 [XPG3] (NL_LANGMAX): Likewise.
719 [POSIX || XPG3] (NL_MSGMAX): Likewise.
720 [POSIX || XPG3] (NL_NMAX): Likewise.
721 [POSIX || XPG3] (NL_SETMAX): Likewise.
722 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
723 [XPG3] (NZERO): Likewise.
724 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
725 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
726 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
727 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
728 (REG_ERANGE): Expect.
729 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
730 optional-constant.
731 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
732 Use (void) in prototype.
733 [POSIX] (*_t): Allow.
734 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
735 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
736 (WRDE_BADVAL): Expect.
737
5ba924e3
JM
738 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
739 expect.
740 [XPG3 || XPG4] (O_RSYNC): Likewise.
741 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
742 Likewise.
743 [XPG3 || XPG4] (pthread_sigmask): Likewise.
744 [XPG3 || XPG4] (sigqueue): Likewise.
745 [XPG3 || XPG4] (sigtimedwait): Likewise.
746 [XPG3 || XPG4] (sigwaitinfo): Likewise.
747 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
748 [XPG3 || XPG4] (vsnprintf): Likewise.
749 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
750 Likewise.
751 [XPG3 || XPG4] (blksize_t): Likewise.
752 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
753 Likewise.
754 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
755 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
756 [XPG3 || XPG4] (struct itimerspec): Likewise.
757 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
758 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
759 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
760 [XPG3 || XPG4] (clockid_t): Likewise.
761 [XPG3 || XPG4] (timer_t): Likewise.
762 [XPG3 || XPG4] (clock_getres): Likewise.
763 [XPG3 || XPG4] (clock_gettime): Likewise.
764 [XPG3 || XPG4] (clock_settime): Likewise.
765 [XPG3 || XPG4] (nanosleep): Likewise.
766 [XPG3 || XPG4] (timer_create): Likewise.
767 [XPG3 || XPG4] (timer_delete): Likewise.
768 [XPG3 || XPG4] (timer_gettime): Likewise.
769 [XPG3 || XPG4] (timer_getoverrun): Likewise.
770 [XPG3 || XPG4] (timer_settime): Likewise.
771 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
772 [XPG3 || XPG4] (getlogin_r): Likewise.
773 [XPG3 || XPG4] (pread): Likewise.
774 [XPG3 || XPG4] (pthread_atfork): Likewise.
775 [XPG3 || XPG4] (pwrite): Likewise.
776
ee663277
JM
777 [BZ #14835]
778 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
779 <bits/siginfo.h>.
780
942caa16
PT
7812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
782
e19af380
PT
783 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
784 finalizing MALLSTREAM.
785
942caa16
PT
786 * sysdeps/mach/hurd/syncfs.c: New file.
787
cfde9b46
SP
7882012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
789
790 [BZ #14719]
791 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
792 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
793 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
794 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
795 (_nss_dns_gethostbyname4_r): Likewise.
796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
797 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
798
f6da27e5
PH
7992012-11-19 Peng Haitao <penght@cn.fujitsu.com>
800
801 [BZ #13763]
802 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
803
6665d4a2
SM
8042012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
805
1f51ee92
SM
806 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
807 * elf/cache.c (print_entry): Print ",AArch64" for
808 FLAG_AARCH64_LIB64
809
6665d4a2
SM
810 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
811 * elf/cache.c (print_entry): Print ",hard-float" for
812 FLAG_ARM_LIBHF.
813
05b227bd
DM
8142012-11-18 David S. Miller <davem@davemloft.net>
815
816 With help from Joseph Myers.
817 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
818 cutoff to 2**-13.
819 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
820 cutoff to 2**-25.
821 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
822 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
823 small.
824 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
825 * math/libm-test.inc (y0_test): New tests.
826 (y1_test): New tests.
827 * sysdeps/i386/fpu/libm-test-ulps: Update.
828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
830
786b0b67
AS
8312012-11-18 Andreas Schwab <schwab@linux-m68k.org>
832
833 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
834 64-bit targets.
835 * configure: Regenerated.
836
8e18b86d
DM
8372012-11-17 David S. Miller <davem@davemloft.net>
838
839 [BZ #14811]
840 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
841 nonzero exponents with absolute value below 0x1p-128 to +/-
842 0x1p-128.
843
531f1ae0
JM
8442012-11-17 Joseph Myers <joseph@codesourcery.com>
845
12df29e2
JM
846 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
847
150dc1a0
JM
848 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
849
531f1ae0
JM
850 * posix/getconf-speclist.c: New file.
851 * posix/posix-envs.def: Likewise.
852 * posix/confstr.c (START_ENV_GROUP): New macro.
853 (END_ENV_GROUP): Likewise.
854 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
855 (KNOWN_PRESENT_ENV_STRING): Likewise.
856 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
857 (UNKNOWN_ENVIRONMENT): Likewise.
858 (confstr): Include posix-envs.def instead of handling
859 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
860 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
861 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
862 (END_ENV_GROUP): Likewise.
863 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
864 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
865 (UNKNOWN_ENVIRONMENT): Likewise.
866 (__sysconf): Include posix-envs.def instead of handling associated
867 cases directly here.
868 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
869 preprocessing getconf-speclist.c rather than running getconf or
870 generating empty file.
871
a93f9cbc
PT
8722012-11-16 Pino Toscano <toscano.pino@tiscali.it>
873
874 * scripts/check-local-headers.sh: Ignore 'mach' headers.
875
d64d9f87
AL
8762012-11-16 Andrej Lajovic <natrij@gmail.com>
877
878 [BZ #14672]
879 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
880
447885eb
DM
8812012-11-16 David S. Miller <davem@davemloft.net>
882
883 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
884 smaller than LDBL_EPSILON/2.0L, just return xm1.
885
bcbf9830
L
8862012-11-16 H.J. Lu <hongjiu.lu@intel.com>
887
888 * elf/tst-array1.c (init): Set constructor priority to 1000.
889 (fini): Set destructor priority to 1000.
890 * elf/tst-array2dep.c: Likewise.
891
2b766585
SP
8922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
893
894 [BZ #11741]
895 * libio/fileops.c (_IO_new_file_write): Correctly return error.
896 (_IO_new_file_xsputn): Also return EOF if none of the input
897 data was written when overflow failed.
898 * libio/iopadn.c (_IO_padn): Likewise.
899 * libio/iowpadn.c (_IO_wpadn): Likewise.
900 * stdio-common/tst-put-error.c: Add copyright notice.
901 (do_test): Add case for printing padded string.
902 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
903 _IO_padn returned error.
904 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
905 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
906 return EOF.
907
b1848fde
SP
9082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
909
910 * libio/libioP.h: Add comment note that the references to C++
911 bits are now obsolete.
912
2fd89785
MS
9132012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
914
915 * math/libm-test.inc (check_complex): Use asprintf.
916
e3ea5409
JM
9172012-11-14 Joseph Myers <joseph@codesourcery.com>
918
919 * debug/pcprofiledump.c (print_version): Update copyright year.
920 * malloc/memusagestat.c (print_version): Likewise.
921
2e64d265
L
9222012-11-14 H.J. Lu <hongjiu.lu@intel.com>
923
924 [BZ #14831]
925 * elf/Makefile (tests): Add tst-audit8.
926 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
927 ($(objpfx)tst-audit8.out): New target.
928 (tst-audit8-ENV): New variable.
929 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
930 audit if l_reloc_result is NULL.
931 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
932 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
933 * elf/tst-audit8.c: New file.
934
c485e4d2
MS
9352012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
936
937 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
938 * misc/Makefile (CFLAGS-select.c): Define.
939 * posix/Makefile (CFLAGS-pause.c): Define.
940
3a0d900a
DM
9412012-11-13 David S. Miller <davem@davemloft.net>
942
943 * crypt/Makefile: Move test targets after toplevel Rules
944 inclusion. Grab any necessary sysdep routines when linking.
945 * crypt/md5.c (md5_process_block): Remove define, we will always
946 name it __md5_process_block.
947 (md5_finish_ctx): Update md5_process_block call.
948 (md5_stream): Likewise.
949 (md5_process_bytes): Likewise.
950 (md5_process_block): Rename to __md5_process_block and move to ...
951 * crypt/md5-block.c: ... here.
952 * crypt/sha256.c (sha256_process_block): Move to ...
953 * crypt/sha256-block.c: ... here.
954 * crypt/sha512.c (sha512_process_block): Move to ...
955 * crypt/sha512-block.c: ... here.
956 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
957 path.
958 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
959 * sysdeps/sparc/sparc64/multiarch/Makefile
960 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
961 crypt subdir.
962 (localedef-aux): Add md5 crypto assembler when in locale subdir.
963 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
964 multiarch changes.
965 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
966 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
967 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
968 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
969 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
970 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
971 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
972 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
973 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
974 file.
975 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
976 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
977 file.
978 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
979
8ca89318
JM
9802012-11-13 Joseph Myers <joseph@codesourcery.com>
981
e27d476a
JM
982 * timezone/tzselect.ksh: Update from tzcode git revision
983 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
984 * timezone/zdump.c: Likewise.
985 * timezone/zic.c: Likewise.
986 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
987 in TZVERSION setting, not $(PKGVERSION).
988 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
989 REPORT_BUGS_TO settings.
990
8ca89318
JM
991 [BZ #14838]
992 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
993 macro.
994
47594329
MS
9952012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
996
997 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
998 detection to immediately after _FP_ROUND().
999 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1000 bits are 0.
1001
640ac3f1
DM
10022012-11-11 David S. Miller <davem@davemloft.net>
1003
1004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1005 inttypes.h
1006 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1007 __close rather than their public counterparts.
1008
3d2577bb
JM
10092012-11-10 Joseph Myers <joseph@codesourcery.com>
1010
1011 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1012 file.
1013 [UNIX98] (sem_timedwait): Do not expect.
1014 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1015 [XPG4 || UNIX98] (sockatmark): Do not expect.
1016 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1017 (clock_getcpuclockid): Do not expect.
1018 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1019 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1020 Do not expect.
1021 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1022 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1023 [UNIX98] (vwscanf): Likewise.
1024 [UNIX98] (vswscanf): Likewise.
1025
fb1ae1ee
JM
10262012-11-09 Joseph Myers <joseph@codesourcery.com>
1027
9ec6f8bd
JM
1028 * timezone/version.h: Remove file.
1029 * timezone/README: Do not refer to version.h.
1030 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1031 $(objpfx)version.h.
1032 ($(objpfx)zdump.o): Likewise.
c3f81911 1033 ($(objpfx)version.h): New target.
9ec6f8bd 1034
0aa8f8a1
JM
1035 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1036 2012i.
1037 * timezone/README: Don't mention modification to tzselect.ksh.
1038 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1039 work on unmodified tzselect.ksh. Substitute version numbers in
1040 tzselect.ksh.
1041
4e87147f
JM
1042 * Makefile (format-me): Remove.
1043 (INSTALL): Adjust indentation. Use commands directly instead of
1044 using $(format-me).
1045
8b748aed
JM
1046 * aclocal.m4 (ACX_PKGVERSION): New macro.
1047 (ACX_BUGURL): Likewise.
1048 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1049 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1050 (REPORT_BUGS_TO): Likewise.
1051 * configure: Regenerated.
1052 * config.h.in (PKGVERSION): New macro.
1053 (REPORT_BUGS_TO): Likewise.
1054 * config.make.in (PKGVERSION): New variable.
1055 (PKGVERSION_TEXI): Likewise.
1056 (REPORT_BUGS_TO): Likewise.
1057 (REPORT_BUGS_TEXI): Likewise.
1058 * Makefile (format-me): Use -I$(common-objpfx)manual.
1059 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1060 ($(common-objpfx)manual/%): New target.
1061 (manual/%): Remove target.
1062 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1063 (print_version): Use PKGVERSION.
1064 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1065 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1066 and REPORT_BUGS_TO.
1067 ($(objpfx)xtrace): Likewise.
1068 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1069 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1070 (print_version): Use PKGVERSION.
1071 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1072 (do_version): Use PKGVERSION.
1073 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1074 REPORT_BUGS_TO.
1075 (common-ldd-rewrite): Likewise.
1076 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1077 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1078 (print_version): Use PKGVERSION.
1079 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1080 * elf/pldd.c (argp_program_bug_address): Remove variable.
1081 (more_help): New function.
1082 (argp): Use more_help.
1083 (print_version): Use PKGVERSION.
1084 * elf/sln.c (main): Use PKGVERSION.
1085 (usage): Use REPORT_BUGS_TO.
1086 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1087 (top level): Use PKGVERSION.
1088 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1089 (print_version): Use PKGVERSION.
1090 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1091 (print_version): Use PKGVERSION.
1092 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1093 (print_version): Use PKGVERSION.
1094 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1095 (print_version): Use PKGVERSION.
1096 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1097 (print_version): Use PKGVERSION.
1098 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1099 (print_version): Use PKGVERSION.
1100 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1101 and BUGURL.
1102 ($(objpfx)memusage): Likewise.
1103 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1104 (do_version): Use PKGVERSION.
1105 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1106 (print_version): Use PKGVERSION.
1107 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1108 ($PKGVERSION): New variable.
1109 ($REPORT_BUGS_TO): Likewise.
1110 (usage): Use $REPORT_BUGS_TO.
1111 (top level): Use $PKGVERSION.
1112 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1113 ($(objpfx)pkgvers.texi): New rule.
1114 ($(objpfx)stamp-pkgvers): Likewise.
1115 * manual/install.texi: Include pkgvers.texi.
1116 (--with-pkgversion): Document new configure option.
1117 (--with-bugurl): Likewise.
1118 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1119 than necessarily for this particular distribution. Use
1120 REPORT_BUGS_TO for where to report bugs.
1121 * INSTALL: Regenerated.
1122 * manual/libc.texinfo: Include pkgvers.texi.
1123 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1124 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1125 (print_version): Use PKGVERSION.
1126 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1127 (print_version): Use PKGVERSION.
1128 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1129 (print_version): Use PKGVERSION.
1130 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1131 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1132 macro.
1133 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1134 (print_version): Use PKGVERSION.
1135 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1136 (print_version): Use PKGVERSION.
1137 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1138 and PKGVERSION.
1139
92e4b6a9
JM
1140 * timezone/checktab.awk: Update from tzcode 2012i.
1141 * timezone/ialloc.c: Likewise.
1142 * timezone/private.h: Likewise.
1143 * timezone/scheck.c: Likewise.
1144 * timezone/tzfile.h: Likewise.
1145 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1146 (TZVERSION): Hardcode tzcode version number.
1147 * timezone/zdump.c: Update from tzcode 2012i.
1148 * timezone/zic.c: Likewise.
1149 * timezone/version.h: New file.
1150 * timezone/README: Describe version.h. Update upstream location.
1151
9bde902c
JM
1152 [BZ #14824]
1153 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1154 (mktemp): Enable declaration.
1155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1159 Likewise.
1160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1161 Likewise.
1162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1163 Likewise.
1164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1165 Likewise.
1166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1167 Likewise.
1168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1169 Likewise.
1170
fb1ae1ee
JM
1171 [BZ #14821]
1172 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1173 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1174 for copies of such integer values.
1175 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1176 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1177
2c1adbcb
AJ
11782012-11-09 Andreas Jaeger <aj@suse.de>
1179
1180 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1181 definitions and declarations that are provided by
1182 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1183
d0f8457e
AK
11842012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1185
1186 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1187 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1188 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1189 definition.
1190
57241e26
MS
11912012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1192
1193 * elf/elf.h: Update comment before AArch64 relocations.
1194
60e8270d
DM
11952012-11-07 David S. Miller <davem@davemloft.net>
1196
1197 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1198 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1199 (__start_context): Declare.
1200 (__makecontext_ret): Delete.
1201 (__makecontext): Hook up __start_context instead of
1202 __makecontext_ret.
1203 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1204 (sysdep_routines): Add __start_context when in stdlib.
1205
0fbb0fbc
JM
12062012-11-07 Joseph Myers <joseph@codesourcery.com>
1207
1208 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1209 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1210 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1211 hardcoded "nm".
1212 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1213 (READELF): New variable. Use it instead of hardcoded "readelf".
1214
eb48db7e
L
12152012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1216
1217 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1218 * sysdeps/x86/Makefile: Here.
1219 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1220 * sysdeps/x86/tst-xmmymm.sh: This.
1221
05bcf62a
JM
12222012-11-07 Joseph Myers <joseph@codesourcery.com>
1223
c4b6cf53
JM
1224 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1225 expectations.
1226 [UNIX98] (pthread_barrier_t): Do not expect.
1227 [UNIX98] (pthread_barrierattr_t): Likewise.
1228 [UNIX98] (pthread_spinlock_t): Likewise.
1229 [UNIX98] (pthread_barrier_destroy): Likewise.
1230 [UNIX98] (pthread_barrier_init): Likewise.
1231 [UNIX98] (pthread_barrier_wait): Likewise.
1232 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1233 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1234 [UNIX98] (pthread_barrierattr_init): Likewise.
1235 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1236 [UNIX98] (pthread_getcpuclockid): Likewise.
1237 [UNIX98] (pthread_mutex_timedlock): Likewise.
1238 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1239 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1240 [UNIX98] (pthread_sigmask): Likewise.
1241 [UNIX98] (pthread_spin_destroy): Likewise.
1242 [UNIX98] (pthread_spin_init): Likewise.
1243 [UNIX98] (pthread_spin_lock): Likewise.
1244 [UNIX98] (pthread_spin_trylock): Likewise.
1245 [UNIX98] (pthread_spin_unlock): Likewise.
1246 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1247 Do not expect.
1248 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1250 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1251 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1252 [XPG3 || XPG4] (pthread_key_t): Likewise.
1253 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1254 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1255 [XPG3 || XPG4] (pthread_once_t): Likewise.
1256 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1257 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1259 [XPG3 || XPG4] (pthread_t): Likewise.
1260
cbe6e120
JM
1261 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1262 not expect.
1263 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1264
1b126443
JM
1265 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1266 Change function return type to int.
1267
b961a573
JM
1268 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1269 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1270 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1271 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1272 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1273 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1274 [!POSIX] (posix_madvise): Likewise.
1275 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1276 && !UNIX98].
1277 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1278 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1279 (mode_t): Likewise.
1280 (posix_mem_offset): Likewise.
1281 (posix_typed_mem_get_info): Likewise.
1282 (posix_typed_mem_open): Likewise.
1283
9e188909
JM
1284 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1285 Change condition to [XOPEN2K8].
1286
05bcf62a
JM
1287 * conform/conformtest.pl: Preprocess allow-header data with -x c
1288 instead of from stdin.
1289 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1290 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1291 [C99-based standards] (cerfc): Likewise.
1292 [C99-based standards] (cexp2): Likewise.
1293 [C99-based standards] (cexpm1): Likewise.
1294 [C99-based standards] (clog10): Likewise.
1295 [C99-based standards] (clog1p): Likewise.
1296 [C99-based standards] (clog2): Likewise.
1297 [C99-based standards] (clgamma): Likewise.
1298 [C99-based standards] (ctgamma): Likewise.
1299 [C99-based standards] (cerff): Likewise.
1300 [C99-based standards] (cerfcf): Likewise.
1301 [C99-based standards] (cexp2f): Likewise.
1302 [C99-based standards] (cexpm1f): Likewise.
1303 [C99-based standards] (clog10f): Likewise.
1304 [C99-based standards] (clog1pf): Likewise.
1305 [C99-based standards] (clog2f): Likewise.
1306 [C99-based standards] (clgammaf): Likewise.
1307 [C99-based standards] (ctgammaf): Likewise.
1308 [C99-based standards] (cerfl): Likewise.
1309 [C99-based standards] (cerfcl): Likewise.
1310 [C99-based standards] (cexp2l): Likewise.
1311 [C99-based standards] (cexpm1l): Likewise.
1312 [C99-based standards] (clog10l): Likewise.
1313 [C99-based standards] (clog1pl): Likewise.
1314 [C99-based standards] (clog2l): Likewise.
1315 [C99-based standards] (clgammal): Likewise.
1316 [C99-based standards] (ctgammal): Likewise.
1317 * conform/data/inttypes.h-data [C99-based standards]: Include
1318 stdint.h-data. Remove all expectations for stdint.h contents.
1319 [C99-based standards] (PRI*): Do not allow.
1320 [C99-based standards] (SCN*): Likewise.
1321 [C99-based standards] (*_t): Likewise.
1322 [C99-based-standards] (PRId8): Expect macro.
1323 [C99-based-standards] (PRIi8): Likewise.
1324 [C99-based-standards] (PRIo8): Likewise.
1325 [C99-based-standards] (PRIu8): Likewise.
1326 [C99-based-standards] (PRIx8): Likewise.
1327 [C99-based-standards] (PRIX8): Likewise.
1328 [C99-based-standards] (SCNd8): Likewise.
1329 [C99-based-standards] (SCNi8): Likewise.
1330 [C99-based-standards] (SCNo8): Likewise.
1331 [C99-based-standards] (SCNu8): Likewise.
1332 [C99-based-standards] (SCNx8): Likewise.
1333 [C99-based-standards] (PRIdLEAST8): Likewise.
1334 [C99-based-standards] (PRIiLEAST8): Likewise.
1335 [C99-based-standards] (PRIoLEAST8): Likewise.
1336 [C99-based-standards] (PRIuLEAST8): Likewise.
1337 [C99-based-standards] (PRIxLEAST8): Likewise.
1338 [C99-based-standards] (PRIXLEAST8): Likewise.
1339 [C99-based-standards] (SCNdLEAST8): Likewise.
1340 [C99-based-standards] (SCNiLEAST8): Likewise.
1341 [C99-based-standards] (SCNoLEAST8): Likewise.
1342 [C99-based-standards] (SCNuLEAST8): Likewise.
1343 [C99-based-standards] (SCNxLEAST8): Likewise.
1344 [C99-based-standards] (PRIdFAST8): Likewise.
1345 [C99-based-standards] (PRIiFAST8): Likewise.
1346 [C99-based-standards] (PRIoFAST8): Likewise.
1347 [C99-based-standards] (PRIuFAST8): Likewise.
1348 [C99-based-standards] (PRIxFAST8): Likewise.
1349 [C99-based-standards] (PRIXFAST8): Likewise.
1350 [C99-based-standards] (SCNdFAST8): Likewise.
1351 [C99-based-standards] (SCNiFAST8): Likewise.
1352 [C99-based-standards] (SCNoFAST8): Likewise.
1353 [C99-based-standards] (SCNuFAST8): Likewise.
1354 [C99-based-standards] (SCNxFAST8): Likewise.
1355 [C99-based-standards] (PRId16): Likewise.
1356 [C99-based-standards] (PRIi16): Likewise.
1357 [C99-based-standards] (PRIo16): Likewise.
1358 [C99-based-standards] (PRIu16): Likewise.
1359 [C99-based-standards] (PRIx16): Likewise.
1360 [C99-based-standards] (PRIX16): Likewise.
1361 [C99-based-standards] (SCNd16): Likewise.
1362 [C99-based-standards] (SCNi16): Likewise.
1363 [C99-based-standards] (SCNo16): Likewise.
1364 [C99-based-standards] (SCNu16): Likewise.
1365 [C99-based-standards] (SCNx16): Likewise.
1366 [C99-based-standards] (PRIdLEAST16): Likewise.
1367 [C99-based-standards] (PRIiLEAST16): Likewise.
1368 [C99-based-standards] (PRIoLEAST16): Likewise.
1369 [C99-based-standards] (PRIuLEAST16): Likewise.
1370 [C99-based-standards] (PRIxLEAST16): Likewise.
1371 [C99-based-standards] (PRIXLEAST16): Likewise.
1372 [C99-based-standards] (SCNdLEAST16): Likewise.
1373 [C99-based-standards] (SCNiLEAST16): Likewise.
1374 [C99-based-standards] (SCNoLEAST16): Likewise.
1375 [C99-based-standards] (SCNuLEAST16): Likewise.
1376 [C99-based-standards] (SCNxLEAST16): Likewise.
1377 [C99-based-standards] (PRIdFAST16): Likewise.
1378 [C99-based-standards] (PRIiFAST16): Likewise.
1379 [C99-based-standards] (PRIoFAST16): Likewise.
1380 [C99-based-standards] (PRIuFAST16): Likewise.
1381 [C99-based-standards] (PRIxFAST16): Likewise.
1382 [C99-based-standards] (PRIXFAST16): Likewise.
1383 [C99-based-standards] (SCNdFAST16): Likewise.
1384 [C99-based-standards] (SCNiFAST16): Likewise.
1385 [C99-based-standards] (SCNoFAST16): Likewise.
1386 [C99-based-standards] (SCNuFAST16): Likewise.
1387 [C99-based-standards] (SCNxFAST16): Likewise.
1388 [C99-based-standards] (PRId32): Likewise.
1389 [C99-based-standards] (PRIi32): Likewise.
1390 [C99-based-standards] (PRIo32): Likewise.
1391 [C99-based-standards] (PRIu32): Likewise.
1392 [C99-based-standards] (PRIx32): Likewise.
1393 [C99-based-standards] (PRIX32): Likewise.
1394 [C99-based-standards] (SCNd32): Likewise.
1395 [C99-based-standards] (SCNi32): Likewise.
1396 [C99-based-standards] (SCNo32): Likewise.
1397 [C99-based-standards] (SCNu32): Likewise.
1398 [C99-based-standards] (SCNx32): Likewise.
1399 [C99-based-standards] (PRIdLEAST32): Likewise.
1400 [C99-based-standards] (PRIiLEAST32): Likewise.
1401 [C99-based-standards] (PRIoLEAST32): Likewise.
1402 [C99-based-standards] (PRIuLEAST32): Likewise.
1403 [C99-based-standards] (PRIxLEAST32): Likewise.
1404 [C99-based-standards] (PRIXLEAST32): Likewise.
1405 [C99-based-standards] (SCNdLEAST32): Likewise.
1406 [C99-based-standards] (SCNiLEAST32): Likewise.
1407 [C99-based-standards] (SCNoLEAST32): Likewise.
1408 [C99-based-standards] (SCNuLEAST32): Likewise.
1409 [C99-based-standards] (SCNxLEAST32): Likewise.
1410 [C99-based-standards] (PRIdFAST32): Likewise.
1411 [C99-based-standards] (PRIiFAST32): Likewise.
1412 [C99-based-standards] (PRIoFAST32): Likewise.
1413 [C99-based-standards] (PRIuFAST32): Likewise.
1414 [C99-based-standards] (PRIxFAST32): Likewise.
1415 [C99-based-standards] (PRIXFAST32): Likewise.
1416 [C99-based-standards] (SCNdFAST32): Likewise.
1417 [C99-based-standards] (SCNiFAST32): Likewise.
1418 [C99-based-standards] (SCNoFAST32): Likewise.
1419 [C99-based-standards] (SCNuFAST32): Likewise.
1420 [C99-based-standards] (SCNxFAST32): Likewise.
1421 [C99-based-standards] (PRId64): Likewise.
1422 [C99-based-standards] (PRIi64): Likewise.
1423 [C99-based-standards] (PRIo64): Likewise.
1424 [C99-based-standards] (PRIu64): Likewise.
1425 [C99-based-standards] (PRIx64): Likewise.
1426 [C99-based-standards] (PRIX64): Likewise.
1427 [C99-based-standards] (SCNd64): Likewise.
1428 [C99-based-standards] (SCNi64): Likewise.
1429 [C99-based-standards] (SCNo64): Likewise.
1430 [C99-based-standards] (SCNu64): Likewise.
1431 [C99-based-standards] (SCNx64): Likewise.
1432 [C99-based-standards] (PRIdLEAST64): Likewise.
1433 [C99-based-standards] (PRIiLEAST64): Likewise.
1434 [C99-based-standards] (PRIoLEAST64): Likewise.
1435 [C99-based-standards] (PRIuLEAST64): Likewise.
1436 [C99-based-standards] (PRIxLEAST64): Likewise.
1437 [C99-based-standards] (PRIXLEAST64): Likewise.
1438 [C99-based-standards] (SCNdLEAST64): Likewise.
1439 [C99-based-standards] (SCNiLEAST64): Likewise.
1440 [C99-based-standards] (SCNoLEAST64): Likewise.
1441 [C99-based-standards] (SCNuLEAST64): Likewise.
1442 [C99-based-standards] (SCNxLEAST64): Likewise.
1443 [C99-based-standards] (PRIdFAST64): Likewise.
1444 [C99-based-standards] (PRIiFAST64): Likewise.
1445 [C99-based-standards] (PRIoFAST64): Likewise.
1446 [C99-based-standards] (PRIuFAST64): Likewise.
1447 [C99-based-standards] (PRIxFAST64): Likewise.
1448 [C99-based-standards] (PRIXFAST64): Likewise.
1449 [C99-based-standards] (SCNdFAST64): Likewise.
1450 [C99-based-standards] (SCNiFAST64): Likewise.
1451 [C99-based-standards] (SCNoFAST64): Likewise.
1452 [C99-based-standards] (SCNuFAST64): Likewise.
1453 [C99-based-standards] (SCNxFAST64): Likewise.
1454 [C99-based-standards] (PRIdMAX): Likewise.
1455 [C99-based-standards] (PRIiMAX): Likewise.
1456 [C99-based-standards] (PRIoMAX): Likewise.
1457 [C99-based-standards] (PRIuMAX): Likewise.
1458 [C99-based-standards] (PRIxMAX): Likewise.
1459 [C99-based-standards] (PRIXMAX): Likewise.
1460 [C99-based-standards] (SCNdMAX): Likewise.
1461 [C99-based-standards] (SCNiMAX): Likewise.
1462 [C99-based-standards] (SCNoMAX): Likewise.
1463 [C99-based-standards] (SCNuMAX): Likewise.
1464 [C99-based-standards] (SCNxMAX): Likewise.
1465 [C99-based-standards] (PRIdPTR): Likewise.
1466 [C99-based-standards] (PRIiPTR): Likewise.
1467 [C99-based-standards] (PRIoPTR): Likewise.
1468 [C99-based-standards] (PRIuPTR): Likewise.
1469 [C99-based-standards] (PRIxPTR): Likewise.
1470 [C99-based-standards] (PRIXPTR): Likewise.
1471 [C99-based-standards] (SCNdPTR): Likewise.
1472 [C99-based-standards] (SCNiPTR): Likewise.
1473 [C99-based-standards] (SCNoPTR): Likewise.
1474 [C99-based-standards] (SCNuPTR): Likewise.
1475 [C99-based-standards] (SCNxPTR): Likewise.
1476 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1477 allow.
1478 * conform/data/stdint.h-data: Update comments to clarify
1479 requirements.
1480 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1481 type.
1482 [C99-based standards] (INT8_MAX): Likewise.
1483 [C99-based standards] (INT16_MIN): Likewise.
1484 [C99-based standards] (INT16_MAX): Likewise.
1485 [C99-based standards] (INT32_MIN): Likewise.
1486 [C99-based standards] (INT32_MAX): Likewise.
1487 [C99-based standards] (INT64_MIN): Likewise.
1488 [C99-based standards] (INT64_MAX): Likewise.
1489 [C99-based standards] (UINT8_MAX): Likewise.
1490 [C99-based standards] (UINT16_MAX): Likewise.
1491 [C99-based standards] (UINT32_MAX): Likewise.
1492 [C99-based standards] (UINT64_MAX): Likewise.
1493 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1494 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1495 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1496 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1497 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1498 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1499 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1500 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1501 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1502 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1503 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1504 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1505 [C99-based standards] (INT_FAST8_MIN): Likewise.
1506 [C99-based standards] (INT_FAST8_MAX): Likewise.
1507 [C99-based standards] (INT_FAST16_MIN): Likewise.
1508 [C99-based standards] (INT_FAST16_MAX): Likewise.
1509 [C99-based standards] (INT_FAST32_MIN): Likewise.
1510 [C99-based standards] (INT_FAST32_MAX): Likewise.
1511 [C99-based standards] (INT_FAST64_MIN): Likewise.
1512 [C99-based standards] (INT_FAST64_MAX): Likewise.
1513 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1514 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1515 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1516 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1517 [C99-based standards] (INTPTR_MIN): Likewise.
1518 [C99-based standards] (INTPTR_MAX): Likewise.
1519 [C99-based standards] (UINTPTR_MAX): Likewise.
1520 [C99-based standards] (INTMAX_MIN): Likewise.
1521 [C99-based standards] (INTMAX_MAX): Likewise.
1522 [C99-based standards] (UINTMAX_MAX): Likewise.
1523 [C99-based standards] (PTRDIFF_MIN): Likewise.
1524 [C99-based standards] (PTRDIFF_MAX): Likewise.
1525 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1526 [C99-based standards] (SIZE_MAX): Likewise.
1527 [C99-based standards] (WCHAR_MAX): Likewise.
1528 [C99-based standards] (WINT_MAX): Likewise.
1529 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1530 constraint on value.
1531 [C99-based standards] (WCHAR_MIN): Likewise.
1532 [C99-based standards] (WINT_MIN): Likewise.
1533 [C99-based standards] (*_t): Allow.
1534 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1535 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1536 Include math.h-data and complex.h-data. Remove all expectations
1537 of math.h and complex.h contents.
1538 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1539 at end of line.
1540 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1541 (struct tm): Expect tag.
1542 [C99-based-standards] (wcstof): Expect function.
1543 [C99-based-standards] (wcstold): Likewise.
1544 [C99-based-standards] (wcstoll): Likewise.
1545 [C99-based-standards] (wcstoull): Likewise.
1546 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1547 macro-int-constant. Specify type.
1548 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1549 constraint on value.
1550 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1551 Specify type.
1552 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1553 Specify value.
1554 [ISO C standards]: Do not allow headers.
1555 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1556 wcs[abcdefghijklmnopqrstuvwxyz]*.
1557 [ISO C standards] (*_t): Do not allow.
1558 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1559 Expect function.
1560 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1561 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1562 Specify type.
1563 [ISO C standards]: Do not allow headers.
1564 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1565 is[abcdefghijklmnopqrstuvwxyz]*.
1566 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1567 to[abcdefghijklmnopqrstuvwxyz]*.
1568 [ISO C standards] (*_t): Do not allow.
1569 * conform/data/stdalign.h-data: New file.
1570 * conform/data/stdbool.h-data: Likewise.
1571 * conform/data/stdnoreturn.h-data: Likewise.
1572
7514feb8
RM
15732012-11-07 Roland McGrath <roland@hack.frob.com>
1574
1575 [BZ #14815]
1576 * manual/filesys.texi (Directory Entries): Typo fix.
1577 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1578
19b2ecfc
MS
15792012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1580
1581 * elf/elf.h (EM_AARCH64): New macro.
1582 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1583 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1584 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1585 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1586 (R_AARCH64_TLSDESC): Likewise.
1587 (NT_ARM_TLS): Likewise.
1588 (NT_ARM_HW_BREAK): Likewise.
1589 (NT_ARM_HW_WATCH): Likewise.
1590
60e235ee
JM
15912012-11-07 Joseph Myers <joseph@codesourcery.com>
1592
1593 [BZ #14811]
1594 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1595 (__ieee754_powl): Saturate nonzero exponents with absolute value
1596 below 0x1p-79 to +/- 0x1p-79.
1597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1598 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1599 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1600 nonzero exponents with absolute value below 0x1p-32 to +/-
1601 0x1p-32.
1602 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1603 (__ieee754_powl): Saturate nonzero exponents with absolute value
1604 below 0x1p-79 to +/- 0x1p-79.
1605 * math/libm-test.inc (pow_test): Add more tests.
1606
0ab234b7
AK
16072012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1608
1609 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1610 _dl_s390_cap_flags with kernel. Increase string length.
1611 (_dl_s390_platforms): Add z196 and zEC12.
1612
45832f74
JM
16132012-11-07 Joseph Myers <joseph@codesourcery.com>
1614
1615 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1616 Change XOPEN21K to XOPEN2K.
1617
19218757
MK
16182012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1619
1620 * string/memmove.c: Use memcpy when possible.
1621
c5f45721
AJ
16222012-11-06 Andreas Jaeger <aj@suse.de>
1623
1624 * po/eo.po: Update from translation team.
1625
82477c28
JM
16262012-11-06 Joseph Myers <joseph@codesourcery.com>
1627
1628 [BZ #14793]
1629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1630 exponent and small x and y exponents, scale x or y up. Increase
1631 by 2 the exponent used in scaling up.
1632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1634 * math/libm-test.inc (fma_test): Add more tests.
1635 (fma_test_towardzero): Likewise.
1636 (fma_test_downward): Likewise.
1637 (fma_test_upward): Likewise.
1638
99252c8c
JM
16392012-11-05 Joseph Myers <joseph@codesourcery.com>
1640
acfa885f
JM
1641 [BZ #14805]
1642 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1643 fenv_t *.
1644
99252c8c
JM
1645 [BZ #14801]
1646 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1647 namespace for names of struct fields.
1648 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1649 fenv_t fields.
1650 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1651 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1652
d6d98dea
ST
16532012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1654
1655 [BZ #3665]
1656 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1657
e10bb107
TS
16582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1659
1660 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1661 PTR_DEMANGLE.
1662
1663 [BZ #5246]
1664 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1665 PTR_DEMANGLE.
1666
a0c2940d
JM
16672012-11-04 Joseph Myers <joseph@codesourcery.com>
1668
1669 [BZ #14797]
1670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1671 definitely overflow as x * y not x * y + z.
1672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1673 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1674 * math/libm-test.inc (fma_test): Add more tests.
1675 (fma_test_towardzero): Likewise.
1676 (fma_test_downward): Likewise.
1677 (fma_test_upward): Likewise.
1678
b830319d
TS
16792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1680
1681 [BZ #157]
1682
1683 * include/stub-tag.h: Remove file.
1684 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1685 '#include' of it.
1686 * manual/maint.texi (Porting): Don't reference it.
1687 * Makerules ($(objpfx)stubs): Likewise.
1688 * dirent/closedir.c: Don't include <stub-tag.h>.
1689 * dirent/dirfd.c: Likewise.
1690 * dirent/fdopendir.c: Likewise.
1691 * dirent/getdents.c: Likewise.
1692 * dirent/getdents64.c: Likewise.
1693 * dirent/opendir.c: Likewise.
1694 * dirent/readdir.c: Likewise.
1695 * dirent/readdir64.c: Likewise.
1696 * dirent/readdir64_r.c: Likewise.
1697 * dirent/readdir_r.c: Likewise.
1698 * dirent/rewinddir.c: Likewise.
1699 * dirent/seekdir.c: Likewise.
1700 * dirent/telldir.c: Likewise.
1701 * gmon/profil.c: Likewise.
1702 * grp/setgroups.c: Likewise.
1703 * inet/if_index.c: Likewise.
1704 * io/access.c: Likewise.
1705 * io/chdir.c: Likewise.
1706 * io/chmod.c: Likewise.
1707 * io/chown.c: Likewise.
1708 * io/close.c: Likewise.
1709 * io/dup.c: Likewise.
1710 * io/dup2.c: Likewise.
1711 * io/dup3.c: Likewise.
1712 * io/euidaccess.c: Likewise.
1713 * io/faccessat.c: Likewise.
1714 * io/fchdir.c: Likewise.
1715 * io/fchmod.c: Likewise.
1716 * io/fchmodat.c: Likewise.
1717 * io/fchown.c: Likewise.
1718 * io/fchownat.c: Likewise.
1719 * io/fcntl.c: Likewise.
1720 * io/flock.c: Likewise.
1721 * io/fstatfs.c: Likewise.
1722 * io/fstatfs64.c: Likewise.
1723 * io/fstatvfs.c: Likewise.
1724 * io/fstatvfs64.c: Likewise.
1725 * io/futimens.c: Likewise.
1726 * io/fxstat.c: Likewise.
1727 * io/fxstat64.c: Likewise.
1728 * io/fxstatat.c: Likewise.
1729 * io/fxstatat64.c: Likewise.
1730 * io/getcwd.c: Likewise.
1731 * io/isatty.c: Likewise.
1732 * io/lchmod.c: Likewise.
1733 * io/lchown.c: Likewise.
1734 * io/link.c: Likewise.
1735 * io/linkat.c: Likewise.
1736 * io/lseek.c: Likewise.
1737 * io/lseek64.c: Likewise.
1738 * io/lxstat64.c: Likewise.
1739 * io/mkdir.c: Likewise.
1740 * io/mkdirat.c: Likewise.
1741 * io/mkfifo.c: Likewise.
1742 * io/mkfifoat.c: Likewise.
1743 * io/open.c: Likewise.
1744 * io/open64.c: Likewise.
1745 * io/openat.c: Likewise.
1746 * io/openat64.c: Likewise.
1747 * io/pipe.c: Likewise.
1748 * io/pipe2.c: Likewise.
1749 * io/poll.c: Likewise.
1750 * io/posix_fadvise.c: Likewise.
1751 * io/posix_fadvise64.c: Likewise.
1752 * io/posix_fallocate.c: Likewise.
1753 * io/posix_fallocate64.c: Likewise.
1754 * io/read.c: Likewise.
1755 * io/readlink.c: Likewise.
1756 * io/readlinkat.c: Likewise.
1757 * io/rmdir.c: Likewise.
1758 * io/sendfile.c: Likewise.
1759 * io/sendfile64.c: Likewise.
1760 * io/statfs.c: Likewise.
1761 * io/statfs64.c: Likewise.
1762 * io/statvfs.c: Likewise.
1763 * io/statvfs64.c: Likewise.
1764 * io/symlink.c: Likewise.
1765 * io/symlinkat.c: Likewise.
1766 * io/ttyname.c: Likewise.
1767 * io/ttyname_r.c: Likewise.
1768 * io/umask.c: Likewise.
1769 * io/unlink.c: Likewise.
1770 * io/unlinkat.c: Likewise.
1771 * io/utime.c: Likewise.
1772 * io/utimensat.c: Likewise.
1773 * io/write.c: Likewise.
1774 * io/xmknod.c: Likewise.
1775 * io/xmknodat.c: Likewise.
1776 * io/xstat.c: Likewise.
1777 * io/xstat64.c: Likewise.
1778 * login/getpt.c: Likewise.
1779 * login/grantpt.c: Likewise.
1780 * login/unlockpt.c: Likewise.
1781 * math/e_acoshl.c: Likewise.
1782 * math/e_acosl.c: Likewise.
1783 * math/e_asinl.c: Likewise.
1784 * math/e_atan2l.c: Likewise.
1785 * math/e_atanhl.c: Likewise.
1786 * math/e_coshl.c: Likewise.
1787 * math/e_expl.c: Likewise.
1788 * math/e_fmodl.c: Likewise.
1789 * math/e_gammal_r.c: Likewise.
1790 * math/e_hypotl.c: Likewise.
1791 * math/e_j0l.c: Likewise.
1792 * math/e_j1l.c: Likewise.
1793 * math/e_jnl.c: Likewise.
1794 * math/e_lgammal_r.c: Likewise.
1795 * math/e_log10l.c: Likewise.
1796 * math/e_log2l.c: Likewise.
1797 * math/e_logl.c: Likewise.
1798 * math/e_powl.c: Likewise.
1799 * math/e_rem_pio2l.c: Likewise.
1800 * math/e_sinhl.c: Likewise.
1801 * math/e_sqrtl.c: Likewise.
1802 * math/fclrexcpt.c: Likewise.
1803 * math/fedisblxcpt.c: Likewise.
1804 * math/feenablxcpt.c: Likewise.
1805 * math/fegetenv.c: Likewise.
1806 * math/fegetexcept.c: Likewise.
1807 * math/fegetround.c: Likewise.
1808 * math/feholdexcpt.c: Likewise.
1809 * math/fesetenv.c: Likewise.
1810 * math/fesetround.c: Likewise.
1811 * math/feupdateenv.c: Likewise.
1812 * math/fgetexcptflg.c: Likewise.
1813 * math/fraiseexcpt.c: Likewise.
1814 * math/fsetexcptflg.c: Likewise.
1815 * math/ftestexcept.c: Likewise.
1816 * math/k_cosl.c: Likewise.
1817 * math/k_rem_pio2l.c: Likewise.
1818 * math/k_sinl.c: Likewise.
1819 * math/k_tanl.c: Likewise.
1820 * math/s_asinhl.c: Likewise.
1821 * math/s_atanl.c: Likewise.
1822 * math/s_cbrtl.c: Likewise.
1823 * math/s_erfl.c: Likewise.
1824 * math/s_expm1l.c: Likewise.
1825 * math/s_log1pl.c: Likewise.
1826 * math/s_tanhl.c: Likewise.
1827 * misc/acct.c: Likewise.
1828 * misc/brk.c: Likewise.
1829 * misc/chflags.c: Likewise.
1830 * misc/chroot.c: Likewise.
1831 * misc/fchflags.c: Likewise.
1832 * misc/fgetxattr.c: Likewise.
1833 * misc/flistxattr.c: Likewise.
1834 * misc/fremovexattr.c: Likewise.
1835 * misc/fsetxattr.c: Likewise.
1836 * misc/fsync.c: Likewise.
1837 * misc/ftruncate.c: Likewise.
1838 * misc/futimes.c: Likewise.
1839 * misc/futimesat.c: Likewise.
1840 * misc/getdomain.c: Likewise.
1841 * misc/getdtsz.c: Likewise.
1842 * misc/gethostid.c: Likewise.
1843 * misc/gethostname.c: Likewise.
1844 * misc/getloadavg.c: Likewise.
1845 * misc/getpagesize.c: Likewise.
1846 * misc/getsysstats.c: Likewise.
1847 * misc/getxattr.c: Likewise.
1848 * misc/gtty.c: Likewise.
1849 * misc/ioctl.c: Likewise.
1850 * misc/lgetxattr.c: Likewise.
1851 * misc/listxattr.c: Likewise.
1852 * misc/llistxattr.c: Likewise.
1853 * misc/lremovexattr.c: Likewise.
1854 * misc/lsetxattr.c: Likewise.
1855 * misc/lutimes.c: Likewise.
1856 * misc/madvise.c: Likewise.
1857 * misc/mincore.c: Likewise.
1858 * misc/mlock.c: Likewise.
1859 * misc/mlockall.c: Likewise.
1860 * misc/mmap.c: Likewise.
1861 * misc/mprotect.c: Likewise.
1862 * misc/msync.c: Likewise.
1863 * misc/munlock.c: Likewise.
1864 * misc/munlockall.c: Likewise.
1865 * misc/munmap.c: Likewise.
1866 * misc/preadv.c: Likewise.
1867 * misc/preadv64.c: Likewise.
1868 * misc/ptrace.c: Likewise.
1869 * misc/pwritev.c: Likewise.
1870 * misc/pwritev64.c: Likewise.
1871 * misc/readv.c: Likewise.
1872 * misc/reboot.c: Likewise.
1873 * misc/remap_file_pages.c: Likewise.
1874 * misc/removexattr.c: Likewise.
1875 * misc/revoke.c: Likewise.
1876 * misc/select.c: Likewise.
1877 * misc/setdomain.c: Likewise.
1878 * misc/setegid.c: Likewise.
1879 * misc/seteuid.c: Likewise.
1880 * misc/sethostid.c: Likewise.
1881 * misc/sethostname.c: Likewise.
1882 * misc/setregid.c: Likewise.
1883 * misc/setreuid.c: Likewise.
1884 * misc/setxattr.c: Likewise.
1885 * misc/sstk.c: Likewise.
1886 * misc/stty.c: Likewise.
1887 * misc/swapoff.c: Likewise.
1888 * misc/swapon.c: Likewise.
1889 * misc/sync.c: Likewise.
1890 * misc/syncfs.c: Likewise.
1891 * misc/syscall.c: Likewise.
1892 * misc/truncate.c: Likewise.
1893 * misc/ualarm.c: Likewise.
1894 * misc/usleep.c: Likewise.
1895 * misc/ustat.c: Likewise.
1896 * misc/utimes.c: Likewise.
1897 * misc/vhangup.c: Likewise.
1898 * misc/writev.c: Likewise.
1899 * posix/_exit.c: Likewise.
1900 * posix/alarm.c: Likewise.
1901 * posix/execve.c: Likewise.
1902 * posix/fexecve.c: Likewise.
1903 * posix/fork.c: Likewise.
1904 * posix/fpathconf.c: Likewise.
1905 * posix/getaddrinfo.c: Likewise.
1906 * posix/getegid.c: Likewise.
1907 * posix/geteuid.c: Likewise.
1908 * posix/getgid.c: Likewise.
1909 * posix/getgroups.c: Likewise.
1910 * posix/getlogin.c: Likewise.
1911 * posix/getlogin_r.c: Likewise.
1912 * posix/getpgid.c: Likewise.
1913 * posix/getpid.c: Likewise.
1914 * posix/getppid.c: Likewise.
1915 * posix/getresgid.c: Likewise.
1916 * posix/getresuid.c: Likewise.
1917 * posix/getsid.c: Likewise.
1918 * posix/getuid.c: Likewise.
1919 * posix/glob64.c: Likewise.
1920 * posix/nanosleep.c: Likewise.
1921 * posix/pathconf.c: Likewise.
1922 * posix/pause.c: Likewise.
1923 * posix/posix_madvise.c: Likewise.
1924 * posix/pread.c: Likewise.
1925 * posix/pread64.c: Likewise.
1926 * posix/pwrite.c: Likewise.
1927 * posix/pwrite64.c: Likewise.
1928 * posix/sched_getaffinity.c: Likewise.
1929 * posix/sched_getp.c: Likewise.
1930 * posix/sched_gets.c: Likewise.
1931 * posix/sched_primax.c: Likewise.
1932 * posix/sched_primin.c: Likewise.
1933 * posix/sched_rr_gi.c: Likewise.
1934 * posix/sched_setaffinity.c: Likewise.
1935 * posix/sched_setp.c: Likewise.
1936 * posix/sched_sets.c: Likewise.
1937 * posix/sched_yield.c: Likewise.
1938 * posix/setgid.c: Likewise.
1939 * posix/setlogin.c: Likewise.
1940 * posix/setpgid.c: Likewise.
1941 * posix/setresgid.c: Likewise.
1942 * posix/setresuid.c: Likewise.
1943 * posix/setsid.c: Likewise.
1944 * posix/setuid.c: Likewise.
1945 * posix/sleep.c: Likewise.
1946 * posix/spawni.c: Likewise.
1947 * posix/sysconf.c: Likewise.
1948 * posix/times.c: Likewise.
1949 * posix/wait.c: Likewise.
1950 * posix/wait3.c: Likewise.
1951 * posix/wait4.c: Likewise.
1952 * posix/waitpid.c: Likewise.
1953 * resolv/gai_sigqueue.c: Likewise.
1954 * resource/getpriority.c: Likewise.
1955 * resource/getrlimit.c: Likewise.
1956 * resource/getrusage.c: Likewise.
1957 * resource/nice.c: Likewise.
1958 * resource/setpriority.c: Likewise.
1959 * resource/setrlimit.c: Likewise.
1960 * resource/ulimit.c: Likewise.
1961 * rt/aio_cancel.c: Likewise.
1962 * rt/aio_fsync.c: Likewise.
1963 * rt/aio_read.c: Likewise.
1964 * rt/aio_sigqueue.c: Likewise.
1965 * rt/aio_suspend.c: Likewise.
1966 * rt/aio_write.c: Likewise.
1967 * rt/clock_getres.c: Likewise.
1968 * rt/clock_gettime.c: Likewise.
1969 * rt/clock_nanosleep.c: Likewise.
1970 * rt/clock_settime.c: Likewise.
1971 * rt/lio_listio.c: Likewise.
1972 * rt/mq_close.c: Likewise.
1973 * rt/mq_getattr.c: Likewise.
1974 * rt/mq_notify.c: Likewise.
1975 * rt/mq_open.c: Likewise.
1976 * rt/mq_receive.c: Likewise.
1977 * rt/mq_send.c: Likewise.
1978 * rt/mq_setattr.c: Likewise.
1979 * rt/mq_timedreceive.c: Likewise.
1980 * rt/mq_timedsend.c: Likewise.
1981 * rt/mq_unlink.c: Likewise.
1982 * rt/shm_open.c: Likewise.
1983 * rt/shm_unlink.c: Likewise.
1984 * rt/timer_create.c: Likewise.
1985 * rt/timer_delete.c: Likewise.
1986 * rt/timer_getoverr.c: Likewise.
1987 * rt/timer_gettime.c: Likewise.
1988 * rt/timer_settime.c: Likewise.
1989 * setjmp/__longjmp.c: Likewise.
1990 * setjmp/setjmp.c: Likewise.
1991 * signal/kill.c: Likewise.
1992 * signal/killpg.c: Likewise.
1993 * signal/raise.c: Likewise.
1994 * signal/sigaction.c: Likewise.
1995 * signal/sigaltstack.c: Likewise.
1996 * signal/sigblock.c: Likewise.
1997 * signal/sigignore.c: Likewise.
1998 * signal/sigintr.c: Likewise.
1999 * signal/signal.c: Likewise.
2000 * signal/sigpause.c: Likewise.
2001 * signal/sigpending.c: Likewise.
2002 * signal/sigqueue.c: Likewise.
2003 * signal/sigreturn.c: Likewise.
2004 * signal/sigset.c: Likewise.
2005 * signal/sigsetmask.c: Likewise.
2006 * signal/sigstack.c: Likewise.
2007 * signal/sigsuspend.c: Likewise.
2008 * signal/sigtimedwait.c: Likewise.
2009 * signal/sigvec.c: Likewise.
2010 * signal/sigwait.c: Likewise.
2011 * signal/sigwaitinfo.c: Likewise.
2012 * signal/sysv_signal.c: Likewise.
2013 * socket/accept.c: Likewise.
2014 * socket/accept4.c: Likewise.
2015 * socket/bind.c: Likewise.
2016 * socket/connect.c: Likewise.
2017 * socket/getpeername.c: Likewise.
2018 * socket/getsockname.c: Likewise.
2019 * socket/getsockopt.c: Likewise.
2020 * socket/isfdtype.c: Likewise.
2021 * socket/listen.c: Likewise.
2022 * socket/recv.c: Likewise.
2023 * socket/recvfrom.c: Likewise.
2024 * socket/recvmsg.c: Likewise.
2025 * socket/send.c: Likewise.
2026 * socket/sendmsg.c: Likewise.
2027 * socket/sendto.c: Likewise.
2028 * socket/setsockopt.c: Likewise.
2029 * socket/shutdown.c: Likewise.
2030 * socket/sockatmark.c: Likewise.
2031 * socket/socket.c: Likewise.
2032 * socket/socketpair.c: Likewise.
2033 * stdio-common/ctermid.c: Likewise.
2034 * stdio-common/cuserid.c: Likewise.
2035 * stdio-common/remove.c: Likewise.
2036 * stdio-common/rename.c: Likewise.
2037 * stdio-common/renameat.c: Likewise.
2038 * stdio-common/tempname.c: Likewise.
2039 * stdlib/getcontext.c: Likewise.
2040 * stdlib/makecontext.c: Likewise.
2041 * stdlib/setcontext.c: Likewise.
2042 * stdlib/swapcontext.c: Likewise.
2043 * stdlib/system.c: Likewise.
2044 * streams/fattach.c: Likewise.
2045 * streams/fdetach.c: Likewise.
2046 * streams/getmsg.c: Likewise.
2047 * streams/getpmsg.c: Likewise.
2048 * streams/putmsg.c: Likewise.
2049 * streams/putpmsg.c: Likewise.
2050 * sysdeps/unix/bsd/getpt.c: Likewise.
2051 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2052 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2055 Likewise.
2056 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2057 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2058 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2059 * sysvipc/msgctl.c: Likewise.
2060 * sysvipc/msgget.c: Likewise.
2061 * sysvipc/msgrcv.c: Likewise.
2062 * sysvipc/msgsnd.c: Likewise.
2063 * sysvipc/semctl.c: Likewise.
2064 * sysvipc/semget.c: Likewise.
2065 * sysvipc/semop.c: Likewise.
2066 * sysvipc/semtimedop.c: Likewise.
2067 * sysvipc/shmat.c: Likewise.
2068 * sysvipc/shmctl.c: Likewise.
2069 * sysvipc/shmdt.c: Likewise.
2070 * sysvipc/shmget.c: Likewise.
2071 * termios/tcdrain.c: Likewise.
2072 * termios/tcflow.c: Likewise.
2073 * termios/tcflush.c: Likewise.
2074 * termios/tcgetattr.c: Likewise.
2075 * termios/tcgetpgrp.c: Likewise.
2076 * termios/tcsendbrk.c: Likewise.
2077 * termios/tcsetattr.c: Likewise.
2078 * termios/tcsetpgrp.c: Likewise.
2079 * time/adjtime.c: Likewise.
2080 * time/clock.c: Likewise.
2081 * time/getitimer.c: Likewise.
2082 * time/gettimeofday.c: Likewise.
2083 * time/setitimer.c: Likewise.
2084 * time/settimeofday.c: Likewise.
2085 * time/stime.c: Likewise.
2086 * time/time.c: Likewise.
2087
20882012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2089
a20492cf
PT
2090 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2091 /usr/old/bin.
2092
72e182e3
PT
2093 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2094 instead of spaces.
2095 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2096
fbeafede
JM
20972012-11-03 Joseph Myers <joseph@codesourcery.com>
2098
5b5b04d6
JM
2099 [BZ #14796]
2100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2101 FE_TONEAREST before applying Dekker multiplication and Knuth
2102 addition. Clear inexact exceptions and check for exact zero
2103 results afterwards.
2104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2105 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2106 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2107 * math/libm-test.inc (fma_test): Add more tests.
2108 (fma_test_towardzero): Likewise.
2109 (fma_test_downward): Likewise.
2110 (fma_test_upward): Likewise.
2111 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2112 function.
2113 (libc_fesetround): New macro.
2114 (libc_fesetroundf): Likewise.
2115 (libc_fesetroundl): Likewise.
2116 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2117 function.
2118 (libc_fesetround_387): Likewise.
2119 (libc_fesetroundf): New macro.
2120 (libc_fesetround): Likewise.
2121 (libc_fesetroundl): Likewise.
2122 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2123 function.
2124 (libc_fesetroundf): New macro.
2125 (libc_fesetround): Likewise.
2126 (libc_fesetroundl): Likewise.
2127 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2128 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2129 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2130 libm_hidden_ver.
2131 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2132 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2133 libm_hidden_def.
2134 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2135 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2136 libm_hidden_ver.
2137 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2138 libm_hidden_def.
2139
fbeafede
JM
2140 [BZ #3439]
2141 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2142 integer constant usable in #if and use that to give value to enum
2143 constant.
2144 (FE_DIVBYZERO): Likewise.
2145 (FE_UNDERFLOW): Likewise.
2146 (FE_OVERFLOW): Likewise.
2147 (FE_INVALID): Likewise.
2148 (FE_INVALID_SNAN): Likewise.
2149 (FE_INVALID_ISI): Likewise.
2150 (FE_INVALID_IDI): Likewise.
2151 (FE_INVALID_ZDZ): Likewise.
2152 (FE_INVALID_IMZ): Likewise.
2153 (FE_INVALID_COMPARE): Likewise.
2154 (FE_INVALID_SOFTWARE): Likewise.
2155 (FE_INVALID_SQRT): Likewise.
2156 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2157 (FE_TONEAREST): Likewise.
2158 (FE_TOWARDZERO): Likewise.
2159 (FE_UPWARD): Likewise.
2160 (FE_DOWNWARD): Likewise.
2161 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2162 (FE_DIVBYZERO): Likewise.
2163 (FE_OVERFLOW): Likewise.
2164 (FE_UNDERFLOW): Likewise.
2165 (FE_INEXACT): Likewise.
2166 (FE_TONEAREST): Likewise.
2167 (FE_DOWNWARD): Likewise.
2168 (FE_UPWARD): Likewise.
2169 (FE_TOWARDZERO): Likewise.
2170 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2171 (FE_UNDERFLOW): Likewise.
2172 (FE_OVERFLOW): Likewise.
2173 (FE_DIVBYZERO): Likewise.
2174 (FE_INVALID): Likewise.
2175 (FE_TONEAREST): Likewise.
2176 (FE_TOWARDZERO): Likewise.
2177 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2178 (FE_OVERFLOW): Likewise.
2179 (FE_UNDERFLOW): Likewise.
2180 (FE_DIVBYZERO): Likewise.
2181 (FE_INEXACT): Likewise.
2182 (FE_TONEAREST): Likewise.
2183 (FE_TOWARDZERO): Likewise.
2184 (FE_UPWARD): Likewise.
2185 (FE_DOWNWARD): Likewise.
2186 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2187 (FE_DIVBYZERO): Likewise.
2188 (FE_OVERFLOW): Likewise.
2189 (FE_UNDERFLOW): Likewise.
2190 (FE_INEXACT): Likewise.
2191 (FE_TONEAREST): Likewise.
2192 (FE_DOWNWARD): Likewise.
2193 (FE_UPWARD): Likewise.
2194 (FE_TOWARDZERO): Likewise.
2195
105ca950
CM
21962012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2197
2198 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2199
a542b389
AS
22002012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2201
2202 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2203 commands. Quote $PWD.
2204 (blacklist_exports): Don't use remove_newlines. Replace "declare
2205 -x" by "export".
2206 (remove_newlines): Remove.
2207
f62c8abc
L
22082012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2209
2210 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2211 * stdlib/stdlib.h (atof): Moved to ...
2212 * include/bits/stdlib-float.h: Here. New file.
2213 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2214 * stdlib/bits/stdlib-float.h: New file.
2215 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2216 -mno-sse -mno-mmx.
2217 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2218 <xmmintrin.h>.
2219
0155d5b2
JM
22202012-11-02 Joseph Myers <joseph@codesourcery.com>
2221
a68d0680
JM
2222 * conform/conformtest.pl (@headers): Add fenv.h.
2223 * conform/data/fenv.h-data: New file.
2224 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2225 include of <math/fenv.h>.
2226
caf7f573
JM
2227 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2228 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2229 && !UNIX98]. Enables tests for XOPEN2K8.
2230 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2231 POSIX2008]: Likewise.
2232
6c073ad6
JM
2233 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2234 (struct rusage): Do not expect type or its members.
2235
0155d5b2
JM
2236 [BZ #3439]
2237 * math/math.h (FP_NAN): Define macro to integer constant usable in
2238 #if and use that to give value to enum constant.
2239 (FP_INFINITE): Likewise.
2240 (FP_ZERO): Likewise.
2241 (FP_SUBNORMAL): Likewise.
2242 (FP_NORMAL): Likewise.
2243
b5dcacb4
AS
22442012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2245
2246 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2247 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2248 arguments.
2249
f7934be8
RM
22502012-11-02 Roland McGrath <roland@hack.frob.com>
2251
2252 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2253 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2254 autoconf-time if not.
2255 * configure.in: Remove AC_PREREQ.
2256
d7d08bde
TMQMF
22572012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2258
2259 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2260 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2261 of the internal implementation.
2262
dcdae19a
JM
22632012-11-02 Joseph Myers <joseph@codesourcery.com>
2264
2265 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2266 except include of <misc/sys/syslog.h>.
2267
d6cffd3e
AS
22682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2269
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2271 function returns with a NULL context exit with zero.
2272
b3563932
TMQMF
22732012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2274
2275 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2276
b288a93d
L
22772012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2280 (run_program_cmd): This.
2281 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2282 (tst_langinfo): New variable. Use it.
2283
a2421a68
SAS
22842012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2285
2286 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2287 floating point opcodes.
2288
6f796e1b
TS
22892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2290
7402596b
TS
2291 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2292 variable.
2293
d0d4f868
TS
2294 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2295
6f796e1b
TS
2296 * sysdeps/mach/hurd/powerpc: Remove directory.
2297 * sysdeps/mach/powerpc: Likewise.
2298
4da224a2
AS
22992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2300
2301 * scripts/check-local-headers.sh: Ignore c++ headers.
2302
341dd673
TS
23032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2304
2305 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2306 __libc_cleanup_region_start argument.
2307
473611b2
JM
23082012-11-01 Joseph Myers <joseph@codesourcery.com>
2309
2310 [BZ #14784]
2311 [BZ #14785]
2312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2313 x * y using scaling, not as x * y + z.
2314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2316 * math/libm-test.inc (fma_test): Add more tests.
2317 (fma_test_towardzero): Likewise.
2318 (fma_test_downward): Likewise.
2319 (fma_test_upward): Likewise.
2320
4078da3d
TS
23212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2322
2323 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2324
903252aa
JM
23252012-10-31 Joseph Myers <joseph@codesourcery.com>
2326
2327 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2328 New variable.
2329
cbc818d0
TS
23302012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2331
2332 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2333
5a03cb1e
AS
23342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2335
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2337 Fix sort order.
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2339 Likewise.
2340
90aff2ff
TMQMF
23412012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2342
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2344 Fix the order of the list for glibc 2.17.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2346 Likewise.
2347
1818fcb7
AS
23482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2349
2350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2351
ef82f4da
JM
23522012-10-31 Joseph Myers <joseph@codesourcery.com>
2353
16a0e2ec
JM
2354 [BZ #14610]
2355 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2356 for low part of x being zero before using __atanl (y).
2357 * math/libm-test.inc (atan2_test): Add another test.
2358
0eb69512
JM
2359 * manual/install.texi (Configuring and compiling): Document
2360 general use of test-wrapper and test-wrapper-env.
2361 * INSTALL: Regenerated.
2362
ef82f4da
JM
2363 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2364 (__fma): 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-128/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 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2372 (__fmal): Do not extract and scale down low bits on after-rounding
2373 systems when result rounded to normal precision would have normal
2374 exponent.
2375 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2376 macro.
2377 (fma_test): Add more tests.
2378 (fma_test_towardzero): Likewise.
2379 (fma_test_downward): Likewise.
2380 (fma_test_upward): Likewise.
2381
954ef0d9
L
23822012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2383
2384 * sysdeps/i386/tininess.h: Renamed to ...
2385 * sysdeps/x86/tininess.h: This.
2386 * sysdeps/x86_64/tininess.h: Removed.
2387
df61ffb2
JM
23882012-10-30 Joseph Myers <joseph@codesourcery.com>
2389
2390 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2391 input. Use $(build-program-cmd).
2392 ($(objpfx)tst-array1-static.out): Likewise.
2393 ($(objpfx)tst-array2.out): Likewise.
2394 ($(objpfx)tst-array3.out): Likewise.
2395 ($(objpfx)tst-array4.out): Likewise.
2396 ($(objpfx)tst-array5.out): Likewise.
2397 ($(objpfx)tst-array5-static.out): Likewise.
2398
01767843
CM
23992012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2400
47cc1490
CM
2401 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2402 if defined.
2403
01767843
CM
2404 * nss/nsswitch.h (nss_interface_function): Provide new
2405 macro for use with NSS functions.
2406 * grp/initgroups.c: Use new macro.
2407 * nss/getXXbyYY.c: Likewise.
2408 * nss/getXXbyYY_r.c: Likewise.
2409 * nss/getXXent.c: Likewise.
2410 * nss/getXXent_r.c: Likewise.
2411 * sysdeps/posix/getaddrinfo.c: Likewise.
2412
8321aa97
AJ
24132012-10-30 Andreas Jaeger <aj@suse.de>
2414
2415 * po/ru.po: Update Russion translation from translation project.
2416
2a27fd6d
JM
24172012-10-30 Joseph Myers <joseph@codesourcery.com>
2418
8627a232
JM
2419 [BZ #14152]
2420 [BZ #14783]
2421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2422 result and shift together with sticky bit instead of replicating
2423 round-to-nearest rounding.
2424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2426 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2427 missing underflow exceptions.
2428 (fma_test_towardzero): Add more tests.
2429 (fma_test_downward): Likewise.
2430 (fma_test_upward): Likewise.
2431
2a27fd6d
JM
2432 [BZ #14047]
2433 * sysdeps/generic/tininess.h: New file.
2434 * sysdeps/i386/tininess.h: Likewise.
2435 * sysdeps/sh/tininess.h: Likewise.
2436 * sysdeps/x86_64/tininess.h: Likewise.
2437 * stdlib/tst-strtod-underflow.c: Likewise.
2438 * stdlib/tst-tininess.c: Likewise.
2439 * stdlib/strtod_l.c: Include <tininess.h>.
2440 (round_and_return): Do not set errno for exact underflow cases.
2441 Force an underflow exception when setting errno for underflow.
2442 Determine underflow based on rounding to normal precision if
2443 TININESS_AFTER_ROUNDING.
2444 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2445 ERANGE for exact underflow cases.
2446 * stdlib/Makefile (tests): Add tst-tininess and
2447 tst-strtod-underflow.
2448 ($(objpfx)tst-tininess): Use $(link-libm).
2449 ($(objpfx)tst-strtod-underflow): Likewise.
2450
e7170363
AJ
24512012-10-30 Andreas Jaeger <aj@suse.de>
2452
e5088dc6
AJ
2453 [BZ#14767]
2454 * elf/Makefile (tests): Remove conditional for have-initfini-array
2455 since this is now always required and the variable does not exist
2456 anymore.
2457 (tests-static): Likewise.
2458 (modules-names): Likewise.
2459
e7170363 2460 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2461
2462 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2463 merged with constructor/destructor.
2464 (init_array): Likewise.
2465 * elf/tst-array2dep.c (fini_array): Likewise.
2466 (init_array): Likewise.
2467
60457d8a
MF
24682012-10-29 Mike Frysinger <vapier@gentoo.org>
2469
2470 * manual/message.texi: Delete @cartouche tags.
2471
8bece752
PT
24722012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2473
94ce799f
PT
2474 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2475 EOPNOTSUPP.
2476 * sysdeps/mach/hurd/fsync.c: Likewise.
2477
8bece752
PT
2478 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2479 [_POSIX_REALTIME_SIGNALS]: Change condition to
2480 [_POSIX_REALTIME_SIGNALS > 0].
2481
86ebe6b1
AJ
24822012-10-27 Andreas Jaeger <aj@suse.de>
2483
2484 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2485 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2487 [__WORDSIZE != 64]: Likewise.
2488
54399c08
L
24892012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2490
2491 * iconvdata/tst-table.sh: Remove ${SHELL}.
2492 * iconvdata/tst-tables.sh: Likewise.
2493
e2211bed
DM
24942012-10-25 David S. Miller <davem@davemloft.net>
2495
2496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2497 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2498 of strtoull.
2499
f303f97c
DM
2500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2501 ifunc-impl-list.c
2502 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2503 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2504 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2505 file.
2506
1e9d84cd
RM
25072012-10-25 Roland McGrath <roland@hack.frob.com>
2508
2509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2510 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2511 __getdirentries.
2512
df381762
JM
25132012-10-25 Joseph Myers <joseph@codesourcery.com>
2514 Jim Blandy <jimb@codesourcery.com>
2515
2516 * scripts/cross-test-ssh.sh: New file.
2517 * manual/install.texi (Configuring and compiling): Document use of
2518 cross-test-ssh.sh.
2519 * INSTALL: Regenerated.
2520
bff64913
PT
25212012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2522
2523 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2524 EOPNOTSUPP.
2525
25fe8932
JM
25262012-10-25 Joseph Myers <joseph@codesourcery.com>
2527
2528 * Makeconfig (run-program-prefix): Fix comment.
2529
cc1290d0
JM
25302012-10-24 Joseph Myers <joseph@codesourcery.com>
2531 Jim Blandy <jimb@codesourcery.com>
2532
2533 * Makeconfig (test-wrapper): New variable,
2534 (test-wrapper-env): Likewise.
2535 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2536 (run-built-tests): Define to yes.
2537 (run-program-prefix): Use $(test-wrapper).
2538 (built-program-cmd): Likewise.
2539 * Rules (make-test-out): Use $(test-wrapper-env) and
2540 $(host-built-program-cmd).
2541 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2542 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2543 tst-pathopt.sh.
2544 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2545 $(test-wrapper-env) to tst-rtld-load-self.sh.
2546 ($(objpfx)order2.out): Use $(test-wrapper).
2547 ($(objpfx)tst-initorder.out): Likewise.
2548 ($(objpfx)tst-initorder2.out): Likewise.
2549 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2550 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2551 (test_wrapper_env): New variable. Use it to run ld.so.
2552 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2553 Use it to run ld.so.
2554 (test_wrapper_env): Likewise.
2555 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2556 $(test-wrapper) to run-iconv-test.sh.
2557 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2558 (ICONV): Use $test_wrapper.
2559 * posix/Makefile ($(objpfx)globtest.out): Pass
2560 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2561 globtest.sh, not $(run-program-prefix).
2562 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2563 (test_wrapper): Likewise.
2564 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2565 set together with run_via_rtld_prefix.
2566 (run_program_prefix): Define in terms of test_wrapper and
2567 run_via_rtld_prefix.
2568
6e6249d0
RM
25692012-10-24 Roland McGrath <roland@hack.frob.com>
2570
2571 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2572 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2573 Targets removed.
2574
2575 [BZ #14743]
2576 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2577 Declare __clock_getres, __clock_gettime, __clock_settime,
2578 __clock_nanosleep, and __clock_getcpuclockid.
2579 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2580 Remove librt_hidden_def (clock_gettime).
2581 * sysdeps/unix/clock_gettime.c: Likewise.
2582 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2583 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2584 * rt/clock_getres.c: Define __clock_getres as an alias.
2585 * sysdeps/posix/clock_getres.c: Likewise.
2586 * rt/clock_settime.c: Define __clock_settime as an alias.
2587 * sysdeps/unix/clock_settime.c: Likewise.
2588 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2589 * sysdeps/unix/clock_nanosleep.c: Likewise.
2590 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2591 * rt/clock-compat.c: New file.
2592 * rt/Makefile (librt-routines): Add clock-compat and move
2593 $(clock-routines) to ...
2594 (routines): ... here, new variable.
2595 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2596 Don't add get_clockfreq here.
2597 * rt/Versions (libc: GLIBC_2.17): New version set.
2598 Add clock_* symbols here.
2599 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2600 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2601 (GLIBC_2.17): Add clock_* symbols.
2602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2606 Likewise.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2608 Likewise.
2609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2613 * NEWS: Mention the move.
2614
2615 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2616 Use __open, __read, __close rather than their public counterparts.
2617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2618 (__get_clockfreq_via_cpuinfo): Likewise.
2619 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2620 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2621
2622 * config.h.in (HAVE_IFUNC): New #undef.
2623 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2624 was successful.
2625 * configure: Regenerated.
2626
0cae3f4b
MF
26272012-10-24 Mike Frysinger <vapier@gentoo.org>
2628
2629 * configure.in: Move READELF check to start of file.
2630 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2631 libc_cv_asm_gnu_indirect_function in the process.
2632 * configure: Regenerated.
2633
8175a253
MF
26342012-10-24 Mike Frysinger <vapier@gentoo.org>
2635
2636 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2637 send the output to /dev/null.
2638 (libc_cv_cc_with_libunwind): Likewise.
2639 (libc_cv_as_noexecstack): Likewise.
2640 * configure: Regenerate.
2641
0708a7d1
JM
26422012-10-24 Joseph Myers <joseph@codesourcery.com>
2643
10b40d85
JM
2644 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2645
0708a7d1
JM
2646 * posix/globtest.sh (TMPDIR): Do not set.
2647 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2648 (testout): Likewise.
2649
9fddec1a
AJ
26502012-10-24 Andreas Jaeger <aj@suse.de>
2651
3a8db22f
AJ
2652 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2653 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2654 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2655 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2656 posix_fadvise64, posix_fallocate64.
2657
9fddec1a
AJ
2658 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2659 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2660 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2661 Likewise.
2662 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2663 Likewise.
2664 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2665
2666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2667 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2668 <bits/fcntl-linux.h>.
2669 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2670
2671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2672 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2673 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2674 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2675 [__WORDSIZE != 64]: Likewise.
2676
ebfd1bbd
JM
26772012-10-23 Joseph Myers <joseph@codesourcery.com>
2678
03ac099f
JM
2679 * Makeconfig (run-built-tests): New variable.
2680 * Rules [$(cross-compiling) = yes]: Change condition to
2681 [$(run-built-tests) = no].
2682 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2683 to [$(run-built-tests) = yes].
2684 * elf/Makefile [$(cross-compiling) = no]: Likewise
2685 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2686 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2687 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2688 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2689 * io/Makefile [$(cross-compiling) = no]: Likewise.
2690 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2691 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2692 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2693 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2694 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2695 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2696 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2697 * string/Makefile [$(cross-compiling) = no]: Likewise.
2698
ebfd1bbd
JM
2699 * posix/Makefile ($(objpfx)globtest.out): Pass
2700 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2701 $(rtld-installed-name).
2702 * posix/globtest.sh (elf_objpfx): Remove variable.
2703 (rtld_installed_name): Likewise.
2704 (library_path): Likewise.
2705 (run_program_prefix): New variable. Use for running globtest
2706 binary.
2707
166bca24
JB
27082012-10-23 Jim Blandy <jimb@codesourcery.com>
2709 Joseph Myers <joseph@codesourcery.com>
2710
2711 * Makeconfig (host-built-program-cmd): New variable.
2712 * elf/Makefile (tst-stackguard1-ARGS): Use
2713 $(host-built-program-cmd).
2714 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2715 (tst-spawn-ARGS): Likewise.
2716 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2717
88866099
JM
27182012-10-23 Joseph Myers <joseph@codesourcery.com>
2719 Jim Blandy <jimb@codesourcery.com>
2720
2721 * Makeconfig (run-via-rtld-prefix): New variable.
2722 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2723 (built-program-cmd): Likewise.
2724
b4b4c296
AJ
27252012-10-22 Andreas Jaeger <aj@suse.de>
2726
2727 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2728 __O_RSYNC if it exists, otherwise to O_SYNC.
2729
6fb54a22
JB
27302012-10-22 Jim Blandy <jimb@codesourcery.com>
2731 Joseph Myers <joseph@codesourcery.com>
2732
2733 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2734 /dev/null.
2735 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2736 from /dev/null
2737 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2738 /dev/null.
2739
481b90b9
AJ
27402012-10-22 Andreas Jaeger <aj@suse.de>
2741
2a0e2669
AJ
2742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2743 Define always.
2744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2745
76e38f9a
AJ
2746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2747 bits/fcntl-linux.h.
2748
7cd37b43
AJ
2749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2750 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2751
481b90b9
AJ
2752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2753 to __O_LARGEFILE.
2754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2755 to __O_LARGEFILE.
2756
aba75984
JB
27572012-10-21 Jim Blandy <jimb@codesourcery.com>
2758 Joseph Myers <joseph@codesourcery.com>
2759
2760 * config.make.in (NM): New variable.
2761
88d4247f
AJ
27622012-10-21 Andreas Jaeger <aj@suse.de>
2763
2764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2765 definitions and declarations that are provided by
2766 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2767
f2eed205
L
27682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2769
2770 [BZ #14683]
2771 * elf/Makefile (tests-static): Add tst-leaks1-static.
2772 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2773 ($(objpfx)tst-leaks1-static): New rule.
2774 ($(objpfx)tst-leaks1-static-mem): Likewise.
2775 (tst-leaks1-static-ENV): New macro.
2776 * elf/dl-open.c (dl_open_worker): Check the main application
2777 only if SHARED is defined.
2778 * elf/tst-leaks1-static.c: New file.
2779
335e6931
AJ
27802012-10-20 Andreas Jaeger <aj@suse.de>
2781
2782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2783 generic values for Linux.
2784 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2785 and declarations that are provided by <bits/fcntl-linux.h> and
2786 include <bits/fcntl-linux.h>.
2787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2789
ac5c94d3
RM
27902012-10-20 Roland McGrath <roland@hack.frob.com>
2791
2792 * io/fcntl.h: Move include of <bits/types.h> to the top and
2793 include it unconditionally.
2794
de54b33a
L
27952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2796
228cfb01
L
2797 * wcsmbs/Makefile (tests-ifunc): New variable.
2798 (tests): Add $(tests-ifunc).
2799 * wcsmbs/test-wcschr-ifunc.c: New file.
2800 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2801 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2802 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2803 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2804 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2805
69f07e5f
L
2806 * string/Makefile (tests-ifunc): New variable.
2807 (tests): Add $(tests-ifunc).
2808 * string/test-memccpy.c (TEST_NAME): New macro.
2809 * string/test-memchr.c (TEST_NAME): Likewise.
2810 * string/test-memcmp.c (TEST_NAME): Likewise.
2811 * string/test-memcpy.c (TEST_NAME): Likewise.
2812 * string/test-memmem.c (TEST_NAME): Likewise.
2813 * string/test-memmove.c (TEST_NAME): Likewise.
2814 * string/test-memset.c (TEST_NAME): Likewise.
2815 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2816 * string/test-stpcpy.c (TEST_NAME): Likewise.
2817 * string/test-stpncpy.c (TEST_NAME): Likewise.
2818 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2819 * string/test-strcasestr.c (TEST_NAME): Likewise.
2820 * string/test-strcat.c (TEST_NAME): Likewise.
2821 * string/test-strchr.c (TEST_NAME): Likewise.
2822 * string/test-strcmp.c(TEST_NAME): Likewise.
2823 * string/test-strcpy.c (TEST_NAME): Likewise.
2824 * string/test-strcspn.c (TEST_NAME): Likewise.
2825 * string/test-strlen.c (TEST_NAME): Likewise.
2826 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2827 * string/test-strncmp.c (TEST_NAME): Likewise.
2828 * string/test-strncpy.c (TEST_NAME): Likewise.
2829 * string/test-strnlen.c (TEST_NAME): Likewise.
2830 * string/test-strpbrk.c (TEST_NAME): Likewise.
2831 * string/test-strrchr.c (TEST_NAME): Likewise.
2832 * string/test-strspn.c (TEST_NAME): Likewise.
2833 * string/test-strstr.c (TEST_NAME): Likewise.
2834 * string/test-bcopy-ifunc.c: New file.
2835 * string/test-bzero-ifunc.c: Likewise.
2836 * string/test-memccpy-ifunc.c: Likewise.
2837 * string/test-memchr-ifunc.c: Likewise.
2838 * string/test-memcmp-ifunc.c: Likewise.
2839 * string/test-memcpy-ifunc.c: Likewise.
2840 * string/test-memmem-ifunc.c: Likewise.
2841 * string/test-memmove-ifunc.c: Likewise.
2842 * string/test-mempcpy-ifunc.c: Likewise.
2843 * string/test-memset-ifunc.c: Likewise.
2844 * string/test-rawmemchr-ifunc.c: Likewise.
2845 * string/test-stpcpy-ifunc.c: Likewise.
2846 * string/test-stpncpy-ifunc.c: Likewise.
2847 * string/test-strcasecmp-ifunc.c: Likewise.
2848 * string/test-strcasestr-ifunc.c: Likewise.
2849 * string/test-strcat-ifunc.c: Likewise.
2850 * string/test-strchr-ifunc.c: Likewise.
2851 * string/test-strchrnul-ifunc.c: Likewise.
2852 * string/test-strcmp-ifunc.c: Likewise.
2853 * string/test-strcpy-ifunc.c: Likewise.
2854 * string/test-strcspn-ifunc.c: Likewise.
2855 * string/test-strlen-ifunc.c: Likewise.
2856 * string/test-strncasecmp-ifunc.c: Likewise.
2857 * string/test-strncat-ifunc.c: Likewise.
2858 * string/test-strncmp-ifunc.c: Likewise.
2859 * string/test-strncpy-ifunc.c: Likewise.
2860 * string/test-strnlen-ifunc.c: Likewise.
2861 * string/test-strpbrk-ifunc.c: Likewise.
2862 * string/test-strrchr-ifunc.c: Likewise.
2863 * string/test-strspn-ifunc.c: Likewise.
2864 * string/test-strstr-ifunc.c: Likewise.
2865
de54b33a
L
2866 * debug/Makefile (tests-ifunc): New variable.
2867 (tests): Add $(tests-ifunc).
2868 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2869 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2870 * debug/test-stpcpy_chk-ifunc.c: New file.
2871 * debug/test-strcpy_chk-ifunc.c: Likewise.
2872
88481c16
SP
28732012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2874
2875 [BZ #13601]
2876 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2877 header is not read in.
2878
135948bd
JM
28792012-10-19 Joseph Myers <joseph@codesourcery.com>
2880
89f1c388
JM
2881 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2882 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2883 directly. Pass built executable to script as
2884 $(built-program-cmd).
2885 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2886 $testprogram without using LD_LIBRARY_PATH and $ldso.
2887
e40a0d21
JM
2888 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2889 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2890 $(rtld-installed-name).
2891 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2892 (rtld_installed_name): Likewise.
2893 (library_path): Likewise.
2894 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2895 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2896 $(run-program-prefix) to tst-tables.sh.
2897 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2898 it to run tst-table-from and tst-table-to.
2899 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2900 Pass it to tst-table.sh.
2901 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2902 $(run-program-prefix) to tst-gettext.sh.
2903 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2904 tst-translit.sh.
2905 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2906 tst-gettext2.sh.
2907 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2908 to run tst-gettext.
2909 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2910 to run tst-gettext2.
2911 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2912 to run tst-translit.
2913 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2914 $(run-program-prefix) to tst-mtrace.sh.
2915 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2916 to run tst-mtrace.
2917 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2918 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2919 $(rtld-installed-name).
2920 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2921 (rtld_installed_name): Likewise.
2922 (run_program_prefix): New variable. Use it to run wordexp-test.
2923
728e272a
JM
2924 * Makeconfig (ARCH): Remove all definitions.
2925 (machine): Likewise.
2926 [ARCH]: Remove conditional code.
2927 [!objdir]: Give error.
2928 [!objdir] (objpfx): Remove.
2929 [!objdir] (common-objpfx): Likewise.
2930 [!objdir] (common-objdir): Likewise.
2931 * configure.in (config_makefile): Remove. Hardcode Makefile in
2932 AC_CONFIG_FILES call.
2933 * configure: Regenerated.
2934
d528cdcf
JM
2935 [BZ #13888]
2936 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2937 or TMPDIR.
2938 (testout): Likewise.
2939
135948bd
JM
2940 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2941 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2942 $(rtld-installed-name).
2943 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2944 (rtld_installed_name): Likwise.
2945 (runit): Remove function.
2946 (run_getconf): New variable, Use it for running getconf binary.
2947
38c78296
L
29482012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2949
2950 [BZ #14716]
2951 * string/test-memmem.c (check_result): New function.
2952 (do_one_test): Use it.
2953 (check1): New function.
2954 (test_main): Use it.
2955
d077f65f
MT
29562012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2957
2958 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2959
ced52c71
JM
29602012-10-18 Joseph Myers <joseph@codesourcery.com>
2961
2962 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2963 (_G_LSEEK64): Likewise.
2964 (_G_MMAP64): Likewise.
2965 (_G_FSTAT64): Likewise.
2966 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2967 (_G_LSEEK64): Likewise.
2968 (_G_MMAP64): Likewise.
2969 (_G_FSTAT64): Likewise.
2970 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2971 unconditional. Call __mmap64 directly.
2972 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2973 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2974 __lseek64 directly.
2975 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2976 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2977 __mmap64 directly.
2978 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2979 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2980 __lseek64 directly.
2981 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2982 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2983 __lseek64 directly.
2984 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2985 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2986 __lseek64 directly.
2987 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2988 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2989 __fxstat64 directly.
2990 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2991 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2992 unconditional.
2993 (freopen64) [!_G_OPEN64]: Remove conditional code.
2994 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2995 unconditional.
2996 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2997 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2998 unconditional.
2999 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3000 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3001 unconditional.
3002 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3003 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3004 unconditional.
3005 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3006 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3007 unconditional.
3008 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3009 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3010 unconditional.
3011 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3012 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3013 unconditional.
3014 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3015
b741de23
SP
30162012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3017
3018 [BZ #12140]
3019 * manual/memory.texi (Malloc Tunable Parameters): Add note
3020 about free list pointers overwriting some perturb bytes.
3021 Wording suggested by Roland McGrath.
3022
f9b9d9c9
JM
30232012-10-17 Joseph Myers <joseph@codesourcery.com>
3024
3025 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3026 (lgamma_test): Likewise.
3027 (tgamma_test): Likewise.
3028
172a631a
FW
30292012-10-16 Florian Weimer <fweimer@redhat.com>
3030
3031 [BZ #14700]
3032 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3033 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3034
e9f37252
MK
30352012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3036
3037 * NEWS: Mention BZ #14716.
3038 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3039 when removing AVAILABLE1_USES_J macro.
3040
d394eb74
L
30412012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3044 (__bswap_64): __uint64_t for unsigned 64-bit int.
3045
ca38dc17
AS
30462012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3047
3048 * include/string.h (memmem): Declare libc hidden alias.
3049 * string/memmem.c (memmem): Define libc hidden alias.
3050 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3051 __read, __close instead of open, read, close.
3052
9a387d1f
L
30532012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3054
ac49ecaf
L
3055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3056 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3057 global and hidden.
3058 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3059 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3060 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3061 Likewise.
3062 (__rawmemchr_sse2): Likewise.
3063 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3064 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3065 (__strchr_sse2): Likewise.
3066 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3067 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3068 (__strcasecmp_sse2): Likewise.
3069 (__strncasecmp_sse2): Likewise.
3070 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3071 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3072 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3073 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3074 (__strrchr_sse2): Likewise.
3075 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3076 ifunc-impl-list.c.
3077 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3078 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3079 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3080 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3081 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3082 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3083 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3084 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3085 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3086 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3087 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3088 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3089 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3090 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3091 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3092 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3093 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3094 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3095 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3096 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3097 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3098 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3099 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3100 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3101 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3102 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3103 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3104 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3105 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3106 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3107
b090e8ea
L
3108 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3109 global and hidden.
3110 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3111 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3112 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3113 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3114 Likewise.
3115 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3116 Likewise.
3117 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3118 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3119 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3120 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3121 ifunc-impl-list.c.
3122 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3136 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3140 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3143 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3144 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3145 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3146 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3147 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3151 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3152 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3153 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3154 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3155 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3156 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3158 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3159 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3160 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3161 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3162 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3163
11dd4af6
L
3164 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3165 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3166 * include/ifunc-impl-list.h: New file.
3167 * misc/ifunc-impl-list.c: Likewise.
3168 * misc/Makefile (routines): Add ifunc-impl-list.
3169 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3170 * string/test-string.h: Include <ifunc-impl-list.h>.
3171 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3172 impl_array): New variables.
3173 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3174 are defined.
3175 (test_init): Call __libc_ifunc_impl_list to initialize
3176 func_list if TEST_IFUNC and TEST_NAME are defined.
3177
9a387d1f
L
3178 * string/Makefile (strop-tests): Add bcopy and bzero.
3179 * string/test-bcopy.c: New file.
3180 * string/test-bzero.c: Likewise.
3181 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3182 defined.
3183 * string/test-memset.c: Support bzero test if TEST_BZERO is
3184 defined.
3185 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3186 __libc_memmove.
3187 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3188 __libc_memset.
3189 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3190 of memset.
3191
472371b9
JM
31922012-10-10 Joseph Myers <joseph@codesourcery.com>
3193
1e4a9536
JM
3194 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3195 * configure: Regenerated.
3196
d173d12e
JM
3197 * Makeconfig (+link-static-before-libc): Don't include
3198 $(link-static-libc).
3199
472371b9
JM
3200 * libio/libio.h (_IO_pos_t): Remove.
3201
89a3ad0b
AO
32022012-10-10 Alexandre Oliva <aoliva@redhat.com>
3203
3204 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3205 McGrath.
3206
e7451425
AO
32072012-10-10 Alexandre Oliva <aoliva@redhat.com>
3208
3209 * crypt/crypt-entry.c: Include fips-private.h.
3210 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3211 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3212 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3213 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3214
4ba74a35
AO
32152012-10-10 Alexandre Oliva <aoliva@redhat.com>
3216
3217 * crypt/crypt-private.h: Include stdbool.h.
3218 (_ufc_setup_salt_r): Return bool.
3219 * crypt/crypt-entry.c: Include errno.h.
3220 (__crypt_r): Return NULL with EINVAL for bad salt.
3221 * crypt/crypt_util.c (bad_for_salt): New.
3222 (_ufc_setup_salt_r): Check that salt is long enough and within
3223 the specified alphabet.
3224 * crypt/badsalttest.c: New file.
3225 * crypt/Makefile (tests): Add it.
3226 ($(objpfx)badsalttest): New.
3227
f96f1242
MK
32282012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3229
3230 * NEWS: Add entry for BZ #14602.
3231
0e8e0c1c
JM
32322012-10-09 Joseph Myers <joseph@codesourcery.com>
3233
3234 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3235 type-generic.
3236 * math/libm-test.inc: Update comment listing what functions and
3237 macros are tested.
3238 (isgreater_test): New function.
3239 (isgreaterequal_test): Likewise.
3240 (isless_test): Likewise.
3241 (islessequal_test): Likewise.
3242 (islessgreater_test): Likewise.
3243 (isunordered_test): Likewise.
3244 (main): Call the new functions.
3245
273edc5e
RM
32462012-10-09 Roland McGrath <roland@hack.frob.com>
3247
b8493de0
RM
3248 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3249 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3250 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3251 * sysdeps/i386/configure: Regenerated.
3252 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3253 * sysdeps/mach/configure: Regenerated.
3254 * sysdeps/mach/hurd/configure: Regenerated.
3255 * sysdeps/powerpc/configure: Regenerated.
3256 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3257 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3258 * sysdeps/s390/s390-32/configure: Regenerated.
3259 * sysdeps/s390/s390-64/configure: Regenerated.
3260 * sysdeps/sh/configure: Regenerated.
3261 * sysdeps/sparc/configure: Regenerated.
3262 * sysdeps/unix/sysv/linux/configure: Regenerated.
3263 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3264 * sysdeps/x86_64/configure: Regenerated.
3265
273edc5e
RM
3266 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3267 defined. Don't check if MAP is NULL.
3268
c8450f70
JM
32692012-10-09 Joseph Myers <joseph@codesourcery.com>
3270
3271 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3272 (_G_stat64): Likewise.
3273 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3274 (_G_stat64): Likewise.
3275 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3276 instead of struct _G_stat64.
3277 * libio/fileops.c (mmap_remap_check): Likewise.
3278 (decide_maybe_mmap): Likewise.
3279 (_IO_new_file_seekoff): Likewise.
3280 (_IO_file_stat): Likewise.
3281 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3282 _G_off64_t.
3283 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3284 instead of struct _G_stat64.
3285 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3286
57e605ba
MK
32872012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3288
3289 [BZ #14602]
3290 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3291 Replace with ...
3292 (CHECK_EOL): New macro.
3293 (two_way_short_needle): Check beginning of haystack for EOL. Use
3294 CHECK_EOL.
3295 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3296 Replace with CHECK_EOL.
3297 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3298 Replace with CHECK_EOL.
3299
ef1bb361
JM
33002012-10-08 Joseph Myers <joseph@codesourcery.com>
3301
3302 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3303 type-generic.
3304 * math/libm-test.inc: Update comment listing what functions and
3305 macros are tested.
3306 (finite_test): New function.
3307 (isinf_test): Likewise.
3308 (isnan_test): Likewise.
3309 (fpclassify_test): Test subnormal input.
3310 (isfinite_test): Likewise.
3311 (isnormal_test): Likewise.
3312 (main): Call the new functions.
3313
55f11534
JN
33142012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3315
3316 [BZ #14660]
3317 * Makerules (%.dynsym): Force C locale when running
3318 $(OBJDUMP) --dynamic-syms.
3319
1ab29350
AS
33202012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3321
3322 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3323 <stdint.h>.
3324
f1ecb7ef
DM
33252012-10-06 David S. Miller <davem@davemloft.net>
3326
3327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3328 upper 32-bits of the length value in %o2 since we use branch-on-register
3329 tests which consider the entire 64-bit register.
3330
5d41d91a
L
33312012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3332
3333 * string/test-strstr.c (check2): Add a test for page boundary.
3334
3baddb72
DM
33352012-10-05 David S. Miller <davem@davemloft.net>
3336
3337 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3338 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3339 file.
3340 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3341 sysdep_routines.
3342 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3343 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3344 and bzero when HWCAP_SPARC_CRYPTO is present.
3345
9cee5585
L
33462012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3347
d7e0dab9
L
3348 [BZ #14602]
3349 * string/test-strstr.c (check2): New function.
3350 (test_main): Call check2.
3351
03759f47
L
3352 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3353 and bug-strchr1.
3354 * string/bug-strcasestr1.c (do_test): Moved to ...
3355 * string/test-strcasestr.c (check1): Here. New function.
3356 (do_one_test): Break out result checking code into ...
3357 (check_result): This. New function.
3358 (do_one_test): Call check_result.
3359 (test_main): Call check1.
3360 * string/bug-strchr1.c (do_test): Moved to ...
3361 * string/test-strchr.c (check1): Here. New function.
3362 (do_one_test): Break out result checking code into ...
3363 (check_result): This. New function.
3364 (do_one_test): Call check_result.
3365 (test_main): Call check1.
3366 * string/bug-strstr1.c (main): Moved to ...
3367 * string/test-strchr.c (check1): Here. New function.
3368 (do_one_test): Break out result checking code into ...
3369 (check_result): This. New function.
3370 (do_one_test): Call check_result.
3371 (test_main): Call check1.
3372 * string/bug-strcasestr1.c: Removed.
3373 * string/bug-strchr1.c: Likewise.
3374 * string/bug-strstr1.c: Likewise.
3375
53cea63e
L
3376 * elf/Makefile (dl-routines): Add hwcaps.
3377 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3378 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3379 (_dl_important_hwcaps): Moved to ...
3380 * elf/dl-hwcaps.c: Here. New file.
3381 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3382
9cee5585 3383 [BZ #14557]
bb859b06
L
3384 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3385 if IS_IN_rtld isn't defined.
3386
9cee5585
L
3387 * elf/dl-support.c (_dl_sysinfo_map): New.
3388 Include "get-dynamic-info.h" and "setup-vdso.h".
3389 (_dl_non_dynamic_init): Call setup_vdso.
3390 * elf/dynamic-link.h: Don't include <assert.h>.
3391 (elf_get_dynamic_info): Moved to ...
3392 * elf/get-dynamic-info.h: Here. New file.
3393 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3394 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3395 * elf/setup-vdso.h: Here. New file.
3396 * elf/rtld.c: Include "setup-vdso.h".
3397 (dl_main): Call setup_vdso.
3398
23c31b76
JM
33992012-10-05 Joseph Myers <joseph@codesourcery.com>
3400
28234b07
JM
3401 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3402 creal in comment listing functions tested. List finite, isinf,
3403 isnan, isless, islessequal, isgreater, isgreaterequal,
3404 islessgreater, isunordered, lgamma_r and pow10 as functions and
3405 macros not tested. Mention which functions not tested are aliases
3406 for other functions. Fix typo. Note that signs of NaNs are not
3407 tested.
3408
23c31b76
JM
3409 * scripts/config.guess: Update from config.git.
3410 * scripts/config.sub: Likewise.
3411
9043e228
RM
34122012-10-04 Roland McGrath <roland@hack.frob.com>
3413
3414 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3415 * misc/madvise.c (madvise): Renamed to __madvise.
3416 Make madvise a weak alias.
3417 * include/sys/mman.h: Declare __madvise.
3418 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3419 * sysdeps/unix/syscalls.list
3420 (madvise): Make __madvise the strong name, and madvise a weak alias.
3421 * sysdeps/unix/sysv/linux/syscalls.list
3422 (madvise, mmap): Remove redundant entries.
3423 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3424 * malloc/malloc.c (mtrim): Likewise.
3425 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3426
f57f8055
RM
34272012-10-03 Roland McGrath <roland@hack.frob.com>
3428
3429 * sysdeps/mach/hurd/dl-cache.c: File removed.
3430 * config.h.in (USE_LDCONFIG): New #undef.
3431 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3432 * configure: Regenerated.
3433 * elf/Makefile (dl-routines): Add dl-cache only under
3434 [$(use-ldconfig) = yes].
3435 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3436 cache on [USE_LDCONFIG].
3437 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3438 [USE_LDCONFIG].
3439 * elf/rtld.c (dl_main): Likewise.
3440
5bb0c10a
PT
34412012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3442
3443 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3444 _SC_LEVEL4_CACHE_LINESIZE.
3445
010188c6
RM
34462012-10-03 Roland McGrath <roland@hack.frob.com>
3447
3448 * sysdeps/unix/bsd/confstr.h: File removed.
3449
b6c5ec07
AO
34502012-10-02 Alexandre Oliva <aoliva@redhat.com>
3451
3452 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3453 sys/sdt-config.h.
3454
408223d4
RM
34552012-10-02 Roland McGrath <roland@hack.frob.com>
3456
3457 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3458 Make 'mapoff' field ElfW(Off) rather than off_t.
3459
bb9510dc
DL
34602012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3461
fc997c6e
DL
3462 * nscd/Makefile: Remove nscd-cflags and all its users.
3463 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3464 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3465
bb9510dc
DL
3466 [BZ #10631]
3467 * malloc.c (malloc_printerr): Clarify error message.
3468
05699367
L
34692012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 [BZ #14648]
3472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3473 Set bit_FMA_Usable if FMA is supported.
3474 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3475 macro.
3476 (bit_FMA4_Usable): Updated.
3477 (index_FMA_Usable): New macro.
3478 (CPUID_FMA): Likewise
3479 (HAS_FMA): Defined with bit_FMA_Usable.
3480
51367701
RM
34812012-10-01 Roland McGrath <roland@hack.frob.com>
3482
3483 * bits/types.h (__swblk_t): Type removed.
3484 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3485 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3487 (__SWBLK_T_TYPE): Likewise.
3488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3489 (__SWBLK_T_TYPE): Likewise.
3490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3491 (__SWBLK_T_TYPE): Likewise.
3492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3493 (__SWBLK_T_TYPE): Likewise.
3494
4d57bf63 34952012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3496 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3497
3498 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3499 (xdr_mapname): Use YPMAXMAP as maxsize.
3500 (xdr_peername): Use YPMAXPEER as maxsize.
3501 (xdr_keydat): Use YPAXRECORD as maxsize.
3502 (xdr_valdat): Use YPMAXRECORD as maxsize.
3503
93c65d43
RM
35042012-10-01 Roland McGrath <roland@hack.frob.com>
3505
497a03d6
RM
3506 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3507
93c65d43
RM
3508 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3509 * csu/init-first.c: ... here.
3510 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3511 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3512 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3513 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3514 * sysdeps/i386/init-first.c: File removed.
3515 * sysdeps/sh/init-first.c: File removed.
3516
bec749fd
JM
35172012-10-01 Joseph Myers <joseph@codesourcery.com>
3518
3519 [BZ #14645]
3520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3521 if x * y might underflow to zero and z is zero.
3522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3524 * math/libm-test.inc (min_subnorm_value): New variable.
3525 (fma_test): Add more tests.
3526 (fma_test_towardzero): Likewise.
3527 (fma_test_downward): Likewise
3528 (fma_test_upward): Likewise.
3529 (initialize): Set min_subnorm_value.
3530
8ec5b013
JM
35312012-09-29 Joseph Myers <joseph@codesourcery.com>
3532
3533 [BZ #14638]
3534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3535 0 + 0.
3536 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3537 mode for addition resulting in exact zero.
3538 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3540 exact 0 + 0.
3541 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3542 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3543 * math/libm-test.inc (fma_test): Add more tests.
3544 (fma_test_towardzero): New function.
3545 (fma_test_downward): Likewise.
3546 (fma_test_upward): Likewise.
3547 (main): Call the new functions.
3548
b1fa802e
DM
35492012-09-28 David S. Miller <davem@davemloft.net>
3550
3551 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3552
d3b9fd9e
RM
35532012-09-28 Roland McGrath <roland@hack.frob.com>
3554
ea4d37b3
RM
3555 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3556 instead of SIGALRM.
3557
ac51c949
RM
3558 * sysdeps/gnu/_G_config.h: Moved to ...
3559 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3560 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3561 * sysdeps/generic/_G_config.h: ... here.
3562
28c195f7
RM
3563 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3564
848917f9
RM
3565 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3566
6bacf05b
RM
3567 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3568 Conditionalize target on [libnss_test1.so-version].
3569
91363dbb
RM
3570 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3571
cc87f7d8
RM
3572 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3573 (elfobjdir): Move out of conditionals.
3574
b1c608fe
RM
3575 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3576 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3577 (__nss_lookup_function): Conditionalize label remove_from_tree on
3578 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3579
1d9a6d96
DM
35802012-09-28 David S. Miller <davem@davemloft.net>
3581
3582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3583 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3584 file.
3585 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3586 sysdep_routines.
3587 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3589 when HWCAP_SPARC_CRYPTO is present.
3590
72581615
PT
35912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3592
3593 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3594
715a900c
JL
35952012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3596
3597 [BZ #6530]
3598 * stdio-common/vfprintf.c (process_string_arg): Revert
3599 2000-07-22 change.
3600
36012011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3602
3603 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3604 for testcase.
3605 * stdio-common/tst-sprintf.c: Include <locale.h>
3606 (main): Test sprintf's handling of incomplete multibyte
3607 characters.
3608
9bac1d86
L
36092012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 * elf/dl-runtime.c (VERSYMIDX): Removed.
3612 * elf/dl-version.c (VERSYMIDX): Likewise.
3613 * elf/do-rel.h (VERSYMIDX): Likewise.
3614 (VALIDX): Likewise.
3615 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3616 * elf/rtld.c (VALIDX): Likewise.
3617 (ADDRIDX): Likewise.
9bac1d86
L
3618 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3619 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3620 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3621 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3622 (VALIDX): Likewise.
3623 (ADDRIDX): Likewise.
9bac1d86 3624
b31606c0
PT
36252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3626
3627 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3628
11541177
JL
36292012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3630
3631 [BZ #11438]
3632 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3633 to global scope.
3634 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3635 addresses are in the same scope as 192.0.2/24.
3636 * posix/gai.conf: Document new scope table defaults.
3637
adb26fae
SP
36382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3639
3640 [BZ #5298]
3641 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3642 for ftell. Compute offsets from write pointers instead.
3643 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3644
4573c6b0
SP
36452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3646
3647 [BZ #14543]
3648 * libio/Makefile (tests): New test case tst-fseek.
3649 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3650 combination works in wide mode.
3651 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3652 state when the external buffer state changes.
3653
aa9bbfe6
DM
36542012-09-27 David S. Miller <davem@davemloft.net>
3655
3656 [BZ #14376]
3657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3658 pass reloc->r_addend in as the 'high' argument to
3659 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3660
784421e7
DM
3661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3662
c39bc8b8
PT
36632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3664
3665 * rt/tst-aio2.c: Include <pthread.h>.
3666 * rt/tst-aio3.c: Likewise.
3667
1ccc2399
SE
36682012-09-27 Steve Ellcey <sellcey@mips.com>
3669
3670 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3671
31ed4153
L
36722012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3673
25f5f885
L
3674 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3675 contents on [SHARED].
31ed4153 3676
b7bfe116
MP
36772012-09-26 Marek Polacek <polacek@redhat.com>
3678
3679 [BZ #14530]
3680 [BZ #13741]
3681 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3682 for C++ and GCC <4.3 as well as for non GCC compilers.
3683
43c4edba
MT
36842012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3685
3686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3687
6a1bf82f
RM
36882012-09-25 Roland McGrath <roland@hack.frob.com>
3689
3690 * Makefile.in (all, install): Declare with .PHONY.
3691 Reported by Michael Hope <michael.hope@linaro.org>.
3692
8ad11b9a
TMQMF
36932012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3694
3695 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3696 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3697 system header.
3698 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3699 Likewise.
3700 (sydep_routines): Add the new and the internal functions.
3701 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3702 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3704 (GLIBC_2.17): Add the new function.
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3706 (GLIBC_2.17): Likewise.
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3708 (GLIBC_2.17): Likewise.
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3710 (GLIBC_2.17): Likewise.
3711 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3712
7e2fca8d
AM
37132012-09-25 Alan Modra <amodra@gmail.com>
3714
3715 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3716 Add release barrier before setting once_control to say
3717 initialisation is done. Add hints on lwarx. Use macro in
3718 place of isync.
3719 (clear_once_control): Add release barrier.
3720
b87c4b24
JM
37212012-09-25 Joseph Myers <joseph@codesourcery.com>
3722
d032e0d2
JM
3723 [BZ #13629]
3724 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3725 specially.
3726 * math/s_clog10.c (__clog10): Likewise.
3727 * math/s_clog10f.c (__clog10f): Likewise.
3728 * math/s_clog10l.c (__clog10l): Likewise.
3729 * math/s_clogf.c (__clogf): Likewise.
3730 * math/s_clogl.c (__clogl): Likewise.
3731 * math/Makefile (libm-calls): Add x2y2m1.
3732 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3733 (__x2y2m1): Likewise.
3734 (__x2y2m1l): Likewise.
3735 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3736 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3739 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3740 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3741 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3742 * sysdeps/i386/fpu/libm-test-ulps: Update.
3743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3744
b87c4b24
JM
3745 [BZ #14621]
3746 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3747 int as type of variable DEPTH.
3748 (glob): Use size_t instead of int as type of variables NEWCOUNT
3749 and OLD_PATHC.
3750
6d3bf199
LD
37512012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3752
22bf5c17
LD
3753 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3754 Add s_sincosf-sse2.
3755 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3756 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3757 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3758 macros for using routine as __sincosf_ia32.
3759 Use macro for function declaration and weak_alias.
3760 * sysdeps/i386/fpu/libm-test-ulps: Update.
3761
3762 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3764
3765 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3766 subnormal argument.
3767 * math/s_cexpf.c (__cexpf): Likewise.
3768 * math/s_csinf.c (__csinf): Likewise.
3769 * math/s_csinhf.c (__csinhf): Likewise.
3770 * math/s_ctanf.c (__ctanf): Likewise.
3771 * math/s_ctanhf.c (__ctanhf): Likewise.
3772 * math/s_ccosh.c (__ccoshf): Likewise.
3773 * math/s_cexp.c (__cexpl): Likewise.
3774 * math/s_csin.c (__csin): Likewise.
3775 * math/s_csinh.c (__csinh): Likewise.
3776 * math/s_ctan.c (__ctan): Likewise.
3777 * math/s_ctanh.c (ctanh): Likewise.
3778 * math/s_ccoshl.c (__ccoshl): Likewise.
3779 * math/s_cexpl.c (__cexpl): Likewise.
3780 * math/s_csinl.c (__csinl): Likewise.
3781 * math/s_csinhl.c (__csinhl): Likewise.
3782 * math/s_ctanl.c (__ctanl): Likewise.
3783 * math/s_ctanhl.c (__ctanhl): Likewise.
3784
203e5603
JM
37852012-09-25 Joseph Myers <joseph@codesourcery.com>
3786
3787 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3788 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3789 (_IO_off_t): Define to __off_t, not _G_off_t.
3790 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3791 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3792 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3793 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3794 type of __dummy and __dummy2 fields.
3795 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3796 (_G_ssize_t): Likewise.
3797 (_G_off_t): Likewise.
3798 (_G_pid_t): Likewise.
3799 (_G_uid_t): Likewise.
3800 (_G_wchar_t): Likewise.
3801 (_G_wint_t): Likewise.
3802 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3803 (_G_ssize_t): Likewise.
3804 (_G_off_t): Likewise.
3805 (_G_pid_t): Likewise.
3806 (_G_uid_t): Likewise.
3807 (_G_wchar_t): Likewise.
3808 (_G_wint_t): Likewise.
3809 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3810 (_G_ssize_t): Likewise.
3811 (_G_off_t): Likewise.
3812 (_G_pid_t): Likewise.
3813 (_G_uid_t): Likewise.
3814 (_G_wchar_t): Likewise.
3815 (_G_wint_t): Likewise.
3816
9fab36eb
SP
38172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3818
3819 * malloc/arena.c: Include malloc-sysdep.h.
3820 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3821 is sufficient to shrink the heap or an unmap is needed.
3822 * sysdeps/generic/malloc-sysdep.h: New file. Define
3823 new function check_may_shrink_heap.
3824 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3825 new function check_may_shrink_heap.
3826
2b4f00d1
SP
38272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3828
3829 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3830 comments.
3831
9a9028b1
DL
38322012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3833
57c69bef
DL
3834 * catgets/test-gencat.sh: Add "set -e".
3835 * elf/tst-pathopt.sh: Likewise.
3836 * grp/tst_fgetgrent.sh: Likewise.
3837 * iconvdata/run-iconv-test.sh: Likewise.
3838 * intl/tst-gettext.sh: Likewise.
3839 * intl/tst-gettext2.sh: Likewise.
3840 * intl/tst-gettext4.sh: Likewise.
3841 * intl/tst-gettext6.sh: Likewise.
3842 * intl/tst-translit.sh: Likewise.
3843 * io/ftwtest-sh: Likewise.
3844 * libio/test-freopen.sh: Likewise.
3845 * malloc/tst-mtrace.sh: Likewise.
3846 * posix/globtest.sh: Likewise.
3847 * posix/tst-getconf.sh: Likewise.
3848 * posix/wordexp-tst.sh: Likewise.
3849 * stdio-common/tst-printf.sh: Likewise.
3850 * stdio-common/tst-unbputc.sh: Likewise.
3851 * stdlib/tst-fmtmsg.sh: Likewise.
3852 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3853 * catgets/Makefile: Do not specify -e option when running
3854 testsuite shell scripts.
3855 * elf/Makefile: Likewise.
3856 * grp/Makefile: Likewise.
3857 * iconvdata/Makefile: Likewise.
3858 * intl/Makefile: Likewise.
3859 * io/Makefile: Likewise.
3860 * libio/Makefile: Likewise.
3861 * malloc/Makefile: Likewise.
3862 * posix/Makefile: Likewise.
3863 * stdio-common/Makefile: Likewise.
3864 * stdlib/Makefile: Likewise.
3865 * sysdeps/x86_64/Makefile: Likewise.
3866
9a9028b1
DL
3867 * io/ftwtest-sh: Add copyright header.
3868 * posix/globtest.sh: Likewise.
3869 * posix/tst-getconf.sh: Likewise.
3870 * posix/wordexp-tst.sh: Likewise.
3871 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3872
ced6f16e
L
38732012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3874
94b32c39
L
3875 [BZ #13679]
3876 * Makeconfig (+link): Defined as $(+link-static) if
3877 $(build-shared) isn't yes.
3878 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3879 isn't yes.
3880 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3881
189e935b
L
3882 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3883
ced6f16e
L
3884 [BZ #14562]
3885 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3886 new chunk size with MALLOC_ALIGN_MASK.
3887
a9f8e53a
JM
38882012-09-24 Joseph Myers <joseph@codesourcery.com>
3889
3890 [BZ #5044]
3891 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3892 <rounding-mode.h>.
3893 (__printf_fphex): Determine rounding using get_rounding_mode and
3894 round_away.
3895 * stdio-common/tst-printf-round.c (struct hex_test): New
3896 structure.
3897 (hex_tests): New variable.
3898 (test_hex_in_one_mode): New function.
3899 (do_test): Also run tests for hex float output.
3900
43153109
JM
39012012-09-21 Joseph Myers <joseph@codesourcery.com>
3902
3903 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3904 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3905 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3906 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3907 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3908 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3909 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3910 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3911
8a26625d
JM
39122012-09-20 Joseph Myers <joseph@codesourcery.com>
3913
3914 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3915 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3916 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3917 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3918
f3fd569c
DL
39192012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3920
3921 [BZ #14579]
3922 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3923 mode only.
3924 * elf/tst-rtld-load-self.sh: New test.
3925 * elf/Makefile: Run it.
3926
63bbedd4
JM
39272012-09-18 Joseph Myers <joseph@codesourcery.com>
3928
3929 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3930 (tst-writev-ENV): Remove.
3931 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3932
626f8b6a
CM
39332012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3934
3935 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3936
b7aaa4d6
JM
39372012-09-17 Joseph Myers <joseph@codesourcery.com>
3938
3939 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3940 unconditional.
3941 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3942 Likewise.
3943 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3944 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3945 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3946 Likewise.
3947
65513990
L
39482012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3949
3950 [BZ #14587]
3951 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3952 * config.make.in (have-cpp-asm-debuginfo): Removed.
3953 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3954 * configure: Regenerated.
3955
784761be
JM
39562012-09-14 Joseph Myers <joseph@codesourcery.com>
3957
3958 [BZ #5044]
3959 * stdio-common/printf_fp.c: Include <stdbool.h> and
3960 <rounding-mode.h>.
3961 (___printf_fp): Determine rounding using get_rounding_mode and
3962 round_away.
3963 * stdio-common/tst-printf-round.c: New file.
3964 * stdio-common/Makefile (tests): Add tst-printf-round.
3965 (link-libm): New variable.
3966 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3967
9503345f
L
39682012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 [BZ #14576]
3971 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3972 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3973 Likewise.
3974 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3975 Likewise.
3976
ad35fc00
JM
39772012-09-13 Joseph Myers <joseph@codesourcery.com>
3978
3979 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3980 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3981 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3982 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3983
6c9b0f68
JM
39842012-09-12 Joseph Myers <joseph@codesourcery.com>
3985
3986 [BZ #14518]
3987 * include/rounding-mode.h: New file.
3988 * sysdeps/generic/get-rounding-mode.h: Likewise.
3989 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3990 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3991 (MAX_VALUE): New macro.
3992 (MIN_VALUE): Likewise.
3993 (overflow_value): New function.
3994 (underflow_value): Likewise.
3995 (round_and_return): Use overflow_value and underflow_value to
3996 determine return values in overflow and underflow cases. Use
3997 round_away to determine rounding depending on rounding mode.
3998 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3999 determine return values in overflow and underflow cases.
4000 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4001 (struct test_results): New structure.
4002 (struct test): Use struct test_results to store expected results
4003 for all rounding modes.
4004 (TEST): Include expected results for all rounding modes.
4005 (test_in_one_mode): New function.
4006 (do_test): Use test_in_one_mode to compute and check results.
4007 Check results for all rounding modes.
4008 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4009 $(link-libm).
4010
19fcedd5
AM
40112012-12-09 Allan McRae <allan@archlinux.org>
4012
1e9d84cd 4013 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4014
8bbfd2f1
JM
40152012-09-11 Joseph Myers <joseph@codesourcery.com>
4016
4017 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4018 (_G_int32_t): Likewise.
4019 (_G_uint16_t): Likewise.
4020 (_G_uint32_t): Likewise.
4021 (_G_HAVE_BOOL): Likewise.
4022 (_G_HAVE_ATEXIT): Likewise.
4023 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4024 (_G_HAVE_IO_FILE_OPEN): Likewise.
4025 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4026 (_G_int32_t): Likewise.
4027 (_G_uint16_t): Likewise.
4028 (_G_uint32_t): Likewise.
4029 (_G_HAVE_BOOL): Likewise.
4030 (_G_HAVE_ATEXIT): Likewise.
4031 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4032 (_G_HAVE_IO_FILE_OPEN): Likewise.
4033 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4034 (_G_int32_t): Likewise.
4035 (_G_uint16_t): Likewise.
4036 (_G_uint32_t): Likewise.
4037 (_G_HAVE_BOOL): Likewise.
4038 (_G_HAVE_ATEXIT): Likewise.
4039 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4040 (_G_HAVE_IO_FILE_OPEN): Likewise.
4041
b1dc5912
L
40422012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4043
4044 * csu/libc-tls.c: Update copyright years.
4045
0e886ef9
JM
40462012-09-10 Joseph Myers <joseph@codesourcery.com>
4047
28361c5e
JM
4048 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4049 [!_G_USING_THUNKS]: Remove conditional code.
4050 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4051 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4052
0e886ef9
JM
4053 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4054 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4055 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4056 (_G_VTABLE_LABEL_PREFIX): Likewise.
4057 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4058 * sysdeps/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4063 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4064 (_G_VTABLE_LABEL_PREFIX): Likewise.
4065 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4066
bcba7aa2
L
40672012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4068
4069 * libio/Makefile: Include ../Makeconfig before tests.
4070 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4071 only if $(build-shared) is yes.
4072
06585ee8
L
4073 * iconv/gconv_db.c: Update copyright years.
4074
80ccd52c
LD
40752012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4076
4077 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4078 unwind info if defined PIC. Fix special cases description.
4079 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4080
4081 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4082 DP_HI_MASK entry.
4083 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4084
691bc9c1
L
40852012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4086
3d9b46b3
L
4087 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4088
de2139a9
L
4089 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4090 is NULL.
4091
5ca78dd0
L
4092 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4093 (LDLIBS-tst-chk4): This.
4094 (LDFLAGS-tst-chk5): Renamed to ...
4095 (LDLIBS-tst-chk5): This.
4096 (LDFLAGS-tst-chk6): Renamed to ...
4097 (LDLIBS-tst-chk6): This.
4098 (LDFLAGS-tst-lfschk4): Renamed to ...
4099 (LDLIBS-tst-lfschk4): This.
4100 (LDFLAGS-tst-lfschk5): Renamed to ...
4101 (LDLIBS-tst-lfschk5): This.
4102 (LDFLAGS-tst-lfschk6): Renamed to ...
4103 (LDLIBS-tst-lfschk6): This.
4104
691bc9c1
L
4105 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4106 on $(common-objpfx)soversions.mk.
4107
65cafb1c
JM
41082012-09-07 Joseph Myers <joseph@codesourcery.com>
4109
4110 [BZ #10014]
4111 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4112 example host name.
4113
c78ab094
SP
41142012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4115
4116 * malloc/arena.c (arena_get_retry): New function that gets
4117 another arena for the caller to try its request on.
4118 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4119 current arena cannot fulfill the request.
4120 (__libc_memalign): Likewise.
4121 (__libc_memalign): Likewise.
4122 (__libc_pvalloc): Likewise.
4123 (__libc_calloc): Likewise.
4124
01f49f59
JT
41252012-09-05 John Tobey <john.tobey@gmail.com>
4126
4127 [BZ #13542]
4128 * manual/arith.texi (Operations on Complex): Fix description
4129 of carg branch cut.
4130
4c23fed5
JM
41312012-09-06 Joseph Myers <joseph@codesourcery.com>
4132
1d3c8572
JM
4133 [BZ #10014]
4134 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4135 host name.
4136
4c23fed5
JM
4137 [BZ #10038]
4138 * manual/memory.texi (Memory): Make order of menu items match
4139 order of sections.
4140
04570aaa
L
41412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4142
4143 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4144 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4145 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4146
b80af2f4
L
41472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4148
4149 * csu/libc-tls.c (static_dtv): Renamed to ...
4150 (_dl_static_dtv): This. Make it global.
4151 (_dl_initial_dtv): Removed.
4152 (__libc_setup_tls): Updated.
4153 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4154 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4155 DL_INITIAL_DTV.
4156
2abe9f15
PM
41572012-09-06 Petr Machata <pmachata@redhat.com>
4158
4159 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4160 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4161 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4162 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4163
0948c3af
L
41642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4165
4166 [BZ #14545]
4167 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4168 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4169 freeing dtv[-1].
4170
a5055ad1
L
41712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4172
4173 [BZ #14544]
4174 * Makeconfig (link-static-before-libc): Replace $(+prector)
4175 with $(+prectorT).
4176 (link-static-after-libc): Replace $(+postctor) with
4177 $(+postctorT).
4178 (link-bounded): Replace $(+prector)/$(+postctor) with
4179 $(+prectorT)/$(+postctorT).
4180 (+prectorT): New macro.
4181 (+postctorT): Likewise.
4182
ed8c2ecd
JM
41832012-09-06 Joseph Myers <joseph@codesourcery.com>
4184
4185 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4186 (round_str): Handle values above the maximum for IBM long double
4187 as inexact.
4188 * stdlib/tst-strtod-round.c (tests): Regenerated.
4189
14c996c8
AK
41902012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4191
4192 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4193 assembler flag.
4194 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4195 zarch_nohighgprs around the zarch optimized routines.
4196 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4197 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4198 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4199 for zarch.
4200
430d6ce6
DM
42012012-09-05 David S. Miller <davem@davemloft.net>
4202
4203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4204
ff04dda4
DM
4205 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4206 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4207 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4208 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4209 entries.
4210
24d4e01b
AO
42112012-09-05 Alexandre Oliva <aoliva@redhat.com>
4212
4213 * malloc/arena.c: Fold copyright years.
4214 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4215
61d58174
AO
42162012-09-05 Alexandre Oliva <aoliva@redhat.com>
4217
4218 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4219
20196a5e
AO
42202012-09-05 Alexandre Oliva <aoliva@redhat.com>
4221
4222 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4223
5c447383
AO
42242012-09-05 Alexandre Oliva <aoliva@redhat.com>
4225
4226 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4227 change internal state upon failure.
4228
fad64255
AO
42292012-09-05 Alexandre Oliva <aoliva@redhat.com>
4230
4231 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4232 * malloc/memusage.c (mmap): Likewise.
4233 (mmap64, mremap): Likewise. Adjust name in comment.
4234
1ffb8c90
SP
42352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4236
4237 * libio/fileops.c: Fix typos in comments.
4238 * libio/oldfileops.c: Likewise.
4239 * libio/wfileops.c: Likewise.
4240
6ef9cc37
SP
42412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4242
4243 [BZ #1349]
4244 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4245 (tst-malloc-usable-ENV): Set environment for test case.
4246 * malloc/hooks.c (malloc_check_get_size): New function to get
4247 requested size.
4248 * malloc/malloc.c (musable): Use malloc_check_get_size.
4249 * malloc/tst-malloc-usable.c: New test case.
4250
4d038ae3
AS
42512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4252
4253 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4254
c4e85184
AM
42552012-09-05 Allan McRae <allan@archlinux.org>
4256
b9dafc56 4257 [BZ #13966]
c4e85184
AM
4258 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4259 determine header location.
4260 * configure: Regenerated.
4261
e1343020
AS
42622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4263
4264 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4265 float format.
4266 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4267 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4268 format.
e1343020
AS
4269 (test): Regenerate.
4270
0a9f1987
DM
42712012-09-04 David S. Miller <davem@davemloft.net>
4272
4273 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4274 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4275 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4276
29237804
FW
42772012-09-04 Florian Weimer <fweimer@redhat.com>
4278
4279 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4280 failures.
4281
edb3cb88
FW
4282 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4283
60160d83
JM
42842012-09-04 Joseph Myers <joseph@codesourcery.com>
4285
4286 [BZ #9914]
4287 * libio/iogetdelim.c: Include <limits.h>.
4288 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4289 + len + 1 would overflow.
4290
bcd6c8dc
AJ
42912012-09-03 Andreas Jaeger <aj@suse.de>
4292
4293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4294 * sysdeps/i386/fpu/libm-test-ulps: Update.
4295
4ffffbd2
LD
42962012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4297
4298 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4299 Add s_sinf-sse2, s_conf-sse2.
4300
4301 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4302 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4303 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4304 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4305
4306 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4307 for using routine as __sinf_ia32.
4308 Use macro for function declaration and weak_alias.
4309 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4310 for using routine as __cosf_ia32.
4311 Use macro for function declaration and weak_alias.
4312
4313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4314 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4315
4316 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4317 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4319
4320 * math/libm-test.inc (cos_test): Add more test cases.
4321 (sin_test): Likewise.
4322 (sincos_test): Likewise.
4323
511fa286
AK
43242012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4325
4326 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4327 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4328 hidden.
4329 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4330
5f30cfec
L
43312012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4332
4333 [BZ #14538]
4334 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4335 first element of the GOT.
4336 (elf_machine_load_address): Return the difference between
4337 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4338
0786794f
AM
43392012-09-01 Allan McRae <allan@archlinux.org>
4340
5f30cfec
L
4341 [BZ #13412]
4342 * configure.in (AWK): Require gawk version 3.0 or later.
4343 * configure: Regenerated.
0786794f 4344
26889eac
JM
43452012-09-01 Joseph Myers <joseph@codesourcery.com>
4346
4347 * sysdeps/unix/sysv/linux/kernel-features.h
4348 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4350 [__NR_clock_getres]: Make code unconditional.
4351 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4352 (clock_getcpuclockid): Remove code left unreachable by removal of
4353 conditionals.
4354 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4355 code unconditional.
4356 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4358 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4359 Make code unconditional.
4360 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4361 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4362 * sysdeps/unix/sysv/linux/clock_settime.c
4363 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4364 conditional code.
4365 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4366 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4367
d22e28b0
L
43682012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4369
4370 [BZ #14476]
4371 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4372 scripts/test-installation.pl.
4373
4374 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4375 and $ld_so_version if it is set.
4376
050af9c4
SP
43772012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4378
4379 [BZ #14516]
4380 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4381 failure if reading from procfs failed.
4382 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4383
ad845c0b
JM
43842012-08-27 Joseph Myers <joseph@codesourcery.com>
4385
4386 * sysdeps/unix/sysv/linux/kernel-features.h
4387 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4388 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4389 Remove conditional code.
4390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4391 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4392 Remove conditional code.
4393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4394 * sysdeps/unix/sysv/linux/i386/fxstat.c
4395 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4397 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4398 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4400 * sysdeps/unix/sysv/linux/i386/lxstat.c
4401 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4403 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4404 Remove conditional code.
4405 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4406 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4407 Remove conditional code.
4408 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4409 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4410 <kernel-features.h>.
4411 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4412 Remove.
4413 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4414 Remove conditional code.
4415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4416 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4417 Remove conditional.
4418
5dbf56af
MF
44192012-08-27 Mike Frysinger <vapier@gentoo.org>
4420
4421 [BZ #5400]
4422 * NEWS: Add fixed bug number.
4423
d6e70f43
JM
44242012-08-27 Joseph Myers <joseph@codesourcery.com>
4425
7efb4737
JM
4426 [BZ #14519]
4427 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4428 underflowing exponent in case of negative sign.
4429 * stdlib/tst-strtod-round-data: Add more tests.
4430 * stdlib/tst-strtod-round.c (tests): Regenerated.
4431
af92131a
JM
4432 [BZ #3479]
4433 * stdlib/strtod_l.c (NDIG): Remove.
4434 (HEXNDIG): Likewise.
4435 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4436 smallest representable value.
4437 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4438 lie within an exact representation of 1/2 ulp of the result.
4439 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4440 unconditionally.
4441 (TENS_P9_IDX): Define unconditionally.
4442 (TENS_P9_SIZE): Likewise.
4443 (TENS_P10_IDX): Likewise.
4444 (TENS_P10_SIZE): Likewise.
4445 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4446 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4447 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4448 entries for 10^2^13 and 10^2^14.
4449 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4450 (TENS_P13_IDX): Define.
4451 (TENS_P13_SIZE): Likewise.
4452 (TENS_P14_IDX): Likewise.
4453 (TENS_P14_SIZE): Likewise.
4454 (_fpioconst_pow10): Change array size to
4455 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4456 unconditional.
4457 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4458 1024]: Add entries for 10^2^13 and 10^2^14.
4459 [LAST_POW10 > _LAST_POW10]: Remove #error.
4460 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4461 (_fpioconst_pow10): Change array size to
4462 FPIOCONST_POW10_ARRAY_SIZE.
4463 * stdlib/gen-fpioconst.c: New file.
4464 * stdlib/gen-tst-strtod-round.c: Likewise.
4465 * stdlib/tst-strtod-round-data: Likewise.
4466 * stdlib/tst-strtod-round.c: Likewise.
4467 * stdlib/Makefile (tests): Add tst-strtod-round.
4468
d6e70f43
JM
4469 [BZ #14459]
4470 * stdlib/strtod_l.c: Include <stdint.h>.
4471 (NDEBUG): Do not define.
4472 (round_and_return): Change EXPONENT parameter to type intmax_t.
4473 Rearrange calculations to avoid internal overflow possibilities.
4474 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4475 Rearrange calculations to avoid internal overflow possibilities.
4476 Assert that number fits inside MPNSIZE limbs.
4477 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4478 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4479 calculations and add assertions to avoid internal overflow
4480 possibilities. Add casts to avoid signed/unsigned operations.
4481 * stdlib/tst-strtod-overflow.c: New file.
4482 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4483
1f529f7d
MP
44842012-08-25 Marek Polacek <polacek@redhat.com>
4485
4486 * time/time.h: Fix some typos in comments.
4487
59a629f1
RM
44882012-08-23 Roland McGrath <roland@hack.frob.com>
4489
4490 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4491 * posix/tst-rfc3484-2.c: Likewise.
4492 * posix/tst-rfc3484-3.c: Likewise.
4493
d3bafbc9
SM
44942012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4495
4496 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4497 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4498
4efcc022
JM
44992012-08-23 Joseph Myers <joseph@codesourcery.com>
4500
4501 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4502 #include of fxstatat64.c.
4503
3cc3ef96
RM
45042012-08-22 Roland McGrath <roland@hack.frob.com>
4505
f04e2132
RM
4506 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4507 * shadow/getspent_r.c: Likewise.
4508 * shadow/getspnam.c: Likewise.
4509 * shadow/getspnam_r.c: Likewise.
4510 * gshadow/getsgent.c: Likewise.
4511 * gshadow/getsgent_r.c: Likewise.
4512 * gshadow/getsgnam.c: Likewise.
4513 * gshadow/getsgnam_r.c: Likewise.
4514 * inet/getnetbyad.c: Likewise.
4515 * inet/getnetbyad_r.c: Likewise.
4516 * inet/getnetbynm.c: Likewise.
4517 * inet/getnetbynm_r.c: Likewise.
4518 * inet/getnetent.c: Likewise.
4519 * inet/getnetent_r.c: Likewise.
4520 * inet/getproto.c: Likewise.
4521 * inet/getproto_r.c: Likewise.
4522 * inet/getprtent.c: Likewise.
4523 * inet/getprtent_r.c: Likewise.
4524 * inet/getprtname.c: Likewise.
4525 * inet/getprtname_r.c: Likewise.
4526 * inet/getrpcbyname.c: Likewise.
4527 * inet/getrpcbyname_r.c: Likewise.
4528 * inet/getrpcbynumber.c: Likewise.
4529 * inet/getrpcbynumber_r.c: Likewise.
4530 * inet/getrpcent.c: Likewise.
4531 * inet/getrpcent_r.c: Likewise.
4532 * inet/getaliasent.c: Likewise.
4533 * inet/getaliasent_r.c: Likewise.
4534 * inet/getaliasname.c: Likewise.
4535 * inet/getaliasname_r.c: Likewise.
4536 * nscd/getgrgid_r.c: Likewise.
4537 * nscd/getgrnam_r.c: Likewise.
4538 * nscd/gethstbyad_r.c: Likewise.
4539 * nscd/gethstbynm3_r.c: Likewise.
4540 * nscd/getpwnam_r.c: Likewise.
4541 * nscd/getpwuid_r.c: Likewise.
4542 * nscd/getsrvbynm_r.c: Likewise.
4543 * nscd/getsrvbypt_r.c: Likewise.
4544 * nscd/gai.c: Likewise.
4545
c53d909c
RM
4546 * configure.in (build_nscd): New substituted variable, set
4547 by --disable-build-nscd and defaults to $use_nscd.
4548 * configure: Regenerated.
4549 * config.make.in (build-nscd): New substituted variable.
4550 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4551 Change conditional to require [$(build-nscd) = yes] as well.
4552 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4553
3cc3ef96
RM
4554 [BZ# 13696]
4555 * configure.in (use_nscd): New substituted variable, set by
4556 --disable-nscd. If enabled, define USE_NSCD.
4557 * configure: Regenerated.
4558 * config.h.in: Add USE_NSCD.
4559 * config.make.in (use-nscd): New substituted variable.
4560 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4561 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4562 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4563 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4564 (CFLAGS-getgrnam_r.c): Likewise.
4565 (CFLAGS-initgroups.c): Likewise.
4566 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4567 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4568 Variables removed.
4569 * inet/getnetgrent_r.c
4570 (nscd_setnetgrent): New function, broken out of ...
4571 (setnetgrent): ... here. Call it.
4572 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4573 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4574 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4575 * nscd/Makefile (routines, aux): Move definitions after include of
4576 Makeconfig. Conditionalize on [$(use-nscd) != no].
4577 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4578 Conditionalize on [USE_NSCD].
4579 (is_nscd, nscd_init_cb): Likewise.
4580 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4581 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4582 * nss/nss_db/db-init.c: Likewise.
4583 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4584 [USE_NSCD].
4585 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4586 (make_request): Use it.
4587 (cache_valid_p): New function.
4588 (__check_pf): Use it.
4589 * NEWS: Add item for --disable-nscd.
4590
07e51550
DL
45912012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4592
4593 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4594 to support sed >= 4.2.1-20-ga9bf076.
4595 * configure: Regenerated.
4596
35a5b08b
RM
45972012-08-22 Roland McGrath <roland@hack.frob.com>
4598
4599 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4600 Conditionalize whole body on [IREL].
4601
8479f23a
JL
46022012-08-22 Jeff Law <law@redhat.com>
4603
4604 [BZ #14505]
4605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4606 if the family is PF_UNSPEC.
4607
48da0b21
MF
46082012-08-22 Mike Frysinger <vapier@gentoo.org>
4609
4610 * Makerules (lib-version): Rename from V.
4611 (install-lib-nosubdir): Change V to lib-version.
4612
15d0da8c
WS
46132012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4614
4615 [BZ #14252]
4616 * powerpc32/power6/wcschr.c: New file.
4617 * powerpc32/power6/wcscpy.c: New file.
4618 * powerpc32/power6/wcsrchr.c: New file.
4619 * powerpc64/power6/wcschr.c: New file.
4620 * powerpc64/power6/wcscpy.c: New file.
4621 * powerpc64/power6/wcsrchr.c: New file.
4622
bcca0895
MK
46232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4624
4625 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4626 (two_way_short_needle): Use it.
5a4aaa33
RM
4627 * string/strstr.c (AVAILABLE1_USES_J): Define.
4628 * string/strcasestr.c: Likewise.
99677e57
MK
4629
4630 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4631 array references.
4632 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4633
400726de
MK
4634 [BZ #11607]
4635 * NEWS: Add an entry.
4636 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4637 define their defaults.
4638 (two_way_short_needle): Detect end-of-string on-the-fly.
4639 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4640 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4641 * string/bug-strcasestr1.c: New test.
4642 * string/Makefile: Run it.
4643
20a71f2c
MK
46442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4645
4646 [BZ #11607]
4647 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4648 the first character.
4649
21ad0558
RM
46502012-08-21 Roland McGrath <roland@hack.frob.com>
4651
4652 * csu/elf-init.c (__libc_csu_irel): Function removed.
4653 * csu/libc-start.c (apply_irel): New function.
4654 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4655
0e1d9911
JM
46562012-08-21 Joseph Myers <joseph@codesourcery.com>
4657
4658 * sysdeps/unix/sysv/linux/kernel-features.h
4659 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4660 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4661 <kernel-features.h>.
4662 [__NR_fadvise64_64]: Make code unconditional.
4663 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4664 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4665 !__NR_fadvise64_64)]: Likewise.
4666 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4667 !__NR_fadvise64_64))]: Likewise.
4668 [__NR_fadvise64]: Make code unconditional.
4669 [!__NR_fadvise64]: Remove conditional code.
4670 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4671 <kernel-features.h>.
4672 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4673 unconditional.
4674 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4675 conditional code.
4676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4677 not include <kernel-features.h>.
4678 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4679 unconditional.
4680 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4681 conditional code.
4682 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4683 include <kernel-features.h>.
4684 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4685 unconditional.
4686 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4687 conditional code.
4688
14a50c9d
WS
46892012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4690
4691 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4692 slight instruction rearrangements per scrollpipe analysis.
4693 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4694
c0f4faf0
RM
46952012-08-20 Roland McGrath <roland@hack.frob.com>
4696
696da859
RM
4697 * manual/syslog.texi (syslog; vsyslog, closelog):
4698 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4699 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4700
c0f4faf0
RM
4701 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4702 DSOCAPS to match condition on defining it.
4703
348363b2
JM
47042012-08-20 Joseph Myers <joseph@codesourcery.com>
4705
a35cbf28
JM
4706 * sysdeps/unix/sysv/linux/kernel-features.h
4707 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4709 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4710 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4712 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4713 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4715 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4716 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4717
445f7ecd
JM
4718 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4719 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4720
348363b2
JM
4721 * sysdeps/unix/sysv/linux/kernel-features.h
4722 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4723 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4724 unconditional.
4725 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4726 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4727 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4728 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4729 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4730 Make code unconditional.
4731 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4732 (__mmap64) [!__NR_mmap2]: Likewise.
4733 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4734 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4735 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4736 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4737 [__NR_mmap2]: Make code unconditional.
4738 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4739 (__mmap64) [!__NR_mmap2]: Likewise.
4740
bc5bc0e5
AK
47412012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4742
4743 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4744
88d506de
AJ
47452012-08-18 Andreas Jaeger <aj@suse.de>
4746
4747 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4748
493387d2
MF
47492012-08-18 Mike Frysinger <vapier@gentoo.org>
4750
4751 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4752 * include/unistd.h (__have_sock_cloexec): Likewise.
4753 (__have_pipe2): Likewise.
4754 (__have_dup3): Likewise.
4755
a277af22
MF
47562012-08-18 Mike Frysinger <vapier@gentoo.org>
4757
4758 [BZ #9685]
4759 * include/unistd.h (__have_pipe2): Change define into an extern int.
4760 (__have_dup3): Likewise.
4761 * socket/have_sock_cloexec.c: Include fcntl.h.
4762 (__have_pipe2): New variable.
4763 (__have_dup3): Likewise.
4764
fdab8fd3
MF
47652012-08-17 Mike Frysinger <vapier@gentoo.org>
4766
4767 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4768
31035e80
MP
47692012-08-17 Marek Polacek <polacek@redhat.com>
4770
4771 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4772 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4773
3bd9e993
RM
47742012-08-17 Roland McGrath <roland@hack.frob.com>
4775
c91c505f
RM
4776 * configure.in: Add AC_SUBST for sysheaders.
4777 * configure: Regenerated.
4778 * config.make.in (sysheaders): New substituted variable.
4779
7c6f9d53
RM
4780 * sysdeps/unix/mkfifo.c: Moved ...
4781 * sysdeps/posix/mkfifo.c: ... here.
4782 * sysdeps/unix/mkfifoat.c: Moved ...
4783 * sysdeps/posix/mkfifoat.c: ... here.
4784
4785 * sysdeps/unix/utime.c: Moved ...
4786 * sysdeps/posix/utime.c: ... here.
4787
4788 * sysdeps/unix/time.c: Moved ...
4789 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4790 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4791 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4792
4793 * sysdeps/unix/nice.c: Moved ...
4794 * sysdeps/posix/nice.c: ... here.
4795
4796 * sysdeps/unix/alarm.c: Moved ...
4797 * sysdeps/posix/alarm.c: ... here.
4798
3bd9e993
RM
4799 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4800
d1f09384
JL
48012012-08-17 Jeff Law <law@redhat.com>
4802
4803 * intl/Makefile (codeset_mo): New variable.
4804 ($(codeset_mo)): New target.
4805 (tst-codeset.out): Depend on that. Remove explicit rule.
4806 (tst-gettext3.out, tst-gettext5.out): Likewise.
4807 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4808 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4809 * intl/tst-codeset.sh: Remove.
4810 * intl/tst-gettext3.sh: Likewise.
4811 * intl/tst-gettext5.sh: Likewise.
4812
2ae1ae5c
RM
48132012-08-17 Roland McGrath <roland@hack.frob.com>
4814
c31fdb83
RM
4815 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4816 * sysdeps/unix/syscalls.list: ... here.
4817
a0844057
RM
4818 * sysdeps/posix/getaddrinfo.c
4819 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4820 (gaiconf_init, gaiconf_reload): Use them.
4821 [!_STATBUF_ST_NSEC]
4822 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4823 Define using time_t rather than struct timespec.
4824
750c1f2a
RM
4825 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4826 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4827 Macros removed.
4828 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4829 [!NO_THREADS].
4830 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4831 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4832 Likewise.
4833
2ae1ae5c
RM
4834 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4835 __libc_cleanup_push argument.
4836
e66a42f5
RM
4837 * bits/param.h: New file.
4838 * misc/sys/param.h: New file.
4839 * include/sys/param.h: New file.
4840 * misc/Makefile (headers): Add bits/param.h.
4841 * sysdeps/generic/sys/param.h: File removed.
4842 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4843 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4844 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4845 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4846
b7c08a66
RM
4847 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4848 last change.
4849
b2e1c562
RM
4850 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4851 [_IO_MTSAFE_IO].
4852 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4853 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4854 New macros.
4855
c75ccd4c
RM
4856 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4857 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4858 rather than -D_IO_MTSAFE_IO conditionally.
4859 * stdio-common/Makefile (CPPFLAGS): Likewise.
4860 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4861 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4862 Use $(libio-mtsafe).
4863 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4864 of -D_IO_MTSAFE_IO.
4865 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4866 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4867 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4868 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4869 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4870 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4871 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4872 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4873 (CFLAGS-fread_u_chk.c): Likewise.
4874 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4875 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4876 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4877 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4878 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4879 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4880 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4881 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4882 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4883
4884 * libio/Makefile: Test [$(libc-reentrant) = yes]
4885 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4886
4887 * Makeconfig
4888 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4889 * sysdeps/pthread/configure: File removed.
4890 * sysdeps/pthread/Makeconfig: New file.
4891 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4892 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4893
d9195db8
GB
48942012-08-16 Gary Benson <gbenson@redhat.com>
4895
4896 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4897 unmapping the first object in a namespace.
4898
86466cd9
RM
48992012-08-16 Roland McGrath <roland@hack.frob.com>
4900
4901 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4902 (__internal_setnetgrent): ... this. Add internal_function to
4903 definition. Add libc_hidden_def.
4904 (setnetgrent): Update caller.
4905 (internal_endnetgrent): Renamed to ...
4906 (__internal_endnetgrent): ... this. Add internal_function to
4907 definition. Add libc_hidden_def.
4908 (endnetgrent): Update caller.
4909 (internal_getnetgrent_r): Renamed to ...
4910 (__internal_getnetgrent_r): ... this. Add internal_function to
4911 definition. Add libc_hidden_def.
4912 (__getnetgrent_r): Update caller.
4913 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4914
c3c8283c
JM
49152012-08-16 Joseph Myers <joseph@codesourcery.com>
4916
4917 * stdlib/longlong.h: Update from GCC.
4918
db1ee0a8
RM
49192012-08-16 Roland McGrath <roland@hack.frob.com>
4920
4921 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4922 on _QL, which is set by umul_ppmm but never used.
4923 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4924 variables, which are set by GMP macros but never used.
4925 * stdio-common/_itowa.c (_itowa): Likewise.
4926 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4927 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4928
30f69637
CD
49292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4930
4931 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4932 struct La_sh_regs is not constant.
4933 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4934 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4935 and struct La_sparc64_regs are not constant.
4936
93a78ac4
JM
49372012-08-16 Joseph Myers <joseph@codesourcery.com>
4938
4939 * sysdeps/unix/sysv/linux/kernel-features.h
4940 (__ASSUME_POSIX_TIMERS): Remove.
4941 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4943 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4944 Make code unconditional.
4945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4946 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4947 Make code unconditional.
4948 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4949 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4950 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4951 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4952 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4953 Make code unconditional.
4954 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4955 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4956 (__libc_missing_posix_timers): Remove.
4957
dd924cd7
RM
49582012-08-15 Roland McGrath <roland@hack.frob.com>
4959
4b4f2771
RM
4960 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4961 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4962
601c888b
RM
4963 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4964
176790a7
RM
4965 * elf/dl-sym.c: Include <stdlib.h>.
4966
329bc018
RM
4967 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4968 constants, which avoids warnings in 32-bit builds.
4969
e04e272d
RM
4970 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4971 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4972
952bf94a
RM
4973 * misc/lseek.c: File moved to ...
4974 * io/lseek.c: ... here.
4975
7c99b50a
RM
4976 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4977
dd924cd7
RM
4978 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4979 shifting LEN more than 31 bits at once.
4980
b3f479a8
LD
49812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4982
4983 [BZ #14195]
8c4ae0d4
RM
4984 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4985 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4986 * string/test-strncasecmp.c (check1): Renamed to...
4987 (bz12205): ...this.
4988 (bz14195): Add new testcase for two empty input strings and N > 0.
4989 (test_main): Call new testcase, adapt for renamed function.
4990
9c55864e
AJ
49912012-08-15 Andreas Jaeger <aj@suse.de>
4992
4993 [BZ #14090]
4994 * crypt/md5test2.c: New test, based on test supplied by Serge
4995 Belyshev <belyshev@depni.sinp.msu.ru>.
4996 * crypt/Makefile (xtests): Add md5test-giant..
4997 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4998
02dcb6c5
PE
49992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5000
5001 [BZ #14090]
5002 * crypt/md5.c (md5_process_block): Don't assume the buffer
5003 length is less than 2**32.
5004 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5005 length is less than 2**64.
5006
a3f95dcc
RM
50072012-08-15 Roland McGrath <roland@hack.frob.com>
5008
be75d758
RM
5009 * string/str-two-way.h: Include <sys/param.h>.
5010 (MAX): Macro removed.
5011
7312ca90
RM
5012 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5013 Move #define and #undef of memmove to just before and after
5014 including <string.h>.
5015
9a0a5486
RM
5016 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5017 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5018 and after including <string.h>. Move declarations of
5019 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5020 to before #include "string/memmove.c".
5021
67cc348d
RM
5022 * include/dirent.h: Declare __getdirentries.
5023
a3f95dcc
RM
5024 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5025 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5026
ca98e171
MF
50272012-08-14 Mike Frysinger <vapier@gentoo.org>
5028
5029 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5030 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5031 * sysdeps/i386/configure: Regenerated.
5032 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5033 STABS_CURRENT_FILE, and STABS_FUN.
5034 (END): Remove call to STABS_FUN_END.
5035 (STABS_CURRENT_FILE1): Delete.
5036 (STABS_CURRENT_FILE): Likewise.
5037 (STABS_FUN): Likewise.
5038 (STABS_FUN_END): Likewise.
5039 (STABS_FUN2): Likewise.
5040 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5041 * sysdeps/x86_64/configure: Regenerated.
5042
5908bf46
RM
50432012-08-14 Roland McGrath <roland@hack.frob.com>
5044
5045 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5046 * elf/dl-lookup.c: Likewise.
5908bf46 5047
f2c05b9e
JM
50482012-08-14 Joseph Myers <joseph@codesourcery.com>
5049
5050 * sysdeps/unix/sysv/linux/kernel-features.h
5051 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5052 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5053 unconditionally.
5054 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5055 unconditionally.
5056 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5057 condition on __ASSUME_CLONE_THREAD_FLAGS.
5058
e11f5155
AJ
50592012-08-14 Andreas Jaeger <aj@suse.de>
5060
5061 * sysdeps/i386/fpu/libm-test-ulps: Update.
5062
51a9ba86
MK
50632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5064
2fdd4f78
AJ
5065 * include/atomic.h (atomic_exchange_and_add): Split into ...
5066 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5067 New atomic macros.
51a9ba86 5068
ba6cba9e
MT
50692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5070
5071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5072
42443a47
JL
50732012-08-13 Jeff Law <law@redhat.com>
5074
5075 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5076 null byte in the output string.
5077
121dce05
JM
50782012-08-10 Joseph Myers <joseph@codesourcery.com>
5079
5080 * sysdeps/unix/sysv/linux/kernel-features.h
5081 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5082 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5083 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5084 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5085 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5086 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5087 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5088
bf51f568
JL
50892012-08-09 Jeff Law <law@redhat.com>
5090
5091 [BZ #13939]
5092 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5093 When avoid_arena is set, don't retry in the that arena. Pick the
5094 next one, whatever it might be.
5095 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5096 (arena_lock): Pass in new parameter to arena_get2.
5097 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5098 arena_get2.
5099 (__libc_malloc): Unify retrying after main arena failure with
5100 __libc_memalign version.
5101 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5102
f85fa270
L
51032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5104
5105 [BZ #14166]
5106 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5107 to __redirect_strstr.
5108 (__strstr_sse42): Use typeof __redirect_strstr.
5109 (__strstr_ia32): Likewise.
5110 (__libc_strstr): New prototype.
5111 (strstr): Renamed to ...
5112 (__libc_strstr): This.
5113 (strstr): New strong alias of __libc_strstr.
5114 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5115 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5116 __redirect_time.
5117 Include <time.h>.
5118 (__libc_time): New prototype.
5119 (time_ifunc): Replace time with __libc_time.
5120 (time): New strong alias and hidden definition of __libc_time.
5121 (__GI_time): Remove strong alias.
5122 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5123 Include <stddef.h>.
5124 (memmove): Redefined to __redirect_memmove.
5125 (__memmove_sse2): Use typeof __redirect_memmove.
5126 (__memmove_ssse3): Likewise.
5127 (__memmove_ssse3_back): Likewise.
5128 (__libc_memmove): New prototype.
5129 (memmove): Renamed to ...
5130 (__libc_memmove): This.
5131 (memmove): New strong alias of __libc_memmove.
5132
33b4a91e
MS
51332012-08-08 Mark Salter <msalter@redhat.com>
5134
5135 * elf/elf.h
5136 (R_MN10300_TLS_GD): Define.
5137 (R_MN10300_TLS_LD): Likewise.
5138 (R_MN10300_TLS_LDO): Likewise.
5139 (R_MN10300_TLS_GOTIE): Likewise.
5140 (R_MN10300_TLS_IE): Likewise.
5141 (R_MN10300_TLS_LE): Likewise.
5142 (R_MN10300_TLS_DTPMOD): Likewise.
5143 (R_MN10300_TLS_DTPOFF): Likewise.
5144 (R_MN10300_TLS_TPOFF): Likewise.
5145 (R_MN10300_SYM_DIFF): Likewise.
5146 (R_MN10300_ALIGN): Likewise.
5147 (R_MN10300_NUM): Update.
5148
b36137f1
JM
51492012-08-08 Joseph Myers <joseph@codesourcery.com>
5150
5151 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5152 Remove.
5153
cdd915fd
RM
51542012-08-08 Roland McGrath <roland@hack.frob.com>
5155
a2433aac
RM
5156 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5157
cdd915fd
RM
5158 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5159 sysdeps/unix -> sysdeps/posix move.
5160 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5161
bf9b740a
AM
51622012-08-07 Allan McRae <allan@archlinux.org>
5163
5164 [BZ #14303]
5165 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5166 (SUNOS_CPP): Likewise.
5167 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5168 not found.
5169 (open_input): Call CPP using execvp.
5170
93df14ee
JM
51712012-08-07 Joseph Myers <joseph@codesourcery.com>
5172
5173 * sysdeps/unix/sysv/linux/kernel-features.h
5174 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5175 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5176 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5177 (__ASSUME_WAITID_SYSCALL): Likewise.
5178 * sysdeps/unix/sysv/linux/dl-execstack.c
5179 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5180 code unconditional.
5181 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5182 conditional code.
5183 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5184 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5185 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5186 code.
5187 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5188 unconditional.
5189 [__ASSUME_WAITID_SYSCALL]: Likewise.
5190 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5191
d34689de
RM
51922012-08-07 Roland McGrath <roland@hack.frob.com>
5193
a281decc
RM
5194 * sysdeps/unix/closedir.c: Renamed to ...
5195 * sysdeps/posix/closedir.c: ... here.
5196 * sysdeps/unix/dirfd.c: Renamed to ...
5197 * sysdeps/posix/dirfd.c: ... here.
5198 * sysdeps/unix/dirstream.h: Renamed to ...
5199 * sysdeps/posix/dirstream.h: ... here.
5200 * sysdeps/unix/fdopendir.c: Renamed to ...
5201 * sysdeps/posix/fdopendir.c: ... here.
5202 * sysdeps/unix/opendir.c: Renamed to ...
5203 * sysdeps/posix/opendir.c: ... here.
5204 * sysdeps/unix/readdir.c: Renamed to ...
5205 * sysdeps/posix/readdir.c: ... here.
5206 * sysdeps/unix/readdir_r.c: Renamed to ...
5207 * sysdeps/posix/readdir_r.c: ... here.
5208 * sysdeps/unix/rewinddir.c: Renamed to ...
5209 * sysdeps/posix/rewinddir.c: ... here.
5210 * sysdeps/unix/seekdir.c: Renamed to ...
5211 * sysdeps/posix/seekdir.c: ... here.
5212 * sysdeps/unix/telldir.c: Renamed to ...
5213 * sysdeps/posix/telldir.c: ... here.
5214 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5215 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5216 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5217 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5218
22895b47
RM
5219 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5220 * bits/fcntl.h: ... here.
5221
707a53b6
RM
5222 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5223 not 0.
5224 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5225 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5226 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5227 (struct flock): Move l_start, l_len to the beginning.
5228 Use __pid_t for l_pid.
5229 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5230 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5231 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5232 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5233 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5234 [__USE_LARGEFILE64] (struct flock64): New type.
5235 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5236
f0bd3e25
RM
5237 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5238 * bits/dirent.h: ... here.
5239
d34689de
RM
5240 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5241 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5242
6dad2c06
JM
52432012-08-07 Joseph Myers <joseph@codesourcery.com>
5244
5245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5246 Change from 2.6.0 to 2.6.16.
5247 * sysdeps/unix/sysv/linux/configure: Regenerated.
5248 * sysdeps/unix/sysv/linux/kernel-features.h
5249 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5250 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5251 version.
5252 (__ASSUME_UTIMES): Likewise.
5253 (__ASSUME_CLONE_STOPPED): Remove.
5254 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5255 architectures, not kernel version.
5256 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5257 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5258 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5259 (__ASSUME_WAITID_SYSCALL): Likewise.
5260 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5261 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5262 * README: State 2.6.16 as minimum Linux kernel version. Do not
5263 refer to older versions.
5264
03af9520
RM
52652012-08-06 Roland McGrath <roland@hack.frob.com>
5266
8e49df1d
RM
5267 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5268 Define alphasort64 as an alias.
5269 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5270 Define versionsort64 as an alias.
5271 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5272 Define scandir64 as an alias.
5273 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5274 Define scandirat64 as an alias.
5275 * dirent/alphasort64.c (alphasort64):
5276 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5277 * dirent/versionsort64.c: Likewise.
5278 * dirent/scandir64.c: Likewise.
5279 * dirent/scandirat64.c: Likewise.
5280 * sysdeps/wordsize-64/alphasort.c: File removed.
5281 * sysdeps/wordsize-64/alphasort64.c: File removed.
5282 * sysdeps/wordsize-64/scandir.c: File removed.
5283 * sysdeps/wordsize-64/scandir64.c: File removed.
5284 * sysdeps/wordsize-64/scandirat.c: File removed.
5285 * sysdeps/wordsize-64/scandirat64.c: File removed.
5286 * sysdeps/wordsize-64/versionsort.c: File removed.
5287 * sysdeps/wordsize-64/versionsort64.c: File removed.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5289 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5290 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5291 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5292 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5293 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5294 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5295 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5296
5297 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5299 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5301 [defined __arch64__ || defined __sparcv9]
5302 (__INO_T_MATCHES_INO64_T): New macro.
5303 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5304 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5305 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5306 * sysdeps/unix/sysv/linux/bits/dirent.h
5307 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5308 (_DIRENT_MATCHES_DIRENT64): New macro.
5309
03af9520
RM
5310 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5311 Define lockf64 as an alias.
5312 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5313 Define fseeko64 as an alias.
5314 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5315 Define ftello64 as an alias.
5316 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5317 Define _IO_fgetpos64 and fgetpos64 as aliases.
5318 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5319 Define _IO_fsetpos64 and fsetpos64 as aliases.
5320 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5321 Conditionalize body on this.
5322 * libio/fseeko64.c: Likewise.
5323 * libio/ftello64.c: Likewise.
5324 * libio/iofgetpos64.c: Likewise.
5325 * libio/iofsetpos64.c: Likewise.
5326 * sysdeps/wordsize-64/lockf.c: File removed.
5327 * sysdeps/wordsize-64/lockf64.c: File removed.
5328 * sysdeps/wordsize-64/fseeko.c: File removed.
5329 * sysdeps/wordsize-64/fseeko64.c: File removed.
5330 * sysdeps/wordsize-64/ftello.c: File removed.
5331 * sysdeps/wordsize-64/ftello64.c: File removed.
5332 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5333 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5334 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5335 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5336 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5337 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5338 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5339 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5340 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5341 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5342 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5343 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5344 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5345 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5346
5347 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5349 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5351 [defined __arch64__ || defined __sparcv9]
5352 (__OFF_T_MATCHES_OFF64_T): New macro.
5353 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5354 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5356 (__OFF_T_MATCHES_OFF64_T): New macro.
5357
c5757acd
L
53582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5359
5360 * stdlib/secure-getenv.c (__secure_getenv): Replace
5361 GLIBC_2_16 with GLIBC_2_17.
5362
3a31811e
L
53632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5364
5365 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5366 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5367
faa2bccb
DM
53682012-08-03 David S. Miller <davem@davemloft.net>
5369
5370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5371
85fe1997
JM
53722012-08-03 Joseph Myers <joseph@codesourcery.com>
5373
5374 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5375 Remove.
5376 (__ASSUME_CORRECT_SI_PID): Likewise.
5377 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5378 (__ASSUME_TMPFS_NAME): Likewise.
5379 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5380 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5381 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5382 (HAVE_AUX_SECURE): Make definition unconditional.
5383 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5384 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5385
4f75b7a0
RM
53862012-08-03 Roland McGrath <roland@hack.frob.com>
5387
5388 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5389 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5390 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5391 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5392 __eloop_threshold instead of SYMLOOP_MAX.
5393
5394 * sysdeps/generic/eloop-threshold.h: New file.
5395 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5396 of MAXSYMLINKS.
5397 * elf/chroot_canon.c (chroot_canon): Likewise.
5398
7aab07e4
JM
53992012-08-03 Joseph Myers <joseph@codesourcery.com>
5400
5401 [BZ #13717]
5402 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5403 Change to 2.6.0 everywhere.
5404 * sysdeps/unix/sysv/linux/configure: Regenerated.
5405 * sysdeps/unix/sysv/linux/kernel-features.h
5406 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5407 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5408 kernel versions.
5409 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5410 (__ASSUME_FUTEX_REQUEUE): Remove.
5411 (__ASSUME_STATFS64): Define unconditionally.
5412 (__ASSUME_AT_SECURE): Likewise.
5413 (__ASSUME_CORRECT_SI_PID): Likewise.
5414 (__ASSUME_TGKILL): Define without depending on kernel version for
5415 i386.
5416 (__ASSUME_UTIMES): Likewise.
5417 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5418 kernel version.
5419 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5420 (__ASSUME_TMPFS_NAME): Likewise.
5421 * README: Update reference to Linux kernel versions.
5422
b67e9372
MP
54232012-08-02 Marek Polacek <polacek@redhat.com>
5424
1f529f7d 5425 [BZ# 14150]
b67e9372
MP
5426 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5427 libc_cv_asm_type_prefix with %.
5428 * configure: Regenerated.
d2441631
RM
5429 * include/libc-symbols.h: Remove comment about
5430 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5431 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5432 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5433 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5434 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5435 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5436 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5437 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5438 * elf/tst-unique2mod1.c: Likewise.
5439 * elf/tst-unique1mod2.c: Likewise.
5440 * elf/tst-unique1mod1.c: Likewise.
5441 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5442 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5443 Replace ASM_TYPE_DIRECTIVE with .type.
5444 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5445 * sysdeps/i386/sysdep.h: Likewise.
5446 * sysdeps/x86_64/sysdep.h: Likewise.
5447 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5449 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5450 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5451 * sysdeps/powerpc/powerpc32/sysdep.h:
5452 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5453 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5454 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5455 * sysdeps/i386/fpu/e_powf.S: Likewise.
5456 * sysdeps/i386/fpu/e_expl.S: Likewise.
5457 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5458 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5459 * sysdeps/i386/fpu/e_pow.S: Likewise.
5460 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5461 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5462 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5463 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5464 * sysdeps/i386/fpu/e_log2.S: Likewise.
5465 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5466 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5467 * sysdeps/i386/fpu/e_powl.S: Likewise.
5468 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5469 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5470 * sysdeps/i386/fpu/e_logl.S: Likewise.
5471 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5472 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5473 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5474 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5475 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5476 * sysdeps/i386/fpu/e_log.S: Likewise.
5477 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5478 * sysdeps/i386/fpu/e_logf.S: Likewise.
5479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5481 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5482 * sysdeps/i386/fpu/e_log10.S: Likewise.
5483 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5484 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5485 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5486 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5487 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5488 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5489 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5490 * sysdeps/i386/i686/strtok.S: Likewise.
5491 * sysdeps/i386/i386-mcount.S: Likewise.
5492 * sysdeps/i386/strtok.S: Likewise.
5493 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5494 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5495 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5496 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5497 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5498 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5499 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5500 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5501 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5502 * sysdeps/x86_64/_mcount.S: Likewise.
5503 * sysdeps/x86_64/strtok.S: Likewise.
5504 * sysdeps/sh/_mcount.S: Likewise.
5505
2747bf9a
RM
55062012-08-01 Roland McGrath <roland@hack.frob.com>
5507
5508 * libio/iofopen.c: Include <fcntl.h>.
5509 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5510 (_IO_fopen64, fopen64): Define as aliases.
5511 * libio/iofopen64.c: Include <fcntl.h>.
5512 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5513 Conditionalize body on this.
5514 * sysdeps/wordsize-64/iofopen.c: File removed.
5515 * sysdeps/wordsize-64/iofopen64.c: File removed.
5516
3fb791b8
MP
55172012-08-01 Marek Polacek <polacek@redhat.com>
5518
5519 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5520 Use dlfcn directly instead of a variable.
5521 (binfmt-subdir): Do not define.
5522 (dlfcn): Likewise.
5523
a9f1039f
JM
55242012-08-01 Joseph Myers <joseph@codesourcery.com>
5525
23bddc06
JM
5526 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5527 Remove all definitions.
5528 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5529 <kernel-features.h>.
5530 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5531 (miss_F_GETOWN_EX): Remove all definitions.
5532 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5533 macro definition.
5534 [!__ASSUME_FCNTL64]: Remove conditional code.
5535 [__ASSUME_FCNTL64]: Make code unconditional.
5536 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5537 <kernel-features.h>.
5538 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5539 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5540 (lockf64) [__NR_fcntl64]: Make code unconditional.
5541 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5542
a9f1039f
JM
5543 * sysdeps/unix/sysv/linux/kernel-features.h
5544 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5545 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5546 Make code unconditional.
5547 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5548 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5550 [__NR_vfork]: Make code unconditional.
5551 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5552 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5554 [__NR_vfork]: Make code unconditional.
5555 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5556 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5557
09c0ee5f
RM
55582012-08-01 Roland McGrath <roland@hack.frob.com>
5559
48aec5b9
RM
5560 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5561 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5562
cd97c966
RM
5563 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5564 Define mkstemp64 as an alias.
3f55550c
RM
5565 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5566 Define mkstemps64 as an alias.
cd97c966
RM
5567 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5568 Define mkostemp64 as an alias.
b8625cfc
RM
5569 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5570 Define mkostemps64 as an alias.
cd97c966
RM
5571 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5572 Conditionalize body on this.
5573 * misc/mkostemp64.c: Likewise.
b8625cfc 5574 * misc/mkostemps64.c: Likewise.
3f55550c 5575 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5576 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5577 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5578 * sysdeps/wordsize-64/mkostemp.c: File removed.
5579 * sysdeps/wordsize-64/mkstemp.c: File removed.
5580 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5581 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5582 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5583 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5584
09c0ee5f
RM
5585 [BZ #14138]
5586 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5587 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5588 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5589 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5590
5591 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5592 compat_symbol macros from <shlib-compat.h> rather than the underlying
5593 default_symbol_version and symbol_version macros, so that DEFAULT
5594 lines in shlib-versions are respected.
5595 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5596
7e66ee51
FW
55972012-08-01 Florian Weimer <fweimer@redhat.com>
5598
5599 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5600 Declare with warn_unused_result.
5601 (setgid, setregid, setegid, setresgid): Likewise.
5602 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5603 Likewise.
5604 * WUR-REPORT: Remove set*id functions.
5605
d2a54255
PT
56062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5607
5608 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5609
7ecdb005
RM
56102012-07-31 Roland McGrath <roland@hack.frob.com>
5611
789bd351
RM
5612 * include/sys/socket.h (__libc_accept, __libc_accept4):
5613 Add attribute_hidden.
5614 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5615
40ce302d
RM
5616 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5617 use of PTR_MANGLE.
5618 * inet/getnetgrent_r.c (setup): Likewise.
5619
7ecdb005
RM
5620 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5621
e2eabb2c
DM
56222012-07-31 David S. Miller <davem@davemloft.net>
5623
5624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5625
d0419dbf
JM
56262012-07-31 Joseph Myers <joseph@codesourcery.com>
5627
5628 [BZ #13629]
5629 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5630 value between 1.0 and 2.0 and smaller part has absolute value less
5631 than 1.0.
5632 * math/s_clog10.c (__clog10): Likewise.
5633 * math/s_clog10f.c (__clog10f): Likewise.
5634 * math/s_clog10l.c (__clog10l): Likewise.
5635 * math/s_clogf.c (__clogf): Likewise.
5636 * math/s_clogl.c (__clogl): Likewise.
5637 * math/libm-test.inc (clog_test): Add more tests.
5638 (clog10_test): Likewise.
5639 * sysdeps/i386/fpu/libm-test-ulps: Update.
5640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5641
2bc13872
FW
56422012-07-31 Florian Weimer <fweimer@redhat.com>
5643
5644 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5645 Exit with zero in case no suitable GID is found, and write a
5646 message to standard error.
5647
bea9b193
RM
56482012-07-30 Roland McGrath <roland@hack.frob.com>
5649
5650 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5651 rather than to 1.
5652 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5653 (MAXPATHLEN): Removed.
5654 (NOGROUP, NODEV): New macros.
5655 (setbit, clrbit, isset, isclr): New macros.
5656 (howmany, roundup, powerof2): New macros.
5657 (DEV_BSIZE): New macro.
5658
5659 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5660 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5661
5662 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5663 definition on [!__NO_LONG_DOUBLE_MATH].
5664
5665 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5666 PTR_MANGLE and PTR_DEMANGLE.
5667
5668 * socket/accept4.c (accept4): Rename to __libc_accept4.
5669 Define accept4 as a weak alias.
5670
5671 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5672 on [_DIRENT_HAVE_D_TYPE].
5673 * io/ftw.c (ftw_dir): Likewise.
5674
5675 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5676
5677 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5678
5679 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5680 Use the BSD numbers rather than the arbitrary ones we had.
5681 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5682 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5683 (SIGXCPU, SIGXFSZ): New macros.
5684 (_NSIG): Now 32.
5685
5686 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5687 initializer on [_LIBC_REENTRANT].
5688
5689 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5690 definitions inside [_POSIX_MAPPED_FILES].
5691
5692 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5693
5694 * dirent/opendir.c: Include <fcntl.h>.
5695
5696 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5697 (__libc_getspecific): Likewise.
5698 (__libc_key_create): Likewise.
5699
5700 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5701 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5702 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5703 (tmpfile64): Define as alias.
5704 * sysdeps/wordsize-64/tmpfile.c: File removed.
5705 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5708
5709 * stdio-common/vfscanf.c: Include <stdbool.h>.
5710 * nss/makedb.c: Likewise.
5711 * stdio-common/_i18n_number.h: Likewise.
5712 * argp/argp-help.c: Likewise.
5713 * posix/wordexp.c: Likewise.
5714 * sysdeps/posix/spawni.c: Likewise.
5715 * nss/nss_files/files-initgroups.c: Likewise.
5716 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5717 * nss/nss_files/files-initgroups.c: Likewise.
5718 * nss/nss_db/db-netgrp.c: Likewise.
5719 * nss/nss_db/db-initgroups.c: Likewise.
5720 * io/fchmodat.c: Include <sys/stat.h>.
5721
5722 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5723 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5724
5725 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5726 [HAVE_MMAP].
5727
5728 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5729 Add multiple inclusion protection.
5730
e5abc686
DM
57312012-07-27 David S. Miller <davem@davemloft.net>
5732
5733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5734
815e6fa3
GB
57352012-07-27 Gary Benson <gbenson@redhat.com>
5736
5737 [BZ #14298]
5738 * elf/rtld.c: Include <stap-probe.h>.
5739 (dl_main): Added static probes "init_start" and "init_complete".
5740 * elf/dl-load.c: Include <stap-probe.h>.
5741 (lose): Take new parameter "nsid".
5742 Added static probe "map_failed".
5743 (_dl_map_object_from_fd): Pass namespace id to lose.
5744 Added static probe "map_start".
5745 (open_verify): Pass namespace id to lose.
5746 * elf/dl-open.c: Include <stap-probe.h>.
5747 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5748 and "reloc_complete".
5749 * elf/dl-close.c: Include <stap-probe.h>.
5750 (_dl_close_worker): Added static probes "unmap_start" and
5751 "unmap_complete".
5752 * elf/rtld-debugger-interface.txt: New file documenting the above.
5753
9f98c16c
RM
57542012-07-26 Roland McGrath <roland@hack.frob.com>
5755
5756 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5757 rather than a string variable.
5758 * sunrpc/rpc_main.c (h_output): Likewise.
5759 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5760
f3c22df3
PT
57612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5762
5763 * inet/check_native.c: New file.
5764
3129cfc6
JM
57652012-07-26 Joseph Myers <joseph@codesourcery.com>
5766
da865e95
JM
5767 [BZ #13629]
5768 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5769 if larger part has absolute value 1.0.
5770 * math/s_clog10.c (__clog10): Likewise.
5771 * math/s_clog10f.c (__clog10f): Likewise.
5772 * math/s_clog10l.c (__clog10l): Likewise.
5773 * math/s_clogf.c (__clogf): Likewise.
5774 * math/s_clogl.c (__clogl): Likewise.
5775 * math/libm-test.inc (clog_test): Add more tests.
5776 (clog10_test): Likewise.
5777 * sysdeps/i386/fpu/libm-test-ulps: Update.
5778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5779
3129cfc6
JM
5780 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5781 (pltexit): Likewise.
5782 (La_regs): Likewise.
5783 (La_retval): Likewise.
5784 (int_retval): Likewise.
5785 Update #error for removed macros to refer only to definitions in
5786 tst-audit.h.
5787 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5788 macro.
5789 (pltexit): Likewise.
5790 (La_regs): Likewise.
5791 (La_retval): Likewise.
5792 (int_retval): Likewise.
5793 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5794 macro.
5795 (pltexit): Likewise.
5796 (La_regs): Likewise.
5797 (La_retval): Likewise.
5798 (int_retval): Likewise.
5799 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5800 macro.
5801 (pltexit): Likewise.
5802 (La_regs): Likewise.
5803 (La_retval): Likewise.
5804 (int_retval): Likewise.
5805 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5806 macro.
5807 (pltexit): Likewise.
5808 (La_regs): Likewise.
5809 (La_retval): Likewise.
5810 (int_retval): Likewise.
5811 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5812 macro.
5813 (pltexit): Likewise.
5814 (La_regs): Likewise.
5815 (La_retval): Likewise.
5816 (int_retval): Likewise.
5817 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5818 macro.
5819 (pltexit): Likewise.
5820 (La_regs): Likewise.
5821 (La_retval): Likewise.
5822 (int_retval): Likewise.
5823 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5824 macro definitions in tst-audit.h.
5825 * sysdeps/i386/tst-audit.h: New file.
5826 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5827 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5828 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5829 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5830 * sysdeps/sh/tst-audit.h: Likewise.
5831 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5832 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5833 * sysdeps/x86_64/tst-audit.h: Likewise.
5834
bfc07087
AJ
58352012-07-26 Andreas Jaeger <aj@suse.de>
5836
b1b2aaf8
AJ
5837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5838 ptrace.
5839
5840 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5841 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5842 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5843 PTRACE_O_MASK.
5844 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5845 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5846 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5847
bfc07087
AJ
5848 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5849 value.
5850
5851 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5852 _sigsys.
5853 (si_call_addr, si_syscall, si_arch): Define new macro.
5854 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5855 _sigsys.
5856 (si_call_addr, si_syscall, si_arch): Define new marcro.
5857 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5858 _sigsys.
5859 (si_call_addr, si_syscall, si_arch): Define new macro.
5860 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5861 _sigsys.
5862 (si_call_addr, si_syscall, si_arch): Define new macro.
5863
89b4b02f
JM
58642012-07-25 Joseph Myers <joseph@codesourcery.com>
5865
5866 [BZ #13717]
5867 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5868 Change to 2.4.21 where previously 2.4.1.
5869 * sysdeps/unix/sysv/linux/configure: Regenerated.
5870 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5871 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5872 Linux kernel version.
5873 (__ASSUME_STD_AUXV): Remove.
5874 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5875 kernel version.
5876 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5877 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5878 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5879 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5880 (__ASSUME_NETLINK_SUPPORT): Likewise.
5881 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5882 (__no_netlink_support): Remove conditional definition.
5883 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5884 Remove.
5885 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5886 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5887 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5888 (if_nameindex_ioctl): Remove.
5889 (if_nameindex_netlink): Do not handle __no_netlink_support.
5890 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5891 code.
5892 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5893 Remove conditional code.
5894 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5895 code.
5896 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5897 unconditional.
5898 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5899 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5900 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5901 Remove.
5902 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5903 [!__ASSUME_STD_AUXV]: Remove conditional code.
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5905 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5906 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5908 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5909 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5910 code.
5911 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5913 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5914 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5915 conditional code.
5916 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5918 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5919 code.
5920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5921 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5922 conditional code.
5923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5924 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5925 code unconditional.
5926 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5927 conditional code.
5928 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5929 unconditional.
5930 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5931 conditional code.
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5933 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5934 unconditional.
5935 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5936 conditional code.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5938 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5939 code unconditional.
5940 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5941 conditional code.
5942 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5943 unconditional.
5944 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5945 conditional code.
5946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5947 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5948 code unconditional.
5949 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5950 conditional code.
5951 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5952 unconditional.
5953 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5954 conditional code.
5955
842a39cd
AS
59562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5957
5958 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5959 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5960 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5961 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5962 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5963 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5964 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5965 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5966 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5967 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5968 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5969 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5970 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5971 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5973 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5974 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5976 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5978 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5979 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5980 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5981
84b3fd84
FW
59822012-07-25 Florian Weimer <fweimer@redhat.com>
5983
5984 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5985 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5986 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5987 Introduce __libc_secure_getenv.
0c7936d5
FW
5988 * stdlib/Versions (2.17): Add secure_getenv
5989 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5990 * stdlib/secure-getenv.c: Rename __secure_getenv to
5991 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5992 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5993 * stdlib/tst-secure-getenv.c: New.
5994 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5995 * manual/startup.texi (Environment Access): Document
5996 secure_getenv.
84b3fd84
FW
5997 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5998 __libc_secure_getenv.
5999 * inet/ruserpass.c (ruserpass): Likewise.
6000 * malloc/mtrace.c (mtrace): Likewise.
6001 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6002 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6003 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6004 * sysdeps/posix/tempname.c: Likewise. Evaluate
6005 HAVE_SECURE_GETENV.
6006 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6007 __secure_getenv to __libc_secure_getenv.
84b3fd84 6008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6010 Likewise.
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6012 Likewise.
6013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6015 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6020
56e49b71
JM
60212012-07-25 Joseph Myers <joseph@codesourcery.com>
6022
6023 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6024 (struct La_i86_retval): Likewise.
6025 (struct La_x86_64_regs): Likewise.
6026 (struct La_x86_64_retval): Likewise.
6027 (struct La_x32_regs): Likewise.
6028 (struct La_x32_retval): Likewise.
6029 (struct La_ppc32_regs): Likewise.
6030 (struct La_ppc32_retval): Likewise.
6031 (struct La_ppc64_regs): Likewise.
6032 (struct La_ppc64_retval): Likewise.
6033 (struct La_sh_regs): Likewise.
6034 (struct La_sh_retval): Likewise.
6035 (struct La_s390_32_regs): Likewise.
6036 (struct La_s390_32_retval): Likewise.
6037 (struct La_s390_64_regs): Likewise.
6038 (struct La_s390_64_retval): Likewise.
6039 (struct La_sparc32_regs): Likewise.
6040 (struct La_sparc32_retval): Likewise.
6041 (struct La_sparc64_regs): Likewise.
6042 (struct La_sparc64_retval): Likewise.
6043 (struct audit_ifaces): Remove architecture-specific pltenter and
6044 pltexit members.
6045 * sysdeps/i386/ldsodefs.h: New file.
6046 * sysdeps/powerpc/ldsodefs.h: Likewise.
6047 * sysdeps/s390/ldsodefs.h: Likewise.
6048 * sysdeps/sh/ldsodefs.h: Likewise.
6049 * sysdeps/sparc/ldsodefs.h: Likewise.
6050 * sysdeps/x86_64/ldsodefs.h: Likewise.
6051
354691b7
MP
60522012-07-25 Marek Polacek <polacek@redhat.com>
6053
6054 [BZ #6808]
6055 * math/libm-test.inc (yn_test): Add another test.
6056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6057 to ERANGE when the result is +-Inf.
6058 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6059 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6060 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6061 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6062
bf9e2071
JM
60632012-07-24 Joseph Myers <joseph@codesourcery.com>
6064
6065 * conform/data/time.h-data (NULL): Use macro-constant. Require
6066 equal to 0.
6067 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6068 clock_t.
6069 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6070
57633811
TS
60712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6072
6073 * configure.in <sysdeps resolving>: Correct printing
6074 Implies_before.
6075 * configure: Regenerate.
6076
c23c33b0
TS
60772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6078
6079 * math/w_ilogb.c: Include <limits.h>.
6080 * math/w_ilogbl.c: Likewise.
6081
b5982523
JM
60822012-07-20 Joseph Myers <joseph@codesourcery.com>
6083
6084 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6085 va_copy. Document allowing for unavailable va_copy only as
6086 pre-C99 compatibility.
6087 * manual/string.texi (Copying and Concatenation): Use va_copy
6088 instead of __va_copy in concat example.
6089
ac4ea442
PT
60902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6091
6092 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6093 (__sendto): Use create_address_port. Initialize APORT and deallocate
6094 it if not null.
6095
f98eafbd
PT
6096 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6097 with O_NOLINK passed to __file_name_lookup.
6098
898c7aab
PT
6099 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6100 with O_NOLINK passed to __file_name_lookup.
6101
0ced335a
PT
6102 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6103 negative N or less than NGIDS.
6104
b3404dbd
PT
6105 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6106 type to string_t. Set ERANGE as errno and return it if NAME is not big
6107 enough. Use memcpy instead of strncpy.
6108
0f48659e
JM
61092012-07-20 Joseph Myers <joseph@codesourcery.com>
6110
6111 * elf/Makefile (check-data): Remove.
6112 (localplt.data): New vpath directive.
6113 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6114 instead of $(check-data).
6115 * scripts/data/localplt-generic.data: Move to ...
6116 * sysdeps/generic/localplt.data: ... here.
6117 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6118 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6119 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6121 ... here.
6122 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6124 ... here.
6125 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6127 ... here.
6128 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6130 ... here.
6131 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6133 ... here.
6134 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6136 ... here.
6137
d37cbdaa
AZ
61382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6139
6140 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6141 PPC32 and PPC64 files.
6142 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6143 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6144
46f85fc2
AK
61452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6146
6147 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6148 __makecontext_ret to ...
6149 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6150 ... here and call exit if uc_link is NULL. New file.
6151 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6152 __makecontext_ret.S.
6153 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6154 __makecontext_ret to ...
6155 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6156 ... here and call exit if uc_link is NULL. New file.
6157 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6158 __makecontext_ret.S.
6159
08f43f9b
AK
61602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6161
6162 * elf/elf.h (R_390_IRELATIVE): New definition.
6163 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6164 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6165 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6166 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6167 (elf_machine_lazy_rel): Likewise.
6168 * sysdeps/s390/dl-irel.h: New file.
6169 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6170 * sysdeps/s390/s390-64/memset.S: New asm code.
6171 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6172 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6173 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6174 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6175 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6176 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6177 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6178 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6179 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6180 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6181 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6182 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6183 * sysdeps/s390/s390-32/memset.S: New asm code.
6184 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6185
3b05db33
MP
61862012-07-17 Marek Polacek <polacek@redhat.com>
6187
6188 [BZ #14349]
6189 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6190 * sysdeps/s390/s390-64/configure.in: Likewise.
6191 * sysdeps/sparc/configure.in: Likewise.
6192 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6193 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6194 * sysdeps/i386/configure.in: Likewise.
6195 * sysdeps/x86_64/configure.in: Likewise.
6196 * sysdeps/sh/configure.in: Likewise.
6197 * sysdeps/s390/s390-32/configure: Regenerated.
6198 * sysdeps/s390/s390-64/configure: Likewise.
6199 * sysdeps/x86_64/configure: Likewise.
6200 * sysdeps/sh/configure: Likewise.
6201 * sysdeps/powerpc/powerpc64/configure: Likewise.
6202 * sysdeps/powerpc/powerpc32/configure: Likewise.
6203 * sysdeps/sparc/configure: Likwise.
6204 * sysdeps/i386/configure: Likewise.
6205
a66877c6
MP
6206 * elf/dl-open.c: Comment fixes.
6207
cfc82fd8
JM
62082012-07-17 Joseph Myers <joseph@codesourcery.com>
6209
bd29910a
JM
6210 * Makefile [CXX] (check-data): Remove.
6211 [CXX] (c++-types.data): New vpath directive.
6212 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6213 vpath. Do not allow for C++ type data being missing.
6214 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6215 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6216 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6217 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6218 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6219 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6220 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6222 ... here.
6223 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6225 ... here.
6226 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6228 ... here.
6229 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6231 ... here.
6232 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6234 ... here.
6235 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6237 ... here.
6238 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6240 ... here.
6241 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6243
cfc82fd8
JM
6244 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6245 definitions to architecture-specific files.
6246 (TLS_IE): Likewise.
6247 (TLS_LD): Likewise.
6248 (TLS_GD): Likewise.
6249 * sysdeps/i386/tls-macros.h: New file.
6250 * sysdeps/powerpc/tls-macros.h: Likewise.
6251 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6252 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6253 * sysdeps/sh/tls-macros.h: Likewise.
6254 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6255 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6256 * sysdeps/x86_64/tls-macros.h: Likewise.
6257
f7db3170
TS
62582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6259
07cbfc23
TS
6260 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6261 zero value for regular exit case.
6262
f7db3170
TS
6263 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6264 (__start_context): Preserve zero value for regular exit case.
6265
dc97c227
TS
62662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6267 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6268
6269 * manual/setjmp.texi (setcontext): Clarify normal process
6270 termination when uc_link is the null pointer.
6271 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6272 exit call.
6273
d0cd7d02
AS
62742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6275
6276 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6277 preprocessor. Test for each exception mask separately.
6278
dd318934
AJ
62792012-07-16 Andreas Jaeger <aj@suse.de>
6280
6281 * po/ru.po: Update from translation team.
6282
8048311a
JM
62832012-07-15 Joseph Myers <joseph@codesourcery.com>
6284
6285 * conform/data/string.h-data (NULL): Use macro-constant. Require
6286 equal to 0.
6287 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6288 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6289 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6290 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6292
b637d46e
AJ
62932012-07-13 Andreas Jaeger <aj@suse.de>
6294
6295 * po/fr.po: Update from translation team.
6296
541428fe
MP
62972012-07-12 Marek Polacek <polacek@redhat.com>
6298
6299 [BZ #14173]
6300 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6301 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6302 loop condition.
6303
ec332e94
JM
63042012-07-12 Joseph Myers <joseph@codesourcery.com>
6305
6306 [BZ #13717]
6307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6308 Change to 2.4.1 where previously 2.4.0.
6309 * sysdeps/unix/sysv/linux/configure: Regenerated.
6310 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6311 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6312 version.
6313 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6314 (__ASSUME_AT_CLKTCK): Remove.
6315 (__ASSUME_AT_PAGESIZE): Likewise.
6316 (__ASSUME_AT_XID): Likewise.
6317 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6318 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6319 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6320 unconditionally.
6321 (HAVE_AUX_PAGESIZE): Likewise.
6322 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6323 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6324 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6325
7b6e99be
JB
63262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6327
6328 [BZ #14307]
6329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6330 the temporary buffer used to invoke __gethostbyname2_r,
6331 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6332 host_data / struct gaih_addrtuple.
6333 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6334 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6335 header file nss/nsswitch.h.
6336 * nss/nsswitch.h (global scope): Add definition of implementation
6337 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6338 resolv/nss_dns/dns-host.c).
6339
608404eb
AJ
63402012-07-11 Andreas Jaeger <aj@suse.de>
6341
6342 * po/fr.po: Update from translation team.
6343
71220aca
AJ
6344 * po/sv.po: Update from translation team
6345 * po/fr.po: Another update from translation team.
6346
28cfe843
AZ
63472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6348
6349 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6350 for subnormals or multiply small sinh result by itself.
6351 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6353
6b90f981
DM
63542012-07-11 David S. Miller <davem@davemloft.net>
6355
6356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6357
c6825772
AS
63582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6359
6360 [BZ #14347]
6361 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6362 (INTERNAL_MARK): Shift it here.
6363
7b8e0d49
MP
63642012-07-10 Marek Polacek <polacek@redhat.com>
6365
6366 [BZ #14151]
6367 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6368 libc_cv_asm_global_directive with .globl.
6369 * configure: Regenerated.
6370 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6371 with .globl.
6372 * sysdeps/i386/configure: Regenerated.
6373 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6374 with .globl.
6375 * sysdeps/x86_64/configure: Regenerated.
6376 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6377 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6378 * elf/tst-unique2mod2.c: Likewise.
6379 * elf/tst-unique2mod1.c: Likewise.
6380 * elf/tst-unique1mod2.c: Likewise.
6381 * elf/tst-unique1mod1.c: Likewise.
6382 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6383 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6384 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6385 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6386 * sysdeps/mach/sysdep.h: Likewise.
6387 * sysdeps/i386/sysdep.h: Likewise.
6388 * sysdeps/i386/i386-mcount.S: Likewise.
6389 * sysdeps/x86_64/_mcount.S: Likewise.
6390 * sysdeps/x86_64/sysdep.h: Likewise.
6391 * sysdeps/sh/_mcount.S: Likewise.
6392 * sysdeps/sh/sysdep.h: Likewise.
6393 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6394 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6395 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6396 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6397 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6398 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6399 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6400 * locale/localeinfo.h: Likewise.
6401 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6402 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6403
6c55cda3
RM
64042012-07-09 Roland McGrath <roland@hack.frob.com>
6405
6406 [BZ #14336]
6407 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6408 system".
6409 * manual/message.texi (The Uniforum approach): Likewise.
6410 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6411 (glibc iconv Implementation): Likewise.
6412
638a572e
JM
64132012-07-09 Joseph Myers <joseph@codesourcery.com>
6414
6415 [BZ #14337]
6416 * math/s_clog.c (__clog): Avoid scaling a value down where that
6417 could result in underflow.
6418 * math/s_clog10.c (__clog10): Likewise.
6419 * math/s_clog10f.c (__clog10f): Likewise.
6420 * math/s_clog10l.c (__clog10l): Likewise.
6421 * math/s_clogf.c (__clogf): Likewise.
6422 * math/s_clogl.c (__clogl): Likewise.
6423 * math/libm-test.inc (clog_test): Add more tests.
6424 (clog10_test): Likewise.
6425 * sysdeps/i386/fpu/libm-test-ulps: Update.
6426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6427
261f4859
AS
64282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6429
0abaf3e4
AS
6430 [BZ #14283]
6431 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6432 by 7 not 8 to examine high bit of fractional part.
6433
261f4859
AS
6434 [BZ #14042]
6435 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6436 for call to __mcount_internal.
6437 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6438 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6439 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6440
f17ac40d
JM
64412012-07-06 Joseph Myers <joseph@codesourcery.com>
6442
9ad63c23
JM
6443 [BZ #14154]
6444 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6445 approximation for values within 0x1p-13f of an odd multiple of
6446 pi/4.
6447 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6448 exception. Add more tests.
6449 * sysdeps/i386/fpu/libm-test-ulps: Update.
6450
f17ac40d
JM
6451 [BZ #6778]
6452 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6453 inputs and return -1 for them. Do not check for +Inf in case not
6454 reachable for +Inf.
6455 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6456 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6457 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6458 and return -1 for them. Do not check for +Inf in case not
6459 reachable for +Inf.
6460 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6461 define.
6462 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6463 and return -1 for them. Do not check for +Inf in case not
6464 reachable for +Inf.
6465 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6466 spurious underflow.
6467 * sysdeps/i386/fpu/libm-test-ulps: Update.
6468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6469
fb21f89b
MF
64702012-07-06 Mike Frysinger <vapier@gentoo.org>
6471
6472 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6473
cdfe2c5e
JM
64742012-07-05 Joseph Myers <joseph@codesourcery.com>
6475
6476 [BZ #14157]
6477 [BZ #14331]
6478 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6479 could result in spurious underflow. Scale down values above
6480 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6481 * math/s_csqrtf.c (__csqrtf): Likewise.
6482 * math/s_csqrtl.c (__csqrtl): Likewise.
6483 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6484 spurious underflow.
6485 * sysdeps/i386/fpu/libm-test-ulps: Update.
6486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6487
70d35b67
AS
64882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6489
704bc459
AS
6490 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6491 xopen-msg.sed.
6492 * catgets/xopen-msg.awk: New file.
6493 * catgets/xopen-msg.sed: Removed.
6494
70d35b67
AS
6495 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6496 po2text.sed.
6497 * intl/po2test.awk: New file.
6498 * intl/po2test.sed: Removed.
6499
ca61cf32
JM
65002012-07-04 Joseph Myers <joseph@codesourcery.com>
6501
6502 [BZ #14328]
6503 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6504 or multiply small sinh result by itself.
6505 * math/s_ctanf.c (__ctanf): Likewise.
6506 * math/s_ctanh.c (__ctanh): Likewise.
6507 * math/s_ctanhf.c (__ctanhf): Likewise.
6508 * math/s_ctanhl.c (__ctanhl): Likewise.
6509 * math/s_ctanl.c (__ctanl): Likewise.
6510 * math/libm-test.inc (ctan_test_tonearest): New function.
6511 (ctan_test_towardzero): Likewise.
6512 (ctan_test_downward): Likewise.
6513 (ctan_test_upward): Likewise.
6514 (ctanh_test_tonearest): Likewise.
6515 (ctanh_test_towardzero): Likewise.
6516 (ctanh_test_downward): Likewise.
6517 (ctanh_test_upward): Likewise.
6518 (main): Call these new functions.
6519 * sysdeps/i386/fpu/libm-test-ulps: Update.
6520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6521
ca48a46a
MF
65222012-07-03 Mike Frysinger <vapier@gentoo.org>
6523
6524 * .gitignore: Delete /ports entry.
6525
9d63d37d
AJ
65262012-07-03 Andreas Jaeger <aj@suse.de>
6527
6528 * po/bg.po: Update from translation team.
6529 * po/cs.po: Likewise.
6530 * po/de.po: Likewise.
6531 * po/hr.po: Likewise.
6532 * po/nl.pl: Likewise.
6533 * po/pl.po: Likewise.
6534 * po/vi.po: Likewise.
6535
370ca3d2
JM
65362012-07-03 Joseph Myers <joseph@codesourcery.com>
6537
95f5a9a8
JM
6538 * Makeconfig [!+link] (+link-before-libc): New variable.
6539 [!+link] (+link-after-libc): Likewise.
6540 [!+link] (+link-tests): Likewise.
6541 [!+link] (+link): Define in terms of $(+link-before-libc) and
6542 $(+link-after-libc).
6543 [!+link-static] (+link-static-before-libc): New variable.
6544 [!+link-static] (+link-static-after-libc): Likewise.
6545 [!+link-static] (+link-static-tests): Likewise.
6546 [!+link-static] (+link-static): Define in terms of
6547 $(+link-static-before-libc) and $(+link-static-after-libc).
6548 [build-shared] (link-libc-before-gnulib): New variable.
6549 [build-shared] (link-libc-tests): Likewise.
6550 [build-shared] (link-libc): Define in terms of
6551 $(link-libc-before-gnulib).
6552 [!build-shared] (link-libc-tests): New variable.
6553 (link-libc-static-tests): New variable.
6554 [!gnulib] (gnulib-arch): New variable.
6555 [!gnulib] (gnulib-tests): Likewise.
6556 [!gnulib] (static-gnulib-arch): Likewise.
6557 [!gnulib] (static-gnulib-tests): Likewise.
6558 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6559 Define with "=" instead of ":=".
6560 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6561 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6562 * Rules (binaries-all-notests): New variable.
6563 (binaries-all-tests): Likewise.
6564 (binaries-static-notests): Likewise.
6565 (binaries-static-tests): Likewise.
6566 (binaries-all): Define using $(binaries-all-notests) and
6567 $(binaries-all-tests).
6568 (binaries-static): Define using $(binaries-static-notests) and
6569 $(binaries-static-tests).
6570 (binaries-shared-tests): New variable.
6571 (binaries-shared-notests): Likewise.
6572 (binaries-shared): Remove variable.
6573 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6574 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6575 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6576 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6577 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6578 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6579 * elf/Makefile (sln-modules): New variable.
6580 (extra-objs): Add $(sln-modules:=.o).
6581 (ldconfig-modules): Add static-stubs.
6582 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6583 * elf/static-stubs.c: New file.
6584
7a845b2c
JM
6585 [BZ #14283]
6586 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6587 by 7 not 8 to examine high bit of fractional part. Use volatile
6588 variables when splitting into final array of floats if
6589 __FLT_EVAL_METHOD__ != 0.
6590 * math/libm-test.inc (cos_test): Add another test.
6591 (sin_test): Likewise.
6592 * sysdeps/i386/fpu/libm-test-ulps: Update.
6593
e2283f38
JM
6594 [BZ #14273]
6595 * math/libm-test.inc (cosh_test): Add more tests.
6596
370ca3d2
JM
6597 * version.h (RELEASE): Set to "development".
6598 (VERSION): Set to "2.16.90".
6599
ee9247c3
CD
66002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6601
6602 * NEWS: Update copyright. Remove last-updated date.
6603 Mention math library bug fixes and timezone data changes.
6604 * README: Mention GNU/Hurd, x32, and HPPA support status.
6605
4648c381
TS
66062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6607
6608 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6609
aac78a43
AJ
66102012-06-27 Andreas Jaeger <aj@suse.de>
6611
6612 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6613
ed3dbfad
AJ
66142012-06-25 Andreas Jaeger <aj@suse.de>
6615
6616 * sysdeps/s390/fpu/libm-test-ulps: Update.
6617
4d0ee855
AS
66182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6619 Thomas Schwinge <thomas@codesourcery.com>
6620
6621 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6622 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6624 fanotify_mark.
6625
af1bce34
TS
66262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6627
a9fa33ba
TS
6628 * sysdeps/mach/start.c: Remove file.
6629 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6630 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6631 * sysdeps/sh/init-first.c: Likewise.
6632
58f902b8
TS
6633 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6634 registers for frame unwinding purposes, add CFI directives.
6635 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6637 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6638 Likewise.
6639
1518f58b
TS
6640 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6641 __fortify_fail returning.
6642 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6643
db9b5059
TS
6644 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6645 sysdeps/sh/____longjmp_chk.S.
6646 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6647 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6648 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6649 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6650
967705fe
TS
6651 * sysdeps/sh/abort-instr.h: New file.
6652 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6653 process in case exit returns.
6654
a9def8c4
TS
6655 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6656 initialize the GOT register before use.
6657
2a649725
TS
6658 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6659 calculation of ARGC > 4.
6660
af1bce34
TS
6661 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6662 meaningful names to some local labels.
6663
d230f50a
KK
66642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6665 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6666
6667 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6668 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6669 (__arch_compare_and_exchange_val_16_acq): Likewise.
6670 (__arch_compare_and_exchange_val_32_acq): Likewise.
6671 (atomic_exchange_and_add): Fix gUSA sequence.
6672 (atomic_add): Likewise.
6673 (atomic_add_negative): Likewise.
6674 (atomic_add_zero): Likewise.
6675 (atomic_bit_test_set): Likewise.
6676
0479b305
AS
66772012-06-22 Andreas Schwab <schwab@redhat.com>
6678
6679 [BZ #13579]
6680 * include/link.h (struct link_map): Add l_free_initfini.
6681 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6682 l_initfini.
6683 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6684 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6685 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6686 set.
6687
0e3933b9
CD
66882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6689
6690 * configure.in: Use AC_LANG_SOURCE.
6691 * configure: Regenerate.
6692
4248b1b1
RM
66932012-06-22 Roland McGrath <roland@hack.frob.com>
6694
6695 * configure.in (libc_cv_localstatedir): New substituted variable.
6696 * configure: Regenerated.
6697 * config.make.in (localstatedir): New variable, substituted from
6698 libc_cv_localstatedir.
6699 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6700 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6701 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6702 * sysdeps/gnu/configure: Regenerated.
6703
006dd861
JL
67042012-06-21 Jeff Law <law@redhat.com>
6705
6706 [BZ #14277]
6707 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6708 free. Simplify list management for _LIBC case.
6709
79662d42
JM
67102012-06-21 Joseph Myers <joseph@codesourcery.com>
6711
b7abb4bf
JM
6712 [BZ #14273]
6713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6714 Clear sign bit of 64-bit integer value before comparing against
6715 overflow value.
6716
79662d42
JM
6717 * sysdeps/mach/configure: Regenerated.
6718
1f150908
L
67192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6720
6721 [BZ #14278]
6722 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6723
28363bbf
JL
67242012-06-21 Jeff Law <law@redhat.com>
6725
6726 [BZ #13882]
6727 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6728 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6729 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6730 * elf/dl-open.c (dl_open_worker): Likewise.
6731
09615db4
CD
67322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6733
6734 * scripts/list-sources.sh: Scan PORTS for translations.
6735 * po/libc.pot: Regenerated.
6736
2174c6dd
AJ
67372012-06-21 Andreas Jaeger <aj@suse.de>
6738
6739 [BZ #12194]
6740 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6741 warning.
6742 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6743 * bits/byteswap-16.h (__bswap_16): Likewise.
6744 * bits/byteswap.h (__bswap_constant_16): Likewise.
6745
3ee947b1
L
67462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6747
6748 [BZ #14117]
a2f34833
L
6749 * sysdeps/i386/fpu_control.h: Removed.
6750 * sysdeps/x86_64/fpu_control.h: Moved to ...
6751 * sysdeps/x86/fpu_control.h: Here.
6752
3ee947b1
L
6753 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6754 (_FPU_SETCW): Likewise.
6755
ed1825f8
L
67562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6757
25f1282a
L
6758 [BZ #14117]
6759 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6760 * sysdeps/x86/fpu/bits/mathinline.h: This.
6761 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6762
ed1825f8
L
6763 [BZ #14050]
6764 [BZ #14117]
6765 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6766 functions if __x86_64__ is defined.
6767
36d54b74
CLT
67682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6769
6770 * string/endian.h: Add !__ASSEMBLER__ condition for including
6771 conversion interfaces.
6772
10285c21
JM
67732012-06-15 Joseph Myers <joseph@codesourcery.com>
6774
6775 [BZ #14241]
6776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6777 of ABS(x) in calculating zero to negative powers other than odd
6778 integers.
6779 * math/libm-test.inc (pow_test): Add more tests.
6780
06c5abbd
AJ
67812012-06-15 Andreas Jaeger <aj@suse.de>
6782
6783 * manual/contrib.texi (Contributors): Update entry of Liubov
6784 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6785 Machado Filho.
6786
a3aeac40
CH
67872012-06-15 Cyril Hrubis <metan@ucw.cz>
6788
6789 * string/string.h: Add __wur to GNU version of strerror_r.
6790
49bdf4c1
L
67912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6792
6793 [BZ #14229]
6794 * string/Makefile (tests): Add tst-strtok_r.
6795 * string/tst-strtok_r.c: New file.
6796 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6797 RAX_LP/RDX_LP on SAVE_PTR.
6798
834f9b8d
RM
67992012-06-14 Roland McGrath <roland@hack.frob.com>
6800
6801 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6802
75fa1921
JM
68032012-06-14 Joseph Myers <joseph@codesourcery.com>
6804
6805 * libm_test.inc (csqrt_test): Allow more spurious underflow
6806 exceptions.
6807 (j0_test): Likewise.
6808 (j1_test): Likewise.
6809 (y0_test): Likewise.
6810 (y1_test): Likewise.
6811
771766df
CD
68122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6813
6814 * po/Makefile (libc.pot): Use UTF-8 charset.
6815
ceb9e56b
PP
68162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6817
6818 [BZ #14210]
6819 Suppress sign-conversion warning from FD_SET.
6820 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6821 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6822 not unsigned long int.
6823 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6824
ddb28975
L
68252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6826
6827 [BZ #14050]
6828 [BZ #14117]
6829 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6830 __extern_always_inline instead of __extern_inline.
6831 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6832 (__signbit): Likewise.
6833 (__signbitl): Support C++ namespace.
6834 (lrintf): New inline function.
6835 (lrint): Likewise.
6836 (llrintf): Likewise.
6837 (llrint): Likewise.
6838 (fmaxf): Likewise.
6839 (fmax): Likewise.
6840 (fminf): Likewise.
6841 (fmin): Likewise.
6842 (rint): Likewise.
6843 (rintf): Likewise.
6844 (ceil): Likewise.
6845 (ceilf): Likewise.
6846 (floor): Likewise.
6847 (floorf): Likewise.
6848 (nearbyint): Likewise.
6849 (nearbyintf): Likewise.
6850
d7b4fb26
TS
68512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6852
6853 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6854 non-default versions.
6855
eb55f5c2
RM
68562012-06-11 Roland McGrath <roland@hack.frob.com>
6857
6858 [BZ #14218]
6859 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6860
366af02c
TS
68612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6862
99ff6e5c
TS
6863 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6864 (FE_UPWARD, FE_DOWNWARD): Don't define.
6865 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6866 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6867
366af02c
TS
6868 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6869 reading it.
6870 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6871 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6872
793ea851
KK
68732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6874
6875 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6877 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6878 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6879
a728a38f
L
68802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6881
6882 [BZ #14117]
c08010c7
L
6883 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6884 * sysdeps/i386/fpu/Implies: New file.
6885 * sysdeps/x86_64/fpu/Implies: Likewise.
6886 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6887 * sysdeps/x86/fpu/bits/fenv.h: This.
6888
a728a38f
L
6889 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6890 __SSE_MATH__.
6891
6e230d11
SP
68922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6893
6894 [BZ #14134]
6895 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6896 character 0xffff that matches the last element of the
6897 conversion table.
6898
1b671feb
AZ
68992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6900
6901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6902 fmodl commit.
6903
6043738b
AZ
69042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6905
6906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6907 values higher than 25.6283.
6908
34ae0b32
AZ
69092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6910
6911 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6912 subnormal exponent extraction and add some __builtin_expect.
6913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6914 Fix for subnormal mantissa calculation.
6915
1214ec8f
MF
69162012-06-04 Mike Frysinger <vapier@gentoo.org>
6917
6918 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6919 cpu2 is -1 and errno is not ENOSYS.
6920
f3d1f93c
L
69212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 [BZ #14117]
0e4a3cd7
L
6924 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6925 * sysdeps/x86/bits/string.h: This.
6926 * sysdeps/x86_64/bits/string.h: Removed.
6927
6704c645
L
6928 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6929 if not compiling for x86-64, but compiling for >= i486.
6930
48495318
L
6931 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6932 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6933
14adcbfc
L
6934 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6935 New macro from Linux kernel 3.4.0.
6936 (FP_XSTATE_MAGIC2): Likewise.
6937 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6938 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6939 (struct _fpx_sw_bytes): New struct.
6940 (struct _xsave_hdr): Likewise.
6941 (struct _ymmh_state): Likewise.
6942 (struct _xstate): Likewise.
6943
68e408ab
L
6944 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6945 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6946 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6947 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6948 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6949 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6950
f3d1f93c
L
6951 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6952 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6953 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6954 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6955 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6956 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6957
d9dc34cd
TMQMF
69582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6959
6960 [BZ #13743]
6961 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6962 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6963 (sysdep_headers): Include sys/platform/ppc.h.
6964 * sysdeps/powerpc/test-gettimebase.c: Test for
6965 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6966 * manual/Makefile (appendices): Include platform.texi.
6967 * manual/contrib.texi (Contributors): Update @node pointers.
6968 * manual/maint.texi (Maintenance): Likewise.
6969 (Platform): New node.
6970 * manual/platform.texi: New file. Document the new features.
6971
4af3879c
SP
69722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6973 Jakub Jelinek <jakub@redhat.com>
6974
6975 [BZ #14188]
6976 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6977 where __builtin_expect is unavailable.
6978
2fd6ff13
DM
69792012-06-03 David S. Miller <davem@davemloft.net>
6980
6981 * stdlib/longlong.h: Updated from GCC.
6982
173f7220
AS
69832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6984
6985 [BZ #14042]
6986 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6987 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6988 __mcount_internal.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6990 (GLIBC_2.16): Likewise.
6991
f34a1c6f
L
69922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6993
6994 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6995
88a4576f
JM
69962012-06-01 Joseph Myers <joseph@codesourcery.com>
6997
ea32bcdd
JM
6998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6999 (default-abi): New variable.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7001 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7002 variable.
7003 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7004 Likewise.
7005 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7006 Likewise.
7007 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7008 Likewise.
7009
88a4576f
JM
7010 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7011 definition. Document in comment.
7012
402fe938
DM
70132012-06-01 David S. Miller <davem@davemloft.net>
7014
7015 * stdlib/longlong.h: Updated from GCC.
7016
3553723f
L
70172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7018
7019 [BZ #14117]
3bd872c4
L
7020 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7021 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7022 sys/debugreg.h sys/io.h here.
7023 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7024 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7025 sys/io.h.
7026 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7027 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7028 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7029 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7030 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7031 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7032
3553723f
L
7033 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7034 Define only if __x86_64__ is defined.
7035
4842e4fe
JM
70362012-06-01 Joseph Myers <joseph@codesourcery.com>
7037
c5bfe3d5
JM
7038 [BZ #14048]
7039 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7040 Use int64_t for variable i.
7041 * math/libm-test.inc (fmod_test): Add more tests.
7042
4842e4fe
JM
7043 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7044 z computation is not scheduled after fetestexcept.
7045 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7046 Use math_force_eval instead of asm to ensure calculation scheduled
7047 before exception test.
7048 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7049 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7050
efb73488
AJ
70512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7052
7053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7054 computation is not scheduled after fetestexcept.
7055
29bcce7c
L
70562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7057
7058 [BZ #14117]
7059 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7060 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7061
73a68f94
AZ
70622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7063
7064 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7065 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7066
67b6df78
L
70672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7068
edf2933a 7069 [BZ #14117]
ebc64a18
L
7070 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7071 <bits/wordsize.h>.
7072 (__WCHAR_MIN): Support __WORDSIZE == 64.
7073 (__WCHAR_MAX): Likewise.
7074
edf2933a
L
7075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7076 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7077
57c6cf40
L
7078 [BZ #14183]
7079 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7080 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7081
67b6df78 7082 [BZ #14117]
8eb6281e
L
7083 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7084 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7085
aac639f4
L
7086 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7087 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7088
67b6df78
L
7089 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7090 Defined to 1 if __x86_64__ isn't defined.
7091 (_STAT_VER_LINUX_OLD): New.
7092 (st_atime): Remove duplicate.
7093 (st_mtime): Likewise.
7094 (st_ctime): Likewise.
7095
1c2cfe81
DM
70962012-05-31 David S. Miller <davem@davemloft.net>
7097
7098 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7099 entries.
7100
5be8418c
AS
71012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7102
e7725326
AS
7103 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7104 gen-libm-test.pl.
7105
5be8418c
AS
7106 [BZ #14132]
7107 * elf/dl-reloc.c: Include <_itoa.h>.
7108 (_dl_reloc_bad_type): Remove use of INTUSE.
7109 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7110 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7111 * stdio-common/psiginfo.c (psiginfo): Likewise.
7112 * stdio-common/psignal.c (psignal): Likewise.
7113 * string/strsignal.c (strsignal): Likewise.
7114 * include/signal.h (_sys_siglist): Declare hidden proto.
7115 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7116 INTVARDEF with libc_hidden_data_def.
7117 * stdio-common/itoa-udigits.c: Likewise.
7118 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7119 (_itoa_lower_digits_internal): Remove declaration.
7120 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7121 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7122 (_sys_sigabbrev_internal): Remove aliases.
7123 (_sys_siglist): Define hidden alias.
7124
507352f1
MT
71252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7126
7127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7128 bits/sysctl.h.
7129
42bbb1c3
L
71302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7131
7132 [BZ #14117]
6bd784b6
L
7133 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7134 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7135
8bca20f0
L
7136 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7137 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7138 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7139 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7141 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7142
f9e890a9
L
7143 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7144 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7145 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7146
471101a1
L
7147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7148 with __addr.
7149 (insw): Likewise.
7150 (insl): Likewise.
7151 (outsb): Likewise.
7152 (outsw): Likewise.
7153 (outsl): Likewise.
7154
6451c862
L
7155 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7157 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7158
a254b8c9
L
7159 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7160 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7162 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7163 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7164 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7165
b8dfdd92
L
7166 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7167 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7168
578cd270
L
7169 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7170 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7171
de662f5f
L
7172 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7173 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7174 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7175
25653439
L
7176 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7177 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7178 to ...
7179 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7180
6bad24a0
L
7181 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7182 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7183 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7184
42bbb1c3
L
7185 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7186 for x86-64.
7187 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7188
2d10d547
JM
71892012-05-31 Joseph Myers <joseph@codesourcery.com>
7190
7191 * math/math.h (M_El): Use two more decimal places.
7192 (M_LOG2El): Likewise.
7193 (M_LOG10El): Likewise.
7194 (M_LN2l): Likewise.
7195 (M_LN10l): Likewise.
7196 (M_PIl): Likewise.
7197 (M_PI_2l): Likewise.
7198 (M_PI_4l): Likewise.
7199 (M_1_PIl): Likewise.
7200 (M_2_PIl): Likewise.
7201 (M_2_SQRTPIl): Likewise.
7202 (M_SQRT2l): Likewise.
7203 (M_SQRT1_2l): Likewise.
7204
f230c29b
DM
72052012-05-31 David S. Miller <davem@davemloft.net>
7206
7207 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7208 values between float registers.
7209 * sysdeps/sparc/sparc64/memset.S: Likewise.
7210 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7211
fed806c3
MF
72122012-05-31 Mike Frysinger <vapier@gentoo.org>
7213
7214 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7215 -D_FORTIFY_SOURCE=1.
7216 (CPPFLAGS-tst-longjmp_chk.c): Define.
7217 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7218 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7219 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7220 CFLAGS-tst-wchar-h.c.
7221
30917259
MP
72222012-05-31 Marek Polacek <polacek@redhat.com>
7223
7224 [BZ #14132]
7225 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7226 __endmntent_internal): Remove declaration.
7227 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7228 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7229 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7230
1c58d5dc
DM
72312012-05-30 David S. Miller <davem@davemloft.net>
7232
7233 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7234 (___Q_simulate_exceptions): Use real FP ops rather than writing
7235 into the %fsr.
7236 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7237 Likewise.
7238
7dc00e0d
L
72392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7240
7241 [BZ #14117]
0bd53985
L
7242 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7243 * sysdeps/x86/bits/xtitypes.h: This.
7244
3a257e66
L
7245 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7246 * sysdeps/x86/bits/wordsize.h: This.
7247
62f62904
L
7248 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7249 * sysdeps/x86/bits/huge_vall.h: This.
7250
404fe9d9
L
7251 * sysdeps/i386/bits/select.h: Removed.
7252 * sysdeps/x86_64/bits/select.h: Renamed to ...
7253 * sysdeps/x86/bits/select.h: This.
7254
d48d0446
L
7255 * sysdeps/i386/bits/setjmp.h: Removed.
7256 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7257 * sysdeps/x86/bits/setjmp.h: This.
7258
7dc00e0d
L
7259 * sysdeps/i386/bits/mathdef.h: Removed.
7260 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7261 * sysdeps/x86/bits/mathdef.h: This.
7262
03277f8f
AS
72632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7264
7265 [BZ #14132]
7266 * include/sys/socket.h (__connect_internal)
7267 (__libc_sa_len_internal): Remove declaration.
7268 (__connect, __libc_sa_len): Declare hidden_proto.
7269 (SA_LEN): Remove use of INTUSE.
7270 * socket/connect.c: Add libc_hidden_def.
7271 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7272 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7273 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7274 alias.
7275 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7276 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7277 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7278 of adding _internal alias.
7279
13764867
L
72802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7281
7282 [BZ #14117]
6bd97696
L
7283 * sysdeps/i386/bits/link.h: Removed.
7284 * sysdeps/i386/bits/linkmap.h: Likewise.
7285 * sysdeps/x86_64/bits/link.h: Renamed to ...
7286 * sysdeps/x86/bits/link.h: This.
7287 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7288 * sysdeps/x86/bits/linkmap.h: This.
7289
f726f0bb
L
7290 * sysdeps/i386/bits/endian.h: Removed.
7291 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7292 * sysdeps/x86/bits/endian.h: This.
7293
13764867
L
7294 * sysdeps/i386/bits/byteswap.h: Removed.
7295 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7296 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7297 * sysdeps/x86/bits/byteswap.h: This.
7298 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7299 * sysdeps/x86/bits/byteswap-16.h: This.
7300 * sysdeps/i386/Implies: Add x86.
7301 * sysdeps/x86_64/Implies: Likewise.
7302
ae251b0b
DM
73032012-05-30 David S. Miller <davem@davemloft.net>
7304
7305 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7306 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7307 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7308 (FP_TRAPPING_EXCEPTIONS): Define.
7309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7310 (FP_TRAPPING_EXCEPTIONS): Define.
7311 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7312 subnormals only when inexact has been signalled or underflow
7313 exceptions are enabled.
7314 (_FP_PACK_CANONICAL): Likewise.
7315
d5c90867
L
73162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7317
7318 [BZ #14183]
7319 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7320 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7321
63f1549e
RH
73222012-05-30 Richard Henderson <rth@twiddle.net>
7323
8d8f2279
RH
7324 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7325 with #ifndef NOT_IN_libc.
7326
63f1549e
RH
7327 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7328 marked to avoid plt entry.
7329
0ab0291b
L
73302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7331
7332 [BZ #14112]
7333 * Makeconfig (default-abi): New macro.
7334 (abi-includes): Likewise.
7335 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7336 $(abi-$(default-abi)-lib-soname) for soname if defined.
7337 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7338 abi-variants.
7339 * Makefile (installed-stubs): Likewise.
7340 * include/stubs-biarch.h: Removed.
7341 * scripts/lib-names.awk: Only handle one library at a time.
7342 * scripts/soversions.awk: Remove WORDSIZE support.
7343 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7344 entries.
7345 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7346 Removed.
7347 (syscall-list-default-condition): Likewise.
7348 (syscall-list-default-condition): Likewise.
7349 (syscall-list-includes): Likewise.
7350 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7351 syscall-list-* with abi-*. Handle undefined abi-variants.
7352 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7353 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7354 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7355 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7356 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7357 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7358 Removed.
7359 (syscall-list-32-options): Likewise.
7360 (syscall-list-32-condition): Likewise.
7361 (syscall-list-64-options): Likewise.
7362 (syscall-list-64-condition): Likewise.
7363 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7364 macro.
7365 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7366 Renamed to ...
7367 (abi-*): This.
7368 (abi-64-ld-soname): New macro.
7369 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7370 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7371 Renamed to ...
7372 (abi-*): This.
7373 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7374 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7375
4da0431d
JM
73762012-05-30 Joseph Myers <joseph@codesourcery.com>
7377
3a85279c
JM
7378 * sysdeps/unix/sysv/linux/kernel-features.h
7379 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7380 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7381 include <kernel-features.h>.
7382 [!__NR_ftruncate64]: Remove conditional code.
7383 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7384 [__NR_ftruncate64]: Make code unconditional.
7385 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7386 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7387 include <kernel-features.h>.
7388 [!__NR_ftruncate64]: Remove conditional code.
7389 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7390 [__NR_ftruncate64]: Make code unconditional.
7391 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7393 include <kernel-features.h>.
7394 [!__NR_ftruncate64]: Remove conditional code.
7395 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7396 [__NR_ftruncate64]: Make code unconditional.
7397 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7399 include <kernel-features.h>.
7400 [!__NR_ftruncate64]: Remove conditional code.
7401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7402 [__NR_ftruncate64]: Make code unconditional.
7403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7404
4da0431d
JM
7405 * configure.in (libc_cv_fpie): Weaken to a compile test using
7406 LIBC_TRY_CC_OPTION.
7407 * configure: Regenerated.
7408
11ef492c
AK
74092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7410
7411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7415 Refreshed.
7416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7422 Refreshed.
7423
d66ef399
DM
74242012-05-27 David S. Miller <davem@davemloft.net>
7425
7426 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7427 (___Q_zero): New.
7428 (__Q_simulate_exceptions): Return void. Change to simulate
7429 exceptions by writing into the %fsr.
7430 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7431 (__Qp_handle_exceptions): Likewise.
7432 (numbers): Delete.
7433 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7434 __Qp_handle_exceptions.
7435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7436 __Qp_handle_exceptions.
7437 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7438 as unused and give dummy FP_RND_NEAREST initializer.
7439 (FP_INHIBIT_RESULTS): Define.
7440 (___Q_simulate_exceptions): Update declaration.
7441 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7442 formatting.
7443 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7444 as unused and give dummy FP_RND_NEAREST initializer.
7445 (__Qp_handle_exceptions): Update declaration.
7446 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7447 formatting.
7448
04fb54b5
TS
74492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7450
7451 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7452 the temporary FPU control word.
7453 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7454 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7455 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7456 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7457 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7458 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7459 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7460 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7461 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7462 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7463 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7464
3f99608f
KK
74652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7466
7467 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7468 fields.
7469
65a4de4e
CLT
74702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7471
7472 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7473 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7474 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7475 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7476 Likewise.
7477 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7478 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7479 Likewise.
7480
15749d40
UD
74812012-05-27 Ulrich Drepper <drepper@gmail.com>
7482
7483 * po/h.po: Update from translation team.
7484
25dbcb27
AS
74852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7486
3d3f8e55
AS
7487 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7488
25dbcb27
AS
7489 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7490 handling of denormals.
7491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7492 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7493 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7494 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7498 Likewise.
7499
7ad47a80 75002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7501
7502 [BZ #14152]
7503 * math/libm-test.inc (fma_test): Don't always expect underflow
7504 exception.
7505
9c6ea9fa
SP
75062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7507
7508 [BZ #12416]
7509 * elf/tst-execstack.c: Include stackinfo.h.
7510 (do_test): Adjust test case to ensure that pthread_getattr_np
7511 behaviour remains the same after marking stack executable.
7512
a8239222
JM
75132012-05-25 Joseph Myers <joseph@codesourcery.com>
7514
7515 * sysdeps/unix/sysv/linux/kernel-features.h
7516 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7517 * sysdeps/unix/sysv/linux/i386/getrlimit.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 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7522 kernel-features.h.
7523 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7524 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7525
918b5606
L
75262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7527
7528 * configure.in: Define the default includes to being none.
7529 * configure: Regenerated.
7530
3a097cc7
RM
75312012-05-25 Roland McGrath <roland@hack.frob.com>
7532
8422c9a5
RM
7533 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7534 * sysdeps/x86_64/setjmp.S: Likewise.
7535 * sysdeps/i386/bsd-setjmp.S: Likewise.
7536 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7537 * sysdeps/i386/setjmp.S: Likewise.
7538 * sysdeps/i386/__longjmp.S: Likewise.
7539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7540 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7541
3a097cc7
RM
7542 * include/stap-probe.h: New file.
7543 * configure.in: Handle --enable-systemtap.
7544 * configure: Regenerated.
7545 * config.h.in (USE_STAP_PROBE): New #undef.
7546 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7547 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7548 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7549
21708942
JM
75502012-05-25 Joseph Myers <joseph@codesourcery.com>
7551
7552 [BZ #13717]
7553 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7554 to 2.4.0 where earlier.
7555 * sysdeps/unix/sysv/linux/configure: Regenerated.
7556 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7557 <kernel-features.h>.
7558 [__ASSUME_32BITUIDS]: Make code unconditional.
7559 [!__ASSUME_32BITUIDS]: Remove conditional code.
7560 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7561 <kernel-features.h>.
7562 [__ASSUME_32BITUIDS]: Make code unconditional.
7563 [!__ASSUME_32BITUIDS]: Remove conditional code.
7564 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7565 [__ASSUME_32BITUIDS]: Make code unconditional.
7566 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7567 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
7604 <kernel-features.h>.
7605 [__ASSUME_32BITUIDS]: Make code unconditional.
7606 [!__ASSUME_32BITUIDS]: Remove conditional code.
7607 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7608 <kernel-features.h>.
7609 [__NR_setresgid] (__setresgid): Do not declare.
7610 [__ASSUME_32BITUIDS]: Make code unconditional.
7611 [!__ASSUME_32BITUIDS]: Remove conditional code.
7612 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7613 <kernel-features.h>.
7614 [__NR_setresuid] (__setresuid): Do not declare.
7615 [__ASSUME_32BITUIDS]: Make code unconditional.
7616 [!__ASSUME_32BITUIDS]: Remove conditional code.
7617 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/i386/shmctl.c: Do not include
7654 <kernel-features.h>.
7655 [__ASSUME_32BITUIDS]: Make code unconditional.
7656 [!__ASSUME_32BITUIDS]: Remove conditional code.
7657 * sysdeps/unix/sysv/linux/kernel-features.h
7658 (__ASSUME_SETRESUID_SYSCALL): Remove.
7659 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7660 (__ASSUME_32BITUIDS): Likewise.
7661 (__ASSUME_LDT_WORKS): Likewise.
7662 (__ASSUME_O_DIRECTORY): Likewise.
7663 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7664 architecture but not kernel version.
7665 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7666 (__ASSUME_MMAP2_SYSCALL): Likewise.
7667 (__ASSUME_STAT64_SYSCALL): Likewise.
7668 (__ASSUME_IPC64): Likewise.
7669 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7670 <kernel-features.h>.
7671 [__ASSUME_32BITUIDS]: Make code unconditional.
7672 [!__ASSUME_32BITUIDS]: Remove conditional code.
7673 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7674 <kernel-features.h>.
7675 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7676 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7677 132096]: Remove conditional code.
7678 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7679 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
7684 <kernel-features.h>.
7685 [__ASSUME_32BITUIDS]: Make code unconditional.
7686 [!__ASSUME_32BITUIDS]: Remove conditional code.
7687 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7688 <kernel-features.h>.
7689 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7690 unconditional.
7691 (__setresgid): Do not declare.
7692 [__ASSUME_32BITUIDS]: Make code unconditional.
7693 [!__ASSUME_32BITUIDS]: Remove conditional code.
7694 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7695 <kernel-features.h>.
7696 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7697 unconditional.
7698 (__setresuid): Do not declare.
7699 [__ASSUME_32BITUIDS]: Make code unconditional.
7700 [!__ASSUME_32BITUIDS]: Remove conditional code.
7701 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7702 <kernel-features.h>.
7703 [__ASSUME_32BITUIDS]: Make code unconditional.
7704 [!__ASSUME_32BITUIDS]: Remove conditional code.
7705 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7706 <kernel-features.h>.
7707 [__ASSUME_32BITUIDS]: Make code unconditional.
7708 [!__ASSUME_32BITUIDS]: Remove conditional code.
7709
a386f1cc
RH
77102012-05-25 Richard Henderson <rth@twiddle.net>
7711
7712 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7713 dl_hwcap to ifunc resolver.
7714 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7715 elf_ifunc_invoke.
7716 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7717 dl_hwcap to ifunc resolver.
7718 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7719
b6550497
JM
77202012-05-24 Joseph Myers <joseph@codesourcery.com>
7721
7722 [BZ #14153]
7723 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7724 for |x| <= 2**-26, not 2**-57.
7725 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7726 exception.
7727
b0bc23a1
JL
77282012-05-24 Jeff Law <law@redhat.com>
7729
7730 * stdio-common/Makefile (tests): Add bug25.
7731 * stdio-common/bug25.c: New test.
7732
347c92e9
L
77332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7734
7735 [BZ #13576]
7736 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7737 multiple of MALLOC_ALIGNMENT in size.
7738 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7739
6bcc8b3f
JM
77402012-05-24 Joseph Myers <joseph@codesourcery.com>
7741
7742 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7743 Require >= 256.
7744 (FILENAME_MAX): Use macro-int-constant.
7745 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7746 (_IOFBF): Use macro-int-constant.
7747 (_IOLBF): Likewise.
7748 (_IONBF): Likewise.
7749 (SEEK_CUR): Likewise.
7750 (SEEK_END): Likewise.
7751 (SEEK_SET): Likewise.
7752 (TMP_MAX): Likewise.
7753 (EOF): Use macro-int-constant. Require < 0.
7754 (NULL): Use macro-constant. Require == 0.
7755 (stdin): Require type to be FILE *.
7756 (stdout): Likewise.
7757 (stderr): Likewise.
7758 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7759 macro-int-constant.
7760 (EXIT_SUCCESS): Likewise.
7761 (NULL): Use macro-constant. Require == 0.
7762 (RAND_MAX): Use macro-int-constant.
7763 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7764 [C99-based standards] (strtof): Require function.
7765 [C99-based standards] (strtold): Likewise.
7766 [C99-based standards] (strtoll): Likewise.
7767 [C99-based standards] (strtoull): Likewise.
7768 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7769 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7770 [ISO || ISO99 || ISO11] (math.h): Likewise.
7771 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7772 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7773 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7774
d18ea0c5
AS
77752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7776
7777 [BZ #14132]
56d25bb8
AS
7778 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7779 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7780 * intl/dgettext.c (DCGETTEXT): Likewise.
7781 * intl/gettext.c (DCGETTEXT): Likewise.
7782 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7783 * posix/regex_internal.h (gettext): Likewise.
7784 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7785 Remove declaration.
7786 * include/argz.h (__argz_count_internal)
7787 (__argz_stringify_internal): Remove declaration.
7788 (__argz_count, __argz_stringify): Declare hidden proto.
7789 * intl/dcgettext.c: Remove use of INTDEF.
7790 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7791 * string/argz-stringify.c: Likewise.
7792 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7793 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7794 Declare hidden proto.
d18ea0c5
AS
7795 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7796 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7797 Declare hidden proto.
7798 * include/stdio.h (__asprintf_internal): Don't declare.
7799 (__asprintf): Don't define as macro. Declare hidden proto.
7800 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7801 (__fsetlocking): Declare hidden proto.
7802 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7803 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7804 hidden proto.
7805 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7806 (_IO_setlinebuf): Remove use of INTUSE.
7807 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7808 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7809 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7810 Remove declaration.
7811 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7812 (_IO_do_flush): Remove use of INTUSE.
7813 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7814 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7815 (_IO_adjust_column, _IO_least_wmarker)
7816 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7817 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7818 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7819 (_IO_default_doallocate, _IO_wdefault_doallocate)
7820 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7821 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7822 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7823 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7824 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7825 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7826 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7827 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7828 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7829 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7830 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7831 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7832 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7833 proto.
7834 (_IO_flush_all_internal, _IO_adjust_column_internal)
7835 (_IO_default_uflow_internal, _IO_default_finish_internal)
7836 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7837 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7838 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7839 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7840 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7841 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7842 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7843 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7844 (_IO_file_close_internal, _IO_file_close_it_internal)
7845 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7846 (_IO_file_init_internal, _IO_file_attach_internal)
7847 (_IO_file_fopen_internal, _IO_file_read_internal)
7848 (_IO_file_sync_internal, _IO_file_seek_internal)
7849 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7850 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7851 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7852 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7853 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7854 (_IO_list_all_internal, _IO_link_in_internal)
7855 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7856 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7857 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7858 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7859 (_IO_do_write_internal, _IO_padn_internal)
7860 (_IO_getline_info_internal, _IO_getline_internal)
7861 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7862 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7863 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7864 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7865 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7866 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7867 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7868 with libc_hidden_ver, remove use of INTUSE.
7869 * libio/genops.c: Likewise.
7870 * libio/freopen.c: Likewise.
7871 * libio/freopen64.c: Likewise.
7872 * libio/iofclose.c: Likewise.
7873 * libio/iofdopen.c: Likewise.
7874 * libio/iofflush.c: Likewise.
7875 * libio/iofflush_u.c: Likewise.
7876 * libio/iofgets.c: Likewise.
7877 * libio/iofgets_u.c: Likewise.
7878 * libio/iofopen.c: Likewise.
7879 * libio/iofopncook.c: Likewise.
7880 * libio/iofread.c: Likewise.
7881 * libio/iofread_u.c: Likewise.
7882 * libio/ioftell.c: Likewise.
7883 * libio/iofwrite.c: Likewise.
7884 * libio/iogetline.c: Likewise.
7885 * libio/iogets.c: Likewise.
7886 * libio/iogetwline.c: Likewise.
7887 * libio/iopadn.c: Likewise.
7888 * libio/iopopen.c: Likewise.
7889 * libio/ioseekoff.c: Likewise.
7890 * libio/ioseekpos.c: Likewise.
7891 * libio/iosetbuffer.c: Likewise.
7892 * libio/iosetvbuf.c: Likewise.
7893 * libio/ioungetc.c: Likewise.
7894 * libio/ioungetwc.c: Likewise.
7895 * libio/iovdprintf.c: Likewise.
7896 * libio/iovsprintf.c: Likewise.
7897 * libio/iovsscanf.c: Likewise.
7898 * libio/memstream.c: Likewise.
7899 * libio/obprintf.c: Likewise.
7900 * libio/oldfileops.c: Likewise.
7901 * libio/oldiofclose.c: Likewise.
7902 * libio/oldiofdopen.c: Likewise.
7903 * libio/oldiofopen.c: Likewise.
7904 * libio/oldiopopen.c: Likewise.
7905 * libio/oldstdfiles.c: Likewise.
7906 * libio/putc.c: Likewise.
7907 * libio/setbuf.c: Likewise.
7908 * libio/setlinebuf.c: Likewise.
7909 * libio/stdfiles.c: Likewise.
7910 * libio/strops.c: Likewise.
7911 * libio/vasprintf.c: Likewise.
7912 * libio/vscanf.c: Likewise.
7913 * libio/vsnprintf.c: Likewise.
7914 * libio/vswprintf.c: Likewise.
7915 * libio/wfiledoalloc.c: Likewise.
7916 * libio/wfileops.c: Likewise.
7917 * libio/wgenops.c: Likewise.
7918 * libio/wmemstream.c: Likewise.
7919 * libio/wstrops.c: Likewise.
7920 * libio/__fpurge.c: Likewise.
7921 * libio/__fsetlocking.c: Likewise.
7922 * assert/assert.c: Likewise.
7923 * debug/fgets_chk.c: Likewise.
7924 * debug/fgets_u_chk.c: Likewise.
7925 * debug/fread_chk.c: Likewise.
7926 * debug/fread_u_chk.c: Likewise.
7927 * debug/gets_chk.c: Likewise.
7928 * debug/obprintf_chk.c: Likewise.
7929 * debug/vasprintf_chk.c: Likewise.
7930 * debug/vdprintf_chk.c: Likewise.
7931 * debug/vsnprintf_chk.c: Likewise.
7932 * debug/vsprintf_chk.c: Likewise.
7933 * malloc/mtrace.c: Likewise.
7934 * misc/error.c: Likewise.
7935 * misc/syslog.c: Likewise.
7936 * stdio-common/asprintf.c: Likewise.
7937 * stdio-common/fxprintf.c: Likewise.
7938 * stdio-common/getw.c: Likewise.
7939 * stdio-common/isoc99_fscanf.c: Likewise.
7940 * stdio-common/isoc99_scanf.c: Likewise.
7941 * stdio-common/isoc99_vfscanf.c: Likewise.
7942 * stdio-common/isoc99_vscanf.c: Likewise.
7943 * stdio-common/isoc99_vsscanf.c: Likewise.
7944 * stdio-common/printf-prs.c: Likewise.
7945 * stdio-common/printf_fp.c: Likewise.
7946 * stdio-common/printf_fphex.c: Likewise.
7947 * stdio-common/printf_size.c: Likewise.
7948 * stdio-common/putw.c: Likewise.
7949 * stdio-common/scanf.c: Likewise.
7950 * stdio-common/sprintf.c: Likewise.
7951 * stdio-common/tmpfile.c: Likewise.
7952 * stdio-common/vfprintf.c: Likewise.
7953 * stdio-common/vfscanf.c: Likewise.
7954 * stdlib/strfmon_l.c: Likewise.
7955 * sunrpc/openchild.c: Likewise.
7956 * sunrpc/xdr_stdio.c: Likewise.
7957 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7958 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7959
d6c33fda
RM
79602012-05-24 Roland McGrath <roland@hack.frob.com>
7961
c1487492
RM
7962 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7963
7964 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7965 in the third column, to generate for the shared library an IFUNC
7966 that uses _dl_vdso_vsym.
7967 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7968 * Makeconfig (object-suffixes-noshared): New variable.
7969
7970 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7971 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7972 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7973 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7974
d6c33fda
RM
7975 [BZ #14132]
7976 * include/sys/time.h (__gettimeofday): Remove macro.
7977 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7978 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7979 Remove INTDEF.
7980 (__gettimeofday): Add libc_hidden_def.
7981 (gettimeofday): Add libc_hidden_weak.
7982 * sysdeps/mach/gettimeofday.c: Likewise.
7983 * sysdeps/posix/gettimeofday.c: Likewise.
7984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7985 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7987 (__gettimeofday_internal): Remove strong_alias.
7988 (__gettimeofday): Add libc_hidden_def.
7989 (gettimeofday): Add libc_hidden_weak.
7990 * sysdeps/unix/syscalls.list (gettimeofday):
7991 Remove __gettimeofday_internal alias.
7992
b5a2bbe6
L
79932012-05-24 Daniel Jacobowitz <drow@false.org>
7994 H.J. Lu <hongjiu.lu@intel.com>
7995
7996 [BZ #12495]
7997 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7998 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7999 (largebin_index_32_big): New.
8000 (largebin_index): Use it for 16-byte alignment.
8001 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8002 correction with front_misalign.
8003
cfba4fda
L
80042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8005
7f907421
L
8006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8008 Likewise.
8009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8010 Likewise.
8011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8012 Likewise.
8013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8014 Likewise.
8015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8016 Likewise.
8017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8018 Likewise.
8019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8020 Likewise.
8021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8022 Likewise.
8023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8024 Likewise.
8025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8026 Likewise.
8027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8028 Likewise.
8029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8030 Likewise.
8031
cfba4fda
L
8032 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8033 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8034
80bad0cc
JM
80352012-05-24 Joseph Myers <joseph@codesourcery.com>
8036
7a25eb06
JM
8037 [BZ #10846]
8038 [BZ #14036]
8039 * math/libm-test.inc (exp_test): Add test from bug 14036.
8040 (pow_test): Add test from bug 10846.
8041
795405f9
JM
8042 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8043 and other flags.
8044 (special_function): Do not include flags in test name.
8045 (parse_args): Likewise.
8046 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8048 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8049 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8051
80bad0cc
JM
8052 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8053 exceptions.
8054 * math/libm-test.inc ("Philosophy"): Update comment about
8055 exception testing.
8056 (UNDERFLOW_EXCEPTION): New macro.
8057 (UNDERFLOW_EXCEPTION_OK): Likewise.
8058 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8059 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8060 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8061 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8062 (INVALID_EXCEPTION_OK): Update value.
8063 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8064 (OVERFLOW_EXCEPTION_OK): Likewise.
8065 (IGNORE_ZERO_INF_SIGN): Likewise.
8066 (test_exceptions): Handle underflow exceptions.
8067 (acos_test): Update for underflow exception expectations.
8068 (cexp_test): Likewise.
8069 (clog_test): Likewise.
8070 (clog10_test): Likewise.
8071 (csqrt_test): Likewise.
8072 (ctan_test): Likewise.
8073 (ctanh_test): Likewise.
8074 (exp_test): Likewise.
8075 (exp10_test): Likewise.
8076 (exp2_test): Likewise.
8077 (expm1_test): Likewise.
8078 (fma_test): Likewise.
8079 (j0_test): Likewise.
8080 (jn_test): Likewise.
8081 (nexttoward_test): Likewise.
8082 (pow_test): Likewise.
8083 (scalbn_test): Likewise.
8084 (scalbln_test): Likewise.
8085 (tan_test): Likewise.
8086 (y1_test): Likewise.
8087 * sysdeps/i386/fpu/libm-test-ulps: Update.
8088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8089
9e0e3d0b
DM
80902012-05-23 David S. Miller <davem@davemloft.net>
8091
8092 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8093 (__libc_sigaction): Remove unused local variables.
8094
ccd0a08f
L
80952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8096
8097 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8098
62bdf9a6
PE
80992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8100
f8591f80
PE
8101 mktime: avoid signed integer overflow
8102 * time/mktime.c (__mktime_internal): Do not mishandle the case
8103 where diff == INT_MIN.
8104
94c7d826
PE
8105 mktime: simplify computation of average
8106 * time/mktime.c (ranged_convert): Use new time_t_avg function
8107 instead of rolling our own (probably-slower) code.
8108
ce73d683
PE
8109 mktime: do not assume signed right shift propagates sign bit
8110 * time/mktime.c (isdst_differ): New static function.
8111 (__mktime_internal): No need to normalize tm_isdst now.
8112 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8113 tm_isdst values.
8114
72a22e59
PE
8115 mktime: merge another wrapv change from gnulib
8116 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8117 from some compilers.
8118
68605433
PE
8119 mktime: remove incorrect attempt at unusual arithmetics
8120 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8121 The code didn't really work on such machines anyway.
8122 (TYPE_MINIMUM): Assume two's complement.
8123 (twos_complement_arithmetic): Verify that long_int and time_t
8124 are two's complement (or unsigned, in the latter case).
8125
03cf7fe3
PE
8126 mktime: check signed shifts on long_int and time_t, too
8127 * time/mktime.c (SHR): Check that shifts work as desired
8128 on the types long_int and time_t too, as SHR is used on
8129 such types.
8130
f04dfbc2
PE
8131 mktime: do not assume 'long' is wide enough
8132 * time/mktime.c (verify): Move decl up.
8133 (long_int): New type.
8134 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8135 to remove assumption in the code that 'long' is wide enough to
8136 store year values. This assumption is not true on x32 and on
8137 some non-glibc platforms.
8138
62bdf9a6
PE
8139 mktime: merge wrapv change from gnulib
8140 * time/mktime.c (WRAPV): New macro.
8141 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8142 (guess_time_tm, __mktime_internal): Do not assume that signed
8143 integer overflow wraps around; modern compilers generate code
8144 where this assumption is no longer valid.
8145
5e292e4f
L
81462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8147
8148 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8149 Replace "jmp L(pseudo_end)" with "ret".
8150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8151 Likewise.
8152
8caf8c87
AJ
81532012-05-23 Andreas Jaeger <aj@suse.de>
8154
8155 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8156 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8157
1a09dc56
AJ
81582012-05-23 Andreas Jaeger <aj@suse.de>
8159 Maximilian Attems <max@stro.at>
8160
8161 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8162 New macros.
8163
1c87aba0
L
81642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8165
8166 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8167 code so that pseudo_end is just ret and the stack pointer is
8168 correct also for static library in error case.
8169
40e45bd5
JM
81702012-05-23 Joseph Myers <joseph@codesourcery.com>
8171
c2670533
JM
8172 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8173 move to syscalls.list.
8174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8178
40e45bd5
JM
8179 * manual/install.texi (Running make install): Do not mention Linux
8180 kernel version for which pt_chown is not needed.
8181 (Linux): Do not mention problems with nscd with 2.0 kernels.
8182 * INSTALL: Regenerated.
8183
be08eda5
AJ
81842012-05-23 Andreas Jaeger <aj@suse.de>
8185
8186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8187 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8188 macro.
8189 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8191 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8192 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8193 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8194 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8195 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8196 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8197 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8198 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8199 * sysdeps/unix/sysv/linux/bits/in.h
8200 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8201
a6a056bb
RM
82022012-05-22 Roland McGrath <roland@hack.frob.com>
8203
8204 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8205 (PREPARE_VERSION): Just use assert instead, it will be elided
8206 under [NDEBUG] anyway.
8207
c9009328
L
82082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8209
8210 * sysdeps/unix/sysv/linux/Makefile: Include
8211 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8212 (sysdep_routines): Remove sysctl.
c9009328
L
8213 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8214 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8215 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8216 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8217 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8218
73338355
AJ
82192012-05-22 Andreas Jaeger <aj@suse.de>
8220
8221 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8222 that pseudo_end is just ret and the stack pointer is correct also
8223 for static library in error case.
8224
d44638b0
PP
82252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8226
8227 [BZ #14122]
8228 * nss/nsswitch.c (defconfig_entries): New variable.
8229 (__nss_database_lookup): Don't leak defconfig entries.
8230 (nss_parse_service_list): Don't leak on error paths.
8231 (free_database_entries): New function.
8232 (free_defconfig): New function.
8233 (free_mem): Move common code to free_database_entries.
8234
31a39bd8
L
82352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8236
da0331a8
L
8237 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8238 Add arch_prctl.
8239 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8240
31a39bd8
L
8241 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8242 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8244 New macro.
8245 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8246 (INTERNAL_SYSCALL_TYPES): Likewise.
8247 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8248 (LOAD_REGS_TYPES_[1-6]): Likewise.
8249 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8250 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8251
45470df3
AZ
82522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8253
8254 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8255 copysignl for GLIBC_2_0.
8256 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8257 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8259 logbl for GLIBC_2_0.
8260 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8261 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8262
98a61bcb
L
82632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8264
a4f6e481
L
8265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8266 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8267
f63d5db6
L
8268 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8269 Use "neg %eax".
8270
98a61bcb
L
8271 * time/mktime.c: Update copyright years.
8272
95770f14
PE
82732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8274
6226efbd
PE
8275 mktime: merge comment-quoting-style change from gnulib
8276 * time/mktime.c: Quote 'like this' in comments.
8277 The GNU coding standards suggest that we no longer quote `like this',
8278 as "`" and "'" are typically rendered asymmetrically nowadays.
8279 The typical gnulib style is to quote 'like this' when quoting
8280 code, and "like this" when quoting English.
8281
b99e4f78
PE
8282 * time/mktime.c (compile-command): Add "-I.".
8283
643e01e6
PE
8284 mktime: merge mktime-internal.h change from gnulib
8285 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8286
2554247d
PE
8287 mktime: merge time_r change from gnulib
8288 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8289
826dd0ab
PE
8290 mktime: merge DEBUG change from gnulib
8291 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8292 case system <time.h> has a #define.
8293
bd83aabe
PE
8294 mktime: merge <sys/types.h> change from gnulib
8295 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8296 since <time.t> is now guaranteed to define time_t.
8297
95770f14
PE
8298 mktime: merge HAVE_CONFIG_H change from gnulib
8299 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8300
5e1a27a9
L
83012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8302
0e44a77e
L
8303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8304 Use "neg %eax".
8305
5e1a27a9
L
8306 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8307 __rlim_t cast.
8308 (struct rusage): Use anonymous union to pad each field to
8309 __syscall_slong_t.
8310
46259bec
DM
83112012-05-21 David S. Miller <davem@davemloft.net>
8312
8313 * Makefules (o-iterator): Remove .s cases.
8314 (compile-command.s): Delete.
8315 (COMPILE.s): Delete.
8316 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8317
59f0c22e
JM
83182012-05-21 Joseph Myers <joseph@codesourcery.com>
8319
8320 * configure.in (libc_cv_predef_stack_protector): Only consider
8321 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8322 * configure: Regenerated.
8323
20c07380
L
83242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8325
bbb3154b
L
8326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8327 New macro. Use R*LP on int and pointer.
8328 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8329 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8330 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8331 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8332
20c07380
L
8333 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8334 [__WORDSIZE_TIME64_COMPAT32] instead of
8335 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8336 (struct utmp): Likewise.
8337 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8338 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8339 Renamed to ...
8340 (__WORDSIZE_TIME64_COMPAT32): This.
8341 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8342 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8343 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8344 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8345 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8346 (__WORDSIZE_TIME64_COMPAT32): New macro.
8347
d8d1017e
AJ
83482012-05-21 Andreas Jaeger <aj@suse.de>
8349
8350 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8351 only if [SHARED]. Add prototype for __wcschr_ia32.
8352
6c7fb145
RM
83532012-05-21 Roland McGrath <roland@hack.frob.com>
8354
8355 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8356 of %rbp unmolested in the jmp_buf while mangling the low bits.
8357 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8358 unmolested high bits of %rbp while demangling the low bits.
8359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8360
66274218
AJ
83612012-05-21 Andreas Jaeger <aj@suse.de>
8362
07c58f8f
AJ
8363 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8364 * sunrpc/svc_simple.c: Use it for registerrpc.
8365 * sunrpc/xcrypt.c: Use it for passwd2des.
8366
66274218
AJ
8367 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8368
61f65140
L
83692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8370
8371 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8372 Don't define if [__SYSCALL_WORDSIZE != 32].
8373 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8374 New macro.
8375
5fefb436
AJ
83762012-05-21 Bruno Haible <bruno@clisp.org>
8377 Andreas Jaeger <aj@suse.de>
8378
8379 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8380 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8381 inptr and inend for must_buffer_ch.
8382 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8383 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8384 * stdio-common/Makefile (tests): Remove bug15.
8385 (bug15-ENV): Remove macro.
8386 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8387 anymore.
8388
d8e272ab
AJ
83892012-05-19 Andreas Jaeger <aj@suse.de>
8390 Roland McGrath <roland@hack.frob.com>
8391
8392 * manual/contrib.texi: Completely rewritten. It contains now an
8393 alphabetical list of contributors and their contributions.
8394
4a56a162
RH
83952012-05-21 Richard Henderson <rth@twiddle.net>
8396
8397 * misc/getauxval.c (__getauxval): Use unsigned long int.
8398 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8399 (getauxval): Use unsigned long int.
8400
d024d23c
L
84012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8404
cbc00a03
RM
84052012-05-21 Roland McGrath <roland@hack.frob.com>
8406
8407 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8408 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8409 __alignof__ (long double).
8410
478143fa
AZ
84112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8412
8413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8414
c7683a6d
RH
84152012-05-20 Richard Henderson <rth@twiddle.net>
8416
8417 * misc/getauxval.c: New file.
8418 * misc/sys/auxv.h: New file.
8419 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8420 (routines): Add getauxval.
8421 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8422 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8423 * elf/dl-sysdep.c (_dl_auxv): Remove.
8424 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8425 * elf/dl-support.c (_dl_auxv): New variable.
8426 (_dl_aux_init): Initialize it.
8427 * manual/startup.texi (Auxiliary Vector): New node.
8428 * sysdeps/generic/bits/hwcap.h: New file.
8429 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8430 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8431 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8432 * sysdeps/sparc/sysdep.h: ... here. Include it.
8433 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8436 Update.
c7683a6d
RH
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8445
a6f1845d
AZ
84462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8447
8448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8449
cbcbe830
DM
84502012-05-19 David S. Miller <davem@davemloft.net>
8451
8452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8453
e0b16cc2
JM
84542012-05-19 Joseph Myers <joseph@codesourcery.com>
8455
8456 [BZ #14123]
8457 * math/s_ccosh.c: Include <float.h>
8458 (__ccosh): Avoid internal overflow calculating sinh and cosh
8459 values before multiplying by sin and cos values.
8460 * math/s_ccoshf.c: Likewise.
8461 * math/s_ccoshl.c: Likewise.
8462 * math/s_csin.c: Likewise.
8463 * math/s_csinf.c: Likewise.
8464 * math/s_csinl.c: Likewise.
8465 * math/s_csinh.c: Likewise.
8466 * math/s_csinhf.c: Likewise.
8467 * math/s_csinhl.c: Likewise.
8468 * math/libm-test.inc (ccos_test): Add more tests.
8469 (ccosh_test): Likewise.
8470 (csin_test): Likewise.
8471 (csinh_test): Likewise.
8472 * sysdeps/i386/fpu/libm-test-ulps: Update.
8473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8474
6ad13e08
L
84752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8476
f66f0ce8
L
8477 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8478 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8479
6ad13e08
L
8480 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8481
b1d072a7
JM
84822012-05-19 Joseph Myers <joseph@codesourcery.com>
8483
8484 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8485 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8486 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8487 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8488 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8489 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8490 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8491 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8492 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8493 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8494 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8495 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8496 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8497 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8498 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8499 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8500 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8501 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8502 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8503 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8504 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8505 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8506 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8507 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8508 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8509 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8510 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8511 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8512 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8513 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8514 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8515
9eae47cb
AJ
85162012-05-18 Andreas Jaeger <aj@suse.de>
8517
8518 * csu/.gitignore: Delete.
8519
bb07f69f
L
85202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8521
8522 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8523 (timex): Use __syscall_slong_t.
8524
e6bdb741
AJ
85252012-05-18 Andreas Jaeger <aj@suse.de>
8526 Carlos O'Donell <carlos_odonell@mentor.com>
8527
8528 * manual/install.texi (Configuring and compiling): Update
8529 description about files modified in the source directory.
d6c33fda 8530 * INSTALL: Regenerated.
e6bdb741 8531
1b74487e
L
85322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8533
8534 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8535 value. Use "or" to set return value to -1.
8536 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8537 negate return value.
8538
a88b64b9
TMQMF
85392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8540
8541 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8542 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8543 failure if the compiler has Graphite support disabled.
8544 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8545 Likewise.
8546 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8547 CFLAGS-memmove.c): Likewise.
8548 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8549 Likewise.
8550
3707636e
L
85512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8552
610b8622
L
8553 * sysdeps/x86_64/x32/_itoa.h: New file.
8554
7cd195df
L
8555 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8556 getdents system call only if kernel and user dirents have the
8557 same d_ino and d_off.
8558
94b07d20
L
8559 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8560 LLONG_MAX != LONG_MAX.
8561 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8562 (_fitoa_word): Likewise.
8563
18298070
L
8564 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8565 years.
8566 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8567 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8568 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8569
553c7ea4
L
8570 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8571 include <bits/wordsize.h>. Check __x86_64__ instead of
8572 __WORDSIZE.
8573 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8574 if __x86_64__ is defined. Use anonymous union on fpstate.
8575
3707636e
L
8576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8577 anonymous union.
8578
b53ef01a
AS
85792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8580
37fb1dc0
AS
8581 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8582 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8583 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8584 Refer to _rtld_local_ro instead of _rtld_global_ro.
8585 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8586 Likewise.
8587 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8588 Likewise.
8589 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8590 Likewise.
8591 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8592 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8593 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8594
b53ef01a
AS
8595 * sysdeps/powerpc/powerpc32/dl-machine.c
8596 (__elf_machine_runtime_setup) [PROF]: Don't reference
8597 _dl_prof_resolve.
8598
7a185db2
AJ
85992012-05-18 Andreas Jaeger <aj@suse.de>
8600
8601 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8602 function only available for GCCs before 3.4 since GCC 3.4
8603 introduced a builtin.
8604 (lrint): Likewise.
8605 (llrintf): Likewise.
8606 (llrint): Likewise.
8607 (fmaxf): Likewise.
8608 (fmax): Likewise.
8609 (fminf): Likewise.
8610 (fmin): Likewise.
8611 (rint): Likewise.
8612 (rintf): Likewise.
8613 (nearbyint): Likewise.
8614 (nearbyintf): Likewise.
8615 (ceil): Likewise.
8616 (ceilf): Likewise.
8617 (floor): Likewise.
8618 (floorf): Likewise.
8619
3e5aef87
L
86202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8621
428bd707
L
8622 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8623 on both fields and cast pointer to __syscall_ulong_t.
8624
3e5aef87
L
8625 * bits/types.h (__fsword_t): New type.
8626 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8627 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8629 (__FSWORD_T_TYPE): Likewise.
8630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8631 (__FSWORD_T_TYPE): Likewise.
8632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8633 (__FSWORD_T_TYPE): Likewise.
8634 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8635 (__FSWORD_T_TYPE): Likewise.
8636 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8637 __SWORD_TYPE with __fsword_t.
8638 (statfs64): Likewise.
8639
1ba7c3dc
DM
86402012-05-17 David S. Miller <davem@davemloft.net>
8641
8642 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8643
59910343
AJ
86442012-05-17 Andreas Jaeger <aj@suse.de>
8645
8646 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8647 warning.
8648
2e4c1e9e
L
86492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8650
8651 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8652
de7f5ce7
AJ
86532012-05-17 Andreas Jaeger <aj@suse.de>
8654
8655 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8656 when it is used.
8657
286abc3d
CM
86582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8659
8660 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8661
477cc68e
L
86622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8665 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8666
1a0994f5
CD
86672012-05-17 Andreas Jaeger <aj@suse.de>
8668 Carlos O'Donell <carlos_odonell@mentor.com>
8669
8670 [BZ #14059]
8671 * sysdeps/x86_64/multiarch/init-arch.h
8672 (bit_YMM_Usable): Rename to...
8673 (bit_AVX_Usable): ... this.
8674 (bit_FMA4_Usable): New macro.
8675 (bit_XMM_state): New macro.
8676 (bit_YMM_state): New macro.
8677 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8678 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8679 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8680 (CPUID_OSXSAVE): New macro.
8681 (CPUID_AVX): New macro.
8682 (CPUID_FMA4): New macro.
8683 (index_YMM_Usable): Rename to...
8684 (index_AVX_Usable): ... this.
8685 (HAS_AVX): Use HAS_ARCH_FEATURE.
8686 (HAS_FMA4): Likewise.
8687 (HAS_YMM_USABLE): Remove.
8688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8689 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8690 are present.
8691 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8692 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8693 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8694 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8695 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8696
0af797de
CM
86972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8698
8699 * math/libm-test.c: Support platforms without multiple rounding modes.
8700 * math/bug-nextafter.c: Support platforms without FP exceptions.
8701 * math/bug-nexttoward.c: Likewise.
8702 * math/test-fenv.c: Likewise.
8703 * math/test-misc.c: Likewise.
8704 * stdlib/bug-getcontext.c: Likewise.
8705
e39745ff
AJ
87062012-05-17 Andreas Jaeger <aj@suse.de>
8707
8708 * manual/examples/search.c (critter_cmp): Change signature to
8709 avoid warnings.
8710 * manual/string.texi (Collation Functions): Likewise.
8711
48970aba
L
87122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8713
8714 * bits/types.h: Fold copyright years.
8715 * bits/typesizes.h: Likewise.
8716 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8720 * time/time.h: Likewise.
8721
bedee953
PP
87222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8723
8724 [BZ #208]
8725 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8726 in instead of returning them. Return void.
8727 (__libc_mallinfo): Accumulate over all arenas.
8728 (__malloc_stats): Adjust for change in int_mallinfo interface.
8729
61653dfb
RM
87302012-05-16 Roland McGrath <roland@hack.frob.com>
8731
30b99d79
RM
8732 [BZ #10375]
8733 * configure.in (NM): Add AC_CHECK_TOOL for it.
8734 (libc_extra_cflags): New substituted variable.
8735 Check for -fstack-protector being used implicitly.
8736 * configure: Regenerated.
8737 * config.make.in (config-extra-cflags): New variable,
8738 gets @libc_extra_cflags@.
8739 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8740
61653dfb
RM
8741 [BZ #10375]
8742 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8743 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8744 * configure: Regenerated.
8745 * config.make.in (CPPUNDEFS): New substituted variable.
8746 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8747 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8748 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8749
661768bb
L
87502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8751
8752 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8753 (mq_attr): Use __syscall_slong_t.
8754
d4261567
L
87552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8756
8757 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8758 Check __x86_64__ instead of __WORDSIZE.
8759 (_STAT_VER_LINUX): Likewise.
8760 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8761 __syscall_ulong_t and __syscall_slong_t.
8762 (stat64): Likewise.
8763
cf3ff365
L
87642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8765
8766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8767
76cf3e4d
L
87682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8769
8770 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8771
a637753a
L
87722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8773
8774 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8775 __syscall_ulong_t.
8776
d5e05119
L
8777 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8778 include <bits/wordsize.h>. Check __x86_64__ instead of
8779 __WORDSIZE.
8780 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8781 defined.
8782 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8783
f62ee380
L
8784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8785 include <bits/wordsize.h>. Check __x86_64__ instead of
8786 __WORDSIZE.
8787 (user_regs_struct): Use "__extension__ unsigned long long"
8788 instead of "unsigned long" if __x86_64__ is defined.
8789 (user): Likewise. Pad after pointer field if __ILP32__ is
8790 defined.
8791
4e124ced
JM
87922012-05-16 Joseph Myers <joseph@codesourcery.com>
8793
6a3951a0
JM
8794 * configure.in (makeinfo): Require version 4.5 or later. Allow
8795 versions 5 to 9.
8796 * configure: Regenerated.
8797 * manual/install.texi (texinfo): Increase version requirement to
8798 4.5 or later.
8799 * INSTALL: Regenerated.
8800
4e124ced
JM
8801 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8802
953ca31a
L
88032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8804
8805 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8806
617aca05
L
8807 * sysdeps/x86_64/x32/ffs.c: New file.
8808
5762f7ae
L
8809 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8810 __syscall_ulong_t.
8811 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8812 defined. Use __syscall_ulong_t.
8813 (shminfo): Use __syscall_ulong_t.
8814 (shm_info): Likewise.
8815
a26b6856
L
8816 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8817 __syscall_ulong_t.
8818
cb2b9ef7
L
8819 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8820 <bits/wordsize.h>.
8821 (msgqnum_t): Use __syscall_ulong_t.
8822 (msglen_t): Likewise.
8823 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8824 __syscall_ulong_t.
8825
34683bb0
L
8826 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8827 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8828
84a68786
L
8829 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8830
48baa5f1
L
8831 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8832 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8833
180be88b
L
8834 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8835 __syscall_slong_t.
8836
5e90c8ad
L
8837 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8838 include <bits/wordsize.h>. Check __x86_64__ instead of
8839 __WORDSIZE.
8840
23dfb58b
L
8841 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8842 "unsigned long long int" if __x86_64__ is defined.
8843 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8844
ce5d54b0
L
8845 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8846 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8847 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8848
13dc9eac
L
8849 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8850 <stdint.h>.
8851 (GET_PC): Cast to uintptr_t first.
8852 (GET_FRAME): Likewise.
8853 (GET_STACK): Likewise.
8854
a7895d15
L
8855 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8856 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8857 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8858 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8859 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8860 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8861 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8862 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8863 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8864 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8865 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8866 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8867 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8868 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8869 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8870 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8871 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8872 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8873 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8874 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8875 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8876 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8877 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8878 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8879 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8880 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8881 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8882 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8883 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8884
656416c9
AS
88852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8886
5bd66283
AS
8887 * Makerules (+depfiles): Also collect depfiles from .oS in
8888 $(extra-objs).
8889 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8890 .oS, $(libnldbl-routines)).
8891
656416c9
AS
8892 * Makerules (native-compile-mkdep-flags): Define.
8893 * sunrpc/Makefile (extra-objs): Add $(addprefix
8894 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8895 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8896 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8897 calling $(make-target-directory).
8898
a46f2169
L
88992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8900
8901 * bits/types.h (__snseconds_t): Removed.
8902 * time/time.h (struct timespec): Replace __snseconds_t with
8903 __syscall_slong_t.
8904 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8905 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8906 Likewise.
8907 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8908 (__SNSECONDS_T_TYPE): Likewise.
8909 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8910 (__SNSECONDS_T_TYPE): Likewise.
8911 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8912 (__SNSECONDS_T_TYPE): Likewise.
8913
6af6528b
L
89142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8915
8916 * sysdeps/mach/hurd/bits/typesizes.h
8917 (__SYSCALL_SLONG_TYPE): New macro.
8918 (__SYSCALL_ULONG_TYPE): Likewise.
8919
de986b56
L
89202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8921
8922 * bits/types.h (__syscall_slong_t): New type.
8923 (__syscall_ulong_t): Likewise.
8924
8925 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8926 (__SYSCALL_ULONG_TYPE): Likewise.
8927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8928 (__SYSCALL_SLONG_TYPE): Likewise.
8929 (__SYSCALL_ULONG_TYPE): Likewise.
8930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8931 (__SYSCALL_SLONG_TYPE): Likewise.
8932 (__SYSCALL_ULONG_TYPE): Likewise.
8933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8934 (__SYSCALL_SLONG_TYPE): Likewise.
8935 (__SYSCALL_ULONG_TYPE): Likewise.
8936
85736dc7
L
89372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8938
8939 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8940 Add sigaltstack-offsets.sym.
8941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8942 <sigaltstack-offsets.h>.
8943 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8944 longjmp_msg pointer.
8945 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8946 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8947 signal stack.
8948 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8949
cc03b296
JM
89502012-05-15 Joseph Myers <joseph@codesourcery.com>
8951
a9538892
JM
8952 * elf/stackguard-macros.h: Remove file.
8953 * sysdeps/generic/stackguard-macros.h: New file.
8954 * sysdeps/i386/stackguard-macros.h: Likewise.
8955 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8956 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8957 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8958 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8959 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8960 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8961 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8962 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8963 <elf/stackguard-macros.h>.
8964
cc03b296
JM
8965 [BZ #14109]
8966 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8967 __aligned__ in attribute.
8968 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8969 (gregset_t): Likewise.
8970
93171016
L
89712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8972
8973 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8974 * sysdeps/x86_64/64/Implies-after: Here. New file.
8975 * sysdeps/x86_64/x32/Implies-after: New file.
8976
d86813a0
L
89772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8978
8979 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8980 and access return value for _dl_profile_fixup. Use R10_LP to
8981 load frame size.
8982
2953ec75
L
89832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8984
8985 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8986
3b550e9e
L
89872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8988
8989 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8990 * sysdeps/x86_64/x32/sysdep.h: New file.
8991
eda41706
L
89922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8993
8994 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8995 * sysdeps/x86_64/setjmp.S: Likewise.
8996
9ea01d93
AZ
89972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8998
8999 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9000 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9001 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9002 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9003 remove unused global constant.
9004
02a91938
CM
90052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9006
9007 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9008 include of <not-cancel.h>.
9009
6540185f
RM
90102012-05-15 Roland McGrath <roland@hack.frob.com>
9011
9012 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9013
509072a0
AJ
90142012-05-15 Jeff Law <law@redhat.com>
9015 Andreas Jaeger <aj@suse.de>
9016
9017 [BZ #13594]
9018 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9019 out from...
9020 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9021 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9022 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9023 code changing __hst_map_handle.map.
9024
ba75122d
RM
90252012-05-15 Roland McGrath <roland@hack.frob.com>
9026
9027 * configure.in (sysnames): Look for Implies-before and Implies-after
9028 files.
9029 * configure: Regenerated.
9030
890d8bd8
L
90312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9032
9033 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9034 8-byte data alignment with LP_SIZE alignment.
9035
f6ee6623
L
90362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9037
9038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9039 into R10_LP.
9040
ea2626f6
L
90412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9042
9043 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9044
085f715e
L
90452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9046
9047 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9048 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9049 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9050 Likewise.
9051 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9052
be8498fc
L
90532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9054
9055 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9056 (stackinfo_sub_sp): Likewise.
9057
70bc83b9
L
90582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9059
9060 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9061 RAX_LP.
9062
9bc0b730
L
90632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9066 into R*_LP.
9067
6d2850e7
L
90682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9069
9070 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9071 sizes into R*_LP.
9072
3cb84561
L
90732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9074
9075 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9076
54e2ed81
L
90772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9078
9079 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9080 into R11_LP and load __x86_64_shared_cache_size_half into
9081 R8_LP.
9082
8a17f349
L
90832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9086 R8_LP.
9087
777b1eea
AZ
90882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9089
9090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9091 logb for POWER7.
9092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9093 logbf for POWER7.
9094 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9095 logbl for POWER7.
9096 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9097 powerpc32/power7/fpu/s_logb.c via #include.
9098 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9099 powerpc32/power7/fpu/s_logbf.c via #include.
9100 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9101 powerpc32/power7/fpu/s_logbl.c via #include.
9102
d20d4ac2
JM
91032012-05-15 Joseph Myers <joseph@codesourcery.com>
9104
9105 * README.libm: Remove file.
9106
6cdef1ab
L
91072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9108
9109 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9110 count for x32. Use R*_LP and omit operand-size suffix.
9111
0b254d8f
L
91122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9113
9114 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9115 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9116 * sysdeps/x86_64/x32/shlib-versions: New file.
9117
ceb809dc
RM
91182012-05-14 Roland McGrath <roland@hack.frob.com>
9119
9120 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9121 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9122 Use _dl_fatal_printf instead.
9123
37f1abd4
JM
91242012-05-14 Joseph Myers <joseph@codesourcery.com>
9125
9126 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9127 set if not set by the user. Do not allow for being unset.
9128 * sysdeps/unix/sysv/linux/configure: Regenerated.
9129
11de3a33
L
91302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9131
9132 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9133 the `q' suffix from lea and replace .quad with ASM_ADDR.
9134
e02f153a
L
91352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9136
9137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9138 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9139 instead of $17.
9140 (PTR_DEMANGLE): Likewise.
9141
520ae0fd
L
91422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9143
9144 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9145 (LP_OP): Likewise.
9146 (ASM_ADDR): Likewise.
9147 (RAX_LP): Likewise.
9148 (RBP_LP): Likewise.
9149 (RBX_LP): Likewise.
9150 (RCX_LP): Likewise.
9151 (RDI_LP): Likewise.
9152 (RSI_LP): Likewise.
9153 (RSP_LP): Likewise.
9154 (R8_LP): Likewise.
9155 (R9_LP): Likewise.
9156 (R10_LP): Likewise.
9157 (R10_LP): Likewise.
9158 (R11_LP): Likewise.
9159 (R12_LP): Likewise.
9160 (R13_LP): Likewise.
9161 (R14_LP): Likewise.
9162 (R15_LP): Likewise.
9163
b985be81
L
91642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9165
9166 * sysdeps/x86_64/x32/dl-machine.h: New file.
9167
6a4888ff
AJ
91682012-05-14 Andreas Jaeger <aj@suse.de>
9169
9170 * manual/Makefile (subdir): Remove export of subdir.
9171 (all): Remove target.
9172 (.PHONY): Remove all from list.
9173 (mkinstalldirs): Remove.
9174 (.PHONY): Remove installdirs from list.
9175 ($(inst_infodir)/libc.info): Use make-target-directory.
9176 (installdirs): Remove.
9177 (subdir_%): Remove.
9178 (glibc-targets): Remove.
9179 (lib): Remove.
9180 (stubs): Remove.
9181 ($(objpfx)stubs ../po/manual.pot): Remove.
9182 ($(objpfx)stamp%): Remove.
9183 (make-target-directory): Remove.
9184 (subdir_install): Remove.
9185 (routines): Remove.
9186 (aux): Remove.
9187 (sources): Remove.
9188 (objects): Remove.
9189 (headers): Remove.
9190
9191 [BZ #13750]
9192 * manual/.gitignore: Remove, it's not needed anymore.
9193 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9194 all files in it.
9195 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9196 directory.
9197 (texis): Renamed to $(objpfx)texis.
9198 (texis-path): New, contains path to generated files.
9199 (chapters.%): Use texis-path for complete path, add extra argument
9200 libc-texinfo.sh.
9201 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9202 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9203 (summary,texi, stamp-summary): Use complete path of
9204 files. Generate files in build dir.
9205 (dir-add.texi): Build in build dir.
9206 (libm-err.texi,stamp-libm-err): Likewise.
9207 (version.texi, stamp-version): Likewise.
9208 (.%c.texi): Likewise.
9209 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9210 (mostlyclean): Remove target.
9211 (realclean): Remove target.
9212 (generated): Add new variable with contents from mostlyclean and
9213 realclean, remove entries duplicated in common-mostlyclean, add
9214 stamp-libm-err and stamp-version.
9215 (generated-dirs): Add libc directory.
9216 ($(inst_infodir)/libc.info): Install files from build dir.
9217
9218 * manual/install.texi (Configuring and compiling): Adjust since
9219 the info files are not part of the tar ball anymore.
9220
7ac77294
AJ
92212012-05-14 Andreas Jaeger <aj@suse.de>
9222
9223 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9224 variable.
9225
ffb7875d
JM
92262012-05-14 Joseph Myers <joseph@codesourcery.com>
9227
9228 [BZ #13717]
9229 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9230 to 2.2.0 where earlier.
9231 * sysdeps/unix/sysv/linux/configure: Regenerated.
9232 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9233 Remove conditional code.
9234 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9235 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9236 Remove conditional code.
9237 [!__NR_lchown]: Likewise.
9238 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9239 [__NR_lchown]: Likewise.
9240 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9241 comment referencing __ASSUME_LCHOWN_SYSCALL.
9242 * sysdeps/unix/sysv/linux/i386/sigaction.c
9243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9245 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9246 Remove conditional code.
9247 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9248 (__protocol_available): Remove #if 0 code.
9249 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9250 conditional code.
9251 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9252 * sysdeps/unix/sysv/linux/kernel-features.h
9253 (__ASSUME_GETCWD_SYSCALL): Don't define.
9254 (__ASSUME_REALTIME_SIGNALS): Likewise.
9255 (__ASSUME_PREAD_SYSCALL): Likewise.
9256 (__ASSUME_PWRITE_SYSCALL): Likewise.
9257 (__ASSUME_POLL_SYSCALL): Likewise.
9258 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9259 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9260 non-SPARC.
9261 (__ASSUME_SIOCGIFNAME): Don't define.
9262 (__ASSUME_MSG_NOSIGNAL): Likewise.
9263 (__ASSUME_SENDFILE): Define unconditionally.
9264 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9265 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9266 conditional code.
9267 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9268 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9269 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9270 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9271 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9272 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9273 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9275 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9278 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9281 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9284 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9287 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9290 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9293 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9296 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9298 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9299 Remove conditional code.
9300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9301 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9302 Remove conditional code.
9303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9304 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9305 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9306 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9307 Remove conditional code.
9308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9309 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9310 Remove conditional code.
9311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9312 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9313 Remove conditional code.
9314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9315 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9316 Remove conditional code.
9317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9318 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9319 Remove conditional code.
9320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9321 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9324 * sysdeps/unix/sysv/linux/sigaction.c
9325 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9326 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9327 * sysdeps/unix/sysv/linux/sigpending.c
9328 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9329 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9330 * sysdeps/unix/sysv/linux/sigprocmask.c
9331 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9332 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9333 * sysdeps/unix/sysv/linux/sigsuspend.c
9334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9336 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9337 (__libc_missing_rt_sigs): Remove.
9338 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9339 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9340 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9341 Remove conditional code.
9342 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9343 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9344 return 1.
9345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9346 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9347 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9348 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9349
1bfb7291
AJ
93502012-05-14 Andreas Jaeger <aj@suse.de>
9351
caae5a81
AJ
9352 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9353 it's not used in glibc.
9354 (__coshm1): Likewise.
9355 (__acosh1p): Likewise.
9356 (__sgn): Likewise.
9357
1bfb7291
AJ
9358 * manual/string.texi (Copying and Concatenation): Add missing
9359 variable in concat example.
9360 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9361
c044d724
L
93622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9363
144c5467 9364 [BZ #14103]
c044d724
L
9365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9366 __builtin_clzl with __builtin_clzll.
9367
2523c62b
L
93682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9369
9370 [BZ #14104]
9371 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9372 libc_freeres_ptr.
9373
d7bb4c42
LD
93742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9375
9376 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9377 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9378 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9379 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9380
9dc4e1fb
MF
93812012-05-14 Mike Frysinger <vapier@gentoo.org>
9382
9383 * NEWS: Update ia64 info.
9384
c7df0112
AS
93852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9386
9387 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9388 used as bcopy.
9389
dc70356c
TS
93902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9391
9392 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9393 * sysdeps/unix/syscalls.list (dup3): Likewise.
9394 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9395 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9396
9fb1a21f
L
93972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9398
9399 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9400 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9401
4822a2a5
L
94022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9403
9404 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9405 thread pointer.
9406 (TLS_IE): Use mov/add instead of movq/addq to load thread
9407 pointer.
9408 (TLS_GD_PREFIX): New.
9409 (TLS_GD): Use it.
9410
842b81d6
DM
94112012-05-11 David S. Miller <davem@davemloft.net>
9412
9413 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9414 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9415 (_FPU_SETCW): Likewise.
9416
1cf463cd
L
94172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9418
9419 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9420 is 32-byte aligned.
9421
60cc4a18
AS
94222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9423
9424 [BZ #11837]
9425 * iconvdata/gb18030.c: Update tables.
9426 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9427 characters specially.
9428 (BODY for TO_LOOP): Add encoding of missing ranges.
9429
febb44a4
TS
94302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9431
9432 [BZ #13673]
9433 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9434 * sysdeps/mach/hurd/dup3.c: Likewise.
9435 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9436 * sysdeps/powerpc/memmove.c:: Likewise.
9437
0a10fb9e
L
94382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9439
9440 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9441 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9442
df8a552f
L
94432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9444
9445 * elf/elf.h (R_X86_64_RELATIVE64): New.
9446 (R_X86_64_NUM): Updated.
9447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9448 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9449 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9450 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9451 tst-quad1pie tst-quad2pie
9452 (modules-names): Add tst-quadmod1 tst-quadmod2.
9453 ($(objpfx)tst-quad1): New dependency.
9454 ($(objpfx)tst-quad2): Likewise.
9455 ($(objpfx)tst-quad1pie): Likewise.
9456 ($(objpfx)tst-quad2pie): Likewise.
9457 * sysdeps/x86_64/tst-quad1.c: New file.
9458 * sysdeps/x86_64/tst-quad1pie.c: New file.
9459 * sysdeps/x86_64/tst-quad2.c: Likewise.
9460 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9461 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9462 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9463 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9464 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9465
f34d6f84
ST
94662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9467
f42d41d1
ST
9468 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9469 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9470 * streams/stropts.h (t_scalar_t): Define type.
9471
3c3571fc
ST
9472 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9473 (_PATH_PRESERVE): Set to "/var/lib".
9474 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9475
61f06bd3
ST
9476 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9477 instead of int.
9478
918d4d71
ST
9479 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9480 if __dir_mkfile succeeded.
9481
f34d6f84
ST
9482 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9483 checking for _hurd_dtablesize. Unlock it right after having
9484 finished _hurd_dtable allocation.
9485
10589b4a
TS
94862012-05-10 Thomas Schwinge <thomas@schwinge.name>
9487
674cdbc7
TS
9488 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9489 * sysdeps/mach/hurd/configure: Regenerated.
9490 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9491 special-casing to...
9492 * sysdeps/gnu/configure.in: ... this new file.
9493 * sysdeps/unix/sysv/linux/configure: Regenerated.
9494 * sysdeps/gnu/configure: New generated file.
9495
8e41b99f
TS
9496 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9497 for Linux: use nsec instead of usec, as well as:
9498 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9499 members of type struct timespec.
9500 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9501 New macros.
9502 (struct stat64): Likewise.
9503 (_STATBUF_ST_NSEC): New macro.
9504 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9505
10589b4a
TS
9506 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9507 __strtoul_internal rather than strtoul.
9508
63643c85
PT
95092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9510
9511 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9512 and reject them.
9513
3faebe6a
ST
95142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9515
9516 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9517 which preserves existing values.
9518 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9519
c6474b07
PT
95202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9521
9522 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9523 TIMEOUT values. Return EINVAL for NFDS values either negative or
9524 greater than FD_SETSIZE.
9525
1043890b
ST
95262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9527
9528 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9529 allocated, call __vm_protect to finish enabling the existing space, and
9530 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9531 allocate the remainder.
9532
37ed8b9b
PT
95332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9534
9535 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9536 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9537
db653660
ST
95382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9539
37ed8b9b
PT
9540 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9541 sysdeps/mach/hurd/readlink.c.
b29d4053 9542
db653660
ST
9543 * posix/tst-sysconf.c (posix_options): Only use
9544 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9545 _POSIX_SYNCHRONIZED_IO when they are defined
9546 * sysdeps/mach/hurd/bits/posix_opt.h:
9547 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9548 (_XOPEN_REALTIME): Undefine macro.
9549 (_XOPEN_REALTIME_THREADS): Undefine macro.
9550 (_XOPEN_SHM): Undefine macro.
9551 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9552 macro to -1.
9553 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9554 macro to -1.
9555 (_POSIX_ASYNC_IO): Undefine macro.
9556 (_POSIX_PRIORITIZED_IO): Undefine macro.
9557 (_POSIX_SPIN_LOCKS): Define macro to -1.
9558
ee16e894
ST
9559 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9560 SA_NODEFER, SA_RESETHAND.
9561 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9562 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9563 F_DUPFD_CLOEXEC.
9564
6103ae3b
TS
95652012-05-10 Thomas Schwinge <thomas@schwinge.name>
9566
9567 * elf/Makefile (pldd-modules): Define unconditionally.
9568
80b4e5f3
TS
95692012-05-10 Thomas Schwinge <thomas@schwinge.name>
9570
9571 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9572
edadcbd6
ST
95732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9574
9575 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9576 Return ENOENT when name is empty.
9577 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9578
80694780
TS
95792012-05-10 Thomas Schwinge <thomas@schwinge.name>
9580
1792c087
TS
9581 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9582
80694780
TS
9583 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9584
6b645f0d
ST
95852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9586
80694780
TS
9587 Fix mlock in all cases except non-readable pages.
9588 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9589 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9590
6b645f0d
ST
9591 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9592 (__mkdir): When path is `/', just fail with EEXIST.
9593 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9594
e468f8a3
TS
95952012-05-10 Thomas Schwinge <thomas@schwinge.name>
9596
9597 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9598 <sys/uio.h> (for writev).
9599 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9600 and <sys/param.h> (for MIN).
9601
a4186cff
PT
96022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9603
9604 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9605 REQUESTED_TIME. Properly set the remaining time and return EINTR
9606 if interrupted.
9607
510bbf14
TS
96082012-05-10 Thomas Schwinge <thomas@schwinge.name>
9609
9610 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9611 Depend on against $(link-rpcuserlibs).
9612
5d5722e8
ST
96132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9614
a4186cff
PT
9615 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9616 (__libc_stack_end): Do not use attribute_relro.
9617 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9618 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9619 to libthread-provided value.
a4186cff
PT
9620 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9621 attribute_relro.
5d5722e8 9622
37233df9
TS
96232012-05-10 Thomas Schwinge <thomas@schwinge.name>
9624
be971a2b
TS
9625 [BZ #3748]
9626 * bits/libc-lock.h (__libc_once_get): New macro.
9627 * sysdeps/mach/bits/libc-lock.h: Likewise.
9628 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9629 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9630 instead of using implementation details.
9631
37233df9
TS
9632 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9633 * libio/freopen.c: Likewise.
9634 * libio/freopen64.c: Likewise.
9635 * misc/syslog.c: Likewise.
9636 * nscd/connections.c: Likewise.
9637 * nscd/netgroupcache.c: Likewise.
9638 * sysdeps/posix/getcwd.c: Likewise.
9639
38de94a5
RM
96402012-05-10 Roland McGrath <roland@hack.frob.com>
9641
9642 * math/w_ilogbf.c: Add #include <limits.h>.
9643
67530489
ST
96442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9645
a4186cff 9646 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9647 path instead of returning without unlocking.
9648
67530489
ST
9649 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9650 immediate-write ioctls.
9651 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9652
5aa3a74a
TS
96532012-05-10 Thomas Schwinge <thomas@schwinge.name>
9654
18bad2ae
TS
9655 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9656 __builtin_frame_address instead of making assumptions about the
9657 location of the return address relative to DATA. Force early load of
9658 the return address.
9659 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9660 __builtin_frame_address.
9661
5aa3a74a
TS
9662 dup3 for GNU Hurd.
9663 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9664 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9665 implement dup3 and do some further code clean-ups.
9666 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9667 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9668
ecd0de9a
ST
96692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9670
cd9fa985
ST
9671 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9672
a4186cff
PT
9673 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9674 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9675 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9676 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9677 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9678 d->port.lock.
802ca5a5 9679
a4186cff
PT
9680 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9681 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9682 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9683
bcf55240
TS
96842012-05-10 Thomas Schwinge <thomas@schwinge.name>
9685
6960eb42
TS
9686 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9687 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9688 definitions.
9689
eb43375f
TS
9690 accept4 for GNU Hurd.
9691 * include/sys/socket.h (__libc_accept4): New prototype.
9692 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9693 to implement __libc_accept4.
9694 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9695 __libc_accept4.
9696 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9697
bcf55240
TS
9698 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9699 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9700 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9701 signal-defines.sym.
9702
6178c55b
ST
97032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9704
a4186cff 9705 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9706
6f080c2f
TS
97072012-05-10 Thomas Schwinge <thomas@schwinge.name>
9708
9709 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9710 assertion on O_CLOEXEC flag.
9711 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9712 * hurd/intern-fd.c: Likewise.
9713 * hurd/port2fd.c: Likewise.
9714
bcfe3a54
ST
97152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9716
9717 [BZ #3906]
9718 * bits/in.h (IPV6_PKTINFO): Define new macro.
9719 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9720
89c9aa49
AZ
97212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9722
9723 [BZ #13954]
9724 [BZ #13955]
9725 [BZ #13956]
9726 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9728 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9729 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9731 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9732 * math/libm-test.inc (logb_test) : Additional logb tests.
9733
021db4be
AJ
97342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9735 Andreas Jaeger <aj@suse.de>
9736
9737 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9738 * configure: Regenerated.
9739 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9740 * config.make.in (link-obsolete-rpc): New substituted variable.
9741 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9742 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9743 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9744 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9745 so that libc.a contains the symbols.
9746 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9747 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9748 * sunrpc/auth_none.c: Likewise.
9749 * sunrpc/auth_unix.c: Likewise.
9750 * sunrpc/authdes_prot.c: Likewise.
9751 * sunrpc/authuxprot.c: Likewise.
9752 * sunrpc/clnt_gen.c: Likewise.
9753 * sunrpc/clnt_perr.c: Likewise.
9754 * sunrpc/clnt_raw.c: Likewise.
9755 * sunrpc/clnt_simp.c: Likewise.
9756 * sunrpc/clnt_tcp.c: Likewise.
9757 * sunrpc/clnt_udp.c: Likewise.
9758 * sunrpc/clnt_unix.c: Likewise.
9759 * sunrpc/des_crypt.c: Likewise.
9760 * sunrpc/des_soft.c: Likewise.
9761 * sunrpc/get_myaddr.c: Likewise.
9762 * sunrpc/key_call.c: Likewise.
9763 * sunrpc/key_prot.c: Likewise.
9764 * sunrpc/netname.c: Likewise.
9765 * sunrpc/pm_getmaps.c: Likewise.
9766 * sunrpc/pm_getport.c: Likewise.
9767 * sunrpc/pmap_clnt.c: Likewise.
9768 * sunrpc/pmap_prot.c: Likewise.
9769 * sunrpc/pmap_prot2.c: Likewise.
9770 * sunrpc/pmap_rmt.c: Likewise.
9771 * sunrpc/publickey.c: Likewise.
9772 * sunrpc/rpc_cmsg.c: Likewise.
9773 * sunrpc/rpc_common.c: Likewise.
9774 * sunrpc/rpc_dtable.c: Likewise.
9775 * sunrpc/rpc_prot.c: Likewise.
9776 * sunrpc/rpc_thread.c: Likewise.
9777 * sunrpc/rtime.c: Likewise.
9778 * sunrpc/svc.c: Likewise.
9779 * sunrpc/svc_auth.c: Likewise.
9780 * sunrpc/svc_raw.c: Likewise.
9781 * sunrpc/svc_run.c: Likewise.
9782 * sunrpc/svc_tcp.c: Likewise.
9783 * sunrpc/svc_udp.c: Likewise.
9784 * sunrpc/svc_unix.c: Likewise.
9785 * sunrpc/svcauth_des.c: Likewise.
9786 * sunrpc/xcrypt.c: Likewise.
9787 * sunrpc/xdr.c: Likewise.
9788 * sunrpc/xdr_array.c: Likewise.
9789 * sunrpc/xdr_float.c: Likewise.
9790 * sunrpc/xdr_intXX_t.c: Likewise.
9791 * sunrpc/xdr_mem.c: Likewise.
9792 * sunrpc/xdr_rec.c: Likewise.
9793 * sunrpc/xdr_ref.c: Likewise.
9794 * sunrpc/xdr_sizeof.c: Likewise.
9795 * sunrpc/xdr_stdio.c: Likewise.
9796
b5c086a2
RM
97972012-05-10 Roland McGrath <roland@hack.frob.com>
9798
9799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9800 change. Update copyright years.
9801
6d74dd09
JM
98022012-05-10 Joseph Myers <joseph@codesourcery.com>
9803
9804 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9805
28e72501
MK
98062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9807 Joseph Myers <joseph@codesourcery.com>
9808 Paul Pluzhnikov <ppluzhnikov@google.com>
9809
9810 [BZ #14012]
9811 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9812 requiring rpcgen.
9813 [cross-compiling] (extra-libs): Likewise.
9814 [cross-compiling] (extra-libs-others): Likewise.
9815 [cross-compiling] (librpcsvc-routines): Likewise.
9816 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9817 [cross-compiling] (omit-deps): Likewise.
9818 (sunrpc-CPPFLAGS): New variable.
9819 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9820 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9821 (cross-rpcgen-objs): New variable.
9822 (extra-objs): Append $(cross-rpcgen-objs).
9823 ($(cross-rpcgen-objs)): New rule.
9824 ($(objpfx)cross-rpcgen): Likewise.
9825 (rpcgen-cmd): Define to use $(built-program-file). Expand
9826 comment.
9827 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9828 ($(objpfx)x%.stmp): Likewise.
9829 * sunrpc/proto.h [IS_IN_build] (_): Define.
9830 [IS_IN_build] (_libc_intl_domainname): Likewise.
9831
c8c59454
L
98322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9833
9834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9835 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9836 and R_X86_64_TPOFF64.
9837
6f27cd16
JM
98382012-05-10 Joseph Myers <joseph@codesourcery.com>
9839
9840 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9841 sysdeps/unix/sysv/syscalls.list.
9842 (stime): Likewise.
9843 (utime): Likewise.
9844 * sysdeps/unix/sysv/syscalls.list: Remove file.
9845
02467e1c
PE
98462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9847
9848 [BZ #3440]
9849 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9850 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9851 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9852 (__LC_IDENTIFICATION): Make these macros useful in #if
9853 expressions, as required by C99.
9854
da392631
AS
98552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9856
9857 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9858 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9859 after this.
9860
8115f29b
L
98612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9862
9863 * stdlib/longlong.h: Updated from GCC.
9864
bdd74070
AJ
98652012-05-09 Andreas Jaeger <aj@suse.de>
9866
edfe0dbe
AJ
9867 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9868 default is first entry.
9869 (run_mode): Set type.
9870 (main): Remove informal message about syslog.
9871 (options): Fix typo.
9872
bcfe3a54
ST
9873 [BZ #14053]
9874 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9875 to asm.
bcfe3a54
ST
9876 (lrint): Likewise.
9877 (llrintf): Likewise.
9878 (llrint): Likewise.
9879 (rint): Likewise.
9880 (rintf): Likewise.
9881 (nearbyint): Likewise.
9882 (nearbyintf): Likewise.
bdd74070 9883
91d8d69e
AJ
98842012-05-09 Andreas Jaeger <aj@suse.de>
9885 Pedro Alves <palves@redhat.com>
9886
9887 * nscd/nscd.c (run_mode): Use enum.
9888 (main): Cleanup coding style issue.
9889
bb90b80b
AJ
98902012-05-09 Alexandre Oliva <aoliva@redhat.com>
9891 Andreas Jaeger <aj@suse.de>
9892
bcfe3a54
ST
9893 * nscd/nscd.c (go_background): Replaced with...
9894 (run_mode): ... this.
bb90b80b 9895 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9896 (options): Add -F --foreground.
9897 (main): Implement it.
9898 (parse_opt): Parse it.
bb90b80b 9899
1a4b75a1
AJ
99002012-05-09 Andreas Jaeger <aj@suse.de>
9901
9902 [BZ #14083]
9903 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9904 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9905 -Wconversion warning.
9906 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9907 Likewise.
9908
b1cc2472
JM
99092012-05-09 Joseph Myers <joseph@codesourcery.com>
9910
9911 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9912 == 0.
9913 (LC_ALL): Use macro-int-constant.
9914 (LC_COLLATE): Likewise.
9915 (LC_CTYPE): Likewise.
9916 (LC_MESSAGES): Likewise.
9917 (LC_MONETARY): Likewise.
9918 (LC_NUMERIC): Likewise.
9919 (LC_TIME): Likewise.
9920 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9921 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9923 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9924 Specify type.
9925 [C99-based standards] (float_t): Expect type.
9926 [C99-based standards] (double_t): Expect type.
9927 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9928 type.
9929 [C99-based standards] (HUGE_VALL): Likewise.
9930 [C99-based standards] (INFINITY): Likewise.
9931 [C99-based standards] (NAN): Likewise.
9932 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9933 [C99-based standards] (FP_NAN): Likewise.
9934 [C99-based standards] (FP_NORMAL): Likewise.
9935 [C99-based standards] (FP_SUBNORMAL): Likewise.
9936 [C99-based standards] (FP_ZERO): Likewise.
9937 [C99-based standards] (FP_FAST_FMA): Use
9938 optional-macro-int-constant. Specify type. Require == 1.
9939 [C99-based standards] (FP_FAST_FMAF): Likewise.
9940 [C99-based standards] (FP_FAST_FMAL): Likewise.
9941 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9942 [C99-based standards] (FP_ILOGBNAN): Likewise.
9943 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9944 Specify type.
9945 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9946 [C99-based standards] (math_errhandling): Specify type.
9947 [ISO99 || ISO11] (signgam): Do not allow.
9948 [non-C99-based standards] (copysignf): Do not allow.
9949 [non-C99-based standards] (exp2f): Likewise.
9950 [non-C99-based standards] (log2f): Likewise.
9951 [non-C99-based standards] (modff): Allow.
9952 [non-C99-based standards] (erff): Do not allow.
9953 [non-C99-based standards] (erfcf): Likewise.
9954 [non-C99-based standards] (gammaf): Likewise.
9955 [non-C99-based standards] (hypotf): Likewise.
9956 [non-C99-based standards] (j0f): Likewise.
9957 [non-C99-based standards] (j1f): Likewise.
9958 [non-C99-based standards] (jnf): Likewise.
9959 [non-C99-based standards] (lgammaf): Likewise.
9960 [non-C99-based standards] (tgammaf): Likewise.
9961 [non-C99-based standards] (y0f): Likewise.
9962 [non-C99-based standards] (y1f): Likewise.
9963 [non-C99-based standards] (ynf): Likewise.
9964 [non-C99-based standards] (isnanf): Likewise.
9965 [non-C99-based standards] (acoshf): Likewise.
9966 [non-C99-based standards] (asinhf): Likewise.
9967 [non-C99-based standards] (atanhf): Likewise.
9968 [non-C99-based standards] (cbrtf): Likewise.
9969 [non-C99-based standards] (expm1f): Likewise.
9970 [non-C99-based standards] (ilogbf): Likewise.
9971 [non-C99-based standards] (log1pf): Likewise.
9972 [non-C99-based standards] (logbf): Likewise.
9973 [non-C99-based standards] (nextafterf): Likewise.
9974 [non-C99-based standards] (remainderf): Likewise.
9975 [non-C99-based standards] (rintf): Likewise.
9976 [non-C99-based standards] (scalbf): Likewise.
9977 [non-C99-based standards] (copysignl): Likewise.
9978 [non-C99-based standards] (exp2l): Likewise.
9979 [non-C99-based standards] (log2l): Likewise.
9980 [non-C99-based standards] (modfl): Allow.
9981 [non-C99-based standards] (erfl): Do not allow.
9982 [non-C99-based standards] (erfcl): Likewise.
9983 [non-C99-based standards] (gammal): Likewise.
9984 [non-C99-based standards] (hypotl): Likewise.
9985 [non-C99-based standards] (j0l): Likewise.
9986 [non-C99-based standards] (j1l): Likewise.
9987 [non-C99-based standards] (jnl): Likewise.
9988 [non-C99-based standards] (lgammal): Likewise.
9989 [non-C99-based standards] (tgammal): Likewise.
9990 [non-C99-based standards] (y0l): Likewise.
9991 [non-C99-based standards] (y1l): Likewise.
9992 [non-C99-based standards] (ynl): Likewise.
9993 [non-C99-based standards] (isnanl): Likewise.
9994 [non-C99-based standards] (acoshl): Likewise.
9995 [non-C99-based standards] (asinhl): Likewise.
9996 [non-C99-based standards] (atanhl): Likewise.
9997 [non-C99-based standards] (cbrtl): Likewise.
9998 [non-C99-based standards] (expm1l): Likewise.
9999 [non-C99-based standards] (ilogbl): Likewise.
10000 [non-C99-based standards] (log1pl): Likewise.
10001 [non-C99-based standards] (logbl): Likewise.
10002 [non-C99-based standards] (nextafterl): Likewise.
10003 [non-C99-based standards] (remainderl): Likewise.
10004 [non-C99-based standards] (rintl): Likewise.
10005 [non-C99-based standards] (scalbl): Likewise.
10006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10007 [non-C99-based standards] (FP_*): Do not allow.
10008 [C99-based standards] (FP_*): Change to
10009 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10010 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10011 allow.
10012 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10013 (SIG_ERR): Likewise.
10014 [X/Open-based standards] (SIG_HOLD): Likewise.
10015 (SIG_IGN): Likewise.
10016 (SIGABRT): Use macro-int-constant. Specify type. Require
10017 positive value.
10018 (SIGFPE): Likewise.
10019 (SIGILL): Likewise.
10020 (SIGINT): Likewise.
10021 (SIGSEGV): Likewise.
10022 (SIGTER): Likewise.
10023 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10024 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10025 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10026 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10027 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10028 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10029 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10030 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10031 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10032 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10033 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10034 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10035 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10036 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10037 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10038 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10039 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10040 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10041 [X/Open-based standards] (SIGTRAP): Likewise.
10042 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10043 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10044 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10045 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10046 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10047 allow.
10048
b9f1922d
IW
100492012-05-08 Ian Wienand <ianw@vmware.com>
10050
10051 [BZ #14080]
10052 * time/tzset.c (__tzset_parse_tz): Update default rules for
10053 daylight time changes in the Energy Policy Act of 2005.
10054
1db86e88
AJ
100552012-05-09 Andreas Jaeger <aj@suse.de>
10056
10057 [BZ #13983]
10058 * elf/ldconfig.c (parse_conf): Change string to make clear that
10059 ldconfig only issued a warning if ld.so.conf does not exist.
10060
dee4a4e3
DM
100612012-05-08 David S. Miller <davem@davemloft.net>
10062
ee0db190
DM
10063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10064 movxtod instead of popping the value on the stack.
10065
dee4a4e3
DM
10066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10067
6a43ec98
CD
100682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10069
10070 * config.h.in: Add HAVE_ARM_PCS_VFP.
10071
05c2c961
RMG
100722012-05-08 Roland Mc Grath <roland@hack.frob.com>
10073
bcfe3a54
ST
10074 [BZ #13979]
10075 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10076 checking but the checks are disabled for any reason.
05c2c961 10077
4b30f61a
L
100782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10079
10080 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10081 and ELF64_R_TYPE with ELFW(R_TYPE).
10082
eee2bc67
JM
100832012-05-08 Joseph Myers <joseph@codesourcery.com>
10084
7ea5391a
JM
10085 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10086 (ulimit): Likewise.
10087
eee2bc67
JM
10088 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10089 (settimeofday): Likewise.
10090
abb66a67
MF
100912012-05-08 Mike Frysinger <vapier@gentoo.org>
10092
10093 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10094 a struct th_u2 inside the union, and move tu_block/tu_code into
10095 a new th_u3 union of tu_block/tu_code inside of that. Move
10096 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10097 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10098 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10099 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10100 (th_stuff): Change to th_u1.tu_stuff.
10101 (th_data): Define.
10102 (th_msg): Change to th_u1.th_u2.tu_data.
10103
7f18b530
DM
101042012-05-07 David S. Miller <davem@davemloft.net>
10105
05760585
DM
10106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10107
7f18b530
DM
10108 [BZ #14074]
10109 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10110 (SETUP_PIC_REG): Use it.
10111 (SETUP_PIC_REG_LEAF): Use it.
10112
495fd99f
JM
101132012-05-07 Joseph Myers <joseph@codesourcery.com>
10114
10115 [BZ #13885]
10116 [BZ #13923]
10117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10118 USE_AS_EXPM1L.
10119 (EXPL_FINITE): Likewise.
10120 (FLDLOG): Likewise.
10121 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10122 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10123 e_expl.S.
10124 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10125 USE_AS_EXPM1L.
10126 (EXPL_FINITE): Likewise.
10127 (FLDLOG): Likewise.
10128 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10129 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10130 e_expl.S.
10131 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10132 test of -max_value argument for long double.
10133 * sysdeps/i386/fpu/libm-test-ulps: Update.
10134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10135
6693d694
DM
101362012-05-06 David S. Miller <davem@davemloft.net>
10137
10138 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10139 quad soft-float symbols whose references which are compiler
10140 generated.
10141 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10142
6c23e11c
JM
101432012-05-06 Joseph Myers <joseph@codesourcery.com>
10144
d8b82cad
JM
10145 [BZ #13884]
10146 [BZ #13914]
10147 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10148 USE_AS_EXP10L.
10149 (EXPL_FINITE): Likewise.
10150 (FLDLOG): Likewise.
10151 (c0): Likewise.
10152 (c1): Likewise.
10153 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10154 Adjust comments for base varying.
10155 (__expl_finite): Change alias to EXPL_FINITE.
10156 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10157 e_expl.S.
10158 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10159 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10161 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10163 USE_AS_EXP10L.
10164 (EXPL_FINITE): Likewise.
10165 (FLDLOG): Likewise.
10166 (c0): Likewise.
10167 (c1): Likewise.
10168 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10169 Adjust comments for base varying.
10170 (__expl_finite): Change alias to EXPL_FINITE.
10171 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10172 tests for bugs.
10173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10174
6c23e11c
JM
10175 [BZ #14064]
10176 * math/libm-test.inc (check_float_internal): Correct ulp
10177 calculation for subnormal expected results.
10178
29ba805c
AJ
101792012-05-06 Andreas Jaeger <aj@suse.de>
10180
10181 * Makeconfig (+math-flags): New, set to -frounding-math.
10182 (+cflags): Add +math-flags so that all of glibc gets compiled with
10183 it.
10184
10185 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10186
7b17aeda
JM
101872012-05-05 Joseph Myers <joseph@codesourcery.com>
10188
5779f134
JM
10189 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10190 Disable one test.
10191
41498f4d
JM
10192 [BZ #13787]
10193 [BZ #13922]
10194 [BZ #14036]
10195 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10196 (__ieee754_expl): Allow for and saturate large arguments.
10197 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10198 (u_threshold): Likewise.
10199 (__exp): Call __ieee754_exp before checking for overflow and
10200 underflow.
10201 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10202 (u_threshold): Likewise.
10203 (__expf): Call __ieee754_expf before checking for overflow and
10204 underflow.
10205 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10206 (u_threshold): Likewise.
10207 (__expl): Call __ieee754_expl before checking for overflow and
10208 underflow.
10209 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10210 (__ieee754_expl): Allow for and saturate large arguments.
10211 * math/libm-test.inc (exp_test): Add another test. Do not allow
10212 missing overflow exception on overflow.
10213 (expm1_test): Do not allow missing overflow exception on overflow.
10214
6698b8bf
JM
10215 * sysdeps/i386/fpu/e_expl.c: Move to ...
10216 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10217 rather than using inline asm.
10218 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10219 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10220 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10221
7b17aeda
JM
10222 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10223 (nice): Likewise.
10224 (poll): Likewise.
10225 (signal): Likewise.
10226 (time): Likewise.
10227 (times): Likewise.
10228
f7c85819
JM
102292012-05-04 Joseph Myers <joseph@codesourcery.com>
10230
10231 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10232 sysdeps/unix/common/syscalls.list.
10233 (fchmod): Likewise.
10234 (fchown): Likewise.
10235 (ftruncate): Likewise.
10236 (getrusage): Likewise.
10237 (gettimeofday): Likewise.
10238 (setpgid): Likewise.
10239 (setregid): Likewise.
10240 (setreuid): Likewise.
10241 (sigaction): Likewise.
10242 (truncate): Likewise.
10243 (vhangup): Likewise.
10244 * sysdeps/unix/common/syscalls.list: Remove file.
10245 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10246 * sysdeps/unix/sysv/linux/Implies: Likewise.
10247
336270d0
L
102482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10249
10250 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10252 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10253 Moved to ...
10254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10255 Here.
10256 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10257 to ...
10258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10259 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10260 to ...
10261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10262 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10263 to ...
10264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10265 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10266 to ...
10267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10268 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10269 to ...
10270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10271 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10272 to ...
10273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10274 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10275 to ...
10276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10277 Here.
10278 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10279 to ...
10280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10281 Here.
10282 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10283 to ...
10284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10285 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10286 Moved to ...
10287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10288 Here.
10289 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10290 to ...
10291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10292
d128e450
JM
102932012-05-04 Joseph Myers <joseph@codesourcery.com>
10294
fa8ee516
JM
10295 * sysdeps/unix/common/bits/dirent.h: Remove file.
10296 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10297
d128e450
JM
10298 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10299 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10300 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10301 * sysdeps/unix/bsd/isatty.c: Likewise.
10302 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10303 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10304 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10305
ff8faaf0 103062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10307
62881be4 10308 [BZ #13563]
31dc8730
AZ
10309 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10310 long double comparison inaccuracies.
10311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10313
6fef930c
AS
103142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10315
10316 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10317 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10318
8f203e6c
JM
103192012-05-04 Joseph Myers <joseph@codesourcery.com>
10320
10321 [BZ #14049]
10322 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10323 nonzero digits before rounding a hex value.
10324 * stdlib/tst-strtod.c (tests): Add another test.
10325
5197d9c2
AK
103262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10327
10328 * sysdeps/s390/fpu/libm-test-ulps: Update.
10329
f0c1dedf
AJ
103302012-05-03 Andreas Jaeger <aj@suse.de>
10331
10332 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10333 does not get optimized out.
10334 (malloc_opt_barrier): New.
10335
a65ef2ae 103362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10337 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10338
2b942cb7 10339 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10340 intermediate file deletion.
2b942cb7 10341 (generated): Add .symlist files.
a65ef2ae 10342
54b71e02
JM
103432012-05-03 Joseph Myers <joseph@codesourcery.com>
10344
10345 [BZ #13775]
10346 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10347 Redirect under this condition.
10348 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10349 [__USE_GNU] (__dprintf_chk): Not under this condition.
10350 [__USE_GNU] (__vdprintf_chk): Likewise.
10351 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10352 under this condition.
10353 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10354 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10355 [__USE_XOPEN2K8] (vdprintf): Likewise.
10356 [__USE_GNU] (__dprintf_chk): Not under this condition.
10357 [__USE_GNU] (__vdprintf_chk): Likewise.
10358 [__USE_GNU] (dprintf): Likewise.
10359 [__USE_GNU] (vdprintf): Likewise.
10360
d3dfcc41
RM
103612012-05-03 Roland McGrath <roland@hack.frob.com>
10362
10363 * elf/Makefile (common-generated): Set this instead of generated for
10364 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10365 $(all-built-dso)-derived lists.
10366
7ac30cc5
AJ
103672012-05-03 Andreas Jaeger <aj@suse.de>
10368
0c51e550
AJ
10369 * sysdeps/i386/fpu/libm-test-ulps: Update.
10370
7ac30cc5
AJ
10371 * FAQ: Removed.
10372 * FAQ.in: Likewise.
10373 * scripts/gen-FAQ.pl: Likewise.
10374 * manual/install.texi (Installation): Point to online location of
10375 FAQ.
10376 * Makefile (files-for-dist): Remove FAQ.
10377 (FAQ): Remove.
10378
d4c2917f
AM
103792012-05-02 Allan McRae <allan@archlinux.org>
10380
10381 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10382 (LDFLAGS-reldepmod5.so): Likewise.
10383 (LDFLAGS-reldep6mod1.so): Likewise.
10384 (LDFLAGS-reldep6mod4.so): Likewise.
10385 (LDFLAGS-reldep8mod3.so): Likewise.
10386 (LDFLAGS-unload4mod1.so): Likewise.
10387 (LDFLAGS-unload4mod2.so): Likewise.
10388 (LDFLAGS-tst-initorder): Likewise.
10389 (LDFLAGS-tst-initordera2.so): Likewise.
10390 (LDFLAGS-tst-initordera3.so): Likewise.
10391 (LDFLAGS-tst-initordera4.so): Likewise.
10392 (LDFLAGS-tst-initorderb2.so): Likewise.
10393 (LDFLAGS-noload): Likewise.
10394 (LDFLAGS-next): Likewise.
10395 (LDFLAGS-order2mod1.so): Likewise.
10396 (LDFLAGS-order2mod2.so): Likewise.
10397 (LDFLAGS-tst-initorder2): Likewise.
10398 (LDFLAGS-tst-initorder2a.so): Likewise.
10399 (LDFLAGS-tst-initorder2b.so): Likewise.
10400 (LDFLAGS-tst-initorder2c.so): Likewise.
10401 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10402
d77f993f
DM
104032012-05-02 David S. Miller <davem@davemloft.net>
10404
10405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10406
171a70b4
PP
104072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10408
10409 [BZ #14055]
10410 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10411
0be196ad
AJ
104122012-05-02 Andreas Jaeger <aj@suse.de>
10413
10414 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10415 since we manipulate rounding mode.
10416 (CPPFLAGS-test-idouble.c): Likewise.
10417 (CPPFLAGS-test-ifloat.c): Likewise.
10418 (CFLAGS-test-ldouble.c): Likewise.
10419 (CFLAGS-test-double.c): Likewise.
10420 (CFLAGS-test-float.c): Likewise.
10421 (CFLAGS-test-misc.c): Likewise.
10422 (CFLAGS-test-test-fenv.c): Likewise.
10423
4f9d04aa
AZ
104242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10425
2b942cb7
RM
10426 [BZ #2550]
10427 [BZ #2570]
10428 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10429 comparisons to determine direction to adjust input.
4f9d04aa 10430
82a79e7d
RM
104312012-05-01 Roland McGrath <roland@hack.frob.com>
10432
f5a01ca9
RM
10433 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10434 output to the target.
10435
90fe4186
RM
10436 * scripts/localplt.awk: New file.
10437 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10438 (check-localplt-CFLAGS): Variable removed.
10439 ($(all-built-dso:=.jmprel)): New static pattern rule.
10440 (generated): Add those targets.
10441 (localplt-built-dso): New variable.
10442 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10443
10444 * elf/check-localplt.c: File removed.
10445
82397ed6
RM
10446 * scripts/check-execstack.awk: New file.
10447 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10448 (check-execstack-CFLAGS): Variable removed.
10449 ($(objpfx)check-execstack.h): Target removed.
10450 ($(objpfx)execstack-default): New target.
10451 (generated): Add that instead of check-execstack.h.
10452 ($(all-built-dso:=.phdr)): New static pattern rule.
10453 (generated): Add those targets.
10454 * elf/check-execstack.c: File removed.
10455
82a79e7d
RM
10456 * scripts/check-textrel.awk: New file.
10457 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10458 (check-textrel-CFLAGS): Variable removed.
10459 (all-built-dso): Use := to define.o
10460 ($(all-built-dso:=.dyn)): New static pattern rule.
10461 (generated): Add those targets.
10462 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10463 * config.make.in (READELF): New substituted variable.
10464 * elf/check-textrel.c: File removed.
10465
62fde54f 104662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10467
615605c9
JM
10468 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10469 allow.
10470 * conform/data/ctype.h-data [C99-based standards] (isblank):
10471 Expect function.
10472 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10473 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10475 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10476 Specify type. Require positive value.
10477 (EILSEQ): Likewise.
10478 (ERANGE): Likewise.
10479 [ISO || POSIX] (EILSEQ): Do not expect.
10480 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10481 Specify type. Require positive value.
10482 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10483 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10484 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10485 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10486 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10487 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10488 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10490 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10492 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10493 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10496 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10497 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10499 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10500 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10501 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10502 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10503 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10504 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10505 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10506 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10507 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10524 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10537 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10538 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10539 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10540 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10541 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10542 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10543 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10544 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10545 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10546 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10547 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10548 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10549 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10550 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10551 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10552 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10553 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10554 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10555 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10556 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10557 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10558 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10559 Require >= 2.
10560 (FLT_ROUNDS): Expect as macro, not constant.
10561 (FLT_MANT_DIG): Use macro-int-constant.
10562 (DBL_MANT_DIG): Likewise.
10563 (LDBL_MANT_DIG): Likewise.
10564 (FLT_DIG): Likewise.
10565 (DBL_DIG): Likewise.
10566 (LDBL_DIG): Likewise.
10567 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10568 (DBL_MIN_EXP): Likewise.
10569 (LDBL_MIN_EXP): Likewise.
10570 (FLT_MAX_EXP): Use macro-int-constant.
10571 (DBL_MAX_EXP): Likewise.
10572 (LDBL_MAX_EXP): Likewise.
10573 (FLT_MAX_10_EXP): Likewise.
10574 (DBL_MAX_10_EXP): Likewise.
10575 (LDBL_MAX_10_EXP): Likewise.
10576 (FLT_MAX): Use macro-constant.
10577 (DBL_MAX): Likewise.
10578 (LDBL_MAX): Likewise.
10579 (FLT_EPSILON): Use macro-constant. Give upper bound.
10580 (DBL_EPSILON): Likewise.
10581 (LDBL_EPSILON): Likewise.
10582 (FLT_MIN): Likewise.
10583 (DBL_MIN): Likewise.
10584 (LDBL_MIN): Likewise.
10585 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10586 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10587 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10588 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10589 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10590 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10591 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10592 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10593 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10594 [ISO11] (FLT_TRUE_MIN): Likewise.
10595 [ISO11] (LDBL_TRUE_MIN): Likewise.
10596 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10597 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10598 (SCHAR_MIN): Use macro-int-constant. Specify type.
10599 (SCHAR_MAX): Likewise.
10600 (UCHAR_MAX): Likewise.
10601 (CHAR_MIN): Likewise.
10602 (CHAR_MAX): Likewise.
10603 (MB_LEN_MAX): Use macro-int-constant.
10604 (SHRT_MIN): Use macro-int-constant. Specify type.
10605 (SHRT_MAX): Likewise.
10606 (USHRT_MAX): Likewise.
10607 (INT_MAX): Likewise.
10608 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10609 bound negative.
10610 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10611 bound with "U".
10612 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10613 bound with "L".
10614 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10615 bound negative. Suffix upper bound with "L".
10616 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10617 bound with "UL".
10618 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10619 Specify type.
10620 [C99-based standards] (LLONG_MAX): Likewise.
10621 [C99-based standards] (ULLONG_MAX): Likewise.
10622 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10623 == 0.
10624 [ISO11] (max_align_t): Require type.
10625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10626
c9140a62
JM
10627 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10628 from $CFLAGS, without defining away __attribute__ calls.
10629 (checknamespace): Use $CFLAGS_namespace.
10630
9af0bf29
JM
10631 * conform/conformtest.pl (@keywords): Only include C99 keywords
10632 for standards based on C99 or C11.
10633
343222a2
JM
10634 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10635 Disable tests.
10636 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10637 UNIX98]: Likewise.
10638
661f8cf0
JM
10639 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10640 usability of symbols in #if.
10641
ee74b9cb
JM
10642 * conform/conformtest.pl: If macro or constant types start
10643 "promoted:", expect the symbol to be of the following type
10644 promoted by the integer promotions.
62fde54f 10645
aafc49b3
JM
10646 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10647 in one place. Also handle "macro-constant".
10648
fefdf574
JM
10649 * conform/conformtest.pl: Only accept expected macro values with
10650 "==". Parse all "macro" lines in one place.
10651 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10652
f2d922fe
JM
10653 * conform/conformtest.pl: Handle braced types on "constant" lines
10654 instead of handling "typed-constant".
10655 * conform/data/signal.h-data: Use "constant" instead of
10656 "typed-constant".
10657
d22956c9
JM
10658 * conform/conformtest.pl: Handle "optional-" at start of lines in
10659 one place rather than duplicating several cases. Handle each
10660 format of "macro" line with initial "optional-".
10661
028e2e38
JM
10662 * conform/conformtest.pl: Only accept expected constant or
10663 optional-constant values with "==". Parse all "constant" lines in
10664 one place. Parse all "optional-constant" lines in one place.
10665 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10666 * conform/data/fmtmsg.h-data: Likewise.
10667 * conform/data/netinet/in.h-data: Likewise.
10668 * conform/data/tar.h-data: Likewise.
10669 * conform/data/limits.h-data: Use "==" form on "constant" and
10670 "optional-constant" lines.
10671
1b8f2850
JM
10672 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10673 Use -std=c99 for XOPEN2K.
10674 (@knownproblems): Remove.
10675 (newtoken): Don't check %isknown.
10676
a05a144b
JM
10677 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10678 Do not expect macro.
10679 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10691 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10692 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10709 [XPG3] (acosh): Likewise.
10710 [XPG3] (asinh): Likewise.
10711 [XPG3] (atanh): Likewise.
10712 [XPG3] (cbrt): Likewise.
10713 [XPG3] (expm1): Likewise.
10714 [XPG3] (ilogb): Likewise.
10715 [XPG3] (log1p): Likewise.
10716 [XPG3] (logb): Likewise.
10717 [XPG3] (nextafter): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10720 [XPG3] (remainder): Likewise.
10721 [XPG3] (rint): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10729 [UNIX98 || XOPEN2K] (scalb): Expect.
10730 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10731 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10831 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10832 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10840 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10867
73c5ebe3
JM
10868 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10869 _XOPEN_SOURCE_EXTENDED for XPG4.
10870
39c33b6c
JM
10871 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10872
62fde54f
JM
10873 * Makeconfig (localtime): Remove variable.
10874 (inst_localtime-file): Likewise.
10875
0741d64c
AS
108762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10877
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10879 Update.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10881 Update.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10883 Update.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10885 Update.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10887 Update.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10889 Update.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10891 Update.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10893 Update.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10895 Update.
10896
7cb029ee
JM
108972012-05-01 Joseph Myers <joseph@codesourcery.com>
10898
10899 [BZ #2550]
10900 [BZ #2570]
10901 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10902 comparisons to determine direction to adjust input.
10903 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10904 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10906 Likewise.
10907 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10908 Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10910 Likewise.
10911 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10912 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10913 Likewise.
10914 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10915 Likewise.
10916 * math/libm-test.inc (nexttoward_test): Add more tests.
10917
412bd966
AS
109182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10919
10920 [BZ #14040]
10921 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10922 in version GLIBC_2.1, not GLIBC_2.0.
10923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10924 Likewise.
10925
9568c0c2
JM
109262012-04-30 Joseph Myers <joseph@codesourcery.com>
10927
adfbc8ac
JM
10928 [BZ #13942]
10929 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10930 (1 - x) * (1 + x).
10931 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10932 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10933 * math/libm-test.inc (acos_test): Add more tests.
10934 (asin_test): Likewise.
10935 * sysdeps/i386/fpu/libm-test-ulps: Update.
10936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10937
5ba3cc69
JM
10938 [BZ #14034]
10939 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10940 of square root.
10941 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10942 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10943 * math/libm-test.inc (acos_test_tonearest): New function.
10944 (acos_test_towardzero): Likewise.
10945 (acos_test_downward): Likewise.
10946 (acos_test_upward): Likewise.
10947 (asin_test_tonearest): Likewise.
10948 (asin_test_towardzero): Likewise.
10949 (asin_test_downward): Likewise.
10950 (asin_test_upward): Likewise.
10951 (main): Call the new functions.
10952 * sysdeps/i386/fpu/libm-test-ulps: Update.
10953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10954
9568c0c2
JM
10955 [BZ #13884]
10956 [BZ #13924]
10957 * math/e_exp10.c: Include <float.h>.
10958 (__ieee754_exp10): Handle underflow here rather than multiplying
10959 large negative argument by M_LN10.
10960 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10961 of __ieee754_expf.
10962 * math/e_exp10l.c: Include <float.h>.
10963 (__ieee754_exp10l): Handle underflow here rather than multiplying
10964 large negative argument by M_LN10l.
10965 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10966 spurious overflow exception on underflow.
10967
5ac3ea17
MP
109682012-04-29 Marek Polacek <polacek@redhat.com>
10969
10970 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10971 (__fortify_function): New macro.
10972 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10973 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10974 __extern_always_inline.
10975 * libio/bits/stdio2.h: Likewise.
10976 * libio/bits/stdio.h: Likewise.
10977 * string/string.h: Likewise.
10978 * string/bits/string3.h: Likewise.
10979 * include/stdio.h: Likewise.
10980 * stdlib/bits/stdlib.h: Likewise.
10981 * stdlib/stdlib.h: Likewise.
10982 * rt/bits/mqueue2.h: Likewise.
10983 * rt/mqueue.h: Likewise.
10984 * posix/bits/unistd.h: Likewise.
10985 * posix/unistd.h: Likewise.
10986 * io/bits/poll2.h: Likewise.
10987 * io/bits/fcntl2.h: Likewise.
10988 * io/fcntl.h: Likewise.
10989 * io/sys/poll.h: Likewise.
10990 * misc/bits/syslog.h: Likewise.
10991 * misc/bits/syslog-ldbl.h: Likewise.
10992 * misc/sys/syslog.h: Likewise.
10993 * socket/bits/socket2.h: Likewise.
10994 * socket/sys/socket.h: Likewise.
10995 * debug/tst-chk1.c: Likewise.
10996 * wcsmbs/bits/wchar2.h: Likewise.
10997 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10998 * wcsmbs/wchar.h: Likewise.
10999
ecf0ebfb
AJ
110002012-04-29 Andreas Jaeger <aj@suse.de>
11001
11002 * Makerules (tests): Remove enable-check-abi protection.
11003 (check-abi-warn): Remove.
11004 (check-abi-%): Remove check-abi-warn usage.
11005
11006 * configure.in: Remove check-abi configure option.
11007 * configure: Regenerated.
11008 * config.make.in (enable-check-abi): Remove.
11009
6d5c57fa
AS
110102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11011
24c5d07e 11012 [BZ #14033]
ded5180a
AS
11013 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11014 double functions to double *_finite functions.
11015
7e0d315d
AS
11016 [BZ #13941]
11017 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11018 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11019 LDBL_MIN_EXP.
11020 * stdio-common/Makefile (tests): Add tst-sprintf3.
11021 * stdio-common/tst-sprintf3.c: New file.
11022
6d5c57fa
AS
11023 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11024 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11025
0749ff8b
JM
110262012-04-28 Joseph Myers <joseph@codesourcery.com>
11027
11028 * conform/conformtest.pl: Remove duplicate typed-constant
11029 handling.
11030
8dbd5d7b
DM
110312012-04-28 David S. Miller <davem@davemloft.net>
11032
11033 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11034 (check-abi-%): Remove AWK script prerequisite and explicit
11035 abilist directory.
11036 (check-abi): Rewrite to just diff the symlist with the abilist.
11037 (config-tls, config-abi-config): Delete, no longer used.
11038 (update-abi-%): Remove AWK script and explicit abilist directory.
11039 (update-abi): Rewrite to simply compare and conditionally copy the
11040 symlist and the sysdep abilist file. Remove update-abi-config
11041 checks.
11042 * abilist/ld.abilist: Remove.
11043 * abilist/libBrokenLocale.abilist: Remove.
11044 * abilist/libanl.abilist: Remove.
11045 * abilist/libcrypt.abilist: Remove.
11046 * abilist/libdl.abilist: Remove.
11047 * abilist/librt.abilist: Remove.
11048 * abilist/libthread_db.abilist: Remove.
11049 * abilist/libutil.abilist: Remove.
11050 * scripts/extract-abilist.awk: Remove.
11051 * scripts/merge-abilist.awk: Remove.
11052 * sysdeps/generic/libcidn.abilist: New file.
11053 * sysdeps/generic/libnss_compat.abilist: New file.
11054 * sysdeps/generic/libnss_db.abilist: New file.
11055 * sysdeps/generic/libnss_dns.abilist: New file.
11056 * sysdeps/generic/libnss_files.abilist: New file.
11057 * sysdeps/generic/libnss_hesiod.abilist: New file.
11058 * sysdeps/generic/libnss_nis.abilist: New file.
11059 * sysdeps/generic/libnss_nisplus.abilist: New file.
11060 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11061 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11062 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11063 file.
11064 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11065 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11066 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11067 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11068 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11069 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11070 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11071 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11072 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11073 file.
11074 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11075 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11076 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11077 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11078 file.
11079 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11080 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11081 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11082 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11083 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11084 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11085 file.
11086 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11087 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11088 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11089 file.
11090 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11092 New file.
11093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11094 New file.
11095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11096 New file.
11097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11098 New file.
11099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11100 New file.
11101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11102 New file.
11103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11104 New file.
11105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11106 New file.
11107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11108 New file.
11109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11110 New file.
11111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11112 New file.
11113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11114 New file.
11115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11116 New file.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11118 file.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11120 New file.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11122 New file.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11124 file.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11126 New file.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11128 New file.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11130 file.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11132 New file.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11134 New file.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11136 New file.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11138 New file.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11140 New file.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11142 New file.
11143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11145 file.
11146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11147 New file.
11148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11149 file.
11150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11151 file.
11152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11153 file.
11154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11155 file.
11156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11157 file.
11158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11159 New file.
11160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11161 file.
11162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11163 file.
11164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11165 New file.
11166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11167 file.
11168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11170 file.
11171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11172 New file.
11173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11174 file.
11175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11176 file.
11177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11178 file.
11179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11180 file.
11181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11182 file.
11183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11184 New file.
11185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11186 file.
11187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11188 file.
11189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11190 New file.
11191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11192 file.
11193 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11194 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11195 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11196 file.
11197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11198 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11199 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11200 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11201 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11202 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11203 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11204 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11205 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11206 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11209 file.
11210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11211 New file.
11212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11213 file.
11214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11215 file.
11216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11217 file.
11218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11219 file.
11220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11221 file.
11222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11223 New file.
11224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11225 New file.
11226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11227 file.
11228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11229 New file.
11230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11231 file.
11232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11234 file.
11235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11236 New file.
11237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11238 file.
11239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11240 file.
11241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11242 file.
11243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11244 file.
11245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11246 file.
11247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11248 New file.
11249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11250 New file.
11251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11252 file.
11253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11254 New file.
11255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11256 file.
11257
41d73a1b
JM
112582012-04-28 Joseph Myers <joseph@codesourcery.com>
11259
11260 * conform/conformtest.pl: Fix typo in handling typed-constant from
11261 allow-header.
11262
28aeeda4
JM
112632012-04-27 Joseph Myers <joseph@codesourcery.com>
11264
adae8f5e
JM
11265 * README: Cut down references to pre-2.6 Linux kernels and
11266 Linuxthreads. Update lists of configurations in libc and ports
11267 and sort alphabetically. Say "or newer" with Linux kernel version
11268 requirements.
11269
28aeeda4
JM
11270 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11271
a462cb63
RA
112722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11273
11274 [BZ #887]
11275 * math/libm-test.inc (logb_test_downward): New test to expose
11276 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11277 rounding mode.
11278
6ad3493e
JM
112792012-04-27 Joseph Myers <joseph@codesourcery.com>
11280
11281 [BZ #14027]
11282 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11283 to be done.
11284 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11285 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11286
2ce4f015
JM
112872012-04-26 Joseph Myers <joseph@codesourcery.com>
11288
5aeb141a
JM
11289 * sysdeps/unix/i386/brk.S: Remove file.
11290 * sysdeps/unix/i386/dl-brk.S: Likewise.
11291 * sysdeps/unix/i386/pipe.S: Likewise.
11292 * sysdeps/unix/i386/sigreturn.S: Likewise.
11293 * sysdeps/unix/i386/syscall.S: Likewise.
11294 * sysdeps/unix/i386/vfork.S: Likewise.
11295 * sysdeps/unix/i386/wait.S: Likewise.
11296
7143acae
JM
11297 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11298 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11299
2ce4f015
JM
11300 * configure.in (arm*-none*): Do not allow without
11301 --enable-hacker-mode.
11302 (netbsd*): Remove case setting base_os.
11303 (386bsd*): Likewise.
11304 (freebsd*): Likewise.
11305 (bsdi*): Likewise.
11306 (osf*): Likewise.
11307 (sunos*): Likewise.
11308 (ultrix*): Likewise.
11309 (newsos*): Likewise.
11310 (dynix*): Likewise.
11311 (*bsd*): Likewise.
11312 (sysv*): Likewise.
11313 (isc*): Likewise.
11314 (esix*): Likewise.
11315 (sco*): Likewise.
11316 (minix*): Likewise.
11317 (irix4*): Likewise.
11318 (irix6*): Likewise.
11319 (solaris[2-9]*): Likewise.
11320 (none): Likewise.
11321 * configure: Regenerated.
11322
0ac229c8
AZ
113232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11324
11325 [BZ #11521]
11326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11327 overflow or cancellation in calculating denominator.
11328 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11330 down expression to avoid unexpected rounding in newer GCCs.
11331 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11332
33f244f4
DM
113332012-04-26 David S. Miller <davem@davemloft.net>
11334
11335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11336 long-double compat symbols.
11337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11350
cfa1f3e8
DM
113512012-04-25 David S. Miller <davem@davemloft.net>
11352
11353 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11354 HWCAP_* values only after the memory barriers have been defined.
11355 (atomic_full_barrier): Define.
11356 (atomic_read_barrier): Define.
11357 (atomic_write_barrier): Define.
11358
6e236b92
SP
113592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11360
11361 * shlib-versions: Add libgcc_s version information.
11362 * sysdeps/generic/libgcc_s.h: Remove.
11363 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11364 libgcc_s.h.
11365 * sysdeps/gnu/unwind-resume.c: Likewise.
11366 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11367
aab39a09
DM
113682012-04-25 David S. Miller <davem@davemloft.net>
11369
11370 * sysdeps/unix/sparc/brk.S: Delete.
11371 * sysdeps/unix/sparc/dl-brk.S: Delete.
11372 * sysdeps/unix/sparc/pipe.S: Delete.
11373 * sysdeps/unix/sparc/sysdep.S: Delete.
11374 * sysdeps/unix/sparc/sysdep.h: Delete.
11375 * sysdeps/unix/sparc/vfork.S: Delete.
11376 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11377 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11379 ret_ERRVAL, r0, r1, MOVE): Define.
11380 (JUMPTARGET): Remove.
11381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11382 sysdeps/unix/sparc/sysdep.h
11383 (ENTRY, END): Remove.
11384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11385
a3cc4f48
JM
113862012-04-25 Joseph Myers <joseph@codesourcery.com>
11387
2ed8cda2
JM
11388 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11389 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11390 -DIS_IN_build.
11391
35d76d59
JM
11392 * timezone/README: Update upstream location and email address for
11393 tzcode and tzdata.
11394 * timezone/zdump.c: Update from tzcode 2012b.
11395 * timezone/zic.c: Likewise.
11396
a3cc4f48
JM
11397 * configure.in (libc_cv_as_needed): Remove test.
11398 * configure: Regenerated.
11399 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11400 conditional definition.
11401 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11402 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11403 * config.make.in (have-as-needed): Remove variable.
11404
ceab42c3
SP
114052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11406 Paul Pluzhnikov <ppluzhnikov@google.com>
11407
11408 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11409 strings correctly.
11410
3ce2865f
CLT
114112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11412
11413 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11414 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11415 * sysdeps/sh/strlen.S: Likewise.
11416
f37e0d68
JM
114172012-04-24 Joseph Myers <joseph@codesourcery.com>
11418
ae186e9a
JM
11419 * sysdeps/unix/fork.S: Remove file.
11420 * sysdeps/unix/i386/fork.S: Likewise.
11421 * sysdeps/unix/sparc/fork.S: Likewise.
11422
b96914af
JM
11423 * sysdeps/unix/system.c: Remove file.
11424 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11425
f37e0d68
JM
11426 * sysdeps/unix/getegid.S: Remove file.
11427 * sysdeps/unix/geteuid.S: Likewise.
11428
87ef29ca
RM
114292012-04-24 Roland McGrath <roland@hack.frob.com>
11430
83bcd236
RM
11431 * scripts/check-localplt.awk: New file.
11432 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11433 of diff.
11434 * scripts/data/localplt-generic.data: Add a comment.
11435
87ef29ca
RM
11436 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11437 NODE when __dir_mkfile failed.
11438 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11439 Reported by Ludovic Courtès <ludo@gnu.org>.
11440
e5a6e567
AJ
114412012-04-24 Andreas Jaeger <aj@suse.de>
11442
11443 * Makerules (common-clean): Also remove gen-as-const-headers
11444 files.
11445
c1820385
JM
114462012-04-24 Joseph Myers <joseph@codesourcery.com>
11447
11448 * Makerules (native-compile): Do not change working directory for
11449 build. Use $(OUTPUT_OPTION) in command.
11450 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11451
94e02fc4
AZ
114522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11453
11454 [BZ #13886]
11455 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11456 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11457 * math/libm-test.inc (floor_test): Add more tests.
11458 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11459
3a533ca3
JM
114602012-04-24 Joseph Myers <joseph@codesourcery.com>
11461
940ab4b3
JM
11462 * sysdeps/unix/getdents.c: Remove file.
11463 * sysdeps/unix/sysv/getdents.c: Likewise.
11464 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11465
90e037bd
JM
11466 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11467 sysdeps/unix/mman/syscalls.list.
11468 (mmap): Likewise.
11469 (mprotect): Likewise.
11470 (msync): Likewise.
11471 (munmap): Likewise.
11472 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11473 * sysdeps/unix/mman/syscalls.list: Remove.
11474 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11475
3a533ca3
JM
11476 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11477 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11478 * configure: Regenerated.
11479 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11480 $(libgcc_s_suffix).
11481 * config.make.in (libgcc_s_suffix): Remove variable.
11482
1ad743de
JM
114832012-04-23 Joseph Myers <joseph@codesourcery.com>
11484
4ad451e2
JM
11485 * sysdeps/unix/sysv/gethostname.c: Move to ...
11486 * sysdeps/posix/gethostname.c: ... here.
11487
5e37ce39
JM
11488 * sysdeps/unix/execve.S: Remove file.
11489
1ad743de
JM
11490 * sysdeps/unix/_exit.S: Remove file.
11491
4e681b5b
AJ
114922012-04-23 Andreas Jaeger <aj@suse.de>
11493
11494 [BZ #13739]
11495 * manual/Makefile: Remove make dist support, there's no
11496 need for a stand-alone documentation tar ball.
11497 (TEXI2DVI): Define always, it's not in Makeconfig.
11498 (dist): Removed.
11499 (tar-it): Removed.
11500 (edition): Removed.
11501 (glibc-doc-$(edition).tar): Removed
11502 (%.Z): Removed.
11503 (%.gz): Removed.
11504 (%.uu): Removed.
11505 (ETAGS): Remove, it's in Makeconfig.
11506 (move-if-change): Remove, it's in Makeconfig.
11507
c0baea34
PE
115082013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11509
11510 [BZ #13970]
11511 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11512 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11513 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11514 (strtod_l, strtof_l, strtold_l): Remove __wur.
11515 It is not necessarily an error to ignore strtol's return value.
11516 One can reliably look at the stored endptr to decide whether
11517 the number had valid syntax.
11518
7c0616fa
AJ
115192012-04-21 Andreas Jaeger <aj@suse.de>
11520
803cb6b7 11521 [BZ #13739]
7c0616fa
AJ
11522 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11523
b0fe253f
JM
115242012-04-21 Joseph Myers <joseph@codesourcery.com>
11525
11526 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11527 * sysdeps/unix/sysv/Versions: Remove file.
11528
8280f22d
MT
115292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11530
11531 [BZ #13927]
11532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11533
75ce411f 115342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11535
11536 [BZ #7064]
11537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11538 version from __vm86.
11539
097d59fa
JM
115402012-04-20 Joseph Myers <joseph@codesourcery.com>
11541
a90f3bcb
JM
11542 * sysdeps/unix/common/lxstat.c: Remove file.
11543 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11544
edc7ea78
JM
11545 * sysdeps/unix/sysv/Makefile: Remove file.
11546
cb78c221
JM
11547 * sysdeps/unix/sysv/direct.h: Remove file.
11548
efa6a45f
JM
11549 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11550 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11551 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11552 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11553 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11554 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11555 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11556
9c9f2d0c
JM
11557 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11558
4541c83b
JM
11559 * sysdeps/unix/xmknod.c: Remove file.
11560 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11561
f5d153a0
JM
11562 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11563
aa746595
JM
11564 * sysdeps/unix/sysv/i386/time.S: Remove file.
11565
cce5905e
JM
11566 * sysdeps/unix/fxstat.c: Remove file.
11567 * sysdeps/unix/xstat.c: Likewise.
11568 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11569
37fa3841
JM
11570 * sysdeps/unix/sysv/sigaction.c: Remove file.
11571
ff1962a3
JM
11572 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11573 (sysdep_headers): Remove variable.
11574 [termio.h not in sysdep_headers] (generated): Likewise.
11575 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11576 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11577 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11578 * sysdeps/unix/sysv/tcflow.c: Likewise.
11579 * sysdeps/unix/sysv/tcflush.c: Likewise.
11580 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11581 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11582 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11583 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11584 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11585
e7740d31
JM
11586 * sysdeps/unix/siglist.c: Remove file.
11587
ee06f18b
JM
11588 * sysdeps/unix/getppid.S: Remove file.
11589
097d59fa
JM
11590 * sysdeps/unix/mkdir.c: Remove file.
11591 * sysdeps/unix/rmdir.c: Likewise.
11592
ff3d51ec
AS
115932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11594
11595 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11596 ERR_MAX value.
11597 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11598 errlist-compat value.
11599
50f81fd7
DM
116002012-04-18 David S. Miller <davem@davemloft.net>
11601
11602 * sysdeps/generic/memcopy.h (reg_char): Delete.
11603 * debug/strcat_chk.c: Use char, not reg_char.
11604 * debug/strcpy_chk.c: Likewise.
11605 * debug/strncat_chk.c: Likewise.
11606 * debug/strncpy_chk.c: Likewise.
11607 * string/memchr.c: Likewise.
11608 * string/memrchr.c: Likewise.
11609 * string/rawmemchr.c: Likewise.
11610 * string/strcat.c: Likewise.
11611 * string/strchr.c: Likewise.
11612 * string/strchrnul.c: Likewise.
11613 * string/strcmp.c: Likewise.
11614 * string/strcpy.c: Likewise.
11615 * string/strncat.c: Likewise.
11616 * string/strncmp.c: Likewise.
11617 * string/strncpy.c: Likewise.
11618
8ff41c46
WS
116192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11620
11621 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11622 __builtin_memcopy is called when src and dest ranges are known to not
11623 overlap.
11624
6b652f46
WS
116252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11626
11627 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11628 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11629 fwd_align_merge macro call.
11630 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11631 bwd_align_merge macro call.
11632 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11633
b282631e
WS
116342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11635
11636 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11637 bwd_align_merge macros.
11638 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11639 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11640 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11641
95aa737c
DM
116422012-04-18 David S. Miller <davem@davemloft.net>
11643
11644 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11645
7a99a614
AJ
116462012-04-18 Andreas Jaeger <aj@suse.de>
11647
11648 [BZ# 6794]
11649 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11650 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11651 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11652
11653 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11654 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11656
11657 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11658 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11659 Adjust for changed ldbl-128 files.
11660
11661 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11662 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11663 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11664
e5270c23
DM
116652012-04-17 David S. Miller <davem@davemloft.net>
11666
11667 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11668
fb5e92c9
AS
116692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11670
11671 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11672 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11673 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11674 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11675 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11676 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11677
76da7265
AZ
116782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11679
11680 [BZ #6794]
11681 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11682 * math/libm-test.inc: Add ilogb errno and exception tests.
11683 * math/w_ilogb.c: New file: ilogb wrapper.
11684 * math/w_ilogbf.c: New file: ilogbf wrapper.
11685 * math/w_ilogbl.c: New file: ilogbl wrapper.
11686 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11687 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11688 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11689 exception being thrown with 0.0 as argument.
11690 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11691 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11692 exception being thrown with 0.0 as argument.
11693 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11694 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11695 exception being thrown with 0.0 as argument.
11696 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11697 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11698 exception being thrown with 0.0 as argument.
11699 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11700 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11701 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11702 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11703 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11704 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11705 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11706 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11707 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11708
0396e69d
PB
117092012-04-17 Petr Baudis <pasky@ucw.cz>
11710
11711 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11712 with altivec.
11713
750b5926
MP
117142012-04-16 Marek Polacek <polacek@redhat.com>
11715
11716 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11717
751728a1
MP
117182012-04-16 Marek Polacek <polacek@redhat.com>
11719
11720 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11721 operands of fdivp instruction.
11722
34a27407
L
117232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11726 * elf/tst-auditmod3b.c: Likewise.
11727 * elf/tst-auditmod4b.c: Likewise.
11728 * elf/tst-auditmod5b.c: Likewise.
11729 * elf/tst-auditmod6b.c: Likewise.
11730 * elf/tst-auditmod6c.c: Likewise.
11731 * elf/tst-auditmod7b.c: Likewise.
11732 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11733 * sysdeps/x86_64/preconfigure.in: Likewise.
11734 * sysdeps/x86_64/preconfigure: Regenerated.
11735
7e73e17d
L
117362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11737
11738 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11739 __ILP32__.
11740
c7a6ab72
AB
117412012-04-13 Antoine Balestrat <merkil33@gmail.com>
11742
11743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11744 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11745
a9e8e0e0
CL
117462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11747
11748 [BZ #13973]
11749 * locale/iso-639.def: Fix gl language name. Spotted by
11750 Yaron Shahrabani.
11751
ec98af7d
RM
117522012-04-12 Roland McGrath <roland@hack.frob.com>
11753
11754 [BZ #2074]
11755 * libio/libio.h (__io_write_fn): Update comment.
11756
247c3ede
PB
117572012-04-12 Petr Baudis <pasky@ucw.cz>
11758
11759 [BZ #2074]
11760 * stdio.texi (Hook Functions): The user provided writer function
11761 is not allowed to return -1.
11762
55939d6d
DM
117632012-04-11 David S. Miller <davem@davemloft.net>
11764
11765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11766
90020f5a
MF
117672012-04-11 Mike Frysinger <vapier@gentoo.org>
11768
11769 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11770 Add a leading slash to rtkaio.
11771
288f9098
JM
117722012-04-11 Jim Meyering <meyering@redhat.com>
11773
90020f5a
MF
11774 [BZ #11959]
11775 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11776 It is not necessarily an error to ignore fwrite's return
11777 value. One can reliably use ferror to test for errors after
11778 the fact.
288f9098 11779
4be2b570
L
117802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11781
11782 * bits/types.h (__snseconds_t): New type.
11783 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11784
11785 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11787 (__SNSECONDS_T_TYPE): Likewise.
11788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11789 (__SNSECONDS_T_TYPE): Likewise.
11790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11791 (__SNSECONDS_T_TYPE): Likewise.
11792
288f9098 117932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11794
11795 [BZ #2636]
11796 * manual/time.texi (Processor Time): Return type of times is
11797 elapsed real time since an arbitrary point in the past.
11798 (CPU Time): Move CLK_TCK from here...
11799 (Processor Time): ...to here. Correct description.
11800 * manual/conf.texi (Constants for Sysconf): Correct description of
11801 _SC_CLK_TCK.
11802
d7dd4413
DM
118032012-04-10 David S. Miller <davem@davemloft.net>
11804
11805 [BZ #13967]
11806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11807 where the is a gap between DT_REL(A) and DT_JMPREL.
11808
b46068fc
L
118092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11810
11811 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11812 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11813 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11814
73d65cc3
SP
118152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11816
11817 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11818 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11819 (dl_main): Handle --inhibit-cache.
11820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11821 _dl_inhibit_cache.
11822 * elf/dl-load.c (_dl_map_object): Use it.
11823 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11824
bcc8d661
JM
118252012-04-09 Joseph Myers <joseph@codesourcery.com>
11826
8f9a2fae
JM
11827 [BZ #13872]
11828 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11829 (__ieee754_powl): Saturate large exponents rather than testing for
11830 overflow of y*log2(x).
11831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11832 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11833 exceptions.
11834
bcc8d661
JM
11835 [BZ #11521]
11836 * math/s_ctan.c: Include <float.h>.
11837 (__ctan): Avoid internal overflow or cancellation in calculating
11838 denominator.
11839 * math/s_ctanf.c: Likewise.
11840 * math/s_ctanl.c: Likewise.
11841 * math/s_ctanh.c: Likewise.
11842 * math/s_ctanhf.c: Likewise.
11843 * math/s_ctanhl.c: Likewise.
11844 * math/libm-test.inc (ctan_test): Add more tests.
11845 (ctanh_test): Likewise.
11846 * sysdeps/i386/fpu/libm-test-ulps: Update.
11847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11848
823fbbb4
AJ
118492012-04-09 Andreas Jaeger <aj@suse.de>
11850
03879793
AJ
11851 [BZ #6894]
11852 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11853 is an optional BSD extension.
11854
823fbbb4
AJ
11855 [BZ #10254]
11856 * manual/stdio.texi (Opening Streams): Document additional fopen
11857 parameters.
11858
8de131cb
RM
118592012-04-09 Roland McGrath <roland@hack.frob.com>
11860
11861 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11862 %eax without telling the compiler.
11863
c0ed9d7d
CD
118642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11865
11866 [BZ # 13963]
11867 * manual/install.texi: Use sourceware.org.
11868
c483f6b4
JM
118692012-04-09 Joseph Myers <joseph@codesourcery.com>
11870
d7dd9453
JM
11871 [BZ #13873]
11872 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11873 (__ieee754_pow): Generate overflow and underflow using huge*huge
11874 and tiny*tiny rather than just returning constant infinity or zero
11875 for large exponents.
11876 * math/libm-test.inc (pow_test): Require overflow exceptions for
11877 applicable cases of large exponents.
11878
c483f6b4
JM
11879 [BZ #706]
11880 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11881 (__ieee754_pow): Use iterative multiplication algorithm only for
11882 integer exponents with absolute value below 1024. Check for odd
11883 integer exponents when using algorithm for real exponents.
11884 * math/libm-test.inc (pow_test): Add more tests.
11885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11886
d2de7579
JM
118872012-04-08 Joseph Myers <joseph@codesourcery.com>
11888
11889 [BZ #13705]
11890 * math/libm-test.inc (exp_test): Do not allow overflow exception
11891 on underflow test.
11892
f77f1232
AJ
118932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11894
11895 [BZ #13705]
11896 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11897 instead of __kernel_standard_f.
11898
3884932b
MF
118992012-04-08 Mike Frysinger <vapier@gentoo.org>
11900
11901 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11902 * sysdeps/x86_64/memset_chk.S: Likewise.
11903
54472e9c
AJ
119042012-04-08 Andreas Jaeger <aj@suse.de>
11905
6ab0fbfc
AJ
11906 [BZ #10153]
11907 * manual/startup.texi (Environment Access): Describe return value
11908 for putenv and setenv.
11909
61efba8c
AJ
11910 [BZ #6895]
11911 * manual/filesys.texi (Directory Entries): Add description for
11912 DT_LNK.
11913
95c3f29a
AJ
11914 [BZ #6890]
11915 * manual/filesys.texi (Directory Entries): Clarify that it's file
11916 system not operating system in the description of DT_UNKNOWN.
11917
54472e9c
AJ
11918 [BZ #6578]
11919 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11920
624254b1
SC
119212012-04-08 Stephen Compall <s11@member.fsf.org>
11922
11923 [BZ #6649]
11924 * manual/llio.texi (Opening and Closing Files): Add cross
11925 reference to explain mode argument.
11926
1e4920e0
MF
119272012-04-07 Mike Frysinger <vapier@gentoo.org>
11928
11929 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11930 * sysdeps/x86_64/memset_chk.S: Likewise.
11931
5ed848f3
DM
119322012-04-07 David S. Miller <davem@davemloft.net>
11933
11934 * elf/elf.h (R_SPARC_WDISP10): Define.
11935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11936 R_SPARC_SIZE32.
11937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11938 R_SPARC_SIZE64 and R_SPARC_H34.
11939
96154cd8
CD
119402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11941
11942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11943 conditions and remove no longer applicable assertion.
11944
9904dc47
L
119452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11946
11947 * bits/byteswap.h: Include <features.h>.
11948 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11949 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11950
f8887d0a
L
119512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11952
11953 * bits/byteswap.h (__bswap_16): Removed.
11954 Include <bits/byteswap-16.h> to get __bswap_16.
11955 * sysdeps/i386/bits/byteswap.h: Likewise.
11956 * sysdeps/s390/bits/byteswap.h: Likewise.
11957 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11958 * bits/byteswap-16.h: New file.
11959 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11960 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11961 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11962 * string/Makefile (headers): Add bits/byteswap-16.h.
11963
62470f60
PP
119642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11965
11966 [BZ #13895]
11967 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11968 extra indirection.
11969 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11970 * nss/tst-nss-static.c: New.
11971
4dad7bab
RM
119722012-04-06 Robert Millan <rmh@gnu.org>
11973
11974 [BZ #6486]
11975 * manual/llio.texi (File Position Primitive): lseek
11976 refers to WHENCE when it really means OFFSET.
11977
e9142a17
AJ
119782012-04-06 Andreas Jaeger <aj@suse.de>
11979
2c040eff
AJ
11980 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11981 strncmp declarations.
11982
e9142a17
AJ
11983 * abilist/libc.abilist: Add __poll and __ppoll.
11984
ff9f1c5f
DM
119852012-04-05 David S. Miller <davem@davemloft.net>
11986
dcd2ae90
DM
11987 * scripts/check-local-headers.sh: Accept a host triplet in the
11988 path matched by the exclude regexp.
11989
993eb054
DM
11990 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11991 definition.
11992 * sysdeps/powerpc/powerpc32/dl-machine.h
11993 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11994 * sysdeps/s390/s390-32/dl-machine.h
11995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11996 * sysdeps/sparc/sparc32/dl-machine.h
11997 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11998 * sysdeps/sparc/sparc64/dl-machine.h
11999 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12000
ff9f1c5f
DM
12001 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12002 lazy binding.
48e2e132 12003 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12004 undefined symbol errors.
12005
48e2e132 12006 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12007 DT_NEEDED entries.
12008
e80d6f94
MM
120092012-04-05 Michael Matz <matz@suse.de>
12010
12011 [BZ #13592]
12012 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12013
349fa79f
AJ
120142012-04-05 Andreas Jaeger <aj@suse.de>
12015
12016 [BZ #13908]
12017 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12018 comment.
12019
f402708f
KK
120202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12021
12022 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12023 which ROUND is no valid rounding mode.
12024
2ecccfc9
KK
120252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12026
12027 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12028 read again.
12029 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12030
8a53f50f
KK
120312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12032
12033 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12034 an exception using FPU order intentionally.
12035
120362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12037
12038 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12039 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12040 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12041 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12042
d653abb7
SJ
120432012-04-05 Simon Josefsson <simon@josefsson.org>
12044
12045 [BZ #12340]
12046 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12047 EINVAL when BUFLEN is too smal.
12048
c3b1bf7d
TS
120492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12050
12051 [BZ #13553]
12052 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12053 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12054
b1aa60f3
AJ
120552012-04-03 Andreas Jaeger <aj@suse.de>
12056
c3b1bf7d 12057 [BZ #13938]
67f60a26
AJ
12058 * manual/setjmp.texi (System V contexts): Fix sentence.
12059
b1aa60f3
AJ
12060 [BZ #13926]
12061 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12062 New macro for this case.
12063 [!__GNUC__] (__bswap_64): New inline function for this case.
12064 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12065 * bits/byteswap.h: Likewise.
12066 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12067 ull, guard with __GLIBC_HAVE_LONG_LONG.
12068
12069 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12070 __GLIBC_HAVE_LONG_LONG.
12071
12072 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12073 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12074
39c59c35
TMQMF
120752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12076
12077 [BZ #13691]
12078 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12079 inptr and inend, rather than using last_ch.
12080
135ffda8
DM
120812012-04-02 David S. Miller <davem@davemloft.net>
12082
12083 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12084 * stdio-common/printf-parse.h (read_int): Change return type to
12085 'int', return -1 on INT_MAX overflow.
12086 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12087 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12088 overflows INT_MAX. Check for overflow of in-format-string precision
12089 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12090 SIZE_MAX not INT_MAX for integer overflow test.
12091 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12092 skip the construct in the format string but do not record anything.
12093 * stdio-common/bug22.c: Adjust to test both width/prevision
12094 INT_MAX overflow as well as total length INT_MAX overflow. Check
12095 explicitly for proper errno values.
12096
228c019e
TS
120972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12098
302cadd3
TS
12099 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12100 CHAR_MAX.
12101 * string/test-strcmp.c [! WIDE]: Likewise.
12102 * time/tst-mktime2.c: Likewise for INT_MAX.
12103 * string/test-string.h: #include <sys/param.h> for MIN.
12104
228c019e
TS
12105 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12106 * sysdeps/i386/init-first.c (init): Likewise.
12107 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12108 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12109 * sysdeps/sh/init-first.c (init): Likewise.
12110
cfa633f5
UD
121112012-04-01 Ulrich Drepper <drepper@gmail.com>
12112
12113 * po/ru.po: Update from translation team.
d1635ef8 12114 * po/vi.po: Likewise.
cfa633f5 12115
6cd0a5ea
SP
121162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12117
12118 * resolv/nss_dns/dns-host.c: Merge copyright years.
12119
4b43400f
LD
121202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12121
12122 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12123 Optimize memcpy with prefetch if
12124 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12125 src, dst pointers have unequal 16 byte alignments.
12126
48c41d04
SP
121272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12128
12129 [BZ #13928]
12130 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12131 from a CNAME entry and return the minimum ttl for the query.
12132 (gaih_getanswer_slice): Likewise.
12133
b8dc394d
JL
121342012-03-30 Jeff Law <law@redhat.com>
12135
12136 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12137 due to long keys.
12138 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12139 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12140
2f5a5ed0
JL
12141 * resolv/nss_dns/dns-host.c: Update copyright year.
12142
1d39e359
UD
121432012-03-30 Ulrich Drepper <drepper@gmail.com>
12144
c030f70c 12145 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12146 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12147
1d39e359
UD
12148 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12149 comments for sendmmsg.
12150
121512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12152
12153 [BZ #13691]
12154 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12155 with only 1 character between 0x0041 and 0x01b0.
12156 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12157 * wcsmbs/tst-mbsnrtowcs.c: New file.
12158
20fde227
DM
121592012-03-29 David S. Miller <davem@davemloft.net>
12160
12161 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12162 small copies by hand.
12163
984a4237
JL
121642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12165
12166 [BZ #13761]
12167 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12168 _nss_compat_initgroups_dyn): Fall back to malloc/free
12169 for large group memberships.
12170
18c9d62b
DM
121712012-03-28 David S. Miller <davem@davemloft.net>
12172
88d85d4f
DM
12173 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12174 that branches into memcpy.
12175 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12177 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12178 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12180 bits.
12181 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12182 implementation too.
12183 * sysdeps/sparc/mempcpy.S: New file.
12184
e5aa83e1
DM
12185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12186 the IFUNC routine in the libc case.
12187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12188
88570753
DM
12189 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12190 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12191 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12192 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12193 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12194 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12195 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12196 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12197
249d7567
DM
12198 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12199 loop to 256 bytes instead of 64 bytes and fix test signedness.
12200
18c9d62b
DM
12201 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12202 * sysdeps/sparc/sparc32/Makefile: rather than here...
12203 * sysdeps/sparc/sparc64/Makefile: and here.
12204
05f3d1f6
UD
122052012-03-28 Ulrich Drepper <drepper@gmail.com>
12206
12207 * malloc/mallocbug.c: Avoid warnings about unused variables.
12208
86ae07a8
JL
122092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12210
12211 [BZ #13760]
12212 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12213 in the right place. Discard and retry query if response is
12214 larger than input buffer size.
12215
41bf21a1
JM
122162012-03-28 Joseph Myers <joseph@codesourcery.com>
12217
d6270972
JM
12218 [BZ #369]
12219 [BZ #2678]
12220 [BZ #3866]
12221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12222 x for large integer exponent.
12223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12224 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12225 sign of result as needed afterwards.
12226 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12228 result for underflowing pow the same as for overflow.
12229 (__kernel_standard_l): Handle powl overflow and underflow here
12230 rather than calling __kernel_standard.
12231 * math/libm-test.inc (pow_test): Add more tests.
12232
414fca03 12233 [BZ #3868]
41bf21a1
JM
12234 [BZ #13879]
12235 [BZ #13910]
12236 [BZ #13911]
12237 [BZ #13912]
12238 [BZ #13913]
12239 [BZ #13915]
12240 [BZ #13916]
12241 [BZ #13917]
12242 [BZ #13918]
12243 [BZ #13919]
12244 [BZ #13920]
12245 [BZ #13921]
12246 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12247 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12248 (__kernel_standard_l): New function.
12249 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12250 __kernel_standard.
12251 * math/w_acosl.c (__acosl): Likewise.
12252 * math/w_asinl.c (__asinl): Likewise.
12253 * math/w_atan2l.c (__atan2l): Likewise.
12254 * math/w_atanhl.c (__atanhl): Likewise.
12255 * math/w_coshl.c (__coshl): Likewise.
12256 * math/w_exp10l.c (__exp10l): Likewise.
12257 * math/w_exp2l.c (__exp2l): Likewise.
12258 * math/w_fmodl.c (__fmodl): Likewise.
12259 * math/w_hypotl.c (__hypotl): Likewise.
12260 * math/w_j0l.c (__j0l, __y0l): Likewise.
12261 * math/w_j1l.c (__j1l, __y1l): Likewise.
12262 * math/w_jnl.c (__jnl, __ynl): Likewise.
12263 * math/w_lgammal.c (__lgammal): Likewise.
12264 * math/w_log10l.c (__log10l): Likewise.
12265 * math/w_log2l.c (__log2l): Likewise.
12266 * math/w_logl.c (__logl): Likewise.
12267 * math/w_powl.c (__powl): Likewise.
12268 * math/w_remainderl.c (__remainderl): Likewise.
12269 * math/w_scalbl.c (sysv_scalbl): Likewise.
12270 * math/w_sinhl.c (__sinhl): Likewise.
12271 * math/w_sqrtl.c (__sqrtl): Likewise.
12272 * math/w_tgammal.c (__tgammal): Likewise.
12273 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12274 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12275 * math/libm-test.inc (acos_test): Add more tests.
12276 (acosh_test): Likewise.
12277 (asin_test): Likewise.
12278 (atanh_test): Likewise.
12279 (exp_test): Likewise.
12280 (exp10_test): Likewise.
12281 (exp2_test): Likewise.
12282 (expm1_test): Likewise.
12283 (lgamma_test): Likewise.
12284 (log_test): Likewise.
12285 (log10_test): Likewise.
12286 (log1p_test): Likewise.
12287 (log2_test): Likewise.
12288 (pow_test): Do not allow some spurious overflow exceptions.
12289 (sqrt_test): Add more tests.
12290 (tgamma_test): Likewise.
12291 (y0_test): Likewise.
12292 (y1_test): Likewise.
12293 (yn_test): Likewise.
12294
dd62fda6
AB
122952012-03-27 Anton Blanchard <anton@samba.org>
12296
12297 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12298 MAP_HUGETLB.
12299 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12301 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12302
1e3cdfda
AJ
123032012-03-27 David S. Miller <davem@davemloft.net>
12304
b855ab85
DM
12305 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12306
1e3cdfda
AJ
12307 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12308 have-as-vis3 check.
12309
123102012-03-27 Andreas Jaeger <aj@suse.de>
12311
12312 * sysdeps/x86_64/elf/configure.in: Moved to ...
12313 * sysdeps/x86_64/configure.in: ... here.
12314 * sysdeps/x86_64/elf/start.S: Moved to ...
12315 * sysdeps/x86_64/start.S: ... here.
12316 * sysdeps/x86_64/elf/configure: Delete.
12317
12318 * sysdeps/x86_64/configure.in: Merge contents from
12319 sysdeps/i386/configure.in (without i686 check).
12320
12321 * sysdeps/i386/elf/Versions: Merge into ...
12322 * sysdeps/i386/Versions: ... this.
12323 * sysdeps/i386/elf/Versions: Delete file.
12324 * sysdeps/i386/elf/start.S: Moved to ...
12325 * sysdeps/i386/start.S: ...here.
12326 * sysdeps/i386/elf/configure.in: Merge into...
12327 * sysdeps/i386/configure.in: ...here.
12328 * sysdeps/i386/elf/configure.in: Delete file.
12329 * sysdeps/i386/elf/configure: Delete file.
12330
12331 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12332 * debug/backtracesyms.c: ... here.
12333 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12334 * debug/backtracesymsfd.c: ... here.
12335 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12336 * sysdeps/generic/ifunc-sel.h: ... here.
12337
12338 * sysdeps/unix/i386/start.c: Delete file.
12339 * sysdeps/unix/sparc/start.c: Delete file.
12340 * sysdeps/unix/start.c: Delete file.
12341
12342 * sysdeps/sh/elf/configure.in: Moved to ...
12343 * sysdeps/sh/configure.in: ... here.
12344 * sysdeps/sh/elf/start.S: Moved to ...
12345 * sysdeps/sh/start.S: ... here.
12346 * sysdeps/sh/elf/configure: Delete file.
12347
12348 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12349 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12350 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12351 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12352 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12353 * sysdeps/powerpc/powerpc64/start.S: here.
12354 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12355 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12356 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12357 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12358 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12359
12360 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12361 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12362 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12363 * sysdeps/powerpc/powerpc32/start.S: ... here.
12364 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12365 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12366 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12367
12368 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12369 * sysdeps/powerpc/ifunc-sel.h: ... here.
12370 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12371 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12372
12373 * sysdeps/sparc/elf/configure.in: Moved to ...
12374 * sysdeps/sparc/configure.in: ... here.
12375 * sysdeps/sparc/elf/configure: Delete file.
12376 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12377 * sysdeps/sparc/sparc32/start.S: ... here.
12378 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12379 * sysdeps/sparc/sparc64/start.S: ... here.
12380 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12381 * sysdeps/sparc/sparc32/Makefile: ... this.
12382 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12383 * sysdeps/sparc/sparc64/Makefile: ... this.
12384
12385 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12386 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12387 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12388 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12389 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12390 * sysdeps/s390/s390-32/setjmp.S: ... here.
12391 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12392 * sysdeps/s390/s390-32/configure.in: ... here.
12393 * sysdeps/s390/s390-32/elf/configure: Delete file.
12394 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12395 * sysdeps/s390/s390-32/start.S: ... here.
12396
12397 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12398 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12399 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12400 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12401 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12402 * sysdeps/s390/s390-64/setjmp.S: ... here.
12403 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12404 * sysdeps/s390/s390-64/configure.in: ... here
12405 * sysdeps/s390/s390-64/elf/configure: Delete file.
12406 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12407 * sysdeps/s390/s390-64/start.S: ... here.
12408 * sysdeps/s390/s390-64/elf/configure: Delete.
12409
12410 * configure.in: Remove support for elf directories in sysdeps.
12411
12412 * configure: Regenerated.
12413 * sysdeps/i386/configure: Regenerated.
12414 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12415 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12416 * sysdeps/s390/s390-32/configure: Regenerated.
12417 * sysdeps/s390/s390-64/configure: Regenerated.
12418 * sysdeps/sh/configure: Regenerated.
12419 * sysdeps/sparc/configure: Regenerated.
12420 * sysdeps/x86_64/configure: Regenerated.
12421
a3f61311
AS
124222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12423
c876e002
AS
12424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12425
a3f61311
AS
12426 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12427 denormal result into account.
12428
ac4c54f0
RM
124292012-03-25 Roland McGrath <roland@hack.frob.com>
12430
12431 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12432 Reported by Allan McRae <allan@archlinux.org>.
12433
6a9b9c02
JL
124342012-03-23 Jeff Law <law@redhat.com>
12435
12436 * nss/getnssent.c (__nss_getent): Fix typo.
12437
4c42a0c1
DM
124382012-03-23 David S. Miller <davem@davemloft.net>
12439
12440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12441
1532c7ac
L
124422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12443
12444 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12445 to pad to uint64_t for each field.
12446 (dl_tls_index): Replace unsigned long with uint64_t.
12447
3ff42526
PP
124482012-03-23 Daniel Jacobowitz <dmj@google.com>
12449 Paul Pluzhnikov <ppluzhnikov@google.com>
12450
12451 [BZ #6528]
12452 * grp/Makefile (otherlibs): Don't set it.
12453 * inet/Makefile (otherlibs): Likewise.
12454 * login/Makefile (otherlibs): Likewise.
12455 * nscd/Makefile (otherlibs): Likewise.
12456 * posix/Makefile (otherlibs): Likewise.
12457 * pwd/Makefile (otherlibs): Likewise.
12458 * rt/Makefile (otherlibs): Likewise.
12459 * sunrpc/Makefile (otherlibs): Likewise.
12460 * nss/Makefile (otherlibs): Likewise.
12461 Add libnss_files to routines and static-only-routines.
12462 ($(objpfx)getent): Remove rule.
12463 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12464 static-only-routines.
12465
7c69cd14
JM
124662012-03-22 Joseph Myers <joseph@codesourcery.com>
12467
12468 [BZ #13892]
12469 * math/s_cexp.c: Include <float.h>.
12470 (__cexp): Handle exp result overflowing not necessarily
12471 overflowing both real and imaginary parts of result.
12472 * math/s_cexpf.c: Likewise.
12473 * math/s_cexpl.c: Likewise.
12474 * math/libm-test.inc (cexp_test): Add more tests.
12475 * sysdeps/i386/fpu/libm-test-ulps: Update.
12476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12477
81b035fe
L
124782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12479
12480 * include/link.h (ELFW): New macro.
12481 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12482 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12483
1da7940c
L
124842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12487 with uint64_t.
12488
b749dbb9
L
124892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12490
12491 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12492 declaration.
12493 (struct La_x32_retval): Likewise.
12494
2ff87f3f
L
124952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12496
12497 * sysdeps/x86_64/preconfigure.in: New file.
12498 * sysdeps/x86_64/preconfigure: New generated file.
12499
c0df8e69
JM
125002012-03-22 Joseph Myers <joseph@codesourcery.com>
12501
48e44791
JM
12502 [BZ #13824]
12503 * math/e_exp2l.c: Include <float.h>.
12504 (__ieee754_exp2l): Handle overflow and underflow cases
12505 separately. Only pass fractional part of argument to
12506 __ieee754_expl.
12507 * math/libm-test.inc (exp2_test): Add more tests.
12508
c0df8e69
JM
12509 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12510 negating x to take absolute value.
12511 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12512 Likewise.
12513 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12514 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12515 Likewise.
12516 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12517 computing low part if x was negated.
12518 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12519
c8e43ba7
L
125202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12521
12522 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12523 la_x32_gnu_pltexit.
12524 (pltexit): Cast int_retval to ptrdiff_t.
12525 * elf/tst-auditmod3b.c: Likewise.
12526 * elf/tst-auditmod4b.c: Likewise.
12527 * elf/tst-auditmod5b.c: Likewise.
12528 * elf/tst-auditmod6b.c: Likewise.
12529 * elf/tst-auditmod6c.c: Likewise.
12530 * elf/tst-auditmod7b.c: Likewise.
12531
12532 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12533 and x32_gnu_pltexit.
12534
12535 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12536 __ELF_NATIVE_CLASS.
12537 (La_x32_regs): New macro.
12538 (La_x32_retval): Likewise.
12539 (la_x32_gnu_pltenter): New function prototype.
12540 (la_x32_gnu_pltexit): Likewise.
12541
7998fa78
AS
125422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12543
dcb33988
AS
12544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12545 exponent.
12546
233fc563
AS
12547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12548
7998fa78
AS
12549 * configure.in (libc_cv_cc_nofma): Check for option to disable
12550 generation of FMA instructions.
12551 * configure: Regenerate.
12552 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12553 * sysdeps/ieee754/dbl-64/Makefile: New file.
12554 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12555 Remove brandred-fma4.
12556 (CFLAGS-brandred-fma4.c): Remove.
12557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12559 define.
12560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12561 define.
12562
8e95c99a
L
125632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12564
12565 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12566 LLONG_MAX != LONG_MAX.
12567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12568 (_fitoa_word): Likewise.
12569 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12570 LLONG_MAX != LONG_MAX.
12571 * stdio-common/_itowa.h: Include <_itoa.h>.
12572 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12573 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12574 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12575 only if not defined.
12576 (_ITOA_WORD_TYPE): Likewise.
12577 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12578 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12579
6f4db457
DM
125802012-03-21 David S. Miller <davem@davemloft.net>
12581
12582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12583
7785fe5a
L
125842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12585
12586 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12587 of x86_64 when setting libc_cv_slibdir, libdir and
12588 libc_cv_localedir.
12589 * sysdeps/unix/sysv/linux/configure: Regenerated.
12590
4535cd55
JM
125912012-03-21 Joseph Myers <joseph@codesourcery.com>
12592
12593 * manual/lang.texi (Old Varargs): Remove section.
12594 (How Variadic): Update menu.
12595 (va_start): Do not mention varargs.h.
12596
17228132
TS
125972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12598 Joseph Myers <joseph@codesourcery.com>
12599
12600 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12601 link test.
12602 * configure: Regenerated.
12603
8149f976
TS
126042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12605
05f3d1f6
UD
12606 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12607 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12608 conformtest.pl
8149f976 12609
1a4ac776
JM
126102012-03-21 Joseph Myers <joseph@codesourcery.com>
12611
be22ce65
JM
12612 * NOTES: Remove.
12613 * Makefile (files-for-dist): Remove NOTES.
12614 (NOTES): Remove rule.
12615 * README: Don't refer to NOTES.
12616 * manual/creature.texi: Don't include macros.texi.
12617 * manual/intro.texi (creature.texi): Remove comment referring to
12618 NOTES.
12619
40b601fb
JM
12620 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12621 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12622 * configure: Regenerated.
12623 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12624 LIBC_TRY_CC_OPTION.
12625 (libc_cv_as_i686): Likewise.
12626 (libc_cv_cc_avx): Likewise.
12627 (libc_cv_cc_sse2avx): Likewise.
12628 (libc_cv_cc_fma4): Likewise.
12629 (libc_cv_cc_novzeroupper): Likewise.
12630 * sysdeps/i386/configure: Regenerated.
12631
1a4ac776
JM
12632 [BZ #13883]
12633 * sysdeps/i386/fpu/s_cexp.S: Remove.
12634 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12635 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12636 * math/libm-test.inc (cexp_test): Add more tests.
12637 * sysdeps/i386/fpu/libm-test-ulps: Update.
12638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12639
a458e7fe
AM
126402012-03-21 Allan McRae <allan@archlinux.org>
12641
12642 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12643
0cb7efc5
JM
126442012-03-21 Joseph Myers <joseph@codesourcery.com>
12645
12646 [BZ #13871]
12647 * math/w_exp2.c: Do not include <float.h>.
12648 (o_threshold, u_threshold): Remove.
12649 (__exp2): Calculate result before checking finiteness and calling
12650 __kernel_standard.
12651 * math/w_exp2f.c: Likewise.
12652 * math/w_exp2l.c: Likewise.
12653 * math/libm-test.inc (exp2_test): Require overflow exception for
12654 1e6 input.
2460d3aa
JM
12655
12656 [BZ #3866]
12657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12658 range of signed 64-bit integers before using fistpll. Remove
12659 checks for whether integers fit in mantissa bits.
12660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12661 the range of signed 32-bit integers before using fistpl. Remove
12662 checks for whether integers fit in mantissa bits.
12663 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12664 (__ieee754_powl): Test for y outside the range of signed 64-bit
12665 integers before using fistpll. Reduce 64-bit values to 63-bit
12666 ones as needed.
12667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12668 divide-by-zero is raised for zero to large negative powers.
12669 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12670 (__ieee754_powl): Test for y outside the range of signed 64-bit
12671 integers before using fistpll. Reduce 64-bit values to 63-bit
12672 ones as needed.
12673 * math/libm-test.inc (pow_test): Add more tests.
12674
eb96ffb0
L
126752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12676
12677 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12678 <stdio-common/_itoa.h>.
12679 * debug/segfault.c: Likewise.
12680 * elf/dl-cache.c: Likewise.
12681 * elf/dl-minimal.c: Likewise.
12682 * elf/dl-misc.c: Likewise.
12683 * elf/dl-sysdep.c: Likewise.
12684 * elf/dl-version.c: Likewise.
12685 * elf/rtld.c: Likewise.
12686 * hurd/hurdsock.c: Likewise.
12687 * hurd/lookup-retry.c: Likewise.
12688 * malloc/malloc.c: Likewise.
12689 * malloc/mtrace.c: Likewise.
12690 * nscd/nscd_getgr_r.c: Likewise.
12691 * nscd/nscd_getpw_r.c: Likewise.
12692 * nscd/nscd_getserv_r.c: Likewise.
12693 * posix/getopt_init.c: Likewise.
12694 * posix/wordexp.c: Likewise.
12695 * stdio-common/_itoa.c: Likewise.
12696 * stdio-common/printf_fphex.c: Likewise.
12697 * stdio-common/vfprintf.c: Likewise.
12698 * string/_strerror.c: Likewise.
12699 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12700 * sysdeps/i386/i686/hp-timing.h: Likewise.
12701 * sysdeps/mach/_strerror.c: Likewise.
12702 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12703 * sysdeps/mach/hurd/sethostid.c: Likewise.
12704 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12705 * sysdeps/mach/xpg-strerror.c: Likewise.
12706 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12707 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12708 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12709 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12710 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12711 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12712 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12713 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12714 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12715 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12716 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12717 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12718 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12719 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12720 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12721 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12722 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12723 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12724 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12725 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12726 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12727
12728 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12729
12730 * stdio-common/_itoa.h: Moved to ...
12731 * sysdeps/generic/_itoa.h: Here.
12732
12733 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12734
12735 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12736 instead of "_itoa.h" and "_itowa.h".
12737 * stdio-common/vfprintf.: Likewise.
12738
d1af992d
L
127392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12740
12741 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12742 <bits/wordsize.h>.
12743 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12744 (__signbit): Likwise.
12745 (llrintf): Likwise.
12746 (llrint): Likwise.
12747
114883e0
L
127482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12749
12750 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12751 __WORDSIZE != 64.
12752
c135cc1b
JM
127532012-03-20 Joseph Myers <joseph@codesourcery.com>
12754
12755 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12756 OVERFLOW_EXCEPTION_OK.
12757 * math/libm-test.inc ("Philosophy"): Update comment about
12758 exception testing.
12759 (OVERFLOW_EXCEPTION): Define.
12760 (OVERFLOW_EXCEPTION_OK): Likewise.
12761 (INVALID_EXCEPTION_OK): Renumber.
12762 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12763 (IGNORE_ZERO_INF_SIGN): Likewise.
12764 (test_exceptions): Handle FE_OVERFLOW.
12765 (exp10_test): Expect overflow exceptions.
12766 (exp2_test): Likewise.
12767 (expm1_test): Likewise.
12768 (nextafter_test): Likewise.
12769 (pow_test): Likewise.
12770 (scalbn_test): Likewise.
12771 (scalbln_test): Likewise.
12772
95443d88
L
127732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12774
12775 * sysdeps/x86_64/bits/atomic.h
12776 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12777 64bit integer.
12778 (atomic_exchange_acq): Likewise.
12779 (__arch_exchange_and_add_body): Likewise.
12780 (__arch_add_body): Likewise.
12781 (atomic_add_negative): Likewise.
12782 (atomic_add_zero): Likewise.
12783
490df6c4
L
127842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12785
c2722551 12786 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12787 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12788
5e52b189
L
127892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12790
12791 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12792 Check __x86_64__ instead of __WORDSIZE.
12793
a9879d4c
L
127942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12797
5df98260
DM
127982012-03-19 David S. Miller <davem@davemloft.net>
12799
e1497744
DM
12800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12801
5df98260
DM
12802 * sysdeps/sparc/fpu/fenv_private.h: New file.
12803 * sysdeps/sparc/fpu/math_private.h: Use it.
12804 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12805 Remove.
12806 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12807 (libc_feholdexcept_setroundl): Remove.
12808 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12809 Remove.
12810 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12811 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12812
b4c35121
L
128132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12814
12815 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12816 int64_t instead of long int.
12817 (INSERT_WORDS64): Likwise.
12818
56965fd7
L
128192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12820
12821 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12822 _Unwind_GetCFA return to _Unwind_Ptr first.
12823
83d1aec8
JM
128242012-03-19 Joseph Myers <joseph@codesourcery.com>
12825
1897ad44
JM
12826 [BZ #13629]
12827 * math/s_clog.c: Include <float.h>.
12828 (__clog): Scale large or subnormal inputs.
12829 * math/s_clogf.c: Likewise.
12830 * math/s_clogl.c: Likewise.
12831 * math/s_clog10.c: Include <float.h>.
12832 (M_LOG10_2): Define.
12833 (__clog10): Scale large or subnormal inputs.
12834 * math/s_clog10f.c: Likewise.
12835 * math/s_clog10l.c: Likewise.
12836 * math/libm-test.inc (clog_test): Add more tests.
12837 (clog10_test): Likewise.
12838 * sysdeps/i386/fpu/libm-test-ulps: Update.
12839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12840
7726d6a9
JM
12841 [BZ #11451]
12842 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12843 x and y.
12844 * math/libm-test.inc (atan2_test): Add another test.
12845
83d1aec8
JM
12846 * Makerules (common-objdir-compile): Remove.
12847 * sysdeps/unix/Makefile (config-generated): Do not add
12848 $(unix-generated) to variable.
12849 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12850 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12851 Remove rule.
12852 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12853 Likewise.
12854 [generic bits/local_lim.h] (before-compile): Do not append to
12855 variable.
12856 [generic bits/local_lim.h] (common-generated): Likewise.
12857 [generic sys/param.h] (before-compile): Do not append to variable.
12858 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12859 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12860 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12861 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12862 include.
12863 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12864 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12865 [generic sys/param.h] ($(addprefix
12866 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12867 [generic sys/param.h] (common-generated): Do not append to
12868 variable.
12869 [generic sys/param.h] (sysdep_headers): Likewise.
12870 [generic bits/errno.h] (before-compile): Do not append to
12871 variable.
12872 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12873 rule.
12874 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12875 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12876 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12877 [generic bits/errno.h] (common-generated): Do not append to
12878 variable.
12879 [generic bits/ioctls.h] (before-compile): Do not append to
12880 variable.
12881 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12882 rule.
12883 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12884 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12885 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12886 rule.
12887 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12888 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12889 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12890 [generic bits/ioctls.h] (common-generated): Do not append to
12891 variable.
12892 [generic sys/syscall.h] (syscall.h): Remove variable.
12893 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12894 rule.
12895 [generic sys/syscall.h] (before-compile): Do not append to
12896 variable.
12897 [generic sys/syscall.h] (common-generated): Likewise.
12898 * sysdeps/unix/errnos-tmpl.c: Remove file.
12899 * sysdeps/unix/errnos.awk: Likewise.
12900 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12901 * sysdeps/unix/ioctls.awk: Likewise.
12902 * sysdeps/unix/mk-local_lim.c: Likewise.
12903 * sysdeps/unix/snarf-ioctls: Likewise.
12904
4851a949
RH
129052012-03-19 Richard Henderson <rth@twiddle.net>
12906
bd37f2ee
RH
12907 * sysdeps/i386/fpu/fenv_private.h: New file.
12908 * sysdeps/i386/fpu/math_private.h: Use it.
12909 (math_opt_barrier, math_force_eval): Remove.
12910 (libc_feholdexcept_setround_53bit): Remove.
12911 (libc_feupdateenv_53bit): Remove.
12912 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12913 (math_opt_barrier, math_force_eval): Remove.
12914 (libc_feholdexcept): Remove.
12915 (libc_feholdexcept_setround): Remove.
12916 (libc_fetestexcept, libc_fesetenv): Remove.
12917 (libc_feupdateenv_test): Remove.
12918 (libc_feupdateenv, libc_feholdsetround): Remove.
12919 (libc_feresetround): Remove.
12920
d0adc922
RH
12921 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12922 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12923
0fe0f1f8
RH
12924 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12925 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12926 (libc_feupdateenv_testl): New.
12927 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12928 (libc_feupdateenv_testf): New.
12929 (libc_feupdateenv): Use libc_feupdateenv_test.
12930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12931 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12932
eb92c487
RH
12933 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12934 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12935 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12936 (libc_feresetround_noex): New.
12937 (libc_feresetround_noexf): New.
12938 (libc_feresetround_noexl): New.
12939 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12940 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12941 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12942 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12943 SET_RESTORE_ROUND.
12944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12946 (__cos): Likewise.
12947 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12948 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12949 SET_RESTORE_ROUND_NOEX.
12950 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12951 SET_RESTORE_ROUND_NOEXF.
12952 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12953 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12954 (libc_feholdsetroundf): New.
12955 (libc_feresetround, libc_feresetroundf): New.
12956
7d2e8012
RH
12957 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12958 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12959 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12960
b4dabbb4
RH
12961 * sysdeps/generic/math_private.h: Include <fenv.h>.
12962 (default_libc_feholdexcept): New.
12963 (default_libc_feholdexcept_setround): New.
12964 (default_libc_fesetenv, default_libc_feupdateenv): New.
12965 (libc_feholdexcept): Only define if undefined.
12966 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12967 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12968 (libc_feholdexcept_setroundl): Likewise.
12969 (libc_feholdexcept_setround_53bit): Likewise.
12970 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12971 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12972 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12973 (libc_feupdateenv_53bit): Likewise.
12974 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12975 (libc_feholdexcept): Convert from macro to inline function.
12976 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12977 (libc_fesetenv, libc_feupdateenv): Likewise.
12978
4851a949
RH
12979 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12980 not previously defined.
12981 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12982 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12983 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12984 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12985 * sysdeps/ieee754/flt-32/math_private.h: New file.
12986 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12987 math_private.h below SET_FLOAT_WORD.
12988 (__isnan, __isinf_ns, __finite): Remove.
12989 (__isnanf, __isinf_nsf, __finitef): Remove.
12990
e79d442e
AS
129912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12992
12993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12994
90b80344
DM
129952012-03-17 David S. Miller <davem@davemloft.net>
12996
12997 [BZ #6471]
12998 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12999 for 2.16.
13000
edc21804
DM
130012012-03-16 David S. Miller <davem@davemloft.net>
13002
77e927af
DM
13003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13004 warnings.
13005
374976dd
DM
13006 [BZ #6471]
13007 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13008 properly.
13009 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13010 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13011 sysdep_routines when subdir is sysvipc.
13012 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13013 __getshmlba helper.
13014
edc21804
DM
13015 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13016
473c3ef3
L
130172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13018
13019 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13020 [__LP64__].
13021
eb0f39b6
L
130222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13023
13024 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13025 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13026 (__lround): Renamed to ...
13027 (__llround): This. Replace long int with long long int.
13028 Define lround functions as aliases of llround functions.
13029 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13030
6b6cd74b
L
130312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13032
13033 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13034 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13035 adresses to uintptr_t. Replace "long int" and "unsigned long
13036 int" with "greg_t" on va_arg.
13037
f1a77b01
L
130382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13039
13040 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13041 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13042
13043 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13044 Move e_machine check before EI_CLASS check. Handle x32
13045 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13046 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13047 SKIP_EM_IA_64 and include
13048 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13049
13050 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13051 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13052 (add_system_dir): New macro.
13053
13054 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13055 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13056
11b90b9f
JM
130572012-03-16 Joseph Myers <joseph@codesourcery.com>
13058
c36e1d23
JM
13059 [BZ #2551]
13060 [BZ #2552]
13061 [BZ #2553]
13062 [BZ #2554]
13063 [BZ #2562]
13064 [BZ #2563]
13065 [BZ #2565]
13066 [BZ #2566]
13067 [BZ #2576]
13068 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13069 (y0): Likewise.
13070 * math/w_j0f.c (j0f): Likewise.
13071 (y0f): Likewise.
13072 * math/w_j0l.c (__j0l): Likewise.
13073 (__y0l): Likewise.
13074 * math/w_j1.c (j1): Likewise.
13075 (y1): Likewise.
13076 * math/w_j1f.c (j1f): Likewise.
13077 (y1f): Likewise.
13078 * math/w_j1l.c (__j1l): Likewise.
13079 (__y1l): Likewise.
13080 * math/w_jn.c (jn): Likewise.
13081 (yn): Likewise.
13082 * math/w_jnf.c (jnf): Likewise.
13083 (ynf): Likewise.
13084 * math/w_jnl.c (__jnl): Likewise.
13085 (__ynl): Likewise.
13086 * math/libm-test.inc (j0_test): Add more tests.
13087 (j1_test): Likewise.
13088 (jn_test): Likewise. Add trailing semicolon to existing test.
13089 (y0_test): Likewise.
13090 (y1_test): Likewise.
13091 * sysdeps/i386/fpu/libm-test-ulps: Update.
13092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13093
11b90b9f
JM
13094 [BZ #13851]
13095 [BZ #13854]
13096 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13097 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13098 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13099 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13100 (__tanl): Set errno for infinite argument.
13101 * sysdeps/i386/fpu/mptan.c: Remove.
13102 * sysdeps/i386/fpu/s_tan.S: Likewise.
13103 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13104 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13105 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13106 * math/libm-test.inc (tan_test): Add more tests and enable more
13107 tests for double and long double.
13108 * sysdeps/i386/fpu/libm-test-ulps: Update.
13109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13110
6a1bd2a1
JK
131112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13112
13113 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13114 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13115
10a803e0
RM
131162012-03-16 Roland McGrath <roland@hack.frob.com>
13117
13118 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13119 * configure.in: Use it for both main tree and add-ons.
13120 * configure: Regenerated.
13121
f196c7f7
L
131222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13123
13124 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13125
8848d99d
JM
131262012-03-16 Joseph Myers <joseph@codesourcery.com>
13127
96cbe7f4
JM
13128 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13129 in comment.
13130
8848d99d
JM
13131 [BZ #13851]
13132 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13133 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13137 infinite argument.
13138 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13140 != 0 for prec == 2.
13141 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13142 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13143 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13144 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13145 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13146 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13147 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13148 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13149 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13150 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13151 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13152 * math/libm-test.inc (cos_test): Add more tests and enable more
13153 tests for long double.
13154 (sin_test): Likewise.
13155 (sincos_test): Likewise.
13156 * sysdeps/i386/fpu/libm-test-ulps: Update.
13157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13158
dd7f4703
DM
131592012-03-16 David S. Miller <davem@davemloft.net>
13160
13161 * sysdeps/sparc/fpu/math_private.h: New file.
13162
006f1daa
DM
131632012-03-15 David S. Miller <davem@davemloft.net>
13164
c0c83bc8
DM
13165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13166 file.
e6a62e18 13167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13169 file.
e6a62e18
DM
13170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13176 sysdep routines.
13177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13178
88cb87d9
DM
13179 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13180 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13181
006f1daa 13182 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13184 sparc-ifunc.h
006f1daa 13185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13187 Likewise.
13188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13189 Likewise.
006f1daa
DM
13190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13194 Likewise.
006f1daa
DM
13195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13200 Likewise.
13201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13202 Likewise.
006f1daa
DM
13203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13224 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13225 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13227
11e0098e
AS
132282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13229
13230 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13231 scaling.
13232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13233
e85b09d0
AJ
132342012-03-15 Andreas Jaeger <aj@suse.de>
13235
13236 [BZ #13852]
13237 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13238 ieee754/flt-32 implementation for sin, cos and sincos.
13239 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13240 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13241 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13242 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13243 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13244 ieee754/flt-32 implementation for tan.
13245
13246 * math/libm-test.inc (cos_test): Enable some large input tests for
13247 float as well
13248 (sin_test): Likewise.
13249 (sincos_test): Likewise.
13250 (tan_test): Add tests for large input.
13251
13252 * sysdeps/i386/fpu/libm-test-ulps: Update.
13253
81c64153
AJ
132542012-03-15 Andreas Jaeger <aj@suse.de>
13255
13256 [BZ #13658]
13257 * math/libm-test.inc (cos_test): Add more test cases.
13258 (sin_test): Likewise.
13259 (sincos_test): Likewise.
13260
7bbfa5c6
AJ
132612012-03-15 Andreas Jaeger <aj@suse.de>
13262
13263 [BZ #13837]
13264 * math/libm-test.inc (cos_test): Add a test case for large input
13265 value.
13266 (sin_test): Likewise.
13267 (sincos_test): Likewise.
13268
132692012-03-15 Andreas Jaeger <aj@suse.de>,
13270 Joseph Myers <joseph@codesourcery.com>
13271
13272 [BZ #13658]
0671f479 13273 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13274 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13275 * sysdeps/i386/fpu/branred.c: Likewise.
13276 * sysdeps/i386/fpu/dosincos.c: Likewise.
13277 * sysdeps/i386/fpu/mpa.c: Likewise.
13278 * sysdeps/i386/fpu/s_cos.S: Likewise.
13279 * sysdeps/i386/fpu/s_sin.S: Likewise.
13280 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13281 * sysdeps/i386/fpu/sincos32.c: Likewise.
13282
13283 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13284 Define.
13285 (libc_feupdateenv_53bit): Define.
13286 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13287 Define.
13288 (libc_feupdateenv_53bit): Define.
13289
13290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13291 53 bit (without extend i386 double precision).
13292
13293 * math/libm-test.inc (sincos_test): Add tests for large input.
13294 (sin): Likewise.
13295 (cos): Likewise.
13296
13297 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13298
9cad04ea
AS
132992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13300
13301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13302
f7062b9a
DM
133032012-03-15 David S. Miller <davem@davemloft.net>
13304
13305 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13306 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13307 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13308 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13321 file.
f7062b9a 13322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13324 file.
f7062b9a 13325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13327 file.
f7062b9a 13328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13330 file.
f7062b9a
DM
13331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13333 fmin/fmax sysdep routines.
13334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13335
7bd951ff
DM
133362012-03-14 David S. Miller <davem@davemloft.net>
13337
559398ab
DM
13338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13360 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13361 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13364 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13367 routines.
13368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13369 file.
559398ab 13370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13372 file.
559398ab 13373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13375 file.
559398ab 13376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13378 file.
559398ab 13379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13381 file.
559398ab 13382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13384 file.
13385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13386 file.
13387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13388 file.
13389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13390 file.
13391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13392 New file.
13393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13394 file.
13395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13396 file.
559398ab 13397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13399 file.
559398ab 13400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13402 file.
559398ab 13403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13405 file.
559398ab 13406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13408 VIS3 routines.
559398ab
DM
13409
13410 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13411 New file.
13412
5a1c1e32
DM
13413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13414
eae47a36
DM
13415 * sysdeps/sparc/configure.in: New file.
13416 * sysdeps/sparc/configure: Generate.
13417 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13418 * configure: Regenerate.
13419 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13420 * config.make.in (have-as-vis3): New.
13421 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13422 available use -Av9d instead of -Av9a.
13423 * sysdeps/sparc/sparc64/Makefile: Likewise.
13424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13426 New file.
13427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13428 file.
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13430 New file.
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13432 file.
eae47a36
DM
13433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13434 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13437 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13438
c0c83bc8
DM
13439 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13440 fzeros/fnegs to load 0x80000000 into a float register instead of
13441 using the stack.
7bd951ff
DM
13442 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13443
bd951ccb
JM
134442012-03-14 Joseph Myers <joseph@codesourcery.com>
13445
13446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13447 bits/syscall.h.
13448 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13449 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13450 ($(inst_includedir)/bits/syscall.h): Remove rule.
13451 ($(objpfx)bits/syscall.d): Include instead of
13452 $(objpfx)syscall-list.d.
13453 (generated): Change syscall-list.h and syscall-list.d to
13454 bits/syscall.h and bits/syscall.d.
13455
bb4e6db2
RM
134562012-03-14 Roland McGrath <roland@hack.frob.com>
13457
13458 [BZ #13846]
13459 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13460
aa4a2ae1
JM
134612012-03-14 Joseph Myers <joseph@codesourcery.com>
13462
e456826d
JM
13463 [BZ #13841]
13464 * math/s_csqrt.c: Include <float.h>.
13465 (__csqrt): Scale large or subnormal inputs.
13466 * math/s_csqrtf.c: Likewise.
13467 * math/s_csqrtl.c: Likewise.
13468 * math/libm-test.inc (csqrt_test): Add more tests.
13469 * sysdeps/i386/fpu/libm-test-ulps: Update.
13470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13471
aa4a2ae1
JM
13472 [BZ #13840]
13473 * math/libm-test.inc (hypot_test): Add more tests.
13474
7c10fd35
DM
134752012-03-13 David S. Miller <davem@davemloft.net>
13476
13477 [BZ #13840]
13478 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13479 double-precision for the calculation instead of scaling.
13480
f453b98b
JM
134812012-03-13 Joseph Myers <joseph@codesourcery.com>
13482
13483 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13484 manipulate bits before adding and subtracting TWO52[sx].
13485 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13486 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13487 Likewise.
13488 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13489
09a3453f
DM
134902012-03-13 David S. Miller <davem@davemloft.net>
13491
8e59da90
DM
13492 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13493 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13495 rtld-global-offsets.h
13496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13497
2a8ab7f2
DM
13498 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13499 large parameters.
13500
10f62770
DM
13501 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13502
5f0bdb18
DM
13503 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13504 'err' in the ifdef scope in which it is actually used.
13505
09a3453f
DM
13506 * nss/nss_db/db-init.c: Include string.h
13507
b4b2eb5e
DM
135082012-03-12 David S. Miller <davem@davemloft.net>
13509
98bb2f1c
DM
13510 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13511 masking out of the most significant byte of random value used.
13512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13513 Fix coding style in previous change.
13514
b4b2eb5e
DM
13515 * sysdeps/unix/sysv/linux/kernel-features.h
13516 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13517 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13518 expression.
13519 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13520 later.
13521
6e226b09
DM
135222012-03-11 David S. Miller <davem@davemloft.net>
13523
a1bcbd40
DM
13524 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13525 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13526 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13527 for 'resultvar' otherwise things get truncated on 64-bit.
13528
cb9d6174
DM
13529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13530 Fix masking out of the most significant byte of random value used.
13531
6e226b09
DM
13532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13533
058c132d
AS
135342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13535
13536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13537
2d2cd515
DM
135382012-03-09 David S. Miller <davem@davemloft.net>
13539
13540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13541 variables with appropriate CPP guards.
13542 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13543 frame pointer, not the stack pointer. Correct layout comments. Fix test
13544 on resulting framesize and the management of the outregs buffer for pltexit.
13545 Preserve floating point return values across _dl_call_pltexit call.
13546 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13547 framesize and the management of the outregs buffer for pltexit.
13548 Preserve floating point return values across _dl_call_pltexit
13549 call.
13550 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13551 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13552 (print_exit): Fix format string for return register value.
13553
9a07f9d0
JM
135542012-03-10 Joseph Myers <joseph@codesourcery.com>
13555
13556 * sunrpc/Makefile (others): Add rpcgen.
13557 ($(objpfx)rpcgen): Remove special build rule and dependency on
13558 libc.
13559 * sunrpc/rpcgen.c: New file.
13560
547b5e30
PE
135612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13562
c524201a
PE
13563 [BZ #13673]
13564 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13565 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13566 * sysdeps/i386/crti.S: Likewise.
13567 * sysdeps/i386/crtn.S: Likewise.
13568 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13569 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13570 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13571 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13572 * sysdeps/sh/crti.S: Likewise.
13573 * sysdeps/sh/crtn.S: Likewise.
13574 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13575
7b6235f2
PE
13576 [BZ #13673]
13577 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13578 with URL.
13579 * locale/programs/locfile-kw.gperf: Likewise.
13580 * locale/programs/charmap-kw.h: Regenerated.
13581 * locale/programs/locfile-kw.h: Likewise.
13582
547b5e30
PE
13583 [BZ #13673]
13584 * intl/plural.y: Replace FSF snail mail address with URL.
13585 * intl/plural.c: Regenerated.
13586
5f0a5dae
RH
135872012-03-09 Richard Henderson <rth@twiddle.net>
13588
13589 * include/math_private.h: Remove file.
13590 * math/math_private.h: Move file ...
13591 * sysdeps/generic/math_private.h: ... here.
13592
b8c03620
RH
13593 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13594 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13595 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13596
4e234f5d 13597 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13598 and <math_private.h>.
13599 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13600 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13601 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13602 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13603 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13646 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13647 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13648 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13687 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13688 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13690 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13691 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13692 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13693 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13694 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13695 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13696 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13698 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13699 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13700 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13701 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13702 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13703 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13704 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13707 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13708 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13709 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13710 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13712 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13713 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13714 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13716 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13718 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13719 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13720 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13721 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13722 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13723 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13724 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13725 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13726 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13727 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13728 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13729 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13730 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13731 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13732 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13733 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13734 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13735 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13736 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13737 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13738 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13742 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13743 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13747 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13748 * sysdeps/ieee754/k_standard.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13854 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13864 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13865 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13868 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13871 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13874 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13875 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13876 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13877 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13881 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13893 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13897 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13898 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13909 * sysdeps/ieee754/s_lib_version.c: Likewise.
13910 * sysdeps/ieee754/s_matherr.c: Likewise.
13911 * sysdeps/ieee754/s_signgam.c: Likewise.
13912 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13913 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13914 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13915 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13916 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13917 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13918 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13919 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13920 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13921 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13922 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13923 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13924 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13925 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13926 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13927 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13928 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13929 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13930 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13933
1991fa03
JM
139342012-03-09 Joseph Myers <joseph@codesourcery.com>
13935
13936 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13937 * sunrpc/rpc_main.c: Likewise.
13938 * sunrpc/rpc_svcout.c: Likewise.
13939
60d6f5a6
DM
139402012-03-09 David S. Miller <davem@davemloft.net>
13941
13942 * include/math_private.h: New file.
13943
4962050e
JM
139442012-03-09 Joseph Myers <joseph@codesourcery.com>
13945
02a6f887
JM
13946 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13947 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13948 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13949 from <bits/socket_type.h>.
13950 (enum __socket_type): Don't define here.
13951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13953 bits/socket_type.h.
13954
c6e013c1
JM
13955 [BZ #13566]
13956 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13957 checking __USE_GNU.
13958
4962050e
JM
13959 * Makerules ($(inst_includedir)/%.h): New rule.
13960 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13961 (install-others): Remove variable setting.
13962 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13963
38842f45
RH
139642012-03-08 Richard Henderson <rth@twiddle.net>
13965
67bb6da6
RH
13966 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13967 from macro to inline function; merge with the
13968 !__LIBC_INTERNAL_MATH_INLINES version.
13969 (__ieee754_sqrtf): Likewise.
13970
15194b4b
RH
13971 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13972 to inline function.
13973 (__rintf, __floor, __floorf): Likewise.
13974
64e21ede
RH
13975 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13976 macro to inline function.
13977 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13978
38842f45
RH
13979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13980 not <math/math_private.h>.
13981
c64bf5fe
DM
139822012-03-08 David S. Miller <davem@davemloft.net>
13983
13984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13985 copyright year.
13986 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13987
82d86f28
TS
139882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13989
13990 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13991 normalization.
13992 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13993 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13994
aea5d727
UD
139952012-03-08 Ulrich Drepper <drepper@gmail.com>
13996
13997 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13998 be defined individually, they must be defined as a block. Define
13999 S for printing a string instead of hidint the different by using a
14000 macro for adding the 'l'.
14001 * stdio-common/tst-fphex-wide.c: Adjust.
14002
70bca0a3
MP
140032012-03-07 Marek Polacek <polacek@redhat.com>
14004
14005 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14006
65b81130
MP
140072012-03-08 Marek Polacek <polacek@redhat.com>
14008
14009 [BZ #13806]
14010 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14011 * stdio-common/tst-fphex.c: Define a few macros to make the
14012 test reusable. Use them.
14013 * stdio-common/tst-fphex-wide.c: New file.
14014
07037eeb
JM
140152012-03-08 Joseph Myers <joseph@codesourcery.com>
14016
a7a93d50
JM
14017 [BZ #6911]
14018 * manual/macros.texi (gnusystems): New macro.
14019 (nongnusystems): Likewise.
14020 (gnulinuxhurdsystems): Likewise.
14021 (gnuhurdsystems): Likewise..
14022 (gnulinuxsystems): Likewise.
14023 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14024 variants of the GNU system, not "GNU system".
14025 * manual/conf.texi: Likewise.
14026 * manual/errno.texi: Likewise. Update example of errno macro
14027 expansion.
14028 * manual/filesys.texi: Likewise.
14029 (getumask): Document as specific to GNU/Hurd.
14030 * manual/install.texi: Likewise. Reword some references to
14031 GNU/Linux.
14032 * manual/intro.texi: Likewise.
14033 * manual/io.texi: Likewise.
14034 (File Name Portability): Detail which constraints are inapplicable
14035 to all GNU systems and which are only inapplicable to GNU/Hurd.
14036 * manual/job.texi: Likewise.
14037 * manual/llio.texi: Likewise.
14038 (O_NOCTTY): Document as present on GNU/Linux.
14039 * manual/maint.texi: Likewise.
14040 * manual/memory.texi: Likewise.
14041 * manual/pattern.texi: Likewise.
14042 * manual/pipe.texi: Likewise.
14043 * manual/process.texi: Likewise.
14044 * manual/resource.texi: Likewise.
14045 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14046 child on GNU/Hurd.
14047 * manual/setjmp.texi: Likewise.
14048 * manual/signal.texi: Likewise.
14049 * manual/startup.texi: Likewise.
14050 * manual/stdio.texi: Likewise.
14051 * manual/terminal.texi: Likewise.
14052 (ONLCR): Document as POSIX.
14053 (OXTABS): Document availability on GNU/Linux as XTABS.
14054 (ONOEOT): Document availability separately from other bits.
14055 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14056 * manual/time.texi: Likewise.
14057 * manual/users.texi: Likewise.
14058 * INSTALL: Regenerated.
14059 * sysdeps/gnu/errlist.c: Regenerated.
14060
07037eeb
JM
14061 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14062 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14063 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14064 puts.
14065 * configure: Regenerated.
14066
d1d3431a
JM
140672012-03-07 Joseph Myers <joseph@codesourcery.com>
14068
af6a1e37
JM
14069 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14070 default includes instead of AC_HEADER_CHECK.
14071 * sysdeps/i386/configure: Regenerated.
14072
d1d3431a
JM
14073 [BZ #10716]
14074 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14075 * math/s_cacoshf.c (__cacoshf): Likewise.
14076 * math/s_cacoshl.c (__cacoshl): Likewise.
14077 * math/s_casinh.c (__casinh): Set signs of result from argument.
14078 * math/s_casinhf.c (__casinhf): Likewise.
14079 * math/s_casinhl.c (__casinhl): Likewise.
14080 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14081 (casinh_test): Add more tests.
14082 * sysdeps/i386/fpu/libm-test-ulps: Update.
14083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14084
482ff4da
UD
140852012-03-07 Ulrich Drepper <drepper@gmail.com>
14086
872fda05
UD
14087 * po/zh_TW.po: Update from translation team.
14088
a4300c7a
UD
14089 * login/Makefile (distribute): Remove variable.
14090 * catgets/Makefile: Likewise.
14091 * mach/Makefile: Likewise.
14092 * malloc/Makefile: Likewise.
14093 * misc/Makefile: Likewise.
14094 * iconv/Makefile: Likewise.
14095 * nscd/Makefile: Likewise.
14096 * hurd/Makefile: Likewise.
14097 * manual/Makefile: Likewise.
14098 * locale/Makefile: Likewise.
14099 * intl/Makefile: Likewise.
14100 * conform/Makefile: Likewise.
14101 * nss/Makefile: Likewise.
14102 * time/Makefile: Likewise.
14103 * soft-fp/Makefile: Likewise.
14104 * dirent/Makefile: Likewise.
14105 * gmon/Makefile: Likewise.
14106 * po/Makefile: Likewise.
14107 * rt/Makefile: Likewise.
14108 * socket/Makefile: Likewise.
14109 * math/Makefile: Likewise.
14110 * signal/Makefile: Likewise.
14111 * debug/Makefile: Likewise.
14112 * elf/Makefile: Likewise.
14113 * timezone/Makefile: Likewise.
14114 * stdlib/Makefile: Likewise.
14115 * iconvdata/Makefile: Likewise.
14116 * sunrpc/Makefile: Likewise.
14117 * io/Makefile: Likewise.
14118 * argp/Makefile: Likewise.
14119 * inet/Makefile: Likewise.
14120 * hesiod/Makefile: Likewise.
14121 * grp/Makefile: Likewise.
14122 * csu/Makefile: Likewise.
14123 * wctype/Makefile: Likewise.
14124 * crypt/Makefile: Likewise.
14125 * libio/Makefile: Likewise.
14126 * string/Makefile: Likewise.
14127 * nis/Makefile: Likewise.
14128 * resolv/Makefile: Likewise.
14129 * stdio-common/Makefile: Likewise.
14130 * wcsmbs/Makefile: Likewise.
14131 * dlfcn/Makefile: Likewise.
14132 * posix/Makefile: Likewise.
14133
3b7c4e74 14134 [BZ #6959]
482ff4da
UD
14135 * timezone/Makefile: Don't install timezone files, just the programs
14136 and scripts.
14137
f72ed77d
UD
141382012-03-06 Ulrich Drepper <drepper@gmail.com>
14139
a000466f
UD
14140 * nss/databases.def: Add missing gshadow entry.
14141
f72ed77d
UD
14142 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14143
a53b7a4e
MP
141442012-03-06 Marek Polacek <polacek@redhat.com>
14145
14146 [BZ #13726]
14147 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14148 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14149 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14150 * stdio-common/tst-long-dbl-fphex.c: New file.
14151
e9258400
DM
141522012-03-06 David S. Miller <davem@davemloft.net>
14153
14154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14155 (set_obp_int): New function.
14156 (get_obp_int): New function.
14157 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14158 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14159 Avoid unused variable warnings on 'val' and use builtin_expect.
14160 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14161 __builtin_expect.
e9258400
DM
14162 (INLINE_CLONE_SYSCALL): Likewise.
14163
3bd2c723
DM
141642012-03-05 David S. Miller <davem@davemloft.net>
14165
14166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14167
bbb78d03
AS
141682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14169
884c5db4
AS
14170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14171
bbb78d03
AS
14172 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14173 only for |x| >= 40.
14174 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14175
1c9f702a 141762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14177
14178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14179 Replace gettimeofday with __vdso_gettimeofday.
14180
7be16f82
RM
14181 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14182 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14183 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14184
14185 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14186 time with __vdso_time.
14187
ed58a00f
JM
141882012-03-05 Joseph Myers <joseph@codesourcery.com>
14189
14190 * manual/lang.texi (size_t): Note types to which size_t may be
14191 equivalent with the GNU C Library, but do not describe when
14192 differences between them are significant.
14193
30ee4ced
AJ
141942012-03-05 Andreas Jaeger <aj@suse.de>
14195
14196 * sysdeps/i386/fpu/libm-test-ulps: Update.
14197
b7cd39e8
JM
141982012-03-05 Joseph Myers <joseph@codesourcery.com>
14199
14200 [BZ #3976]
14201 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14202 (__ieee754_pow): Save and restore rounding mode and use
14203 round-to-nearest for main computations.
14204 * math/libm-test.inc (pow_test_tonearest): New function.
14205 (pow_test_towardzero): Likewise.
14206 (pow_test_downward): Likewise.
14207 (pow_test_upward): Likewise.
14208 (main): Call the new functions.
14209 * sysdeps/i386/fpu/libm-test-ulps: Update.
14210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14211
14212 [BZ #3976]
14213 * math/libm-test.inc (cosh_test_tonearest): New function.
14214 (cosh_test_towardzero): Likewise.
14215 (cosh_test_downward): Likewise.
14216 (cosh_test_upward): Likewise.
14217 (sinh_test_tonearest): Likewise.
14218 (sinh_test_towardzero): Likewise.
14219 (sinh_test_downward): Likewise.
14220 (sinh_test_upward): Likewise.
14221 (main): Call the new functions.
14222 * sysdeps/i386/fpu/libm-test-ulps: Update.
14223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14224
6c6a98c9
TV
142252012-03-05 Tom de Vries <tom@codesourcery.com>
14226
14227 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14228 default stack guard is set in last bytes.
14229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14230
21bb2d2e 142312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14232
21bb2d2e 14233 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14234
21bb2d2e
AJ
14235 [BZ #13656]
14236 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14237 possibly allocate from heap instead of stack.
14238 * stdio-common/bug-vfprintf-nargs.c: New file.
14239 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14240
c6922934
AS
142412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14242
14243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14244
bc957d53
MP
142452012-03-03 Marek Polacek <polacek@redhat.com>
14246
14247 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14248 * math/math_private.h: Likewise.
14249 * stdlib/tst-strtod.c: Likewise.
14250 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14251 * sysdeps/x86_64/bits/atomic.h: Likewise.
14252
6358490d
DM
142532012-03-02 David S. Miller <davem@davemloft.net>
14254
14255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14259 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14260 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14261 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14262 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14263
01ae168d
RM
142642012-03-02 Roland McGrath <roland@hack.frob.com>
14265
d9a17c07
RM
14266 [BZ #13792]
14267 * manual/examples/README: New file, says the example source files
14268 can be used under GPL>=2.
14269 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14270 line containing just "*/".
14271 * manual/examples/add.c: Add copyright header (GPL>=2).
14272 * manual/examples/argp-ex1.c: Likewise.
14273 * manual/examples/argp-ex2.c: Likewise.
14274 * manual/examples/argp-ex3.c: Likewise.
14275 * manual/examples/argp-ex4.c: Likewise.
14276 * manual/examples/atexit.c: Likewise.
14277 * manual/examples/db.c: Likewise.
14278 * manual/examples/dir.c: Likewise.
14279 * manual/examples/dir2.c: Likewise.
14280 * manual/examples/execinfo.c: Likewise.
14281 * manual/examples/filecli.c: Likewise.
14282 * manual/examples/filesrv.c: Likewise.
14283 * manual/examples/fmtmsgexpl.c: Likewise.
14284 * manual/examples/genpass.c: Likewise.
14285 * manual/examples/inetcli.c: Likewise.
14286 * manual/examples/inetsrv.c: Likewise.
14287 * manual/examples/isockad.c: Likewise.
14288 * manual/examples/longopt.c: Likewise.
14289 * manual/examples/memopen.c: Likewise.
14290 * manual/examples/memstrm.c: Likewise.
14291 * manual/examples/mkfsock.c: Likewise.
14292 * manual/examples/mkisock.c: Likewise.
14293 * manual/examples/mygetpass.c: Likewise.
14294 * manual/examples/pipe.c: Likewise.
14295 * manual/examples/popen.c: Likewise.
14296 * manual/examples/rprintf.c: Likewise.
14297 * manual/examples/search.c: Likewise.
14298 * manual/examples/select.c: Likewise.
14299 * manual/examples/setjmp.c: Likewise.
14300 * manual/examples/sigh1.c: Likewise.
14301 * manual/examples/sigusr.c: Likewise.
14302 * manual/examples/stpcpy.c: Likewise.
14303 * manual/examples/strdupa.c: Likewise.
14304 * manual/examples/strftim.c: Likewise.
14305 * manual/examples/strncat.c: Likewise.
14306 * manual/examples/subopt.c: Likewise.
14307 * manual/examples/swapcontext.c: Likewise.
14308 * manual/examples/termios.c: Likewise.
14309 * manual/examples/testopt.c: Likewise.
14310 * manual/examples/testpass.c: Likewise.
14311 * manual/examples/timeval_subtract.c: Likewise.
14312
01ae168d
RM
14313 [BZ #13792]
14314 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14315 function to ...
14316 * manual/timeval_subtract.c.texi: ... here, new file.
14317
49efa33d
DM
143182012-03-02 David S. Miller <davem@davemloft.net>
14319
14320 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14321
28afd92d
JM
143222012-03-02 Joseph Myers <joseph@codesourcery.com>
14323
804360ed
JM
14324 [BZ #3976]
14325 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14326 (__sin): Save and restore rounding mode and use round-to-nearest
14327 for all computations.
14328 (__cos): Save and restore rounding mode and use round-to-nearest
14329 for all computations.
14330 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14331 <fenv.h>.
14332 (tan): Save and restore rounding mode and use round-to-nearest for
14333 all computations.
14334 * math/libm-test.inc (cos_test_tonearest): New function.
14335 (cos_test_towardzero): Likewise.
14336 (cos_test_downward): Likewise.
14337 (cos_test_upward): Likewise.
14338 (sin_test_tonearest): Likewise.
14339 (sin_test_towardzero): Likewise.
14340 (sin_test_downward): Likewise.
14341 (sin_test_upward): Likewise.
14342 (tan_test_tonearest): Likewise.
14343 (tan_test_towardzero): Likewise.
14344 (tan_test_downward): Likewise.
14345 (tan_test_upward): Likewise.
14346 (main): Call the new functions.
14347 * sysdeps/i386/fpu/libm-test-ulps: Update.
14348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14349
a6d06d7b
JM
14350 [BZ #10135]
14351 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14352 small n, then large n, before computing and testing k+n.
14353 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14355 Likewise.
14356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14357 Likewise.
14358 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14359 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14364 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14366 * math/libm-test.inc (scalbn_test): Add more tests.
14367 (scalbln_test): Likewise.
14368
07e12bb3
JM
14369 * manual/filesys.texi (mode_t): Describe constraints on size and
14370 signedness, not exact equivalence to a particular type.
14371 (ino_t): Likewise.
14372 (ino64_t): Likewise.
14373 (dev_t): Likewise.
14374 (nlink_t): Likewise.
14375 (blkcnt_t): Likewise.
14376 (blkcnt64_t): Likewise.
14377 * manual/llio.texi (off_t): Likewise.
14378
28afd92d
JM
14379 [BZ #3976]
14380 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14381 (__ieee754_exp): Save and restore rounding mode and use
14382 round-to-nearest for all computations.
14383 * math/libm-test.inc (exp_test_tonearest): New function.
14384 (exp_test_towardzero): Likewise.
14385 (exp_test_downward): Likewise.
14386 (exp_test_upward): Likewise.
14387 (main): Call the new functions.
14388 * sysdeps/i386/fpu/libm-test-ulps: Update.
14389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14390
b1eeb65d
CD
143912012-03-01 Chris Demetriou <cgd@google.com>
14392
14393 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14394 have predictable order.
14395
53362a4b
DM
143962012-03-01 David S. Miller <davem@davemloft.net>
14397
3c969083
DM
14398 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14399
759707de
DM
14400 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14401 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14402 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14403 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14404
dfdb8ff2
DM
14405 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14406 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14407 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14409 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14410 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14411 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14412 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14413 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14414
ead89f96
DM
14415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14416
7f66bd07
DM
14417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14418 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14419 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14420
53362a4b
DM
14421 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14422 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14423 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14424 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14425 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14427 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14428 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14429 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14430 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14431 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14434 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14435 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14437 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14438 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14439 * sysdeps/sparc/elf/configure: Regenerated.
14440
7b1902cb
JM
144412012-03-01 Joseph Myers <joseph@codesourcery.com>
14442
bec039bc
JM
14443 * configure.in (AS, LD): Require binutils 2.20 or later.
14444 * configure: Regenerated.
14445 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14446 as required minimum version.
14447 * INSTALL: Regenerated.
14448
7b1902cb
JM
14449 [BZ #2541]
14450 [BZ #4108]
14451 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14452 before squaring exponent.
14453 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14454 bottom long double and 27 bits of top long double before squaring
14455 exponent.
14456 * math/libm-test.inc (erfc_test): Add more tests.
14457 * sysdeps/i386/fpu/libm-test-ulps: Update.
14458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14460
f775c276
KT
144612012-03-01 Kai Tietz <ktietz@redhat.com>
14462
14463 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14464 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14465 containing bit-fields.
14466 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14467 * soft-fp/single.h (_FP_UNION_S): Likewise.
14468 * soft-fp/double.h (_FP_UNION_D): Likewise.
14469
5b8a4d4a
JM
144702012-02-29 Joseph Myers <joseph@codesourcery.com>
14471
0bab47b6
JM
14472 [BZ #13786]
14473 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14474 not include ../strcmp.S.
14475 [USE_AS_STRNCASECMP_L]: Likewise.
14476 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14477 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14478 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14479 (__strncasecmp_l_ia32): Define as alias to
14480 __strncasecmp_l_nonascii.
14481
0fcad3e2
JM
14482 [BZ #5794]
14483 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14484 * sysdeps/i386/fpu/libm-test-ulps: Update.
14485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14486
5b8a4d4a
JM
14487 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14489
8fdceb2e
JL
144902012-02-29 Jeff Law <law@redhat.com>
14491
14492 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14493 out of bounds read.
14494
1f393a11
MP
144952012-02-29 Marek Polacek <polacek@redhat.com>
14496
14497 [BZ #13706]
14498 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14499 * elf/Makefile: Add rules to run tst-unused-dep.out.
14500
8847f037
DM
145012012-02-28 David S. Miller <davem@davemloft.net>
14502
14503 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14504 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14506 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14507 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14508 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14509
169d7f11
JM
145102012-02-29 Joseph Myers <joseph@codesourcery.com>
14511
14512 * math/libm-test.inc (llround_test): Move one test from
14513 lround_test. Use TEST_f_L in moved test.
14514 (lround_test): Move misplaced test to llround_test. Add testcase
14515 from bug 2561.
14516
39adf059
UD
145172012-02-28 Ulrich Drepper <drepper@gmail.com>
14518
14519 * sysdeps/x86_64/fpu/e_expf.S: New file.
14520 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14521
71b5d1c5
SB
145222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14523
14524 [BZ #13637]
14525 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14526 of remain_len that may cause incomplete multi-byte character and
14527 false match.
14528 * posix/bug-regex33.c: New file.
14529 * posix/Makefile (tests): Add bug-regex33.
14530
1f77f049
JM
145312012-02-28 Joseph Myers <joseph@codesourcery.com>
14532
14533 * manual/macros.texi: New file.
14534 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14535 * manual/libc.texinfo: Include macros.texi.
14536 * manual/creatute.texi: Likewise.
14537 * manual/install.texi: Likewise.
14538 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14539 @glibcadj{} in references to the GNU C Library.
14540 * manual/charset.texi: Likewise.
14541 * manual/conf.texi: Likewise.
14542 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14543 when not using those macros.
14544 * manual/creature.texi: Likewise.
14545 * manual/crypt.texi: Likewise.
14546 * manual/errno.texi: Likewise.
14547 * manual/filesys.texi: Likewise.
14548 * manual/header.texi: Likewise.
14549 * manual/install.texi: Likewise.
14550 * manual/intro.texi: Likewise.
14551 * manual/io.texi: Likewise.
14552 * manual/job.texi: Likewise.
14553 * manual/lang.texi: Likewise.
14554 * manual/libc.texiinfo: Likewise.
14555 * manual/llio.texi: Likewise.
14556 * manual/locale.texi: Likewise.
14557 * manual/maint.texi: Likewise.
14558 * manual/math.texi: Likewise.
14559 * manual/memory.texi: Likewise.
14560 * manual/message.texi: Likewise.
14561 * manual/nss.texi: Likewise.
14562 * manual/pattern.texi: Likewise.
14563 * manual/process.texi: Likewise.
14564 * manual/resource.texi: Likewise.
14565 * manual/search.texi: Likewise.
14566 * manual/setjmp.texi: Likewise.
14567 * manual/signal.texi: Likewise.
14568 * manual/socket.texi: Likewise.
14569 * manual/startup.texi: Likewise.
14570 * manual/stdio.texi: Likewise.
14571 * manual/string.texi: Likewise.
14572 * manual/sysinfo.texi: Likewise.
14573 * manual/syslog.texi: Likewise.
14574 * manual/terminal.texi: Likewise.
14575 * manual/time.texi: Likewise.
14576 * manual/users.texi: Likewise.
14577 * INSTALL: Regenerated.
14578 * NOTES: Regenerated.
d40c5d54 14579 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14580
450bf206
AS
145812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14582
14583 * include/dirent.h: Include <dirstream.h> before
14584 <dirent/dirent.h>.
14585
741a235b
DM
145862012-02-28 David S. Miller <davem@davemloft.net>
14587
14588 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14589 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14590 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14591 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14592
d6b5aa58
DM
145932012-02-27 David S. Miller <davem@davemloft.net>
14594
1aff59a3
DM
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14597 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14598 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14599
d6b5aa58
DM
14600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14601 frame pointer instead of stack pointer relative arg slot.
14602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14605
433f48bf
CD
146062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14607
14608 [BZ #3992]
14609 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14610
d674b76d
DM
146112012-02-27 David S. Miller <davem@davemloft.net>
14612
14613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14617 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14618 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14619 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14620 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14621
0e7727f7
JM
146222012-02-27 Joseph Myers <joseph@codesourcery.com>
14623
14624 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14625 later. Allow versions 5-9.
43be4ca2 14626 * configure: Regenerated.
0e7727f7
JM
14627 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14628 required minimum version and 4.6 as recommended version. Do not
14629 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14630 * INSTALL: Regenerated.
0e7727f7 14631
a78bc654
DM
146322012-02-27 David S. Miller <davem@davemloft.net>
14633
428d5830
DM
14634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14638 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14639 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14640 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14641 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14642
a78bc654
DM
14643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14644 manipulate bits before adding and subtracting TWO112[sx].
14645 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14646
4579f81c
RM
146472012-02-27 Roland McGrath <roland@hack.frob.com>
14648
36c8acb4
RM
14649 [BZ #13775]
14650 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14651 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14652 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14653 being in POSIX, because they are in 1003.1-2008.
14654
84ad622b
RM
14655 * rt/tst-aio.c: Include <fcntl.h>.
14656 * rt/tst-aio7.c: Likewise.
14657 * rt/tst-aio64.c: Likewise.
14658
4579f81c
RM
14659 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14660
abd923db
JM
146612012-02-27 Joseph Myers <joseph@codesourcery.com>
14662
14663 * manual/install.texi (--with-headers): Describe headers as
14664 interface headers, not private headers.
14665 (Specific advice for GNU/Linux systems): Describe use of headers
14666 from "make headers_install", not private headers from older
14667 kernels.
43be4ca2 14668 * INSTALL: Regenerated.
abd923db
JM
14669 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14670 Change to 2.6.19.
14671 * sysdeps/unix/sysv/linux/configure: Regenerated.
14672
6664049b
JM
14673 * manual/llio.texi (fclean): Remove documentation.
14674
bb8b6697
JM
14675 * manual/Makefile (libc-texi-generated): New variable. Include
14676 version.texi.
14677 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14678 $(libc-texi-generated), not duplicated list of files.
14679 (version.texi, stamp-version): New rules.
14680 (realclean): Remove $(libc-texi-generated), not individual files
14681 from that list. Do not remove dir-add.texinfo.
14682 * manual/libc.texinfo: Comment out uses of edition numbers and
14683 references to printed manual. Remove last-updated dates.
14684 (EDITION): Comment out.
14685 (ISBN): Likewise.
14686 (VERSION, UPDATED): Remove.
14687 (version.texi): Include.
14688
12e5c3b9
AS
146892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14690
14691 * sysdeps/posix/spawni.c: Include <signal.h>.
14692 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14693 * sysdeps/pthread/aio_fsync.c: Likewise.
14694
4efeffc1 146952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14696
ba63ba08
UD
14697 * conform/Makefile (tests): Run only when not cross-compiling and
14698 when fast-check is not defined.
14699
d94a4670
UD
14700 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14701 * conform/data/limits.h-data: Fixes for POSIX2008.
14702 * conform/run-conformtest.sh: Run all tests.
14703 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14704 headers.
14705 * include/bits/dlfcn.h: Likewise.
14706 * include/langinfo.h: Likewise.
14707 * include/monetary.h: Likewise.
14708 * include/sys/poll.h: Likewise.
14709
14710 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14711 for __USE_GNU.
14712 * posix/spawn.h: Define __need_sigset_t.
14713 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14714 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14715 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14716 to get sigevent_t only.
14717 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14718 only for __USE_GNU.
14719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14720 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14721 process_vm_writev only for __USE_GNU.
14722 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14723
14724 * conform/Makefile: For now ignore errors from run-conformtest.
14725 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14726 POSIX to avoid namespace pollution. Don't prepend headers.
14727 * conform/data/aio.h-data: Fixes for POSIX testing.
14728 * conform/data/fcntl.h-data: Likewise.
14729 * conform/data/glob.h-data: Likewise.
14730 * conform/data/grp.h-data: Likewise.
14731 * conform/data/pthread.h-data: Likewise.
14732 * conform/data/pwd.h-data: Likewise.
14733 * conform/data/signal.h-data: Likewise.
14734 * conform/data/spawn.h-data: Likewise.
14735 * conform/data/stdio.h-data: Likewise.
14736 * conform/data/stdlib.h-data: Likewise.
14737 * conform/data/stropts.h-data: Likewise.
14738 * conform/data/sys/mman.h-data: Likewise.
14739 * conform/data/sys/stat.h-data: Likewise.
14740 * conform/data/sys/types.h-data: Likewise.
14741 * conform/data/sys/wait.h-data: Likewise.
14742 * conform/data/time.h-data: Likewise.
14743 * conform/data/unistd.h-data: Likewise.
14744 * conform/data/utime.h-data: Likewise.
14745
14746 * io/sys/stat.h: fchmod was always in POSIX.
14747 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14748 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14749 * rt/aio.h: Define __need_timespec before including <time.h>.
14750 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14751 struct. Add forward declaration of pthread_attr_t and use it in
14752 sigevent.
14753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14755 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14756 always remove CLK_TCK definition.
14757
c20105c3
AS
147582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14759
14760 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14761
7a270350
UD
147622012-02-25 Ulrich Drepper <drepper@gmail.com>
14763
31341567
UD
14764 * conform/run-conformtest.sh: New file.
14765 * conform/Makefile: Run run-conformtest for tests.
14766 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14767 support.
14768
14769 * conform/data/uchar.h-data: New file.
14770 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14771 * conform/data/arpa/inet.h-data: Likewise.
14772 * conform/data/assert.h-data: Likewise.
14773 * conform/data/complex.h-data: Likewise.
14774 * conform/data/cpio.h-data: Likewise.
14775 * conform/data/ctype.h-data: Likewise.
14776 * conform/data/dirent.h-data: Likewise.
14777 * conform/data/dlfcn.h-data: Likewise.
14778 * conform/data/errno.h-data: Likewise.
14779 * conform/data/fcntl.h-data: Likewise.
14780 * conform/data/float.h-data: Likewise.
14781 * conform/data/fmtmsg.h-data: Likewise.
14782 * conform/data/fnmatch.h-data: Likewise.
14783 * conform/data/ftw.h-data: Likewise.
14784 * conform/data/glob.h-data: Likewise.
14785 * conform/data/grp.h-data: Likewise.
14786 * conform/data/iconv.h-data: Likewise.
14787 * conform/data/inttypes.h-data: Likewise.
14788 * conform/data/langinfo.h-data: Likewise.
14789 * conform/data/libgen.h-data: Likewise.
14790 * conform/data/limits.h-data: Likewise.
14791 * conform/data/locale.h-data: Likewise.
14792 * conform/data/math.h-data: Likewise.
14793 * conform/data/monetary.h-data: Likewise.
14794 * conform/data/mqueue.h-data: Likewise.
14795 * conform/data/ndbm.h-data: Likewise.
14796 * conform/data/net/if.h-data: Likewise.
14797 * conform/data/netdb.h-data: Likewise.
14798 * conform/data/netinet/in.h-data: Likewise.
14799 * conform/data/nl_types.h-data: Likewise.
14800 * conform/data/poll.h-data: Likewise.
14801 * conform/data/pthread.h-data: Likewise.
14802 * conform/data/pwd.h-data: Likewise.
14803 * conform/data/regex.h-data: Likewise.
14804 * conform/data/sched.h-data: Likewise.
14805 * conform/data/search.h-data: Likewise.
14806 * conform/data/semaphore.h-data: Likewise.
14807 * conform/data/setjmp.h-data: Likewise.
14808 * conform/data/signal.h-data: Likewise.
14809 * conform/data/spawn.h-data: Likewise.
14810 * conform/data/stdarg.h-data: Likewise.
14811 * conform/data/stdio.h-data: Likewise.
14812 * conform/data/stdlib.h-data: Likewise.
14813 * conform/data/string.h-data: Likewise.
14814 * conform/data/strings.h-data: Likewise.
14815 * conform/data/stropts.h-data: Likewise.
14816 * conform/data/sys/ipc.h-data: Likewise.
14817 * conform/data/sys/mman.h-data: Likewise.
14818 * conform/data/sys/msg.h-data: Likewise.
14819 * conform/data/sys/resource.h-data: Likewise.
14820 * conform/data/sys/select.h-data: Likewise.
14821 * conform/data/sys/sem.h-data: Likewise.
14822 * conform/data/sys/shm.h-data: Likewise.
14823 * conform/data/sys/socket.h-data: Likewise.
14824 * conform/data/sys/stat.h-data: Likewise.
14825 * conform/data/sys/statvfs.h-data: Likewise.
14826 * conform/data/sys/time.h-data: Likewise.
14827 * conform/data/sys/timeb.h-data: Likewise.
14828 * conform/data/sys/times.h-data: Likewise.
14829 * conform/data/sys/types.h-data: Likewise.
14830 * conform/data/sys/uio.h-data: Likewise.
14831 * conform/data/sys/un.h-data: Likewise.
14832 * conform/data/sys/utsname.h-data: Likewise.
14833 * conform/data/sys/wait.h-data: Likewise.
14834 * conform/data/syslog.h-data: Likewise.
14835 * conform/data/tar.h-data: Likewise.
14836 * conform/data/termios.h-data: Likewise.
14837 * conform/data/utime.h-data: Likewise.
14838 * conform/data/utmpx.h-data: Likewise.
14839 * conform/data/varargs.h-data: Likewise.
14840 * conform/data/wchar.h-data: Likewise.
14841 * conform/data/wctype.h-data: Likewise.
14842 * conform/data/wordexp.h-data: Likewise.
14843
14844 * include/stropts.h: New file.
14845 * include/uchar.h: New file.
14846 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14847 * include/assert.h: Likewise.
14848 * include/ctype.h: Likewise.
14849 * include/dirent.h: Likewise.
14850 * include/dlfcn.h: Likewise.
14851 * include/fcntl.h: Likewise.
14852 * include/fnmatch.h: Likewise.
14853 * include/glob.h: Likewise.
14854 * include/grp.h: Likewise.
14855 * include/libio.h: Likewise.
14856 * include/locale.h: Likewise.
14857 * include/math.h: Likewise.
14858 * include/net/if.h: Likewise.
14859 * include/netdb.h: Likewise.
14860 * include/netinet/in.h: Likewise.
14861 * include/pthread.h: Likewise.
14862 * include/pwd.h: Likewise.
14863 * include/regex.h: Likewise.
14864 * include/sched.h: Likewise.
14865 * include/search.h: Likewise.
14866 * include/setjmp.h: Likewise.
14867 * include/signal.h: Likewise.
14868 * include/stdio.h: Likewise.
14869 * include/stdlib.h: Likewise.
14870 * include/string.h: Likewise.
14871 * include/sys/cdefs.h: Likewise.
14872 * include/sys/mman.h: Likewise.
14873 * include/sys/msg.h: Likewise.
14874 * include/sys/resource.h: Likewise.
14875 * include/sys/select.h: Likewise.
14876 * include/sys/socket.h: Likewise.
14877 * include/sys/stat.h: Likewise.
14878 * include/sys/statvfs.h: Likewise.
14879 * include/sys/time.h: Likewise.
14880 * include/sys/times.h: Likewise.
14881 * include/sys/uio.h: Likewise.
14882 * include/sys/utsname.h: Likewise.
14883 * include/sys/wait.h: Likewise.
14884 * include/termios.h: Likewise.
14885 * include/time.h: Likewise.
14886 * include/ulimit.h: Likewise.
14887 * include/unistd.h: Likewise.
14888 * include/utime.h: Likewise.
14889 * include/wchar.h: Likewise.
14890 * include/wctype.h: Likewise.
14891 * include/wordexp.h: Likewise.
14892
14893 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14894
7a270350
UD
14895 * time/time.h: TIME_UTC must be a macro.
14896 Make timespec_get available for ISO C11 only as well.
14897
7724defc
UD
148982012-02-24 Ulrich Drepper <drepper@gmail.com>
14899
14900 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14901 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14902
6b1d1d46
JM
149032012-02-24 Joseph Myers <joseph@codesourcery.com>
14904
14905 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14906
0f8bbd69
JM
149072012-02-24 Joseph Myers <joseph@codesourcery.com>
14908
14909 * manual/texinfo.tex: Update to version 2012-01-19.16.
14910
66ab80bc
JM
149112012-02-24 Joseph Myers <joseph@codesourcery.com>
14912
14913 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14914
74981cc5
RM
149152012-02-24 Roland McGrath <roland@hack.frob.com>
14916
ee968201
RM
14917 [BZ #13738]
14918 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14919 * manual/fdl-1.3.texi: New file.
14920 * manual/fdl-1.1.texi: File removed.
14921
74981cc5
RM
14922 [BZ #13738]
14923 * manual/libc.texinfo (FDL_VERSION): New @set.
14924 Use it for mention of FDL in cover text.
14925 (Documentation License): Use it in @include file name.
14926
7bb764bc
JM
149272012-02-22 Joseph Myers <joseph@codesourcery.com>
14928 Roland McGrath <roland@hack.frob.com>
14929
14930 [BZ #5461]
14931 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14932 not LONG_LONG_MAX and LONG_LONG_MIN.
14933 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14934 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14935 name.
14936 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14937
6cbeae47
JM
149382012-02-22 Joseph Myers <joseph@codesourcery.com>
14939
14940 [BZ #2547]
14941 [BZ #11365]
14942 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14943 manipulate bits before adding and subtracting TWO23[sx].
14944 * math/libm-test.inc (nearbyint_test): Add more tests.
14945
fe45ce09
JM
149462012-02-22 Joseph Myers <joseph@codesourcery.com>
14947
14948 [BZ #2548]
14949 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14950 bits before adding and subtracting TWO23[sx].
14951 * math/libm-test.inc (rint_test): Add more tests.
14952 (rint_test_tonearest): Likewise.
14953 (rint_test_towardzero): Likewise.
14954 (rint_test_downward): Likewise.
14955 (rint_test_upward: Likewise.
14956
ff3b3d82
JM
149572012-02-22 Joseph Myers <joseph@codesourcery.com>
14958
14959 [BZ #10110]
14960 * include/stdc-predef.h: New file. Extracted from features.h.
14961 * include/features.h: Include stdc-predef.h.
14962 * Makefile (headers): Add stdc-predef.h.
14963 * CONFORMANCE (Compiler limitations): Update.
14964
ef0aab35
JM
149652012-02-22 Joseph Myers <joseph@codesourcery.com>
14966
14967 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14968
58639409
DM
149692012-02-21 David S. Miller <davem@davemloft.net>
14970
14971 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14972 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14973
c0e70b25
DM
149742012-02-20 David S. Miller <davem@davemloft.net>
14975
14976 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14977 using a normal save/restore sequence, rather than allocating a
14978 dummy stack frame just to store a frame pointer and restore.
14979 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14980
fb06851d
JM
149812012-02-21 Joseph Myers <joseph@codesourcery.com>
14982
14983 * manual/install.texi: Fix stray word in line-wrapped comment.
14984
7a8b71c3
DM
149852012-02-20 David S. Miller <davem@davemloft.net>
14986
d510c123
DM
14987 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14988 both binutils and gcc support GOTDATA.
14989
0722d7c2
DM
14990 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14991 "rd %pc" in the PIC register setup sequences.
14992
3d2b3019
DM
14993 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14994 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14995 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14996 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14997 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14999 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15000 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15002 (SYSCALL_ERROR_HANDLER): Likewise.
15003 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15006 (SYSCALL_ERROR_HANDLER): Likewise.
15007
c80098a9
DM
15008 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15009 (HAVE_GCC_GOTDATA): New.
15010 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15011 relocation support in both binutils and gcc.
15012 * sysdeps/sparc/elf/configure: Regenerate.
15013
3a2545a0
DM
15014 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15015 * sysdeps/sparc/sparc32/elf/configure: Delete.
15016 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15017 * sysdeps/sparc/sparc64/elf/configure: Delete.
15018 * sysdeps/sparc/elf/configure.in: New file.
15019 * sysdeps/sparc/elf/configure: Generate.
15020
7a8b71c3
DM
15021 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15022 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15023 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15024 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15025 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15026
f1e86fca
JM
150272012-02-21 Joseph Myers <joseph@codesourcery.com>
15028
15029 * manual/install.texi: Do not mention specific glibc version
15030 numbers.
15031 * manual/libc.texinfo (VERSION, UPDATED): Update.
15032 (@copying): Use @copyright{} and range of years.
15033
0e7dfaef
JM
150342012-02-21 Joseph Myers <joseph@codesourcery.com>
15035
15036 [BZ #13695]
15037 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15038 [crti.S not in sysdirs] (generated): Do not append.
15039 [crti.S not in sysdirs] (omit-deps): Likewise.
15040 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15041 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15042 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15043 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15044 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15045 Likewise.
15046 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15047 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15048 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15049 * csu/defs.awk: Remove file.
15050 * sysdeps/generic/initfini.c: Likewise.
15051 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15052 variable.
15053 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15054 Likewise.
15055
599af3ca
JM
150562012-02-20 Joseph Myers <joseph@codesourcery.com>
15057
15058 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15059 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15060 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15061 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15062 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15063 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15064 <bits/epoll.h>.
15065 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15066 (__EPOLL_PACKED): Define to empty if not defined by
15067 <bits/epoll.h>.
15068 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15070 bits/epoll.h.
15071
0e499750
JM
150722012-02-20 Joseph Myers <joseph@codesourcery.com>
15073
15074 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15075 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15076 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15077 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15078 <bits/timerfd.h>.
15079 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15081 bits/timerfd.h.
15082
5ad91f6e
JM
150832012-02-20 Joseph Myers <joseph@codesourcery.com>
15084
15085 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15086 in C locale.
15087 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15088 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15089 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15091
06b99b02
AJ
150922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15093
15094 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15095 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15096
7638c0fd
AS
150972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15098
15099 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15100 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15101 defined.
15102 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15103 Likewise.
15104 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15105 entry for 2.16.
15106
92221550
AJ
151072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15108
15109 * math/w_acos.c: Use non-signaling floating-point comparisons.
15110 * math/w_acosf.c: Likewise.
15111 * math/w_acosh.c: Likewise.
15112 * math/w_acoshf.c: Likewise.
15113 * math/w_acoshl.c: Likewise.
15114 * math/w_acosl.c: Likewise.
15115 * math/w_asin.c: Likewise.
15116 * math/w_asinf.c: Likewise.
15117 * math/w_asinl.c: Likewise.
15118 * math/w_atanh.c: Likewise.
15119 * math/w_atanhf.c: Likewise.
15120 * math/w_atanhl.c: Likewise.
15121 * math/w_exp2.c: Likewise.
15122 * math/w_exp2f.c: Likewise.
15123 * math/w_exp2l.c: Likewise.
15124 * math/w_j0.c: Likewise.
15125 * math/w_j0f.c: Likewise.
15126 * math/w_j0l.c: Likewise.
15127 * math/w_j1.c: Likewise.
15128 * math/w_j1f.c: Likewise.
15129 * math/w_j1l.c: Likewise.
15130 * math/w_jn.c: Likewise.
15131 * math/w_jnf.c: Likewise.
15132 * math/w_log.c: Likewise.
15133 * math/w_log10.c: Likewise.
15134 * math/w_log10f.c: Likewise.
15135 * math/w_log10l.c: Likewise.
15136 * math/w_log2.c: Likewise.
15137 * math/w_log2f.c: Likewise.
15138 * math/w_log2l.c: Likewise.
15139 * math/w_logf.c: Likewise.
15140 * math/w_logl.c: Likewise.
15141 * math/w_sqrt.c: Likewise.
15142 * math/w_sqrtf.c: Likewise.
15143 * math/w_sqrtl.c: Likewise.
15144 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15145 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15146 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15149
ebaf36eb
JM
151502012-02-19 Joseph Myers <joseph@codesourcery.com>
15151
15152 [BZ #9739]
15153 * manual/string.texi (strnlen): Use correct parameter name in
15154 equivalent expression.
15155
71c254a6
JM
151562012-02-19 Joseph Myers <joseph@codesourcery.com>
15157
15158 [BZ #11174]
15159 * manual/users.texi (seteuid): Consistently use neweuid for
15160 argument name.
15161
16d2c631
JM
151622012-02-19 Joseph Myers <joseph@codesourcery.com>
15163
15164 [BZ #13704]
15165 * manual/nss.texi (Services in the NSS configuration): Correct
15166 list of services in example configuration file.
15167
cd837b09
NB
151682012-02-19 Nick Bowler <nbowler@draconx.ca>
15169
15170 [BZ #11322]
15171 * manual/arith.texi: Remove statements about negative zero
15172 behaving identically to zero.
15173
02c4bbad
JM
151742012-02-18 Joseph Myers <joseph@codesourcery.com>
15175
15176 [BZ #5993]
15177 * manual/install.texi: Do not document upgrading from libc5.
15178
366842e7
JM
151792012-02-18 Joseph Myers <joseph@codesourcery.com>
15180
15181 [BZ #4596]
15182 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15183
dd54084d
DM
151842012-02-18 David S. Miller <davem@davemloft.net>
15185
15186 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15187 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15188 %o7 across the call.
15189 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15190 instead.
15191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15192 SETUP_PIC_REG_LEAF.
15193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15194 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15195 * sysdeps/sparc/crtn.S: Likewise.
15196
2bcc53a3
UD
151972012-02-17 Ulrich Drepper <drepper@gmail.com>
15198
15199 * aout/Makefile: Remove.
15200
09c093b5
RK
152012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15202
15203 [BZ #13058]
15204 * manual/examples/argp-ex1.c (main): Format definition in GNU
15205 style.
15206 * manual/examples/argp-ex2.c (main): Likewise.
15207 * manual/examples/argp-ex3.c (main): Likewise.
15208 * manual/examples/argp-ex4.c (main): Likewise.
15209 * manual/examples/longopt.c (main): Use new-style prototype
15210 definition.
15211 * manual/examples/strncat.c (main): Specify return type and use
15212 (void) for arguments.
15213 * manual/examples/subopt.c (main): Use char **argv argument.
15214
2ee633a2
JM
152152012-02-17 Joseph Myers <joseph@codesourcery.com>
15216
15217 [BZ #5077]
15218 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15219 rounding modes.
15220
0520adde
FB
152212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15222
15223 [BZ #6907]
15224 * manual/string.texi (strchr): Change when strchrnul is
15225 recommended.
15226
3f4081cd
DGM
152272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15228
15229 [BZ #174]
15230 * manual/locale.texi (setlocale): Document LOCPATH.
15231
d1b10e78
JM
152322012-02-17 Joseph Myers <joseph@codesourcery.com>
15233
15234 [BZ #10210]
15235 * manual/process.texi (execle): Move @dots{} before last argument.
15236
79c6869c
PB
152372012-02-17 Paul Bolle <pebolle@tiscali.nl>
15238
15239 [BZ #12047]
15240 * manual/charset.texi (Generic Charset Conversion): Fix typo
15241 (LC_TYPE -> LC_CTYPE).
15242
cc6e48bc
NB
152432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15244
15245 [BZ #5805]
15246 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15247 (scalbnf): Likewise.
15248 (scalbnl): Likewise.
15249 (scalbln): Likewise.
15250 (scalblnf): Likewise.
15251 (scalblnl): Likewise.
15252 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15253 (vwarnx): Likewise.
15254 (verr): Likewise.
15255 (verrx): Likewise.
15256 * manual/filesys.texi (telldir): Use braces around return type.
15257 * manual/llio.texi (mmap): Add space after comma.
15258 (mmap64): Likewise.
15259 * manual/math.texi (jn): Use @var{} on parameter names.
15260 (jnf): Likewise.
15261 (jnl): Likewise.
15262 (yn): Likewise.
15263 (ynf): Likewise.
15264 (ynl): Likewise.
15265 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15266 line.
15267 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15268 "...".
15269 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15270 (sched_get_priority_max): Likewise.
15271 * manual/signal.texi (sigvec): Add space after comma.
15272 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15273 names.
15274 (if_indextoname): Likewise.
15275 (if_freenameindex): Likewise.
15276 (sendto): Use ',' instead of '.' in prototype.
15277 * manual/startup.texi (syscall): Use @dots{} instead of literal
15278 "...".
15279 * manual/stdio.texi (__fpending): Separate initial words of
15280 paragraph from @deftypefun line.
15281 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15282 "...".
15283 (vsyslog): Use @var{} on parameter names.
15284 * manual/terminal.texi (stty): Use @var{} on parameter names.
15285 * manual/users.texi (getutmp): Use @var{} on parameter names.
15286 (getutmpx): Likewise.
15287
5b23062f
JM
152882012-02-17 Joseph Myers <joseph@codesourcery.com>
15289
15290 [BZ #6884]
15291 * manual/stdio.texi (fopen): Fix typos in description of
15292 ",ccs=STRING".
15293
8dee4833
AJ
152942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15295
15296 [BZ #4026]
15297 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15298 get clock_id definition.
15299
9078ce93
TS
153002012-02-17 Thomas Schwinge <thomas@schwinge.name>
15301
15302 [BZ #4822]
15303 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15304 (madvise): Cast every argument to void on its own.
15305
3835c55f
JM
153062012-02-17 Joseph Myers <joseph@codesourcery.com>
15307
15308 [BZ #9902]
15309 * manual/startup.texi (Exit Status): Fix typo.
15310
35c47e37
JM
153112012-02-17 Joseph Myers <joseph@codesourcery.com>
15312
15313 [BZ #10140]
15314 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15315 * manual/examples/argp-ex2.c: Likewise.
15316 * manual/examples/argp-ex3.c: Likewise.
15317
e3b69ca7
RH
153182012-02-16 Richard Henderson <rth@redhat.com>
15319
15320 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15321 * sysdeps/s390/s390-32/initfini.c: Remove.
15322 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15323 * sysdeps/s390/s390-64/initfini.c: Remove.
15324
df83af67
KK
153252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15326
15327 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15328 compiler output for sysdeps/generic/initfini.c.
15329 * sysdeps/sh/elf/initfini.c: Remove file.
15330
f63f3380
DM
153312012-02-16 David S. Miller <davem@davemloft.net>
15332
fb59b3a4
DM
15333 [BZ #11494]
15334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15335
f63f3380
DM
15336 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15337 * sysdeps/sparc/crti.S: New file.
15338 * sysdeps/sparc/crtn.S: New file.
15339 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15340 * sysdeps/sparc/sparc64/Makefile: Likewise.
15341
df6a4a4a
MF
153422012-02-15 Mike Frysinger <vapier@gentoo.org>
15343
6dd8f3dc 15344 [BZ #3335]
df6a4a4a
MF
15345 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15346
1cac7236
RM
153472012-02-15 Roland McGrath <roland@hack.frob.com>
15348
d2c736f8
RM
15349 [BZ #4822]
15350 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15351
1cac7236
RM
15352 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15353 (write, read, close): Likewise.
15354 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15355
8e475601
JM
153562012-02-15 Joseph Myers <joseph@codesourcery.com>
15357
15358 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15359 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15360 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15361 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15362 <bits/signalfd.h>.
15363 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15365 bits/signalfd.h.
15366
ed656b40
MP
153672012-02-14 Marek Polacek <polacek@redhat.com>
15368
15369 * sysdeps/x86_64/crti.S: New file.
15370 * sysdeps/x86_64/crtn.S: New file.
15371 * sysdeps/x86_64/elf/initfini.c: Remove file.
15372
2a979d3a
JM
153732012-02-13 Joseph Myers <joseph@codesourcery.com>
15374
15375 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15376 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15377 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15378 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15379 <bits/inotify.h>.
15380 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15382 bits/inotify.h.
15383
2a418ac3
JM
153842012-02-13 Joseph Myers <joseph@codesourcery.com>
15385
15386 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15387 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15388 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15389 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15390 <bits/eventfd.h>.
15391 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15393 bits/eventfd.h.
15394
fb779be7
TS
153952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15396
e19e83c5
RM
15397 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15398 __feraiseexcept instead of feraiseexcept.
7c35ffed 15399
fb779be7
TS
15400 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15401 nanosleep invocations.
15402 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15403 strings, and add error checking for a nanosleep invocations.
15404
59ba27a6
PE
154052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15406
15407 Replace FSF snail mail address with URLs, as per GNU coding standards.
15408 Most of the snail mail addresses were wrong anyway, and omitting
15409 them makes the source code easier to maintain. Almost all of the
15410 changes are to license notices and to locale LC_IDENTIFICATION
15411 addresses, except for this one:
15412 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15413 not its snail mail address.
15414
57b957eb
RH
154152012-02-09 Richard Henderson <rth@twiddle.net>
15416
af850b1c
RH
15417 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15418 of kernel-features.h.
15419
57b957eb
RH
15420 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15421
6b73181a
MP
154222012-02-08 Marek Polacek <polacek@redhat.com>
15423
15424 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15425 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15426 * sysdeps/gnu/_G_config.h: Likewise.
15427 * sysdeps/generic/_G_config.h: Likewise.
15428
26ecc33a
AS
154292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15430
6c6dbc63
AS
15431 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15432 tests.
15433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15434
e216c012
AS
15435 * sysdeps/powerpc/powerpc32/crti.S: New file.
15436 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15437 * sysdeps/powerpc/powerpc64/crti.S: New file.
15438 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15439
26ecc33a
AS
15440 * Makeconfig (have-initfini): Don't set.
15441 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15442 * configure.in (nopic_initfini): Don't substitute.
15443 * config.h.in (HAVE_INITFINI): Don't #undef.
15444 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15445 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15446
3add8e13
JM
154472012-02-08 Joseph Myers <joseph@codesourcery.com>
15448
15449 Support crti.S and crtn.S provided directly by architectures.
15450 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15451 [crti.S in sysdirs] (omit-deps): Likewise.
15452 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15453 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15454 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15455 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15456 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15457 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15458 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15459 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15460 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15461 compiler output for sysdeps/generic/initfini.c.
15462 * sysdeps/i386/elf/Makefile: Remove file.
15463 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15464
a22f12b4
MP
154652012-02-07 Marek Polacek <polacek@redhat.com>
15466
15467 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15468 * sysdeps/gnu/_G_config.h: Likewise.
15469 * sysdeps/mach/hurd/_G_config.h: Likewise.
15470
148cf100
MP
154712012-02-07 Marek Polacek <polacek@redhat.com>
15472
15473 * math/Makefile (tests): Add tst-CMPLX2.
15474 * math/tst-CMPLX2.c: New file.
15475
cfdc0dd7
AS
154762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15477
84ba42c4
AS
15478 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15479
cfdc0dd7
AS
15480 * math/libm-test.inc (jn_test): Add missing L suffix.
15481
622c86f4
MP
154822012-02-06 Marek Polacek <polacek@redhat.com>
15483
15484 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15485 * sysdeps/i386/fpu/e_powf.S: Likewise.
15486 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15487 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15489 * sysdeps/i386/fpu/e_pow.S: Likewise.
15490 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15491 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15492 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15493 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15494 * sysdeps/i386/fpu/e_log2.S: Likewise.
15495 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15496 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15497 * sysdeps/i386/fpu/e_powl.S: Likewise.
15498 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15499 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15500 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15501 * sysdeps/i386/fpu/e_logl.S: Likewise.
15502 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15503 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15504 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15505 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15506 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15507 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15508 * sysdeps/i386/fpu/e_log.S: Likewise.
15509 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15510 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15511 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15512 * sysdeps/i386/fpu/e_logf.S: Likewise.
15513 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15514 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15515 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15516 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15517 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15518 * sysdeps/i386/fpu/e_log10.S: Likewise.
15519 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15520 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15521 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15522 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15523 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15524 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15525 * sysdeps/i386/asm-syntax.h: Likewise.
15526 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15527 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15528 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15529 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15530 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15531 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15532 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15533 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15534 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15535 * sysdeps/powerpc/sysdep.h: Likewise.
15536 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15537 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15538
d4a54ac6
JM
155392012-02-06 Joseph Myers <joseph@codesourcery.com>
15540
15541 [BZ #411]
15542 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15543
314054ea
JM
155442012-02-06 Joseph Myers <joseph@codesourcery.com>
15545
15546 * sysdeps/i386/sysdep.h: Include <features.h>.
15547 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15548 version.
15549
d8e0ca50
JM
155502012-02-05 Joseph Myers <joseph@codesourcery.com>
15551
15552 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15553 Define.
15554 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15555 LOAD_PIC_REG_STR.
15556
b1da7dd9
JM
155572012-02-03 Joseph Myers <joseph@codesourcery.com>
15558
15559 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15560 (SETUP_PIC_REG): Use GET_PC_THUNK.
15561 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15562 macro.
15563
9a1d9254
JM
155642012-02-03 Joseph Myers <joseph@codesourcery.com>
15565
15566 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15567 for non-PIC compilation.
15568 (SETUP_PIC_REG): Add .p2align directive.
15569 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15570 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15571 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15572 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15573 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15576 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15580 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15581 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15595 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15602 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15607 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15608 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15610
65dc3b75
JM
156112012-02-03 Joseph Myers <joseph@codesourcery.com>
15612
15613 * math/tst-CMPLX.c: Include <stdio.h>.
15614
d55bf177
JM
156152012-01-31 Joseph Myers <joseph@codesourcery.com>
15616
15617 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15618 float.
15619 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15620 * sysdeps/sparc/bits/mathdef.h: Likewise.
15621
69db4f8f
MP
156222012-01-31 Marek Polacek <polacek@redhat.com>
15623
15624 * libio/libio.h: Don't define _PARAMS.
15625 * locale/programs/config.h: Don't define PARAMS.
15626 * stdlib/strtol_l.c: Likewise.
15627 (__strtol_l): Remove PARAMS from the prototype.
15628
41b81892
UD
156292012-01-31 Ulrich Drepper <drepper@gmail.com>
15630
3b49edc0
UD
15631 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15632 names. Just use the correct names. Remove unnecessary wrapper
15633 functions.
15634 * malloc/arena.c: Likewise.
15635 * malloc/hooks.c: Likewise.
15636
41b81892
UD
15637 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15638 ARENA_TEST says not to. Simplify test for creation of a new arena.
15639 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15640
27a25b6e
UD
156412012-01-30 Ulrich Drepper <drepper@gmail.com>
15642
15643 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15644 into tail calls.
15645 (update_get_addr): New function.
15646 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15647 GET_ADDR_MODULE parameter.
15648
c8a89e7d
JM
156492012-01-30 Joseph Myers <joseph@codesourcery.com>
15650
15651 * crypt/cert.c: Remove __STDC__ conditionals.
15652 * crypt/crypt-entry.c: Likewise.
15653 * crypt/crypt_util.c: Likewise.
15654 * libio/filedoalloc.c: Likewise.
15655 * libio/fileops.c: Likewise.
15656 * libio/genops.c: Likewise.
15657 * libio/iofclose.c: Likewise.
15658 * libio/iofdopen.c: Likewise.
15659 * libio/iofopen.c: Likewise.
15660 * libio/iofopen64.c: Likewise.
15661 * libio/iogetdelim.c: Likewise.
15662 * libio/iopopen.c: Likewise.
15663 * libio/obprintf.c: Likewise.
15664 * libio/oldfileops.c: Likewise.
15665 * libio/oldiofclose.c: Likewise.
15666 * libio/oldiofdopen.c: Likewise.
15667 * libio/oldiofopen.c: Likewise.
15668 * libio/oldiopopen.c: Likewise.
15669 * libio/wfiledoalloc.c: Likewise.
15670 * libio/wgenops.c: Likewise.
15671 * locale/programs/xmalloc.c: Likewise.
15672 * misc/syslog.c: Likewise.
15673 * stdio-common/xbug.c: Likewise.
15674 * string/memchr.c: Likewise.
15675 * string/memcmp.c: Likewise.
15676 * string/memrchr.c: Likewise.
15677 * string/rawmemchr.c: Likewise.
15678 * sysdeps/posix/getcwd.c: Likewise.
15679 * time/strftime_l.c: Likewise.
15680
3b100462
JM
156812012-01-30 Joseph Myers <joseph@codesourcery.com>
15682
15683 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15684 * config.make.in (config-cflags-sse2avx): Define.
15685 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15686 Fix typo.
15687
607998af
CM
156882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15689
15690 * scripts/config.guess: Update from upstream config git repository.
15691 * scripts/config.sub: Likewise.
15692
3601428f
CM
156932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15694
3ac8b282
CM
15695 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15696 (EM_NUM): Update.
15697 (R_TILEPRO_*, R_TILEGX_*): New macros.
15698
e034841e
CM
15699 * scripts/firstversions.awk: Fix bug in version range handling.
15700
540d7568
CM
15701 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15702
3601428f
CM
15703 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15704
463de862
CM
15705 * include/sys/epoll.h: New file.
15706 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15707 libc_hidden_def.
15708
73139a76
UD
157092012-01-28 Ulrich Drepper <drepper@gmail.com>
15710
96bc5b45
UD
15711 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15712 Avoid unnecessary __WORDSIZE == 64 test.
15713 (fmaxf): Use VEX format if possible.
15714 (fmax): Likewise.
15715 (fminf): Likewise.
15716 (fmin): Likewise.
15717
56f6f6a2
UD
15718 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15719 * math/math_private.h: Remove libc_fegetround* and
15720 libc_fesetround*.
15721 * sysdeps/i386/configure.in: Check for -msse2avx.
15722 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15723 also if SSE2AVX is defined.
15724 Remove libc_fegetround* and libc_fesetround*.
15725 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15726 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15728 of HAS_YMM_USABLE.
15729 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15730 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15732 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15734
73139a76
UD
15735 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15736
d73f93a4
AZ
157372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15738
15739 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15740 size is not set.
15741 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15742
6ee65ed6
UD
157432012-01-27 Ulrich Drepper <drepper@gmail.com>
15744
15745 [BZ #13618]
15746 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15747 relocation.
15748 * Makeconfig (libm): Define.
15749 * elf/Makefile: Add rules to build and run tst-relsort1.
15750 * elf/tst-relsort1.c: New file.
15751 * elf/tst-relsort1mod1.c: New file.
15752 * elf/tst-relsort1mod2.c: New file.
15753
8db21882
JM
157542012-01-27 Joseph Myers <joseph@codesourcery.com>
15755
15756 * math/s_ldexp.c: Remove __STDC__ conditionals.
15757 * math/s_ldexpf.c: Likewise.
15758 * math/s_ldexpl.c: Likewise.
15759 * math/s_nextafter.c: Likewise.
15760 * math/s_nexttowardf.c: Likewise.
15761 * math/s_significand.c: Likewise.
15762 * math/s_significandf.c: Likewise.
15763 * math/s_significandl.c: Likewise.
15764 * math/w_jnl.c: Likewise.
15765 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15766 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15767 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15768 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15769 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15771 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15772 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15773 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15774 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15775 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15778 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15780 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15781 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15782 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15784 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15785 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15786 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15787 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15788 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15789 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15790 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15791 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15792 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15793 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15794 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15795 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15796 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15797 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15798 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15799 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15800 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15801 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15802 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15803 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15804 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15805 * sysdeps/ieee754/k_standard.c: Likewise.
15806 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15824 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15825 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15826 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15827 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15828 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15829 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15830 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15831 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15835 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15837 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15838 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15839 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15842 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15844 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15845 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15849 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15851 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15852 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15853 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15854 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15855 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15861 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15862 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15867 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15868 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15870 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15871 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15872 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15873 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15874 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15875 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15876 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15881 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15885 * sysdeps/ieee754/s_matherr.c: Likewise.
15886 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15887 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15890
965a54a4
JM
158912012-01-26 Joseph Myers <joseph@codesourcery.com>
15892
15893 * crypt/md5.h: Remove __STDC__ conditionals.
15894 * libio/libioP.h: Likewise.
15895 * locale/programs/config.h: Likewise.
15896 * sysdeps/generic/sysdep.h: Likewise.
15897 * sysdeps/i386/asm-syntax.h: Likewise.
15898 * sysdeps/s390/asm-syntax.h: Likewise.
15899 * sysdeps/unix/sysdep.h: Likewise.
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15902
7071ad79
JM
159032012-01-26 Joseph Myers <joseph@codesourcery.com>
15904
15905 * libio/libio.h: Remove __STDC__ conditionals.
15906 * malloc/obstack.h: Likewise.
15907 * math/complex.h: Likewise.
15908 * math/math.h: Likewise.
15909 * sysdeps/generic/_G_config.h: Likewise.
15910 * sysdeps/gnu/_G_config.h: Likewise.
15911 * sysdeps/mach/hurd/_G_config.h: Likewise.
15912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15913 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15914 * sysdeps/sparc/bits/mathdef.h: Likewise.
15915
afc5ed09
UD
159162012-01-26 Ulrich Drepper <drepper@gmail.com>
15917
15918 [BZ #13583]
15919 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15920 Clean up HAS_* macros.
afc5ed09 15921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15922 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15923 possible.
15924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15925 HAS_AVX.
15926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15927 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15928 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15929 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15931
bdb6de1d
JM
159322012-01-25 Joseph Myers <joseph@codesourcery.com>
15933
15934 * elf/tst-unique3.cc (gets): Remove declaration.
15935 * elf/tst-unique3lib.cc (gets): Likewise.
15936 * elf/tst-unique3lib2.cc (gets): Likewise.
15937 * elf/tst-unique4.cc (gets): Likewise.
15938
b15549e6
UD
159392012-01-24 Ulrich Drepper <drepper@gmail.com>
15940
15941 * include/stdio.h: Add C++ protection. Add gets declarations and
15942 definitions.
15943 * debug/tst-chk1.c: Don't declare gets here.
15944 * stdio-common/tst-gets.c: Likewise.
15945
a037381f
JM
159462012-01-24 Joseph Myers <joseph@codesourcery.com>
15947
15948 * posix/glob: Remove directory.
15949
f1d4aa75
JM
159502012-01-24 Joseph Myers <joseph@codesourcery.com>
15951
15952 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15953
81c0c964
PT
159542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15955
15956 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15957 of the non-standard EPFNOSUPPORT.
15958
0ea698ae
ST
159592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15960
15961 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15962 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15963 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15964
d220b117
UD
159652012-01-21 Ulrich Drepper <drepper@gmail.com>
15966
15967 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15968
3e1aa84e
UD
159692012-01-20 Ulrich Drepper <drepper@gmail.com>
15970
15971 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15972 transient errors.
15973 * nscd/grpcache.c (cache_addgr): Likewise.
15974 * nscd/hstcache.c (cache_addhst): Likewise.
15975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15976 * nscd/pwdcache.c (cache_addpw): Likewise.
15977 * nscd/servicescache.c (cache_addserv): Likewise.
15978
400aa020
UD
159792012-01-16 Ulrich Drepper <drepper@gmail.com>
15980
d77e7869
UD
15981 * malloc/malloc.c: Various cleanups.
15982 * malloc/hooks.c: Likewise.
15983
400aa020
UD
15984 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15985 * stdlib/bug-fmtmsg1.c: New file.
15986
15987 * stdlib/fmtmsg.c (init): Add missing unlock.
15988 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15989
e0a309cf
MP
159902012-01-12 Marek Polacek <polacek@redhat.com>
15991
15992 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15993 and _GNU_SOURCE.
15994
929d11c7
WS
159952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15996
15997 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15998 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15999 macro to ensure uniqueness of label name.
16000 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16001 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16002
41d0e869
UD
160032012-01-11 Ulrich Drepper <drepper@gmail.com>
16004
0cc5ed3b
UD
16005 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16006
41d0e869
UD
16007 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16008 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16009 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16011
a47a831a
UD
160122012-01-10 Ulrich Drepper <drepper@gmail.com>
16013
daa891c0
UD
16014 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16015
16016 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16017 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16018 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16019
e58ef0f2
UD
16020 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16021
a47a831a 16022 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16023 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16024 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16026
16027 * math/bits/math-finite.h: Add ldexp support.
16028
a0bfc9c7
MP
160292012-01-10 Marek Polacek <polacek@redhat.com>
16030
16031 * locale/programs/localedef.h (show_archive_content): Add noreturn
16032 attribute.
16033
d6e97a1d
UD
160342012-01-09 Ulrich Drepper <drepper@gmail.com>
16035
16036 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16037
d5835c26
UD
160382012-01-08 Ulrich Drepper <drepper@gmail.com>
16039
e5f484c6
UD
16040 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16041
d5835c26
UD
16042 * io/Makefile (headers): Add bits/poll2.h.
16043
d1f741e9
WS
160442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16045
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16047 typo #include statement.
16048
ec09c1c4
UD
160492012-01-08 Ulrich Drepper <drepper@gmail.com>
16050
16051 * include/sys/cdefs.h: Define __attribute_alloc_size.
16052 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16053 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16054 * elf/pldd.c: Likewise.
16055 * iconv/iconv_charmap.c: Likewise.
16056 * iconv/iconvconfig.c: Likewise.
16057 * iconv/strtab.c: Likewise.
16058 * locale/programs/locale.c: Likewise.
16059 * locale/programs/localedef.h: Likewise.
16060 * locale/programs/simple-hash.c: Likewise.
16061 * nscd/nscd.h: Likewise.
16062 * nss/makedb.c: Likewise.
16063 * sysdeps/generic/ldconfig.h: Likewise.
16064 * locale/programs/localedef.c: Remove xmalloc prototype.
16065 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16066
20b38e03
PP
160672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16068
16069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16070 appropriate.
16071
a0da5fe1
UD
160722012-01-08 Ulrich Drepper <drepper@gmail.com>
16073
1d5a644a 16074 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16075 * math/tst-CMPLX.c: New file.
1d5a644a 16076
8784a6db
UD
16077 * math/complex.h (CMPLXL): Fix typo.
16078
d9a216c0
UD
16079 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16080 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16081 GLIBC_2.16.
16082 * debug/tst-chk1.c: Add poll and ppoll tests.
16083 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16084 * include/sys/poll.h: Add hidden proto for ppoll.
16085 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16086 * sysdeps/mach/hurd/ppoll.c: Likewise.
16087 * io/ppoll.c: Likewise.
16088 * debug/poll_chk.c: New file.
16089 * debug/ppoll_chk.c: New file.
16090 * include/bits/poll2.h: New file.
16091 * io/bits/poll2.h: New file.
16092
ac097f5c
UD
16093 [BZ #1350]
16094 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16095
2119dcfa
UD
16096 * configure.in: static is always set to yes. Remove.
16097 * config.make.in: Don't set build-static.
16098 * Makeconfig: Remove use of build-static.
16099 * dlfcn/Makefile: Likewise.
16100 * elf/Makefile: Likewise.
16101 * math/Makefile: Likewise.
16102 * misc/Makefile: Likewise.
16103 * nptl/Makefile: Likewise.
16104 * sysdeps/mach/hurd/Makefile: Likewise.
16105
121766a9
UD
16106 * configure.in: PWD_P is not used anymore.
16107 * config.make.in: Remove PWD_P entry.
16108
51a1d39c 16109 * configure.in: Remove last remnants of RANLIB.
8720d066 16110 No need to check for signed size_t anymore.
215f4bdc
UD
16111 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16112 and IA-64.
3857022a 16113 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16114 * aclocal.m4: Likewise.
16115
d3ed7225
UD
16116 * wcsmbs/mbrtoc16.c: Implement using towc function.
16117 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16118 * wcsmbs/wcsmbsload.c: Likewise.
16119 * iconv/gconv_simple.c: Likewise.
16120 * iconv/gconv_int.h: Likewise.
16121 * iconv/gconv_builtin.h: Likewise.
16122 * iconv/iconv_prog.c: Remove CHAR16 handling.
16123
16124 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16125
16126 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16127
a0da5fe1
UD
16128 * configure.in: Remove --with-elf and --enable-bounded options.
16129 Dont set base_machine for ia64. More non-ELF conditions removed.
16130 Remove testing and setting of leading underscore information.
16131 * config.make.in (build-bounded): Set to no.
16132 * config.h.in: Remove NO_UNDERSCORES entry.
16133 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16134 them.
16135 * csu/start.c: Remove !NO_UNDERSCORE code.
16136 * locale/localeinfo.h: Likewise.
16137 * sysdeps/generic/machine-gmon.h: Likewise.
16138 * sysdeps/generic/sysdep.h: Likewise.
16139 * sysdeps/i386/sysdep.h: Likewise.
16140 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16141 * sysdeps/mach/sysdep.h: Likewise.
16142 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16143 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16144 * sysdeps/sh/sysdep.h: Likewise.
16145 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16146 * sysdeps/unix/i386/sysdep.S: Likewise.
16147 * sysdeps/unix/sparc/start.c: Likewise.
16148 * sysdeps/unix/sparc/sysdep.S: Likewise.
16149 * sysdeps/unix/sparc/sysdep.h: Likewise.
16150 * sysdeps/unix/start.c: Likewise.
16151 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16152 * sysdeps/x86_64/sysdep.h: Likewise.
16153
df78418a
UD
161542012-01-07 Ulrich Drepper <drepper@gmail.com>
16155
a784e502
UD
16156 [BZ #13553]
16157 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16158 for non-gcc.
16159 * argp/argp-fmtstream.h: Use const instead __const.
16160 * argp/argp.h: Likewise.
16161 * assert/assert.h: Likewise.
16162 * bits/fenv.h: Likewise.
16163 * bits/sched.h: Likewise.
16164 * bits/sigset.h: Likewise.
16165 * bits/sigthread.h: Likewise.
16166 * catgets/nl_types.h: Likewise.
16167 * conform/data/pthread.h-data: Likewise.
16168 * crypt/crypt-private.h: Likewise.
16169 * crypt/crypt.h: Likewise.
16170 * crypt/crypt_util.c: Likewise.
16171 * ctype/ctype.h: Likewise.
16172 * debug/execinfo.h: Likewise.
16173 * debug/mbsnrtowcs_chk.c: Likewise.
16174 * debug/mbsrtowcs_chk.c: Likewise.
16175 * debug/wcsnrtombs_chk.c: Likewise.
16176 * debug/wcsrtombs_chk.c: Likewise.
16177 * debug/wcstombs_chk.c: Likewise.
16178 * dirent/dirent.h: Likewise.
16179 * dlfcn/dlfcn.h: Likewise.
16180 * elf/neededtest4.c: Likewise.
16181 * grp/grp.h: Likewise.
16182 * gshadow/gshadow.h: Likewise.
16183 * iconv/gconv.h: Likewise.
16184 * iconv/gconv_int.h: Likewise.
16185 * iconv/gconv_simple.c: Likewise.
16186 * iconv/iconv.h: Likewise.
16187 * iconv/loop.c: Likewise.
16188 * iconv/skeleton.c: Likewise.
16189 * include/aio.h: Likewise.
16190 * include/aliases.h: Likewise.
16191 * include/argz.h: Likewise.
16192 * include/arpa/inet.h: Likewise.
16193 * include/assert.h: Likewise.
16194 * include/dirent.h: Likewise.
16195 * include/dlfcn.h: Likewise.
16196 * include/execinfo.h: Likewise.
16197 * include/fcntl.h: Likewise.
16198 * include/fenv.h: Likewise.
16199 * include/glob.h: Likewise.
16200 * include/grp.h: Likewise.
16201 * include/libintl.h: Likewise.
16202 * include/mntent.h: Likewise.
16203 * include/netdb.h: Likewise.
16204 * include/pwd.h: Likewise.
16205 * include/rpc/netdb.h: Likewise.
16206 * include/sched.h: Likewise.
16207 * include/search.h: Likewise.
16208 * include/shadow.h: Likewise.
16209 * include/signal.h: Likewise.
16210 * include/stdio.h: Likewise.
16211 * include/stdlib.h: Likewise.
16212 * include/string.h: Likewise.
16213 * include/sys/socket.h: Likewise.
16214 * include/sys/stat.h: Likewise.
16215 * include/sys/statfs.h: Likewise.
16216 * include/sys/statvfs.h: Likewise.
16217 * include/sys/syslog.h: Likewise.
16218 * include/sys/time.h: Likewise.
16219 * include/sys/uio.h: Likewise.
16220 * include/time.h: Likewise.
16221 * include/unistd.h: Likewise.
16222 * include/utmp.h: Likewise.
16223 * include/wchar.h: Likewise.
16224 * include/wctype.h: Likewise.
16225 * inet/aliases.h: Likewise.
16226 * inet/arpa/inet.h: Likewise.
16227 * inet/netinet/ether.h: Likewise.
16228 * inet/netinet/in.h: Likewise.
16229 * intl/libintl.h: Likewise.
16230 * io/bits/fcntl2.h: Likewise.
16231 * io/fcntl.h: Likewise.
16232 * io/ftw.h: Likewise.
16233 * io/sys/poll.h: Likewise.
16234 * io/sys/stat.h: Likewise.
16235 * io/sys/statfs.h: Likewise.
16236 * io/sys/statvfs.h: Likewise.
16237 * io/utime.h: Likewise.
16238 * libio/bits/stdio.h: Likewise.
16239 * libio/bits/stdio2.h: Likewise.
16240 * libio/libio.h: Likewise.
16241 * libio/libioP.h: Likewise.
16242 * libio/stdio.h: Likewise.
16243 * locale/lc-ctype.c: Likewise.
16244 * locale/locale.h: Likewise.
16245 * login/utmp.h: Likewise.
16246 * malloc/arena.c: Likewise.
16247 * malloc/malloc.c: Likewise.
16248 * malloc/malloc.h: Likewise.
16249 * malloc/mcheck.c: Likewise.
16250 * malloc/mtrace.c: Likewise.
16251 * math/bits/mathcalls.h: Likewise.
16252 * math/fenv.h: Likewise.
16253 * math/math_private.h: Likewise.
16254 * misc/bits/error.h: Likewise.
16255 * misc/bits/syslog.h: Likewise.
16256 * misc/err.h: Likewise.
16257 * misc/error.h: Likewise.
16258 * misc/fstab.h: Likewise.
16259 * misc/mntent.h: Likewise.
16260 * misc/regexp.h: Likewise.
16261 * misc/search.h: Likewise.
16262 * misc/sgtty.h: Likewise.
16263 * misc/sys/mman.h: Likewise.
16264 * misc/sys/syslog.h: Likewise.
16265 * misc/sys/uio.h: Likewise.
16266 * misc/sys/xattr.h: Likewise.
16267 * misc/ttyent.h: Likewise.
16268 * nis/rpcsvc/ypclnt.h: Likewise.
16269 * nss/nss.h: Likewise.
16270 * posix/bits/unistd.h: Likewise.
16271 * posix/fnmatch.h: Likewise.
16272 * posix/glob.h: Likewise.
16273 * posix/sched.h: Likewise.
16274 * posix/spawn.h: Likewise.
16275 * posix/sys/wait.h: Likewise.
16276 * posix/unistd.h: Likewise.
16277 * posix/wordexp.h: Likewise.
16278 * pwd/pwd.h: Likewise.
16279 * resolv/netdb.h: Likewise.
16280 * resource/sys/resource.h: Likewise.
16281 * rt/aio.h: Likewise.
16282 * rt/bits/mqueue2.h: Likewise.
16283 * rt/mqueue.h: Likewise.
16284 * shadow/shadow.h: Likewise.
16285 * signal/signal.h: Likewise.
16286 * socket/send.c: Likewise.
16287 * socket/sendto.c: Likewise.
16288 * socket/sys/socket.h: Likewise.
16289 * stdio-common/printf.h: Likewise.
16290 * stdlib/bits/stdlib.h: Likewise.
16291 * stdlib/fmtmsg.h: Likewise.
16292 * stdlib/monetary.h: Likewise.
16293 * stdlib/stdlib.h: Likewise.
16294 * stdlib/ucontext.h: Likewise.
16295 * streams/stropts.h: Likewise.
16296 * string/argz.h: Likewise.
16297 * string/bits/string2.h: Likewise.
16298 * string/string.h: Likewise.
16299 * string/strings.h: Likewise.
16300 * sunrpc/rpc/auth.h: Likewise.
16301 * sunrpc/rpc/auth_des.h: Likewise.
16302 * sunrpc/rpc/clnt.h: Likewise.
16303 * sunrpc/rpc/netdb.h: Likewise.
16304 * sunrpc/rpc/pmap_clnt.h: Likewise.
16305 * sunrpc/rpc/xdr.h: Likewise.
16306 * sysdeps/generic/inttypes.h: Likewise.
16307 * sysdeps/generic/net/if.h: Likewise.
16308 * sysdeps/generic/sys/swap.h: Likewise.
16309 * sysdeps/gnu/net/if.h: Likewise.
16310 * sysdeps/gnu/utmpx.h: Likewise.
16311 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16312 * sysdeps/i386/i486/bits/string.h: Likewise.
16313 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16314 * sysdeps/s390/bits/string.h: Likewise.
16315 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16316 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16317 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16318 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16319 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16320 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16321 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16322 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16323 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16324 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16325 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16326 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16327 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16328 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16329 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16330 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16331 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16333 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16335 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16336 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16337 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16338 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16339 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16340 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16341 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16342 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16343 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16345 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16346 * sysvipc/sys/ipc.h: Likewise.
16347 * sysvipc/sys/msg.h: Likewise.
16348 * sysvipc/sys/sem.h: Likewise.
16349 * sysvipc/sys/shm.h: Likewise.
16350 * termios/termios.h: Likewise.
16351 * time/sys/time.h: Likewise.
16352 * time/time.h: Likewise.
16353 * wcsmbs/bits/wchar2.h: Likewise.
16354 * wcsmbs/uchar.h: Likewise.
16355 * wcsmbs/wchar.h: Likewise.
16356 * wctype/wctype.h: Likewise.
16357
0269750c
UD
16358 [BZ #13551]
16359 * Makeconfig: Remove all but ELF support including AIX support.
16360 * Makerules: Likewise.
16361 * config.h.in: Likewise.
16362 * config.make.in: Likewise.
16363 * configure: Likewise.
16364 * configure.in: Likewise.
16365 * csu/Makefile: Likewise.
16366 * csu/version.c: Likewise.
16367 * debug/Makefile: Likewise.
16368 * dlfcn/Makefile: Likewise.
16369 * elf/Makefile: Likewise.
16370 * extra-lib.mk: Likewise.
16371 * iconv/Makefile: Likewise.
16372 * include/libc-symbols.h: Likewise.
16373 * include/shlib-compat.h: Likewise.
16374 * resolv/Makefile: Likewise.
16375 * resolv/res_libc.c: Likewise.
16376 * rt/Makefile: Likewise.
16377 * sysdeps/i386/asm-syntax.h: Likewise.
16378 * sysdeps/i386/sysdep.h: Likewise.
16379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16380 * sysdeps/mach/sysdep.h: Likewise.
16381 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16382 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16383 * sysdeps/s390/asm-syntax.h: Likewise.
16384 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16386 * sysdeps/sh/sysdep.h: Likewise.
16387 * sysdeps/unix/sparc/sysdep.h: Likewise.
16388 * sysdeps/wordsize-32/divdi3.c: Likewise.
16389 * sysdeps/x86_64/sysdep.h: Likewise.
16390
00bbd29b
UD
16391 * argp/Versions: Remove _argp_unlock_xxx.
16392
16393 [BZ #13559]
16394 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16395 * abilist/libBrokenLocale.abilist: Likewise.
16396 * abilist/libanl.abilist: Likewise.
16397 * abilist/libc.abilist: Likewise.
16398 * abilist/libcrypt.abilist: Likewise.
16399 * abilist/libdl.abilist: Likewise.
16400 * abilist/libm.abilist: Likewise.
16401 * abilist/libnsl.abilist: Likewise.
16402 * abilist/libpthread.abilist: Likewise.
16403 * abilist/libresolv.abilist: Likewise.
16404 * abilist/librt.abilist: Likewise.
16405 * abilist/libthread_db.abilist: Likewise.
16406 * abilist/libutil.abilist: Likewise.
16407 * abilist/libnss_db.abilist: New file.
16408
16409 * scripts/abilist.awk: Add support for indirect functions.
16410
a2693a0e
UD
16411 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16412
3f05895f
UD
16413 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16414
ecb6fb48
UD
16415 * shlib-versions: Remove entries for ports architectures.
16416
664f8cb9
UD
16417 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16418 files in ports.
16419 * elf/stackguard-macros.h: Remove support for IA-64.
16420 * elf/tst-auditmod1.c: Likewise.
16421 * sysdeps/generic/ldsodefs.h: Likewise.
16422
7ae81d88
UD
16423 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16424 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16425 configure files.
16426
bdeba135
UD
16427 [BZ #13552]
16428 * configure.in: Remove --enable-omitfp support.
16429 * FAQ.in: Adjust.
16430 * config.make.in: Likewise.
16431 * Makeconfig: Likewise.
16432 * manual/install.texi: Likewise.
16433
d75a0a62
UD
16434 In case anyone cares, the IA-64 architecture could move to ports.
16435 * sysdeps/ia64/*: Removed.
16436 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16437 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16438
dcc9756b
UD
16439 [BZ #13555]
16440 * configure.in: Remove entries for unsupported architectures.
16441
d3761ebc 16442 [BZ #13533]
9954432e
UD
16443 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16444 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16445 routines.
16446 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16447 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16448 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16449 fall back to using wcrtomb.
16450 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16451 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16452 renaming.
16453 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16454 * wcsmbs/tst-c16c32-1.c: New file.
16455
16456 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16457 local variable.
16458
c3a87236
UD
16459 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16460
28926a1b
UD
16461 * elf/tst-unique3.cc: Add explicit declaration of gets.
16462 * elf/tst-unique3lib.cc: Likewise.
16463 * elf/tst-unique3lib2.cc: Likewise.
16464 * elf/tst-unique4.cc: Likewise.
16465
df78418a
UD
16466 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16467
8ecd6b2a
JM
164682012-01-06 Joseph Myers <joseph@codesourcery.com>
16469
16470 [BZ #13566]
16471 * assert/assert.h (static_assert): Don't define for C++.
16472 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16473 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16474
9f115170
UD
164752012-01-03 Ulrich Drepper <drepper@gmail.com>
16476
5e0d0300
UD
16477 * iconv/loop.c (single loop): Fix assertion in storing of
16478 remaining bytes.
16479
9f115170
UD
16480 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16481
81fb02b0
UD
164822012-01-01 Ulrich Drepper <drepper@gmail.com>
16483
16484 * posix/getconf.c: Update copyright year.
16485 * nss/getent.c: Likewise.
a316c1f6 16486 * nss/makedb.c: Likewise.
81fb02b0
UD
16487 * iconv/iconvconfig.c: Likewise.
16488 * iconv/iconv_prog.c: Likewise.
16489 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16490 * elf/pldd.c: Likewise.
16491 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16492 * catgets/gencat.c: Likewise.
16493 * csu/version.c: Likewise.
16494 * elf/ldd.bash.in: Likewise.
16495 * elf/sprof.c (print_version): Likewise.
16496 * locale/programs/locale.c: Likewise.
16497 * locale/programs/localedef.c: Likewise.
a316c1f6 16498 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16499 * nscd/nscd.c (print_version): Likewise.
16500 * debug/xtrace.sh: Likewise.
16501 * malloc/memusage.sh: Likewise.
16502 * malloc/mtrace.pl: Likewise.
16503 * debug/catchsegv.sh: Likewise.
16504
2ba92745
JJ
165052011-12-30 Jakub Jelinek <jakub@redhat.com>
16506
16507 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16508 pure attribute.
16509
dadebdae
UD
165102011-12-24 Ulrich Drepper <drepper@gmail.com>
16511
d3761ebc 16512 [BZ #13533]
db6af3eb
UD
16513 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16514 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16515 transformations.
16516 * iconv/gconv_int.h: Likewise.
16517 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16518 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16519 from libc for GLIBC_2.16.
16520 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16521 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16522 * wcsmbs/uchar.h: Really define mbstate_t.
16523 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16524 * wcsmbs/c16rtomb.c: New file.
16525 * wcsmbs/mbrtoc16.c: New file.
16526 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16527 for C/POSIX locale.
16528 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16529 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16530
dadebdae
UD
16531 * wcsmbs/wchar.h: Add missing __restrict.
16532
67371b56
UD
165332011-12-23 Ulrich Drepper <drepper@gmail.com>
16534
74033a25
UD
16535 [BZ #13532]
16536 * time/Makefile (routines): Add timespec_get.
16537 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16538 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16539 timespec for ISO C11.
16540 * time/timespec_get.c: New file.
16541 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16542 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16543
380d7e87
UD
16544 [BZ #13531]
16545 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16546 * stdlib/stdlib.h: Declare aligned_alloc.
16547 * Versions.def: Add GLIBC_2.16 for libc.
16548 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16549
4e9e7a35
UD
16550 [BZ 13527]
16551 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16552 ISO C11.
16553
380d7e87 16554 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16555 code.
16556
03a71829
UD
16557 [BZ #13528]
16558 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16559
839e283e
UD
16560 [BZ #13529]
16561 * assert/assert.h (static_assert): Define.
16562
ce5294e2 16563 * version.h: Update for 2.16 development version.
90fa7312 16564
8d44e150 16565 [BZ #13526]
d7809905
UD
16566 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16567 _ISOC11_SOURCE.
16568
c0da14cd
UD
16569 * version.h (RELEASE): Bump for 2.15 release.
16570 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16571
530a3249
MP
16572 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16573 Patch by Marek Polacek <mpolacek@redhat.com>.
16574
67371b56
UD
16575 * bits/byteswap.h: Protect long long constants with __extension__.
16576 * sysdeps/i386/bits/byteswap.h: Likewise.
16577 * sysdeps/ia64/bits/byteswap.h: Likewise.
16578 * sysdeps/s390/bits/byteswap.h: Likewise.
16579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16580
15db4de1
LD
165812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16582
16583 [BZ #13540]
bbe315ea
LD
16584 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16585 destination buffer.
15db4de1
LD
16586 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16587
2b2596b1
MP
165882011-12-23 Marek Polacek <polacek@redhat.com>
16589
16590 * elf/dl-addr.c (determine_info): Add inline keyword.
16591 * elf/tst-auditmod4b.c (check_avx): Likewise.
16592 * elf/tst-auditmod6b.c (check_avx): Likewise.
16593 * elf/tst-auditmod6c.c (check_avx): Likewise.
16594 * elf/tst-auditmod7b.c (check_avx): Likewise.
16595
70c6c246
UD
165962011-12-23 Ulrich Drepper <drepper@gmail.com>
16597
16598 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16599 !__SSE_MATH__.
16600
c044cf14
LD
166012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16602
15db4de1 16603 [BZ #13540]
c044cf14
LD
16604 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16605 processing for last bytes.
16606
6b13d9d9
BH
166072011-08-06 Bruno Haible <bruno@clisp.org>
16608
d455f537
BH
16609 [BZ #13061]
16610 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16611 U+0385, not to U+1FEE.
16612
6b13d9d9
BH
16613 [BZ #13062]
16614 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16615 entry for U+00A5 U+0301.
16616
db910efd
UD
166172011-12-22 Ulrich Drepper <drepper@gmail.com>
16618
27deeafc
UD
16619 [BZ #13166]
16620 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16621 buffer for the output is too small.
16622
aed9d171
UD
16623 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16624 optimization.
16625
db910efd
UD
16626 [BZ #13185]
16627 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16628 SSE flags if possible.
16629
2bd779ae
LD
166302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16631
e7f9dac3 16632 [BZ #13540]
2bd779ae
LD
16633 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16634 processing for last bytes.
16635
154bfc16
JM
166362011-12-22 Joseph Myers <joseph@codesourcery.com>
16637
16638 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16639 (syscall-list-default-options, syscall-list-default-condition)
16640 (syscall-list-includes): Define.
16641 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16642 list of ABIs and options and #if conditions for each ABI. Do not
16643 handle common syscalls between ABIs specially.
16644 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16645 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/s390/Makefile (64bit-predefine): Remove.
16650 (syscall-list-variants, syscall-list-32bit-options)
16651 (syscall-list-32bit-condition, syscall-list-64bit-options)
16652 (syscall-list-64bit-condition): Define.
16653 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16654 Remove.
16655 (syscall-list-variants, syscall-list-32bit-options)
16656 (syscall-list-32bit-condition, syscall-list-64bit-options)
16657 (syscall-list-64bit-condition): Define.
16658 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16659 Remove.
16660 (syscall-list-variants, syscall-list-32bit-options)
16661 (syscall-list-32bit-condition, syscall-list-64bit-options)
16662 (syscall-list-64bit-condition): Define.
16663
21eaf3a5
UD
166642011-12-22 Ulrich Drepper <drepper@gmail.com>
16665
16c6f992
UD
16666 * locale/iso-639.def: Add brx entry.
16667
41043168
UD
16668 [BZ #13328]
16669 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16670 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16671
21eaf3a5
UD
16672 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16673 __feraiseexcept_renamed.
16674
e3a851a2
UD
166752011-12-21 Ulrich Drepper <drepper@gmail.com>
16676
4920765e
UD
16677 [BZ #13538]
16678 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16679 EPOLLET with unsigned values.
16680 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16681 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16682
e3a851a2
UD
16683 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16684 to large cancellation.
16685 * math/s_cacoshf.c: Likewise.
16686 * math/s_cacoshl.c: Likewise.
16687
b27e24b8
RK
166882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16689
16690 [BZ #13305]
aebefeee 16691 [BZ #12786]
b27e24b8
RK
16692 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16693 * math/s_cacoshf.c: Likewise.
16694 * math/s_cacoshl.c: Likewise.
16695
ee190f67
UD
166962011-12-21 Ulrich Drepper <drepper@gmail.com>
16697
16698 [BZ #13439]
16699 * iconv/gconv.h: Define __GCONV_SWAP.
16700 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16701 * iconvdata/utf-16.c: Likewise.
16702 * iconvdata/utf-32.c: Likewise.
16703
707f25df
AS
167042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16705
16706 [BZ #13524]
16707 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16708 numerator after shifting it by one limb.
16709
d2daaa1e
RÁE
167102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16711
16712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16713 under [__USE_EXTERN_INLINES].
16714
a4647e72
UD
167152011-12-17 Ulrich Drepper <drepper@gmail.com>
16716
16717 [BZ #13446]
16718 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16719
f0b264f1
AZ
167202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16721
16722 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16723 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16724 optimized code.
16725 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16727 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16728 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16729 for strncasecmp/strncasecmp_l compilation.
16730 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16731 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16732
8ef4f244
MP
167332011-12-08 Marek Polacek <mpolacek@redhat.com>
16734
16735 [BZ #13484]
16736 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16737 of __asm__.
16738
97ac2654
UD
167392011-12-17 Ulrich Drepper <drepper@gmail.com>
16740
16741 [BZ #13506]
16742 * time/tzfile.c (__tzfile_read): Check values from file header.
16743
91d2a845
WS
167442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16745
16746 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16747 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16748 * powerpc/powerpc32/dl-start.S: Likewise.
16749 * powerpc/powerpc32/elf/start.S: Likewise.
16750 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16751 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16752 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16753 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16754 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16755 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16756 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16757 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16758 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16759 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16760 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16761 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16762 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16763 * powerpc/powerpc32/memset.S: Likewise.
16764 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16765 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16766 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16767 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16768 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16769 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16770 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16771 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16772 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16773 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16774 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16775 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16776 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16777
a1267ba1
AZ
167782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16779
16780 * math/libm-test.inc: Added more nearbyint tests.
16781 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16782 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16784 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16785
ad8ac1bd
RL
167862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16787
16788 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16789 FD_CLOEXEC.
16790
1d3e4b61
UD
167912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16792
16793 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16794 Add wcscpy-ssse3 wcscpy-c.
16795 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16796 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16797 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16798 * sysdeps/x86_64/wcschr.S: New file.
16799 * sysdeps/x86_64/wcsrchr.S: New file.
16800 * string/test-strcmp.c: Remove checking of wcscmp function for
16801 wrong alignments.
16802 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16803 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16804 wcsrchr-sse2 wcsrchr-c.
16805 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16806 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16807 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16808 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16809 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16810 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16811 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16812 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16813 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16814 * wcsmbc/wcschr.c (WCSCHR): New macro.
16815
5b330a2d
UD
168162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16817
16818 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16819 * wcsmbs/test-wcsrchr.c: New file.
16820 * string/test-strrchr.c: Add wcsrchr support.
16821 (WIDE): New macro.
16822 * wcsmbs/test-wcscpy.c: New file.
16823 * string/test-strcpy.c: Add wcscpy support.
16824 (WIDE): New macro.
26428b7c 16825
f039c043
UD
168262011-12-10 Ulrich Drepper <drepper@gmail.com>
16827
16828 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16829 the inner loop.
16830
850fb039
AS
168312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16832
16833 [BZ #13472]
16834 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16835
4efbd5cb
UD
168362011-12-04 Ulrich Drepper <drepper@gmail.com>
16837
52ff5dd0 16838 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16839 Minor optimizations.
52ff5dd0 16840
4efbd5cb
UD
16841 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16842 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16843 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16844
8a426e12
UD
168452011-12-03 Ulrich Drepper <drepper@gmail.com>
16846
aff2453d
UD
16847 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16848 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16849 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16850 for gcc to avoid warnings.
16851 * inet/Makefile (tests): Add tst-checks.
16852 * inet/tst-checks.c: New file.
16853
16854 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16855 warning.
16856
16857 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16858 __wmemcmp_sse2.
16859
16860 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16861 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16862
8a426e12
UD
16863 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16864
9bea3473
UD
168652011-12-02 Ulrich Drepper <drepper@gmail.com>
16866
3a965496
UD
16867 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16868 problem.
16869
9bea3473
UD
16870 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16871
f101631b
UD
168722011-11-29 Joseph Myers <joseph@codesourcery.com>
16873
16874 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16875 conditional on GCC version.
16876 (__arch_compare_and_exchange_val_8_acq)
16877 (__arch_compare_and_exchange_val_16_acq)
16878 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16879 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16880 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16881
a98275aa
UD
168822011-12-02 Joseph Myers <joseph@codesourcery.com>
16883
16884 * sysdeps/sh/backtrace.c: New file.
16885
d4cc29a2
AS
168862011-12-02 Andreas Schwab <schwab@redhat.com>
16887
16888 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16889 parenthesis.
16890
6257af2d
AS
168912011-12-01 Andreas Schwab <schwab@redhat.com>
16892
16893 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16894 falling back to utime.
16895
b5f44c1a
AS
168962011-11-30 Andreas Schwab <schwab@redhat.com>
16897
16898 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16899 expectations for float.
16900
f3a6cc0a
AS
169012011-11-29 Andreas Schwab <schwab@redhat.com>
16902
16903 * locale/weight.h (findidx): Add parameter len.
16904 * locale/weightwc.h (findidx): Likewise.
16905 * posix/fnmatch_loop.c (FCT): Adjust caller.
16906 * posix/regcomp.c (build_equiv_class): Likewise.
16907 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16908 * posix/regexec.c (check_node_accept_bytes): Likewise.
16909 * string/strcoll_l.c (STRCOLL): Likewise.
16910 * string/strxfrm_l.c (STRXFRM): Likewise.
16911
9d65ea3a
UD
169122011-11-17 Ulrich Drepper <drepper@gmail.com>
16913
16914 * Makefile.in: Remove CVSOPT handling.
16915 * configure.in: Remove use of AC_REVISION.
16916 * iconvdata/Makefile (distribute): No need to filter out CVS.
16917 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16918 handling.
16919
5583a086
AS
169202011-11-16 Andreas Schwab <schwab@redhat.com>
16921
16922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16923 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16924 [USE_AS_STRNCASECMP_L]: Likewise.
16925 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16926 NO_TLS_DIRECT_SEG_REFS.
16927 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16928 Fix argument offsets for non-PIC.
16929 [USE_AS_STRNCASECMP_L]: Likewise.
16930 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16931 NO_TLS_DIRECT_SEG_REFS.
16932
d62a8200
UD
169332011-11-15 Ulrich Drepper <drepper@gmail.com>
16934
9d65ea3a 16935 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16936 O_CLOEXEC.
16937 * locale/loadlocale.c (_nl_load_locale): Likewise.
16938
09f93bd3
AS
169392011-11-15 Andreas Schwab <schwab@redhat.com>
16940
446514f9
AS
16941 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16942 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16943 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16944 (SYSCALL_GETTIME): Set errno on error.
16945
09f93bd3
AS
16946 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16947 count references to noai6ai_cached.
16948
312be3f9
UD
169492011-11-15 Ulrich Drepper <drepper@gmail.com>
16950
16951 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16952
16953 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16954 FD_CLOEXEC for /proc/self/maps.
16955
16956 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16957 FD_CLOEXEC for /proc/meminfo.
16958
16959 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16960 gai.conf.
16961
16962 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16963 FD_CLOEXEC for given file.
16964
16965 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16966
16967 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16968 FD_CLOEXEC for /etc/hosts.
16969 (_gethtent): Likewise.
16970
16971 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16972
16973 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16974 cancellation and set FD_CLOEXEC for /etc/netgroup.
16975
16976 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16977 reading /etc/publickey.
16978
16979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16980 allow cancellation when reading /etc/group.
16981
16982 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16983 cancellation.
16984 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16985
16986 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16987 when using data file.
16988
16989 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16990
16991 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16992 (write_nis_obj): Use "c" and "e" in fopen.
16993
16994 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16995
16996 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16997
16998 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16999
17000 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17001
17002 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17003 locale.alias.
17004
17005 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17006
17007 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17008
17009 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17010
17011 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17012 file parsing and set FD_CLOEXEC.
17013
82af0fa8
UD
170142011-11-14 Ulrich Drepper <drepper@gmail.com>
17015
17016 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17017
a5fb313c
AS
170182011-11-14 Andreas Schwab <schwab@redhat.com>
17019
17020 * malloc/arena.c (arena_get2): Don't call reused_arena when
17021 _int_new_arena failed.
17022
6abf3465
UD
170232011-11-14 Ulrich Drepper <drepper@gmail.com>
17024
17025 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17026 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17028 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17029 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17031 to compile strcasecmp and strncasecmp.
17032 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17033 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17034
17035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17036
76e3966e
UD
170372011-11-13 Ulrich Drepper <drepper@gmail.com>
17038
17039 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17040 locale-defines.sym to gen-as-const-headers.
17041 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17042 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17044 to compile strcasecmp and strncasecmp.
17045 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17046 strcasecmp_l and strncasecmp_l.
17047 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17048 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17049 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17050 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17051 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17052 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17053 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17054 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17055 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17056 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17057 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17058
ab26144e
UD
170592011-11-12 Ulrich Drepper <drepper@gmail.com>
17060
7edb22ef
UD
17061 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17062 result of SYSDEP_GETTIME_CPU to retval.
17063 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17064 parameter list to macro. Remove trailing semicolon. Adjust users.
17065
9694fc44
UD
17066 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17067 variable.
17068
8ad89ef8
UD
17069 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17070 mantissa words.
17071 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17072
0c822ef9
UD
17073 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17074 from unused variable.
17075
874e0564
UD
17076 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17077 DWARF definitions.
17078 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17079 for assembling.
17080
3a2edc79
UD
17081 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17082 over namespaces.
17083
f3c2577f
UD
17084 * sunrpc/rpc_prot.c (rejected): Fix case value.
17085
294ce126
UD
17086 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17087 unsigned long long int to avoid warnings in shift.
17088
5e2b63c6
UD
17089 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17090 of use of trans.
17091 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17092 variable tmp.
17093
e7f4b08e
UD
17094 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17095 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17096 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17097
ab26144e
UD
17098 * nis/nis_table.c (nis_list): Use variable of correct type for
17099 result of __follow_path call.
17100
8a6d5255
AZ
171012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17102
17103 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17104 of math functions ceil, trunc, floor, round, and sqrt, when
17105 avaliable on the platform.
17106 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17107 name clash.
17108 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17109 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17110 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17111
aaddc98c
MP
171122011-10-30 Marek Polacek <mpolacek@redhat.com>
17113
17114 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17115 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17116
95b7042b
RM
171172011-11-11 Roland McGrath <roland@hack.frob.com>
17118
17119 * include/unistd.h: Fix __readlink return type.
17120 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17121
57769839
UD
171222011-11-11 Ulrich Drepper <drepper@gmail.com>
17123
17124 * stdlib/ucontext.h: Undo last change for makecontext.
17125
edc5984d
AS
171262011-11-11 Andreas Schwab <schwab@redhat.com>
17127
98591e58
AS
17128 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17129
edc5984d
AS
17130 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17131 * setjmp/setjmp.h: Mark functions as non-leaf.
17132 * setjmp/bits/setjmp2.h: Likewise.
17133 * stdlib/ucontext.h: Likewise.
17134
77cdc054
AS
171352011-11-10 Andreas Schwab <schwab@redhat.com>
17136
17137 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17138 (reused_arena): Don't check arena limit.
17139 (arena_get2): Atomically check arena limit.
17140
fe72eebd
UD
171412011-11-08 Ulrich Drepper <drepper@gmail.com>
17142
5f078c32
UD
17143 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17144 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17145
fe72eebd
UD
17146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17147 instructions.
17148
ae1bc2fa
AS
171492011-11-07 Andreas Schwab <schwab@redhat.com>
17150
7583a88d
AS
17151 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17152 handler when locking.
17153
ae1bc2fa
AS
17154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17155 Fix size of allocated buffer.
17156
10fb0bfa
AS
171572011-11-04 Andreas Schwab <schwab@redhat.com>
17158
998832a4
AS
17159 [BZ #10103]
17160 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17161 declarations for long double functions.
17162 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17163
10fb0bfa
AS
17164 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17165
3d7ba52b
AS
171662011-11-03 Andreas Schwab <schwab@redhat.com>
17167
a9ae54a1
AS
17168 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17169 installed.
17170
3d7ba52b
AS
17171 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17172 is disabled.
17173
bc8db248
ST
171742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17175
17176 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17177
45b96dd6
AS
171782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17179
647776f6
AS
17180 * include/alloca.h (stackinfo_alloca_round): Define.
17181 (extend_alloca): Use it.
17182 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17183 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17184 here.
17185
d91a8b93
AS
17186 * scripts/check-local-headers.sh: Ignore libaudit.h.
17187
45b96dd6
AS
17188 * nscd/Makefile (extra-objs): Make recursively expanded.
17189
432d41ce
UD
171902011-11-01 Ulrich Drepper <drepper@gmail.com>
17191
34372fc6
UD
17192 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17194
fadb59f8
UD
17195 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17196 * posix/tst-rfc3484-2.c: Likewise.
17197 * posix/tst-rfc3484-3.c: Likewise.
17198
78239589
UD
17199 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17200 process_vm_writev.
17201 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17202 process_vm_writev.
17203 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17204 process_vm_writev from libc using GLIBC_2.15 version.
17205
432d41ce
UD
17206 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17207
02f9c6cf
PP
172082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17209
17210 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17211 stack usage.
17212
3a2c0242
UD
172132011-10-31 Ulrich Drepper <drepper@gmail.com>
17214
f4ec4833
UD
17215 [BZ #13367]
17216 * nss/getent.c (initgroups_keys): Show error message in case no group
17217 names are given.
17218
3a2c0242
UD
17219 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17220 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17221 __bump_nl_timestamp.
17222 * nscd/connections (nscd_init): When host database is served open
17223 netlink socket and request notification about configuration changes.
17224 (main_loop_poll): Track netlink file descriptor and bump timestamp
17225 in case data becomes available.
17226 (main_loop_epoll): Likewise.
17227 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17228 (database_pers_head): Add extra_data fileds.
17229 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17230 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17231 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17232 Adjust caller.
17233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17234 in6ai data, call __free_in6ai.
17235 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17236 Add -DHAVE_NETLINK.
17237 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17238 interface information. Reuse previous data if netlink timestamp
17239 is not changed.
17240 (__bump_nl_timestamp): New function.
17241 (__free_in6ai): New function.
17242
636064eb
UD
172432011-10-30 Ulrich Drepper <drepper@gmail.com>
17244
17245 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17246 close_not_cancel_no_status here.
17247 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17248
9beb2334
UD
172492011-10-29 Ulrich Drepper <drepper@gmail.com>
17250
6ef76f3b
UD
17251 [BZ #13276]
17252 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17253 return value.
17254
0ffc4f3e 17255 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17256 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17257 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17258
cb95113e
UD
172592011-07-03 Andreas Jaeger <aj@suse.de>
17260
17261 [BZ #10709]
17262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17263 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17264 * math/libm-test.inc (sin_test): Add test case.
17265
a1b560ff
UD
172662011-10-29 Ulrich Drepper <drepper@gmail.com>
17267
c9aaface
UD
17268 [BZ #13337]
17269 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17270 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17271
d272e7f1
UD
17272 * elf/chroot_canon.c (chroot_canon): Cleanups.
17273
1bc33071
UD
17274 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17275
1760874d
TJ
17276 [BZ #13335]
17277 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17278 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17279
51d91b18
UD
17280 * string/test-strchr.c: Make usable for strchrnul testing.
17281 * string/test-strchrnul.c: New file.
17282 * string/Makefile (strop-tests): Add strchrnul.
17283
a1b560ff 17284 * po/it.po: Update from translation team.
b611fb81 17285 * po/es.po: Likewise.
a1b560ff 17286
a5b81e1f
UD
172872011-10-28 Ulrich Drepper <drepper@gmail.com>
17288
fd52bc6d
UD
17289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17290 the three constants needed as parameters. Drop the others.
17291 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17292 __m128i_strloadu_tolower.
52e4b9eb
UD
17293 Create and initialize variable zero and use it in all the places
17294 where _mm_setzero_si128 was used.
fd52bc6d 17295
a5b81e1f
UD
17296 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17297 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17298 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17300 anymore.
17301 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17302 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17303 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17304 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17305 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17306 __mpranred, __mptan.
17307 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17308 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17309 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17310 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17311 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17312 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17313 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17314 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17315 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17316
b4343346
AS
173172011-10-28 Andreas Schwab <schwab@redhat.com>
17318
0c92d8a8
AS
17319 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17320 redefine if SHARED.
17321 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17322
b4343346
AS
17323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17324 wide char related routines to wcsmbs subdir.
17325
3871f58f
AS
173262011-10-27 Andreas Schwab <schwab@redhat.com>
17327
17328 [BZ #13344]
17329 * misc/sys/cdefs.h (__THROWNL): Define.
17330 * posix/unistd.h: Use __THREADNL instead of __THREAD
17331 for memory synchronization functions.
17332
94d44d9f
RM
173332011-10-26 Roland McGrath <roland@hack.frob.com>
17334
21b64b15 17335 [BZ #13349]
94d44d9f
RM
17336 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17337 doesn't exist.
17338 * manual/stdio.texi (Obstack Streams): Node removed.
17339
f6ce9294
AS
173402011-10-26 Andreas Schwab <schwab@redhat.com>
17341
80479147
AS
17342 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17343 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17344 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17345
f6ce9294
AS
17346 * math/math_private.h (math_force_eval): Allow non-addressable
17347 arguments.
17348 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17349
618280a1
UD
173502011-10-25 Ulrich Drepper <drepper@gmail.com>
17351
e0016b11
UD
17352 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17353 file is not needed.
17354
17355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17358 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17360 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17361 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17362 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17363 Add AVX variants.
17364 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17365 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17366 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17367 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17368 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17369 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17370 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17371 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17372 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17373 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17374 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17375 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17376 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17377 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17378 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17379 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17380 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17381 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17382 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17383
17384 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17385 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17386
618280a1
UD
17387 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17388 place. Use VEX encoding when compiling for AVX.
17389
37822576
AS
173902011-10-25 Andreas Schwab <schwab@redhat.com>
17391
1f1e1947
AS
17392 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17393 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17394
37822576
AS
17395 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17396
31ea014d
UD
173972011-10-25 Ulrich Drepper <drepper@gmail.com>
17398
d7826aa1 17399 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17400 useless if() expression.
d7826aa1
UD
17401 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17409 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17412 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17413 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17414 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17415 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17416 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17417 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17419 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17420
31ea014d
UD
17421 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17422
16437fec
AS
174232011-10-25 Andreas Schwab <schwab@redhat.com>
17424
17425 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17426 condition.
17427 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17428
31d3cc00
UD
174292011-10-25 Ulrich Drepper <drepper@gmail.com>
17430
17431 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17432 .text section. Avoid duplicate constants.
17433 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17435 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17441 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17442 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17443 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17444 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17445 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17446 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17447 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17448 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17449 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17450 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17453 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17454 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17455 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17457 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17460 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17462 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17463 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17464 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17465 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17466 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17467 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17468 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17469 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17471 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17472 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17474 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17475 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17476 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17477 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17478
58985aa9
UD
174792011-10-24 Ulrich Drepper <drepper@gmail.com>
17480
202c9deb
UD
17481 * sysdeps/x86_64/dla.h: Move to ...
17482 * sysdeps/x86_64/fpu/dla.h: ...here.
17483 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17484 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17485
af968f62
UD
17486 * config.make.in: Add have-mfma4 entry.
17487 * configure.in: Substitute libc_cv_cc_fma4.
17488 * math/Makefile (dbl-only-routines): Add sincostab.
17489 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17490 Use __sincostab not sincos.
17491 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17492 name is a macro.
17493 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17497 using __copysign.
17498 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17499 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17500 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17501 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17502 and __inv.
17503 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17504 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17505 __copysign.
17506 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17507 define aliases when function name is a macro.
17508 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17509 sysdeps/ieee754/dbl-64/sincos.tbl.
17510 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17511 fma4-enabled routines.
17512 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17513 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17514 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17515 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17516 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17517 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17518 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17519 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17521 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17522 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17523 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17524 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17525 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17526 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17527 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17528 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17529 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17530 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17531 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17532 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17533 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17534 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17535 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17536 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17537 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17538 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17539 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17540 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17541 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17542
58985aa9
UD
17543 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17544 rename.
17545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17553
a201fbcf
AS
175542011-10-24 Andreas Schwab <schwab@redhat.com>
17555
17556 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17557
fc2ee42a
LD
175582011-10-23 Ulrich Drepper <drepper@gmail.com>
17559
bb3129bd
UD
17560 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17561
0275fff8
UD
17562 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17563 prediction.
17564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17565
2fa2ae85
UD
17566 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17567 Remove unused variable magic_bits.
17568 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17569
fc2ee42a
LD
17570 * string/strnlen.c: Define and use STRNLEN macro.
17571 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17572 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17574 * wcsmbs/wcslen.c: Define and use WCSLEN.
17575 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17576 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17577 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17578 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17579 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17580 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17581 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17582
ce7dd29f
LD
175832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17584
17585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17586 strnlen-sse2-no-bsf.
17587 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17588 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17589 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17590 Add strnlen support.
17591 (USE_AS_STRNLEN): New macro.
17592 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17593 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17594 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17595 * sysdeps/x86_64/wcslen.S: New file.
17596
979c70a3
MZ
175972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17598
17599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17600 XMM-moves are used for copying on small sizes.
17601
2d09f82f
LD
176022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17603
17604 * wcsmbs/Makefile (strop-tests): Add wcschr.
17605 * wcsmbs/test-wcschr.c: New file.
17606 * string/test-strchr.c: Update.
17607 Add wcschr support.
17608 (WIDE): New macro.
17609
619fccca
LD
176102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17611
2d09f82f 17612 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17613 * wcsmbs/test-wcslen.c: New file.
17614 * string/test-strlen.c: Update.
17615 Add wcslen support.
17616 (WIDE): New macro.
17617
09f699ea
UD
176182011-10-23 Ulrich Drepper <drepper@gmail.com>
17619
17620 * po/it.po: Update from translation team.
17621
95584d3b
LD
176222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17623
17624 * sysdeps/x86_64/wcscmp.S: Update.
17625 Fix wrong comparison semantics.
17626 wcscmp shall use signed comparison not unsigned.
17627 Don't use substraction to avoid overflow bug.
17628 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17629 * wcsmbc/wcscmp.c: Likewise.
17630 * string/test-strcmp.c: Likewise.
17631 Add new tests to check cases with negative values.
17632
c8b3296b
UD
176332011-10-23 Ulrich Drepper <drepper@gmail.com>
17634
17635 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17636 * sysdeps/x86_64/dla.h: ...here. New file.
17637 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17646
246ad57a
AS
176472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17648
17649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17650 __ynl_finite aliases.
17651
a1a87169
UD
176522011-10-22 Ulrich Drepper <drepper@gmail.com>
17653
0d355eb7
UD
17654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17655
a1a87169
UD
17656 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17657 define DLA_FMA.
17658 [DLA_FMA] (EMULV): Use DLA_FMA.
17659 [DLA_FMA] (MUL12): Use EMULV.
17660 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17661 that are not needed.
17662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17669
ee2aafe0
AS
176702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17671
17672 * math/s_nan.c: Undef __nan.
17673 * math/s_nanf.c: Undef __nanf.
17674 * math/s_nanl.c: Undef __nanl.
17675 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17676 "math_private.h".
17677
bc62c2fb
UD
176782011-10-22 Ulrich Drepper <drepper@gmail.com>
17679
77425c63
UD
17680 * math/s_catan.c: Add branch predictions.
17681 * math/s_catanf.c: Likewise.
17682 * math/s_catanh.c: Likewise.
17683 * math/s_catanhf.c: Likewise.
17684 * math/s_catanhl.c: Likewise.
17685 * math/s_catanl.c: Likewise.
17686 * math/s_cexp.c: Likewise.
17687 * math/s_cexpf.c: Likewise.
17688 * math/s_cexpl.c: Likewise.
17689 * math/s_clog.c: Likewise.
17690 * math/s_clog10.c: Likewise.
17691 * math/s_clog10f.c: Likewise.
17692 * math/s_clog10l.c: Likewise.
17693 * math/s_clogf.c: Likewise.
17694 * math/s_clogl.c: Likewise.
17695 * math/s_csqrt.c: Likewise.
17696 * math/s_csqrtf.c: Likewise.
17697 * math/s_csqrtl.c: Likewise.
17698 * math/s_ctanf.c: Likewise.
17699 * math/s_ctanh.c: Likewise.
17700 * math/s_ctanhf.c: Likewise.
17701 * math/s_ctanhl.c: Likewise.
17702 * math/s_ctanl.c: Likewise.
17703
bc62c2fb
UD
17704 * math/math_private.h: Define __nan, __nanf, __nanl.
17705 * math/s_cacosh.c: Include <math_private.h>.
17706 * math/s_cacoshl.c: Likewise.
17707 * math/s_casinh.c: Likewise.
17708 * math/s_casinhf.c: Likewise.
17709 * math/s_casinhl.c: Likewise.
17710 * math/s_ccos.c: Rely entire on ccosh.
17711 * math/s_ccosf.c: Rely entire on ccoshf.
17712 * math/s_ccosl.c: Rely entirely on ccoshl.
17713 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17714 Remove tests for FE_INVALID.
17715 * math/s_ccoshf.c: Likewise.
17716 * math/s_ccoshl.c: Likewise.
17717 * math/s_csin.c: Likewise.
17718 * math/s_csinf.c: Likewise.
17719 * math/s_csinh.c Likewise.
17720 * math/s_csinhf.c: Likewise.
17721 * math/s_csinhl.c: Likewise.
17722 * math/s_csinl.c: Likewise.
17723 * math/s_ctan.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17725 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17726 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17727
8ec250a4
UD
177282011-10-21 Ulrich Drepper <drepper@gmail.com>
17729
c196fed8
UD
17730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17731 compilation problems.
17732
8ec250a4
UD
17733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17734 __builtin_expect.
17735
8d4f46c6
UD
177362011-10-20 Ulrich Drepper <drepper@gmail.com>
17737
ed72b654
UD
17738 * sysdeps/i386/configure.in: Test for -mfma4 option.
17739 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17740 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17741 COMMON_CPUID_INDEX_80000001.
17742 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17743 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17744 use it if FMA3 is not supported.
17745 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17746
8d4f46c6
UD
17747 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17748 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17749
d45c60c2
AS
177502011-10-20 Andreas Schwab <schwab@redhat.com>
17751
17752 [BZ #12892]
17753 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17754 it would create a cycle with a link time dependency.
17755
d9a4d2ab
UD
177562011-10-19 Ulrich Drepper <drepper@gmail.com>
17757
855d1560
UD
17758 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17759 instruction.
17760 * string/Makefile (strop-tests): Add rawmemchr.
17761 * string/test-rawmemchr.c: New file.
17762
d9a4d2ab
UD
17763 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17765 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17766 when compiling str{,n}casecmp and when AVX is available. Hook up
17767 new optimized code in initializers.
17768
8f3b1ffe
AS
177692011-10-19 Andreas Schwab <schwab@redhat.com>
17770
17771 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17772 __feraiseexcept instead of feraiseexcept.
17773
d38f1dba
UD
177742011-10-18 Ulrich Drepper <drepper@gmail.com>
17775
d9a8d0ab
UD
17776 * math/math_private.h: Define defaults for libc_fetestexcept and
17777 libc_feupdateenv.
17778 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17779 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17780 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17782 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17783 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17784 libc_fetestexcept and libc_feupdateenv.
17785
4855e3dd
UD
17786 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17787 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17788 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17789 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17790 libc_feholdexcept_setround.
17791
581d30e3
UD
17792 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17793 Add s_nearbyint-c and s_nearbyintf-c.
17794 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17795 nearbyintf inlines.
17796 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17797 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17799 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17800
d38f1dba
UD
17801 * math/math_private.h: Define defaults for libc_fegetround,
17802 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17803 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17804 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17805 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17806 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17807 standard functions.
17808 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17809 Remove comments and hacks for old compiler versions.
17810 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17811 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17812 libc_feholdexceptl.
17813
caa6c9d8
AS
178142011-10-18 Andreas Schwab <schwab@redhat.com>
17815
17816 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17817 (__feraiseexcept_renamed): Add __NTH.
17818 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17819 namespace violations.
17820
97c066e6
UD
178212011-10-17 Ulrich Drepper <drepper@gmail.com>
17822
99ce7b04
UD
17823 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17824
1004d182
UD
17825 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17826
228a984d
UD
17827 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17828 recently added interfaces.
17829 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17830
c8553a6a
UD
17831 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17832 about macro parameter expansion.
17833
ed22dcf6
UD
17834 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17835 __NO_MATH_INLINES is defined. Cleanups.
17836
17837 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17838 and __floorf is target has SSE4.1.
17839 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17840 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17841 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17842 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17843
b171c137
UD
17844 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17845 name.
17846 (floorf): Likewise.
17847
97c066e6
UD
17848 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17849
629f62ef
AS
178502011-10-17 Andreas Schwab <schwab@redhat.com>
17851
49a43d80
AS
17852 * misc/sys/cdefs.h: Fix last change.
17853
629f62ef
AS
17854 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17855 database lookup.
17856
e453f6cd
UD
178572011-10-16 Ulrich Drepper <drepper@gmail.com>
17858
aa78043a
UD
17859 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17860
ad0f5cad
UD
17861 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17863 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17868 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17869 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17870 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17871 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17872 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17873 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17874 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17875 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17876 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17877 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17878 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17879 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17880 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17881 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17882 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17883
17884 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17885 ceil, ceilf, floor, floorf.
17886
17887 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17888 Perform IRELATIVE relocations last.
17889
e453f6cd
UD
17890 * elf/do-rel.h: Add another parameter nrelative, replacing the
17891 local variable with the same name. Change name of the function
17892 to end in Rel or Rela (uppercase).
17893 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17894 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17895 elf_dynamic_do_##reloc function.
17896
fd5bdc09
UD
178972011-10-15 Ulrich Drepper <drepper@gmail.com>
17898
79b195b5
UD
17899 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17900 is sufficient, at least on modern CPUs.
17901
d4a28569
UD
17902 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17903
b61099b5
UD
17904 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17905 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17906
bcf01e6d
UD
17907 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17908 __expl_finite.
17909 * math/bits/math-finite.h: Add entries for exp.
17910 * math/e_expl.c: Add __*_finite alias.
17911 * sysdeps/i386/fpu/e_exp.S: Likewise.
17912 * sysdeps/i386/fpu/e_expf.S: Likewise.
17913 * sysdeps/i386/fpu/e_expl.c: Likewise.
17914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17915 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17918 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17919 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17920 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17921
ba1a0d59
UD
17922 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17923 is sufficient, at least on modern CPUs.
17924
fd5bdc09
UD
17925 * ctype/ctype-info.c (__ctype_init): Define.
17926 * include/ctype.h (__ctype_init): Declare.
17927 (__ctype_b_loc): The variable is always initialized.
17928 (__ctype_toupper_loc): Likewise.
17929 (__ctype_tolower_loc): Likewise.
17930 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17931 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17932
7872cfb0
AS
179332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17934
b468825a
AS
17935 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17936
7872cfb0
AS
17937 * configure.in: Also look in $cxxmachine/include for C++ system
17938 headers.
17939
be13f7bf
LD
179402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17941
17942 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17943 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17944 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17945 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17946 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17947 (USE_AS_WMEMCMP): New macro.
17948 Fixing indents.
17949 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17950 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17951 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17952 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17954 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17955 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17956 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17957 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17958 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17959 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17960 (USE_AS_WMEMCMP): New macro.
17961 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17962 * sysdeps/string/test-memcmp.c: Update.
17963 Fix simple_wmemcmp.
17964 Add new tests.
17965 * wcsmbs/wmemcmp.c: Update.
17966 (WMEMCMP): New macro.
17967 Fix overflow bug.
17968
556a2007
AJ
179692011-10-12 Andreas Jaeger <aj@suse.de>
17970
17971 [BZ #13268]
17972 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17973
538faaa7
UD
179742011-10-15 Ulrich Drepper <drepper@gmail.com>
17975
ab6737ff
UD
17976 * libio/iofwide.c (do_length): Avoid warning.
17977
538faaa7
UD
17978 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17979
396a21b1
UD
179802011-10-14 Ulrich Drepper <drepper@gmail.com>
17981
cdf2901f
UD
17982 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17983
38ad40ce
UD
17984 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17985 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17986 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17987 * sysdeps/i386/i686/fpu/e_log.S: New file.
17988 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17989 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17990
396a21b1
UD
17991 * ctype/ctype.h: Add support for inlined isXXX functions when
17992 compiling C++ code.
17993
6b1f68c9
AS
179942011-10-14 Andreas Schwab <schwab@redhat.com>
17995
349290c0
AS
17996 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17997
6b1f68c9
AS
17998 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17999
f2282d42
RM
180002011-10-13 Roland McGrath <roland@hack.frob.com>
18001
18002 [BZ #13291]
18003 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18004
5298ffa8
AS
180052011-10-13 Andreas Schwab <schwab@redhat.com>
18006
714fad23
AS
18007 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18008 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18009 feraiseexcept.
18010
81dcc7fb
AS
18011 * sysdeps/x86_64/memrchr.S: Check for zero size.
18012
5298ffa8
AS
18013 * string/stratcliff.c: Add memrchr tests.
18014
951fbcec
LD
180152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18016
18017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18018 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18019 rawmemchr-sse2 rawmemchr-sse2-bsf.
18020 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18021 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18022 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18023 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18024 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18025 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18026 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18027 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18028 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18029 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18030 * string/memrchr.c (MEMRCHR): New macro.
18031
0ac5ae23
UD
180322011-10-12 Ulrich Drepper <drepper@gmail.com>
18033
18034 Add integration with gcc's -ffinite-math-only and optimize wrapper
18035 functions in libm.
18036 * Versions.def: Define GLIBC_2.15 version for libm.
18037 * math/Makefile (headers): Add bits/math-finite.h.
18038 * math/bits/math-finite.h: New file.
18039 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18040 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18041 * math/e_acoshl.c: Add __*_finite alias.
18042 * math/e_acosl.c: Likewise.
18043 * math/e_asinl.c: Likewise.
18044 * math/e_atan2l.c: Likewise.
18045 * math/e_atanhl.c: Likewise.
18046 * math/e_coshl.c: Likewise.
18047 * math/e_exp10.c: Likewise.
18048 * math/e_exp10f.c: Likewise.
18049 * math/e_exp10l.c: Likewise.
18050 * math/e_exp2l.c: Likewise.
18051 * math/e_fmodl.c: Likewise.
18052 * math/e_gammal_r.c: Likewise.
18053 * math/e_hypotl.c: Likewise.
18054 * math/e_j0l.c: Likewise.
18055 * math/e_j1l.c: Likewise.
18056 * math/e_jnl.c: Likewise.
18057 * math/e_lgammal_r.c: Likewise.
18058 * math/e_log10l.c: Likewise.
18059 * math/e_log2l.c: Likewise.
18060 * math/e_logl.c: Likewise.
18061 * math/e_powl.c: Likewise.
18062 * math/e_sinhl.c: Likewise.
18063 * math/e_sqrtl.c: Likewise.
18064 * math/e_scalb.c: Completely rewritten and optimized.
18065 * math/e_scalbf.c: Likewise.
18066 * math/e_scalbl.c: Likewise.
18067 * math/w_acos.c: Likewise.
18068 * math/w_acosf.c: Likewise.
18069 * math/w_acosl.c: Likewise.
18070 * math/w_acosh.c: Likewise.
18071 * math/w_acoshf.c: Likewise.
18072 * math/w_acoshl.c: Likewise.
18073 * math/w_asin.c: Likewise.
18074 * math/w_asinf.c: Likewise.
18075 * math/w_asinl.c: Likewise.
18076 * math/w_atan2.c: Likewise.
18077 * math/w_atan2f.c: Likewise.
18078 * math/w_atan2l.c: Likewise.
18079 * math/w_atanh.c: Likewise.
18080 * math/w_atanhf.c: Likewise.
18081 * math/w_atanhl.c: Likewise.
18082 * math/w_exp10.c: Likewise.
18083 * math/w_exp10f.c: Likewise.
18084 * math/w_exp10l.c: Likewise.
18085 * math/w_fmod.c: Likewise.
18086 * math/w_fmodf.c: Likewise.
18087 * math/w_fmodl.c: Likewise.
18088 * math/w_j0.c: Likewise.
18089 * math/w_j0f.c: Likewise.
18090 * math/w_j0l.c: Likewise.
18091 * math/w_j1.c: Likewise.
18092 * math/w_j1f.c: Likewise.
18093 * math/w_j1l.c: Likewise.
18094 * math/w_jn.c: Likewise.
18095 * math/w_jnf.c: Likewise.
18096 * math/w_log.c: Likewise.
18097 * math/w_logf.c: Likewise.
18098 * math/w_logl.c: Likewise.
18099 * math/w_log10.c: Likewise.
18100 * math/w_log10f.c: Likewise.
18101 * math/w_log10l.c: Likewise.
18102 * math/w_log2.c: Likewise.
18103 * math/w_log2f.c: Likewise.
18104 * math/w_log2l.c: Likewise.
18105 * math/w_pow.c: Likewise.
18106 * math/w_powf.c: Likewise.
18107 * math/w_powl.c: Likewise.
18108 * math/w_remainder.c: Likewise.
18109 * math/w_remainderf.c: Likewise.
18110 * math/w_remainderl.c: Likewise.
18111 * math/w_scalb.c: Likewise.
18112 * math/w_scalbf.c: Likewise.
18113 * math/w_scalbl.c: Likewise.
18114 * math/w_sqrt.c: Likewise.
18115 * math/w_sqrtf.c: Likewise.
18116 * math/w_sqrtl.c: Likewise.
18117 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18118 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18119 used.
18120 * math/math_private.h: Declare __kernel_standard_f.
18121 * math/w_cosh.c: Remove cruft and optimize a bit.
18122 * math/w_coshf.c: Likewise.
18123 * math/w_coshl.c: Likewise.
18124 * math/w_exp2.c: Likewise.
18125 * math/w_exp2f.c: Likewise.
18126 * math/w_exp2l.c: Likewise.
18127 * math/w_hypot.c: Likewise.
18128 * math/w_hypotf.c: Likewise.
18129 * math/w_hypotl.c: Likewise.
18130 * math/w_lgamma.c: Likewise.
18131 * math/w_lgamma_r.c: Likewise.
18132 * math/w_lgammaf.c: Likewise.
18133 * math/w_lgammaf_r.c: Likewise.
18134 * math/w_lgammal.c: Likewise.
18135 * math/w_lgammal_r.c: Likewise.
18136 * math/w_sinh.c: Likewise.
18137 * math/w_sinhf.c: Likewise.
18138 * math/w_sinhl.c: Likewise.
18139 * math/w_tgamma.c: Likewise.
18140 * math/w_tgammaf.c: Likewise.
18141 * math/w_tgammal.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18144 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18145 Minor optimizations. Pretty printing. Remove cruft.
18146 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18147 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18148 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18149 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18150 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18151 * sysdeps/i386/fpu/e_asin.S: Likewise.
18152 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18153 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18154 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18155 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18156 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18157 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18158 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18159 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18160 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18161 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18162 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18163 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18164 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18165 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18166 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18167 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18168 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18169 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18170 * sysdeps/i386/fpu/e_log.S: Likewise.
18171 * sysdeps/i386/fpu/e_log10.S: Likewise.
18172 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18173 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18174 * sysdeps/i386/fpu/e_log2.S: Likewise.
18175 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18176 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18177 * sysdeps/i386/fpu/e_logf.S: Likewise.
18178 * sysdeps/i386/fpu/e_logl.S: Likewise.
18179 * sysdeps/i386/fpu/e_pow.S: Likewise.
18180 * sysdeps/i386/fpu/e_powf.S: Likewise.
18181 * sysdeps/i386/fpu/e_powl.S: Likewise.
18182 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18183 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18184 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18185 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18186 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18187 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18188 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18189 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18190 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18205 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18208 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18211 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18212 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18213 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18214 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18215 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18216 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18217 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18218 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18219 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18220 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18221 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18222 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18223 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18224 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18225 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18226 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18227 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18228 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18229 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18230 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18231 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18232 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18276 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18279 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18282 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18283 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18284 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18285 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18286 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18287 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18288 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18289 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18290 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18291 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18292 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18293 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18294 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18295 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18296 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18297 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18298 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18299 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18300 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18301 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18302 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18303 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18304 (__isnanf): Likewise.
18305 (__isinf_ns): Likewise.
18306 (__isinf_nsf): Likewise.
18307 (__finite): Likewise.
18308 (__finitef): Likewise.
18309 (__ieee754_sqrt): Define as macro.
18310 (__ieee754_sqrtf): Define as macro.
18311 (__ieee754_sqrtl): Define as macro.
18312 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18313 inlined copy.
18314 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18315 __FINITE_MATH_ONLY__ consistent.
18316 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18317
12cc2fcd
AS
183182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18319
a843a204
AS
18320 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18321 of rawmemchr.
18322
12cc2fcd
AS
18323 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18324
c853acd5
UD
183252011-10-09 Ulrich Drepper <drepper@gmail.com>
18326
18327 * po/ja.po: Update from translation team.
18328
c658d255
RM
183292011-10-08 Roland McGrath <roland@hack.frob.com>
18330
110946e4
RM
18331 * locale/programs/locarchive.c (prepare_address_space): New function.
18332 (create_archive, enlarge_archive, open_archive): Use it.
18333
50604220
RM
18334 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18335 inside [SHARED], where it is used.
18336
c658d255
RM
18337 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18338
18339 * nss/getent.c (netgroup_keys): Remove unused variable.
18340 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18341
6a621eb7
UD
183422011-10-08 Ulrich Drepper <drepper@gmail.com>
18343
7edb55ce
UD
18344 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18345 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18347 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18348 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18349 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18350 * math/Makefile (libm-calls): Add s_isinf_ns.
18351 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18352 * math/multc3.c: Likewise.
18353 * math/s_casin.c: Likewise.
18354 * math/s_casinf.c: Likewise.
18355 * math/s_casinl.c: Likewise.
18356 * math/s_ccos.c: Likewise.
18357 * math/s_ccosf.c: Likewise.
18358 * math/s_ccosl.c: Likewise.
18359 * math/s_ctan.c: Likewise.
18360 * math/s_ctanf.c: Likewise.
18361 * math/s_ctanh.c: Likewise.
18362 * math/s_ctanhf.c: Likewise.
18363 * math/s_ctanhl.c: Likewise.
18364 * math/s_ctanl.c: Likewise.
18365 * math/w_fmod.c: Likewise.
18366 * math/w_fmodf.c: Likewise.
18367 * math/w_fmodl.c: Likewise.
18368 * math/w_remainder.c: Likewise.
18369 * math/w_remainderf.c: Likewise.
18370 * math/w_remainderl.c: Likewise.
18371 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18372 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18375 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18376 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18377 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18378 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18379
187da0ae
UD
18380 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18381 of the number.
18382 * stdio-common/printf_fphex.c: Likewise.
18383 * stdio-common/printf_size.c: Likewise.
18384
9277c064
UD
18385 * math/e_exp10.c: Include math_private.h using <...> not "...".
18386 * math/e_exp10f.c: Likewise.
18387 * math/e_exp10l.c: Likewise.
18388 * math/e_exp2l.c: Likewise.
18389 * math/e_j0l.c: Likewise.
18390 * math/e_j1l.c: Likewise.
18391 * math/e_jnl.c: Likewise.
18392 * math/e_lgammal_r.c: Likewise.
18393 * math/e_rem_pio2l.c: Likewise.
18394 * math/e_scalb.c: Likewise.
18395 * math/e_scalbf.c: Likewise.
18396 * math/e_scalbl.c: Likewise.
18397 * math/k_cosl.c: Likewise.
18398 * math/k_sinl.c: Likewise.
18399 * math/k_tanl.c: Likewise.
18400 * math/s_cacoshf.c: Likewise.
18401 * math/s_catan.c: Likewise.
18402 * math/s_catanf.c: Likewise.
18403 * math/s_catanh.c: Likewise.
18404 * math/s_catanhf.c: Likewise.
18405 * math/s_catanhl.c: Likewise.
18406 * math/s_catanl.c: Likewise.
18407 * math/s_ccosh.c: Likewise.
18408 * math/s_ccoshf.c: Likewise.
18409 * math/s_ccoshl.c: Likewise.
18410 * math/s_cexp.c: Likewise.
18411 * math/s_cexpf.c: Likewise.
18412 * math/s_cexpl.c: Likewise.
18413 * math/s_clog.c: Likewise.
18414 * math/s_clog10.c: Likewise.
18415 * math/s_clog10f.c: Likewise.
18416 * math/s_clog10l.c: Likewise.
18417 * math/s_clogf.c: Likewise.
18418 * math/s_clogl.c: Likewise.
18419 * math/s_csin.c: Likewise.
18420 * math/s_csinf.c: Likewise.
18421 * math/s_csinh.c: Likewise.
18422 * math/s_csinhf.c: Likewise.
18423 * math/s_csinhl.c: Likewise.
18424 * math/s_csinl.c: Likewise.
18425 * math/s_csqrt.c: Likewise.
18426 * math/s_csqrtf.c: Likewise.
18427 * math/s_csqrtl.c: Likewise.
18428 * math/s_ctan.c: Likewise.
18429 * math/s_ctanf.c: Likewise.
18430 * math/s_ctanh.c: Likewise.
18431 * math/s_ctanhf.c: Likewise.
18432 * math/s_ctanhl.c: Likewise.
18433 * math/s_ctanl.c: Likewise.
18434 * math/s_ldexp.c: Likewise.
18435 * math/s_ldexpf.c: Likewise.
18436 * math/s_ldexpl.c: Likewise.
18437 * math/s_significand.c: Likewise.
18438 * math/s_significandf.c: Likewise.
18439 * math/s_significandl.c: Likewise.
18440 * math/w_acos.c: Likewise.
18441 * math/w_acosf.c: Likewise.
18442 * math/w_acosh.c: Likewise.
18443 * math/w_acoshf.c: Likewise.
18444 * math/w_acoshl.c: Likewise.
18445 * math/w_acosl.c: Likewise.
18446 * math/w_asin.c: Likewise.
18447 * math/w_asinf.c: Likewise.
18448 * math/w_asinl.c: Likewise.
18449 * math/w_atan2.c: Likewise.
18450 * math/w_atan2f.c: Likewise.
18451 * math/w_atan2l.c: Likewise.
18452 * math/w_atanh.c: Likewise.
18453 * math/w_atanhf.c: Likewise.
18454 * math/w_atanhl.c: Likewise.
18455 * math/w_cosh.c: Likewise.
18456 * math/w_coshf.c: Likewise.
18457 * math/w_coshl.c: Likewise.
18458 * math/w_dremf.c: Likewise.
18459 * math/w_exp10.c: Likewise.
18460 * math/w_exp10f.c: Likewise.
18461 * math/w_exp10l.c: Likewise.
18462 * math/w_exp2.c: Likewise.
18463 * math/w_exp2f.c: Likewise.
18464 * math/w_fmod.c: Likewise.
18465 * math/w_fmodf.c: Likewise.
18466 * math/w_fmodl.c: Likewise.
18467 * math/w_hypot.c: Likewise.
18468 * math/w_hypotf.c: Likewise.
18469 * math/w_hypotl.c: Likewise.
18470 * math/w_j0.c: Likewise.
18471 * math/w_j0f.c: Likewise.
18472 * math/w_j0l.c: Likewise.
18473 * math/w_j1.c: Likewise.
18474 * math/w_j1f.c: Likewise.
18475 * math/w_j1l.c: Likewise.
18476 * math/w_jn.c: Likewise.
18477 * math/w_jnf.c: Likewise.
18478 * math/w_jnl.c: Likewise.
18479 * math/w_lgamma.c: Likewise.
18480 * math/w_lgamma_r.c: Likewise.
18481 * math/w_lgammaf.c: Likewise.
18482 * math/w_lgammaf_r.c: Likewise.
18483 * math/w_lgammal.c: Likewise.
18484 * math/w_lgammal_r.c: Likewise.
18485 * math/w_log.c: Likewise.
18486 * math/w_log10.c: Likewise.
18487 * math/w_log10f.c: Likewise.
18488 * math/w_log10l.c: Likewise.
18489 * math/w_log2.c: Likewise.
18490 * math/w_log2f.c: Likewise.
18491 * math/w_log2l.c: Likewise.
18492 * math/w_logf.c: Likewise.
18493 * math/w_logl.c: Likewise.
18494 * math/w_pow.c: Likewise.
18495 * math/w_powf.c: Likewise.
18496 * math/w_powl.c: Likewise.
18497 * math/w_remainder.c: Likewise.
18498 * math/w_remainderf.c: Likewise.
18499 * math/w_remainderl.c: Likewise.
18500 * math/w_scalb.c: Likewise.
18501 * math/w_scalbf.c: Likewise.
18502 * math/w_scalbl.c: Likewise.
18503 * math/w_sinh.c: Likewise.
18504 * math/w_sinhf.c: Likewise.
18505 * math/w_sinhl.c: Likewise.
18506 * math/w_sqrt.c: Likewise.
18507 * math/w_sqrtf.c: Likewise.
18508 * math/w_sqrtl.c: Likewise.
18509 * math/w_tgamma.c: Likewise.
18510 * math/w_tgammaf.c: Likewise.
18511 * math/w_tgammal.c: Likewise.
18512
6a621eb7
UD
18513 * po/ja.po: Update from translation team.
18514
bf582445
AJ
185152011-09-29 Andreas Jaeger <aj@suse.de>
18516
f9efbf3a
AJ
18517 [BZ #13179]
18518 * sunrpc/netname.c (netname2host): Fix logic.
18519
bf582445
AJ
18520 [BZ #6779]
18521 [BZ #6783]
18522 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18523 correctly.
18524 * math/w_remainder.c (__remainder): Likewise.
18525 * math/w_remainderf.c (__remainderf): Likewise.
18526 * math/libm-test.inc (remainder_test): Add test cases.
18527
48693bea
AK
185282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18529
18530 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18531 sdiv_qrnnd.
18532
42622229
LD
185332011-10-07 Ulrich Drepper <drepper@gmail.com>
18534
18535 * string/test-memcmp.c: Avoid unncessary #defines.
18536 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18537
093ecf92
LD
185382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18539
18540 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18541 Use new sse2 version for core i3 - i7 as it's faster
18542 than sse42 version.
18543 (bit_Prefer_PMINUB_for_stringop): New.
18544 * sysdeps/x86_64/rawmemchr.S: Update.
18545 Replace with faster SSE2 version.
18546 * sysdeps/x86_64/memrchr.S: New file.
18547 * sysdeps/x86_64/memchr.S: Update.
18548 Replace with faster SSE2 version.
18549
fde56e5c
MP
185502011-09-12 Marek Polacek <mpolacek@redhat.com>
18551
18552 * elf/dl-load.c (lose): Add cast to avoid warning.
18553
21fd49a9
UD
185542011-10-07 Ulrich Drepper <drepper@gmail.com>
18555
5a06e643
UD
18556 * po/ca.po: Update from translation team.
18557
684ae515
UD
18558 * inet/getnetgrent_r.c: Hook up nscd.
18559 * nscd/Makefile (routines): Add nscd_netgroup.
18560 (nscd-modules): Add netgroupcache.
18561 (CFLAGS-netgroupcache.c): Define.
18562 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18563 (cache_search): Add const to second parameter.
18564 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18565 INNETGR.
18566 (dbs): Add netgrdb entry.
18567 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18568 (verify_persistent_db): Handle netgrdb.
18569 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18570 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18571 GETFDNETGR.
18572 (netgroup_response_header): Define.
18573 (innetgroup_response_header): Define.
18574 (datahead): Add netgroup_response_header and innetgroup_response_header
18575 elements.
18576 * nscd/nscd.conf: Add entries for netgroup cache.
18577 * nscd/nscd.h (dbtype): Add netgrdb.
18578 (_PATH_NSCD_NETGROUP_DB): Define.
18579 (netgroup_iov_disabled): Declare.
18580 (xmalloc, xcalloc, xrealloc): Move declarations here.
18581 (cache_search): Adjust prototype.
18582 Add netgroup-related prototypes.
18583 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18584 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18585 (__nscd_innetgr): Declare.
18586 * nscd/selinux.c (perms): Use access_vector_t as element type and
18587 add netgroup-related initializers.
18588 * nscd/netgroupcache.c: New file.
18589 * nscd/nscd_netgroup.c: New file.
18590 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18591 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18592 For four parameters use innetgr.
18593 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18594 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18595 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18596 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18597
21fd49a9
UD
18598 * nscd/connections.c (register_traced_file): Don't register file
18599 for disabled databases.
18600
054c0457
UD
186012011-10-06 Ulrich Drepper <drepper@gmail.com>
18602
32b63198
UD
18603 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18604
054c0457
UD
18605 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18606 from tree and freeing node.
18607
64031225
JO
186082011-09-25 Jiri Olsa <jolsa@redhat.com>
18609
18610 * nss/nsswitch.c (__nss_database_lookup): Handle
18611 nss_parse_service_list out of memory case.
18612
0490345c
JO
186132011-09-15 Jiri Olsa <jolsa@redhat.com>
18614
18615 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18616 out of memory case.
18617
3a62d00d
AS
186182011-10-04 Andreas Schwab <schwab@redhat.com>
18619
18620 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18621 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18622 pass it down.
18623 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18624 elf_machine_rela, elf_machine_lazy_rel.
18625 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18626 (ELF_DYNAMIC_DO_REL): Likewise.
18627 (ELF_DYNAMIC_DO_RELA): Likewise.
18628 (ELF_DYNAMIC_RELOCATE): Likewise.
18629 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18630 to ELF_DYNAMIC_DO_REL.
18631 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18632 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18633 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18634 elf_machine_rela.
18635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18636 skip_ifunc, don't call ifunc function if non-zero.
18637 (elf_machine_rela): Likewise.
18638 (elf_machine_lazy_rel): Likewise.
18639 (elf_machine_lazy_rela): Likewise.
18640 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18641 (elf_machine_lazy_rel): Likewise.
18642 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18643 Likewise.
18644 (elf_machine_lazy_rel): Likewise.
18645 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18646 Likewise.
18647 (elf_machine_lazy_rel): Likewise.
18648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18649 (elf_machine_lazy_rel): Likewise.
18650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18651 (elf_machine_lazy_rel): Likewise.
18652 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18653 (elf_machine_lazy_rel): Likewise.
18654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18655 (elf_machine_lazy_rel): Likewise.
18656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18657 (elf_machine_lazy_rel): Likewise.
18658 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18659 (elf_machine_lazy_rel): Likewise.
18660
68577918
UD
186612011-09-28 Ulrich Drepper <drepper@gmail.com>
18662
18663 * nss/nss_files/files-init.c (_nss_files_init): Use static
18664 initialization for all the *_traced_file variables.
18665
68822d74
AS
186662011-09-28 Andreas Schwab <schwab@redhat.com>
18667
18668 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18669
2056100b
RM
186702011-09-27 Roland McGrath <roland@hack.frob.com>
18671
18672 [BZ #13226]
18673 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18674
32c76b63
AS
186752011-09-27 Andreas Schwab <schwab@redhat.com>
18676
18677 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18678 Reread the line before reparsing it.
18679
bf972c9d
AS
186802011-09-26 Andreas Schwab <schwab@redhat.com>
18681
18682 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18683
e057a1b5
JM
186842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18685 Maxim Kuvyrkov <maxim@codesourcery.com>
18686 Joseph Myers <joseph@codesourcery.com>
18687
18688 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18689 if needed for __stack_chk_guard.
18690
bc7e1c36
RM
186912011-09-19 Roland McGrath <roland@hack.frob.com>
18692
ecb1482f
RM
18693 * sysdeps/posix/spawni.c (script_execute): Always define it.
18694 It will be optimized away if unused.
18695 (maybe_script_execute): New function.
18696 (__spawni): Call it.
18697
bc7e1c36
RM
18698 * Makerules: Don't include tls.make.
18699 (config-tls): Always set to thread.
18700 * tls.make.c: File removed.
18701
1c3b002b
MF
187022011-09-19 Mike Frysinger <vapier@gentoo.org>
18703
18704 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18705 * config.make.in (CPPFLAGS-config): New substituted variable.
18706
2840865d
UD
187072011-09-15 Ulrich Drepper <drepper@gmail.com>
18708
88738eb6
UD
18709 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18710
cbf645a6 18711 [BZ #13192]
2840865d
UD
18712 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18713 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18714
b402e91a
RM
187152011-09-15 Roland McGrath <roland@hack.frob.com>
18716
18717 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18718 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18720 (CALL_FAIL): Likewise.
18721 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18722 (CALL_FAIL): Macro removed.
18723 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18724
4c1a1f71
UD
187252011-09-15 Ulrich Drepper <drepper@gmail.com>
18726
18727 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18728 for __FINITE_MATH_ONLY__ == 1.
18729
edc121be
AS
187302011-09-15 Andreas Schwab <schwab@redhat.com>
18731
18732 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18733 __ieee754_sqrt instead of sqrt.
18734 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18735 __ieee754_sqrtf instead of sqrtf.
18736 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18737 __floorf instead of floorf.
18738 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18739 __floorf, __truncf instead of floorf, truncf.
18740
cd205654
UD
187412011-09-14 Ulrich Drepper <drepper@gmail.com>
18742
ee4d0315
UD
18743 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18744
cd205654
UD
18745 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18746 __extern_always_inline.
18747 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18748 32-bit.
18749
48b67d71
AS
187502011-09-14 Andreas Schwab <schwab@redhat.com>
18751
18752 * elf/rtld.c (dl_main): Also relocate in dependency order when
18753 doing symbol dependency testing.
18754
1ae12c75
AS
187552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18756
18757 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18758 Always define `refsym'.
18759
995a80df
AS
187602011-09-13 Andreas Schwab <schwab@redhat.com>
18761
e529793b
AS
18762 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18763 (__FD_ELT): Renamed from __FDELT.
18764 * misc/bits/select2.h (__FD_ELT): Likewise.
18765 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18766 __FD_MASK instead of __FDELT, __FDMASK.
18767 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18768 Likewise.
18769 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18770 Likewise.
18771
52d4fef8
AS
18772 * elf/Makefile (gen-ldd): Fix pattern.
18773
995a80df
AS
18774 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18775 (init_tls): Likewise.
18776
8682f8b0
UD
187772011-09-12 Ulrich Drepper <drepper@gmail.com>
18778
18779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18780
de82006d
AS
187812011-09-12 Andreas Schwab <schwab@redhat.com>
18782
a7c8e6a1
AS
18783 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18784 `struct cmsghdr *' instead of `void *'.
18785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18786 Likewise.
18787
0f31fe77
AS
187882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18789
18790 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18791 if non-absolute.
18792 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18793 ldd_rewrite_script.
0f31fe77 18794
32b4c839
UD
187952011-09-11 Ulrich Drepper <drepper@gmail.com>
18796
83cd1420
UD
18797 * configure.in: Remove --with-tls option.
18798 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18799 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18800 out in case it is missing.
18801 * sysdeps/ia64/elf/configure.in: Likewise.
18802 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18803 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18804 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18805 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18806 * sysdeps/sh/elf/configure.in: Likewise.
18807 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18808 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18809 * sysdeps/x86_64/elf/configure.in: Likewise.
18810 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18811 * sysdeps/mach/hurd/tls.h: Likewise.
18812
633f745d
UD
18813 [BZ #13067]
18814 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18815
f318beb8
UD
18816 [BZ #13090]
18817 * configure.in: Fix use of AC_INIT.
18818
32b4c839
UD
18819 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18820
3ce1f295
UD
188212011-09-10 Ulrich Drepper <drepper@gmail.com>
18822
bb016596
UD
18823 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18824 __set_errno.
8e58439c
UD
18825 * malloc/hooks.c: Likewise.
18826
aebae053 18827 [BZ #11929]
02d46fc4
UD
18828 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18829 variables statically.
18830 (narenas): Initialize.
18831 (list_lock): Initialize.
bb016596
UD
18832 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18833 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18834 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18835 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18836 Add initializers to main_arena and mp_.
18837 (malloc_state): Remove pagesize member. Change all users to use
18838 GLRO(dl_pagesize).
18839
18840 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18841 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18842 is always initialized.
18843
22a89187
UD
18844 * malloc/malloc.c: Removed unused configurations and dead code.
18845 * malloc/arena.c: Likewise.
18846 * malloc/hooks.c: Likewise.
02d46fc4 18847 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18848
d063d164
UD
18849 * include/tls.h: Removed. USE___THREAD must always be defined.
18850 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18851 * elf/dl-libc.c: Likewise.
18852 * elf/dl-tsd.c: Likewise.
18853 * include/errno.h: Likewise.
18854 * include/netdb.h: Likewise.
18855 * include/resolv.h: Likewise.
18856 * inet/herrno-loc.c: Likewise.
18857 * inet/herrno.c: Likewise.
18858 * malloc/arena.c: Likewise.
18859 * malloc/hooks.c: Likewise.
18860 * malloc/malloc.c: Likewise.
18861 * resolv/res-state.c: Likewise.
18862 * resolv/res_libc.c: Likewise.
18863 * sysdeps/i386/dl-machine.h: Likewise.
18864 * sysdeps/ia64/dl-machine.h: Likewise.
18865 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18866 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18867 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18868 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18869 * sysdeps/sh/dl-machine.h: Likewise.
18870 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18871 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18872 * sysdeps/unix/i386/sysdep.S: Likewise.
18873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18874 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18876 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18877 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18879 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18883 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18884 * sysdeps/x86_64/dl-machine.h: Likewise.
18885 * tls.make.c: Likewise.
18886
3ce1f295
UD
18887 * configure.in: Remove --with-__thread option. Make tests for
18888 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18889 tls_model attribute fail if no support is available. Remove
18890 USE_IN_LIBIO.
18891 * Makeconfig: Adjust for dropped configure option. All features are
18892 now mandatory.
18893 * Makerules: Likewise.
18894 * Versions.def: Likewise.
18895 * argp/argp-fmtstream.c: Likewise.
18896 * argp/argp-fmtstream.h: Likewise.
18897 * argp/argp-help.c: Likewise.
18898 * assert/assert.c: Likewise.
18899 * config.h.in: Likewise.
18900 * config.make.in: Likewise.
18901 * configure: Likewise.
18902 * configure.in: Likewise.
18903 * csu/Versions: Likewise.
18904 * csu/init.c: Likewise.
18905 * elf/tst-audit2.c: Likewise.
18906 * elf/tst-tls10.c: Likewise.
18907 * elf/tst-tls10.h: Likewise.
18908 * elf/tst-tls11.c: Likewise.
18909 * elf/tst-tls12.c: Likewise.
18910 * elf/tst-tls14.c: Likewise.
18911 * elf/tst-tlsmod11.c: Likewise.
18912 * elf/tst-tlsmod12.c: Likewise.
18913 * elf/tst-tlsmod13.c: Likewise.
18914 * elf/tst-tlsmod13a.c: Likewise.
18915 * elf/tst-tlsmod14a.c: Likewise.
18916 * elf/tst-tlsmod15b.c: Likewise.
18917 * elf/tst-tlsmod16a.c: Likewise.
18918 * elf/tst-tlsmod16b.c: Likewise.
18919 * elf/tst-tlsmod7.c: Likewise.
18920 * elf/tst-tlsmod8.c: Likewise.
18921 * elf/tst-tlsmod9.c: Likewise.
18922 * gmon/gmon.c: Likewise.
18923 * grp/fgetgrent_r.c: Likewise.
18924 * grp/putgrent.c: Likewise.
18925 * hurd/fopenport.c: Likewise.
18926 * include/libc-symbols.h: Likewise.
18927 * include/tls.h: Likewise.
18928 * intl/gettextP.h: Likewise.
18929 * intl/loadinfo.h: Likewise.
18930 * locale/global-locale.c: Likewise.
18931 * locale/localeinfo.h: Likewise.
18932 * mach/devstream.c: Likewise.
18933 * malloc/arena.c: Likewise.
18934 * malloc/set-freeres.c: Likewise.
18935 * misc/err.c: Likewise.
18936 * misc/getttyent.c: Likewise.
18937 * misc/mntent_r.c: Likewise.
18938 * posix/getopt.c: Likewise.
18939 * posix/wordexp.c: Likewise.
18940 * pwd/fgetpwent_r.c: Likewise.
18941 * resolv/Versions: Likewise.
18942 * resolv/res_hconf.c: Likewise.
18943 * shadow/fgetspent_r.c: Likewise.
18944 * shadow/putspent.c: Likewise.
18945 * stdio-common/printf_fphex.c: Likewise.
18946 * stdio-common/tmpfile.c: Likewise.
18947 * stdlib/abort.c: Likewise.
18948 * stdlib/fmtmsg.c: Likewise.
18949 * sunrpc/auth_unix.c: Likewise.
18950 * sunrpc/clnt_perr.c: Likewise.
18951 * sunrpc/clnt_tcp.c: Likewise.
18952 * sunrpc/clnt_udp.c: Likewise.
18953 * sunrpc/clnt_unix.c: Likewise.
18954 * sunrpc/openchild.c: Likewise.
18955 * sunrpc/svc_simple.c: Likewise.
18956 * sunrpc/svc_tcp.c: Likewise.
18957 * sunrpc/svc_udp.c: Likewise.
18958 * sunrpc/svc_unix.c: Likewise.
18959 * sunrpc/xdr.c: Likewise.
18960 * sunrpc/xdr_array.c: Likewise.
18961 * sunrpc/xdr_rec.c: Likewise.
18962 * sunrpc/xdr_ref.c: Likewise.
18963 * sunrpc/xdr_stdio.c: Likewise.
18964
1248c1c4
PB
189652011-09-09 Ulrich Drepper <drepper@gmail.com>
18966
18967 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18968
189692011-07-03 Andreas Jaeger <aj@suse.de>
18970
18971 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18972 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18973 regenerate with gen-libm-tests.pl.
18974
189752010-05-12 Petr Baudis <pasky@suse.cz>
18976
18977 [BZ #11589]
18978 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18979 around j0() zero points by switching to j1().
18980 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18984
f22e1074
UD
189852011-09-09 Ulrich Drepper <drepper@gmail.com>
18986
f19009c1
UD
18987 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18988 instead of 0.
18989 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18990 instead of 0. .
18991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18992 Patch in part by Pavel Roskin <proski@gnu.org>.
18993
3f8cc204
UD
18994 [BZ #13138]
18995 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18996 realloc.
18997 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18998 Free memory block if necessary.
18999
f22e1074
UD
19000 [BZ #12847]
19001 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19002 be NULL. Don't lock in this case.
19003
0a2349f9
RM
190042011-09-09 Roland McGrath <roland@hack.frob.com>
19005
19006 * elf/elf.h (ELFOSABI_GNU): New macro.
19007 (ELFOSABI_LINUX): Define to that.
19008
f3cdd467
DZ
190092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19010
19011 * string/strncat.c (strncat): Undef the symbol in case it has been
19012 defined in bits/string.h.
19013
74718d13
UD
190142011-09-09 Ulrich Drepper <drepper@gmail.com>
19015
633e9e0f
UD
19016 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19017
0a2349f9 19018 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19019 link map.
19020
f9924780
AJ
190212011-08-17 Andreas Jaeger <aj@suse.de>
19022
19023 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19024
7f5517aa
PP
190252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19026 Ian Lance Taylor <iant@google.com>
19027
19028 * math/libm-test.inc (lround_test): New testcase.
19029 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19030
762011fe
UD
190312011-09-08 Ulrich Drepper <drepper@gmail.com>
19032
92963737
UD
19033 * Makefile: Remove support for automatic cvs check-ins.
19034 * Makerules: Likewise.
19035 * config.make.in: Likewise.
19036 * configure.in: Likewise.
19037 * intl/Makefile: Likewise.
19038 * locale/Makefile: Likewise.
19039 * po/Makefile: Likewise.
19040 * posix/Makefile: Likewise.
19041 * sysdeps/gnu/Makefile: Likewise.
19042 * sysdeps/mach/hurd/Makefile: Likewise.
19043 * sysdeps/sparc/sparc32/Makefile: Likewise.
19044
b0727fd8
JS
19045 [BZ #13118]
19046 * posix/Makefile (bug-regex32-ENV): Define.
19047 Patch by John Stanley <jpsinthemix@verizon.net>.
19048
a0f33f99
UD
19049 * misc/Makefile (headers): Add bits/select2.h.
19050 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19051 * misc/bits/select2.h: New file.
19052 * include/bits/select2.h: New file.
19053 * debug/Makefile (routines): Add fdelt_chk.
19054 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19055 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19056 FD_ISSET.
19057 * debug/fdelt_chk.c: New file.
19058
762011fe
UD
19059 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19060 * wcsmbs/test-wmemcmp.c: Likewise.
19061 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19062 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19063
190642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19065
19066 * string/Makefile (strop-tests): Add memcmp.
19067 * string/test-wmemcmp.c: New file.
19068 * string/test-memcmp.c: Add wmemcmp support.
19069
7f513ec8
RM
190702011-09-08 Roland McGrath <roland@hack.frob.com>
19071
0442afb4
RM
19072 [BZ #13153]
19073 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19074 2011-07-19 change.
19075
7f513ec8
RM
19076 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19077 garbage value in a __mach_port_mod_refs call in the cases of the
19078 task-self and thread-self ports.
19079
a12b2239
ST
190802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19081
19082 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19083
610f9ab4
AS
190842011-09-08 Andreas Schwab <schwab@redhat.com>
19085
7f513ec8 19086 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19087
48882a1a
LD
190882011-09-07 Ulrich Drepper <drepper@gmail.com>
19089
b49865be
UD
19090 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19091
fdc86bc9
UD
19092 * elf/dl-libc.c (dlerror_run): Pass back error code from
19093 dl_catch_error.
19094
c966526a
UD
19095 [BZ #13123]
19096 * elf/dl-load.c (lose): Free l_origin if it is valid.
19097
48882a1a
LD
19098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19099 names.
19100 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19101 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19103 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19104 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19105 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19106
77a2a8b4
AZ
191072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19108
19109 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19110 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19111 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19112 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19113 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19114 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19115 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19116 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19117 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19118 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19119
24f579d8
AM
191202011-08-15 Alan Modra <amodra@gmail.com>
19121
19122 [BZ #13092]
19123 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19124 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19125 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19126 ppc_mcount to static-only-routines.
19127 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19128 __mcount_internal.
19129 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19130 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19131
3d4837df
UD
191322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19133
19134 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19135 for finite and infinity parameters.
19136
22700377
WS
191372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19138
19139 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19140 and add nop instructions for throughput optimization.
19141 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19142
5025581e
WS
191432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19144
19145 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19146 aligned copy for power7 with vector-scalar instructions.
19147 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19148
08a300c9
L
191492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19150
19151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19152 AVX check.
19153
59178ef9
AS
191542011-09-07 Andreas Schwab <schwab@redhat.com>
19155
19156 [BZ #13144]
19157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19158 last change.
19159
e38ba7ab
UD
191602011-09-07 Ulrich Drepper <drepper@gmail.com>
19161
19162 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19163 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19164 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19165 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19166 clock_gettime.
19167
d53a73ac
UD
191682011-09-06 Ulrich Drepper <drepper@gmail.com>
19169
fc8bffcc
UD
19170 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19171 Forgot to demangle the pointer.
19172
ceaa0c5d
UD
19173 * sysdeps/i386/sysdep.h: Define atom_text_section.
19174 * sysdeps/x86_64/sysdep.h: Likewise.
19175 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19176 section with atom_text_section.
19177 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19178 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19179 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19181 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19182
a77d3c17
UD
19183 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19184 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19185 already be defined. Change to take two parameters and don't assign
19186 result to variable. Adjust all users.
19187 Define INTERNAL_GETTIME if not already defined.
19188 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19189 call.
19190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19191 HAVE_CLOCK_GETTIME_VSYSCALL.
19192 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19193
d53a73ac
UD
19194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19195 gettimeofday vsyscall, just use time.
19196
a8f84144
AS
191972011-09-06 Andreas Schwab <schwab@redhat.com>
19198
19199 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19200 <errno.h>.
19201
ef606249
UD
192022011-09-06 Ulrich Drepper <drepper@gmail.com>
19203
19204 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19205 syscall on x86-64.
19206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19207 syscall.
19208 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19209 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19210 syscall if possible.
19211
6585cb60
UD
192122011-09-05 Ulrich Drepper <drepper@gmail.com>
19213
19214 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19215 e_ident. Don't pass to find_mapsXX.
19216 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19217
a5f524e4
LD
192182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19219
19220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19221 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19222 * sysdeps/x86_64/multiarch/strchr.S: Update.
19223 Check bit_slow_BSF bit.
19224 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19225 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19226 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19227
554881ef
UD
192282011-09-05 Ulrich Drepper <drepper@gmail.com>
19229
d96de963
UD
19230 [BZ #13134]
19231 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19232 before glibc 2.15.
19233 (tryshell): Define.
19234 (__spawni): Change last parameter to be flag. Test
19235 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19236 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19237 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19238 * posix/spawni.c: Likewise.
19239 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19240 * posix/spawnp.c: Likewise. Change normal version to use
19241 SPAWN_XFLAGS_USE_PATH.
19242 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19243 SPAWN_XFLAGS_TRY_SHELL.
19244
d48e5868
UD
19245 [BZ #13150]
19246 * posix/glob.h: Remove gcc 1.x support.
19247
554881ef
UD
19248 [BZ #13068]
19249 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19250
693fb948
LD
192512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19252
19253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19254 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19255 strrchr-sse2-bsf
19256 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19257 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19258 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19259 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19260 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19261 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19262
1b48c537
UD
192632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19264
49d42c37
UD
19265 * sysdeps/x86_64/wcscmp.S: New file.
19266
1b48c537
UD
19267 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19268 wcscmp-c wcscmp-sse2
19269 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19270 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19271 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19272 * wcsmbs/wcscmp.c: Allow renaming.
19273
15c95c5d
DM
192742011-09-05 David S. Miller <davem@davemloft.net>
19275
19276 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19277 stack slot, rather than the struct return pointer slot.
19278 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19279 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19281 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19282
2f0ad8f3
UD
192832011-09-05 Ulrich Drepper <drepper@gmail.com>
19284
d88ae418
UD
19285 * po/ja.po: Update from translation team.
19286
2f0ad8f3
UD
19287 [BZ #13144]
19288 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19289 kernel in 64-bit binaries.
19290
5f4318d1
DM
192912011-09-01 David S. Miller <davem@davemloft.net>
19292
19293 * elf/elf.h (HWCAP_SPARC_*): Move to..
19294 * sysdeps/sparc/sysdep.h: this new file and add new values.
19295 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19296 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19297 _DL_HWCAP_COUNT to 24.
19298 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19299 entries.
19300 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19301 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19302 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19304 instead of magic constants.
19305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19306
3ba57516
DM
193072011-08-31 David S. Miller <davem@davemloft.net>
19308
19309 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19311 Reimplement to do errno handling inline.
19312 (SYSCALL_ERROR_HANDLER): New macro.
19313 (__SYSCALL_STRING): Do not do errno handling in asm.
19314 (__CLONE_SYSCALL_STRING): Delete.
19315 (__INTERNAL_SYSCALL_STRING): Delete.
19316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19317 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19318 (PSEUDO): Reimplement to do errno handling inline.
19319 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19320 (SYSCALL_ERROR_HANDLER): New macro.
19321 (__SYSCALL_STRING): Do not do errno handling in asm.
19322 (__CLONE_SYSCALL_STRING): Delete.
19323 (__INTERNAL_SYSCALL_STRING): Delete.
19324 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19325 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19326 i386.
19327 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19328 (inline_syscall*): Add 'err' argument.
19329 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19330 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19331 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19332 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19333
19334 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19335 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19336
2bc17433
AS
193372011-08-30 Andreas Schwab <schwab@redhat.com>
19338
19339 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19340
fbeb5f4d
JO
193412011-08-29 Jiri Olsa <jolsa@redhat.com>
19342
19343 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19344 directive.
19345
ad69cc26
DM
193462011-08-24 David S. Miller <davem@davemloft.net>
19347
19348 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19349
39dd69df
AS
193502011-08-24 Andreas Schwab <schwab@redhat.com>
19351
19352 * elf/Makefile: Add rules to build and run unload8 test.
19353 * elf/unload8.c: New file.
19354 * elf/unload8mod1.c: New file.
19355 * elf/unload8mod1x.c: New file.
19356 * elf/unload8mod2.c: New file.
19357 * elf/unload8mod3.c: New file.
19358
19359 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19360 it wasn't used.
19361
2c0b250a
DM
193622011-08-23 David S. Miller <davem@davemloft.net>
19363
19364 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19365 subtract stack bias.
19366 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19367 %sp not %fp in calculations.
19368 (_JMPBUF_UNWINDS_ADJ): Likewise.
19369
22044b48
DM
19370 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19371 (aio_suspend): Call it to force an exception region around the
19372 AIO_MISC_WAIT() invocation.
19373
2cae4995
AS
193742011-08-23 Andreas Schwab <schwab@redhat.com>
19375
19376 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19377 backslash.
19378
873a772e
AJ
193792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19380
19381 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19382 protection macro.
19383 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19384 and <dl-machine.h>.
19385 (Elf64_FuncDesc): Remove.
19386
25ad0df1
DM
193872011-08-22 David S. Miller <davem@davemloft.net>
19388
19389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19390 sigaltstack check, add missing cfi directives.
19391 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19392 missing cfi directives, and sigaltstack handling.
19393
e888bcbe
AS
193942011-08-16 Andreas Schwab <schwab@redhat.com>
19395
19396 [BZ #11724]
19397 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19398 object is seen twice.
19399 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19400
19401 * elf/Makefile (distribute): Add tst-initorder2.c.
19402 (tests): Add tst-initorder2.
19403 (modules-names): Add tst-initorder2a tst-initorder2b
19404 tst-initorder2c tst-initorder2d. Add rules to build them.
19405 ($(objpfx)tst-initorder2.out): New rule.
19406 * elf/tst-initorder2.c: New file.
19407 * elf/tst-initorder2.exp: New file.
19408
87162f46
AS
194092011-08-22 Andreas Schwab <schwab@redhat.com>
19410
70538b7f
AS
19411 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19412
f55ffe58
AS
19413 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19414 dependencies back to end of function.
19415
87162f46
AS
19416 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19417 $(elfobjdir)/ld.so.
19418
91b392a4
UD
194192011-08-21 Ulrich Drepper <drepper@gmail.com>
19420
19421 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19422 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19424 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19425 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19426 of __vdso_gettimeofday.
19427 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19428 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19429 attribute_hidden.
19430 (_libc_vdso_platform_setup): Remove initialization of
19431 __vdso_gettimeofday and __vdso_time.
19432
5c43483f
UD
194332011-08-20 Ulrich Drepper <drepper@gmail.com>
19434
775a77e7
UD
19435 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19436 and fgetc_unlocked.
19437 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19438 getc_unlocked.
89f447ed 19439
49c74ba9
UD
19440 * elf/dl-open.c (add_to_global): Report additions to the global scope
19441 for LD_DEBUG=scopes.
19442 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19443 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19444
5c43483f
UD
19445 [BZ #13114]
19446 * stdio-common/Makefile (tests): Add bug24.
19447 * stdio-common/bug24.c: New file.
19448
a101b025
AJ
194492011-08-19 Andreas Jaeger <aj@suse.de>
19450
19451 [BZ #13114]
19452 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19453 non-existant file when using close-on-exec mode.
19454
c88f1766
UD
194552011-08-20 Ulrich Drepper <drepper@gmail.com>
19456
0276a718
UD
19457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19458 the very first instruction.
19459
c88f1766
UD
19460 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19461 the CFI state in the end.
19462 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19463 inclusion of dl-trampoline.h.
19464 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19465
51ccffa0
AS
194662011-08-19 Andreas Schwab <schwab@redhat.com>
19467
94d7165f
AS
19468 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19469 expectations for long double.
19470
51ccffa0
AS
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19472 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19473
fd708658 194742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19475
19476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19477 artificual limit depends upon the system page size.
19478
44f0a71e
UD
194792011-08-17 Ulrich Drepper <drepper@gmail.com>
19480
19481 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19482 * resolv/Makefile: Define CFLAGS-libresolv.
19483
8de79a24
AS
194842011-08-17 Andreas Schwab <schwab@redhat.com>
19485
19486 * nss/makedb.c (compute_tables): Make variables used in nested
19487 function static.
19488
27724598
UD
194892011-08-17 Ulrich Drepper <drepper@gmail.com>
19490
c5305d88
UD
19491 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19492 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19493 if buffer was too small.
19494
27724598
UD
19495 * elf/pldd.c (main): Attach to all threads in the process.
19496 Rewrite /proc handling to use *at functions.
19497
076fe015
UD
194982011-08-16 Ulrich Drepper <drepper@gmail.com>
19499
174baab3
UD
19500 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19501 specifies first scope to show.
19502 (dl_open_worker): Update callers. Move printing scope of new
19503 object to before the relocation.
44f0a71e 19504 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19505 * sysdeps/generic/ldsodefs.h: Update declaration.
19506
076fe015
UD
19507 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19508 string for the scope number.
19509
a60df2c3
UD
195102011-08-14 Ulrich Drepper <drepper@gmail.com>
19511
19512 * nscd/servicescache.c (cache_addserv): Make sure written is always
19513 initialized.
19514
5e4287d1
RM
195152011-08-14 Roland McGrath <roland@hack.frob.com>
19516
85ae0589
RM
19517 * sysdeps/i386/i486/bits/atomic.h
19518 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19519 statement expression, so as to suppress "set but not used" warning.
19520 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19521
69f63097
RM
19522 * string/strncat.c (STRNCAT): Use prototype definition.
19523
675456ef
RM
19524 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19525 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19526 -Iprograms here.
19527 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19528 (localedef-modules): Add localedef.
19529 (locale-modules): Add locale.
19530
5e4287d1
RM
19531 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19532 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19533 to avoid a warning.
19534
9c96ff23
DM
195352011-08-14 David S. Miller <davem@davemloft.net>
19536
19537 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19538 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19539
f9ddf089
UD
195402011-08-13 Ulrich Drepper <drepper@gmail.com>
19541
44f0a71e 19542 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19543 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19544 * elf/rtld.c (dl_main): Set l_name of vDSO.
19545 Call _dl_show_scope when DL_DEBUG_SCOPES.
19546 (process_dl_debug): Recognize scopes flag and also set it for all.
19547 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19548 Declare _dl_show_scope.
19549
1dc27704
UD
19550 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19551 (do_dlopen): Pass caller_dlopen to dl_open.
19552 (__libc_dlopen_mode): Initialize caller_dlopen.
19553
f9ddf089
UD
19554 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19555 of libc. Make tolower call locale-independent. Optimize a bit by
19556 using isdigit instead of isalnum.
19557 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19558
9ac533d3
UD
195592011-08-12 Ulrich Drepper <drepper@gmail.com>
19560
19561 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19562 was a dependency or dynamically loaded.
19563
89edf2e9
UD
195642011-08-11 Ulrich Drepper <drepper@gmail.com>
19565
8e999d29
UD
19566 * intl/l10nflist.c: Allow architecture-specific pop function.
19567 * sysdeps/x86_64/l10nflist.c: New file.
19568
89edf2e9
UD
19569 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19570 classification.
19571
14d96785
AS
195722011-08-10 Andreas Schwab <schwab@redhat.com>
19573
19574 * include/dirent.h: Add libc_hidden_proto for scandirat and
19575 scandirat64. Don't declare __scandirat64.
19576 * dirent/scandirat.c: Add libc_hidden_def.
19577 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19578 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19579
6761ac04
DM
195802011-08-10 David S. Miller <davem@davemloft.net>
19581
19582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19583 enum.
19584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19585 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19586 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19587
c55fbd1e
UD
195882011-08-09 Ulrich Drepper <drepper@gmail.com>
19589
19590 * Versions.def [libc]: Add GLIBC_2.15.
19591 * dirent/Makefile (routines): Add scandirat and scandirat64.
19592 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19593 GLIBC_2.15.
19594 * dirent/dirent.h: Declare scandirat and scandirat64.
19595 * dirent/scandirat.c: New file.
19596 * dirent/scandirat64.c: New file.
19597 * sysdeps/wordsize-64/scandirat.c: New file.
19598 * sysdeps/wordsize-64/scandirat64.c: New file.
19599 * dirent/opendir.c: Define opendirat.
19600 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19601 using scandirat.
19602 * dirent/scandir64.c: Adjust for scandir.c change.
19603 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19604 __scandirat64, and __scandir_cancel_handler.
19605 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19606 additional parameter and use openat instead of open (outside of ld.so).
19607 Add new __opendir as wrapper around __opendirat.
19608 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19609 here without requiring old scandirat implementation.
19610
879165f2
UD
196112011-08-08 Ulrich Drepper <drepper@gmail.com>
19612
19613 * dirent/scandir.c (cancel_handler): Renamed to
19614 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19615 defined. Adjust users.
19616 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19617 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19618
cb7e923b
UD
196192011-08-04 Ulrich Drepper <drepper@gmail.com>
19620
16292edd
UD
19621 * string/test-string.h (IMPL): Use __STRING to expand name and then
19622 stringify it.
19623
cb7e923b
UD
19624 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19625 of cleanups.
19626
cff82933
LD
196272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19628
19629 * string/Makefile: Update.
19630 (strop-tests): Append strncat.
19631 * string/test-wcscmp.c: New file.
19632 New comprehensive test for wcscmp.
19633 * string/test-strcmp.c: Update.
19634 (WIDE): New define.
19635
9be9bfcc
AS
196362011-07-22 Andreas Schwab <schwab@redhat.com>
19637
19638 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19639 line.
19640
2e96f1c7
AS
196412011-07-26 Andreas Schwab <schwab@redhat.com>
19642
19643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19644 encoding to ACE if AI_IDN.
19645
85188888
JJ
196462011-08-01 Jakub Jelinek <jakub@redhat.com>
19647
19648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19649 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19650
5fa16e9b
LD
196512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19652
19653 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19654 Fix overflow bug in strncat.
19655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19656
19657 * string/test-strncat.c: Update.
19658 Add new tests for checking overflow bugs.
19659
196602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19661
19662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19663 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19664 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19665 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19666 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19667 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19668 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19669 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19670 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19671
19672 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19673 (USE_AS_STRCAT): Define.
19674 Add strcat and strncat support.
19675 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19676
8c1a459f
AS
196772011-07-25 Andreas Schwab <schwab@redhat.com>
19678
19679 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19680 __n bigger than INT_MAX+1.
19681 (__strncmp_g): Likewise.
19682
bba33c28
UD
196832011-07-23 Ulrich Drepper <drepper@gmail.com>
19684
798be72d
UD
19685 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19686 * libio/stido.h: Likewise.
19687
8accd4dc
UD
19688 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19689 (AF_NFC): Define.
19690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19691 (AF_NFC): Define.
19692
cbff0d96
UD
19693 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19694 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19696 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19697 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19698
9191c04a
UD
19699 [BZ #13021]
19700 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19701 installed.
19702
bba33c28
UD
19703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19704 typo.
19705 (_dl_x86_64_save_sse): Likewise.
19706
90f139dd
UD
197072011-07-22 Ulrich Drepper <drepper@gmail.com>
19708
1aae088a
UD
19709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19710 OSXSAVE.
19711 (_dl_x86_64_save_sse): Likewise.
19712
8e2045f5
UD
19713 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19714
90f139dd
UD
19715 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19716
1d002f25
AS
197172011-07-21 Andreas Schwab <schwab@redhat.com>
19718
19719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19720 change.
19721 (_dl_x86_64_save_sse): Use correct AVX check.
19722
21137f89
UD
197232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19724
19725 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19726 bug in strncpy/strncat.
19727 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19728
a65c0b7a
UD
197292011-07-21 Ulrich Drepper <drepper@gmail.com>
19730
19731 * string/tester.c (test_strcat): Add tests for different alignments
19732 of source and destination.
19733 (test_strncat): Likewise.
19734
6986b98a
UD
197352011-07-20 Ulrich Drepper <drepper@gmail.com>
19736
90bb2039
UD
19737 [BZ #12852]
19738 * posix/glob.c (glob): Check passed in values before using them in
19739 expressions to avoid some overflows.
19740 (glob_in_dir): Likewise.
19741
5644ef54
UD
19742 [BZ #13007]
19743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19744 check for AVX enablement so that we don't crash with old kernels and
19745 new hardware.
19746 * elf/tst-audit4.c: Add same checks here.
19747 * elf/tst-audit6.c: Likewise.
19748
19749 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19750
bfc9dc9b
AS
197512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19752
19753 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19754
702e64bb
UD
197552011-07-20 Ulrich Drepper <drepper@gmail.com>
19756
19757 * po/cs.po: Update from translation team.
19758 * po/bg.po: Likewise.
19759
295e904f
MP
197602011-07-12 Marek Polacek <mpolacek@redhat.com>
19761
19762 * misc/sys/cdefs.h: Add support for const attribute.
19763 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19764 to gnu_dev_{major,minor,makedev} functions.
19765
3ff94596
MP
197662011-07-20 Marek Polacek <mpolacek@redhat.com>
19767
19768 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19769
28b59fca
AS
197702011-07-20 Andreas Schwab <schwab@redhat.com>
19771
19772 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19773 strlen results.
19774
19df733e
AK
197752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19776
19777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19778 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19779 register in order to avoid conflicts with the soft frame pointer
19780 being held in r11 when necessary.
19781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19782 (INTERNAL_VSYSCALL_NCS): Likewise.
19783
c8835729
MP
197842011-07-14 Marek Polacek <mpolacek@redhat.com>
19785
19786 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19787 * elf/dl-fini.c (_dl_fini): Adjust caller.
19788 * elf/dl-close.c (_dl_close_worker): Likewise.
19789 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19790
b902330c
MP
197912011-07-15 Marek Polacek <mpolacek@redhat.com>
19792
8991e135
MP
19793 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19794 "aux_cache->nlibs < 0".
19795
b902330c
MP
19796 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19797 in the reload-count case.
19798
99710781
LD
197992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19800
19801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19802 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19803 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19804 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19805 * sysdeps/x86_64/multiarch/strcat.S: New file.
19806 * sysdeps/x86_64/multiarch/strncat.S: New file.
19807 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19808 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19809 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19810 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19811 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19812 (USE_AS_STRCAT): Define.
19813 Add strcat and strncat support.
19814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19815 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19816 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19817 * string/strncat.c: Update.
19818 (USE_AS_STRNCAT): Define.
19819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19820 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19821 and i7.
19822 * sysdeps/x86_64/multiarch/init-arch.h
19823 (bit_Prefer_PMINUB_for_stringop): New.
19824 (index_Prefer_PMINUB_for_stringop): Likewise.
19825 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19826 bit_Prefer_PMINUB_for_stringop.
19827
7dc6bd90
UD
198282011-07-19 Ulrich Drepper <drepper@gmail.com>
19829
19830 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19831 buffer64.
19832 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19833 of casting of buffer.
19834 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19835 buffer32 and buffer64.
19836 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19837 writes instead of casting of buffer.
19838 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19839 buffer32.
19840 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19841 casting of buffer.
19842
e0e72284
AS
198432011-07-19 Andreas Schwab <schwab@redhat.com>
19844
19845 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19846
feb1eb0b
UD
198472011-07-19 Ulrich Drepper <drepper@gmail.com>
19848
19849 * nscd/nscd.c (termination_handler): Don't do anything for a database
19850 if it has not yet been initialized.
19851
298711ff
UD
198522011-07-18 Ulrich Drepper <drepper@gmail.com>
19853
19854 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19855
198562011-07-15 Marek Polacek <mpolacek@redhat.com>
19857
19858 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19859
f9d68389
UD
198602011-07-18 Ulrich Drepper <drepper@gmail.com>
19861
19862 * po/nl.po: Update from translation team.
19863 * po/sv.po: Likewise.
19864
db290cf5
RM
198652011-07-16 Roland McGrath <roland@hack.frob.com>
19866
19867 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19868 now disallowed by GCC.
5c550700 19869
fd5e21c7
RM
19870 * configure.in (use-default-link): Default to yes if a test -shared
19871 link meets our qualifications.
19872 * configure: Regenerated.
19873
5c550700
RM
19874 * config.make.in (output-format): New variable.
19875 * configure.in: Check for ld --print-output-format support.
19876 * configure: Regenerated.
19877 * Makerules ($(common-objpfx)format.lds)
19878 [$(output-format) != unknown]: Just use $(output-format),
19879 instead of the linker-script munging.
19880
9fa2c032
RM
198812011-07-14 Roland McGrath <roland@hack.frob.com>
19882
a6928d51
RM
19883 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19884 of $(common-objpfx)shlib.lds.
19885 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19886
661607b3
RM
19887 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19888 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19889
9fa2c032
RM
19890 * configure.in (-z relro check): Adjust test code to add a large
19891 writable data section after it.
19892 * configure: Regenerated.
19893
defe9061
RM
198942011-07-11 Roland McGrath <roland@hack.frob.com>
19895
19896 * configure.in (-z relro check): Fix test code to make the variable
19897 truly const.
19898 * configure: Regenerated.
19899
319b9ad4
UD
199002011-07-11 Ulrich Drepper <drepper@gmail.com>
19901
19902 * nscd/nscd.h (struct traced_file): Define.
19903 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19904 elements. Add traced_files.
19905 (inotify_fd): Declare.
19906 (register_traced_file): Declare.
19907 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19908 (inotify_fd): Export.
19909 (resolv_conf_descr): Remove.
19910 (nscd_init): Move inotify descriptor creation to main.
19911 Don't register files for notification here.
19912 (register_traced_file): New function.
19913 (invalidate_cache): Don't use reset_res to determine whether to call
19914 res_init, go through the list of registered files.
19915 (main_loop_poll): The inotify descriptors are now stored in the
19916 structures for the traced files.
19917 (main_loop_epoll): Likewise
19918 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19919 to __nss_disable_nscd.
19920 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19921 for a database anymore. Check the records for all the registered
19922 files instead.
19923 * nss/Makefile (libnss_files-routines): Add files-init.
19924 (libnss_db-routines): Add db-init.
19925 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19926 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19927 * nss/nss_db/db-init.c: New file.
19928 * nss/nss_files/files-init.c: New file.
19929 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19930 __nss_lookup_function.
19931 (__nss_lookup_function): Call nss_load_library.
19932 (nss_load_all_libraries): New function.
19933 (__nss_disable_nscd): Take parameter with callback function for files
19934 to register. Set is_nscd. Load all the DSOs for the NSS modules
19935 used for the cached services.
19936 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19937 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19938 options for features to all the files in nscd.
19939
19940 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19941
23bee3e8
RM
199422011-07-10 Roland McGrath <roland@hack.frob.com>
19943
19944 * csu/elf-init.c (__libc_csu_init): Comment typo.
19945
46a5b7f0
UD
199462011-07-09 Ulrich Drepper <drepper@gmail.com>
19947
19948 * po/pl.po: Update from translation team.
19949 * po/ja.po: Likewise.
19950 * po/ru.po: Likewise.
19951 * po/ko.po: Likewise.
19952 * po/fr.po: Likewise.
19953
d30cf5bb
RM
199542011-07-09 Roland McGrath <roland@hack.frob.com>
19955
113ddea4
RM
19956 * configure.in (.ctors/.dtors header and trailer check):
19957 Use an empirical test on a built program.
19958 * configure: Regenerated.
19959
574920b4
RM
19960 * configure.in (-z relro check): Use an empirical test on a built DSO.
19961 Detect, but do not require, on ia64.
19962 * configure: Regenerated.
19963
d30cf5bb
RM
19964 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19965 Update tests that use readelf to use $READELF instead.
19966 * configure: Regenerated.
19967
8538fdb3
UD
199682011-07-08 Ulrich Drepper <drepper@gmail.com>
19969
19970 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19971 if the result is not used.
19972
04d08991
AJ
199732011-07-05 Andreas Jaeger <aj@suse.de>
19974
19975 [BZ#9696]
19976 * stdlib/tst-strtod.c: Add testcase.
19977
de283087
AD
199782011-07-07 Ulrich Drepper <drepper@gmail.com>
19979
4e5f31c8 19980 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19981 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19982 The latter has a higher limit. Take additional parameter to pass to
19983 the new function.
19984 (__pathconf): Pass file to __statfs_link_max.
19985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19986 __statfs_link_max.
19987 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19988 __statfs_link_max.
19989
de283087
AD
19990 [BZ #12868]
19991 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19992 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19993 Handle Lustre.
19994 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19995 (__statfs_filesize_max): Likewise.
19996 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19997
c75fa153
AJ
199982011-07-05 Andreas Jaeger <aj@suse.de>
19999
20000 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20001
1a544854
UD
200022011-07-06 Marek Polacek <mpolacek@redhat.com>
20003
20004 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20005 `status' variable.
20006 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20007 Likewise.
20008
6f0eec67
UD
200092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20010
20011 * Makefile (strop-tests): Add strncat.
20012 * string/test-strncat.c: New file.
20013
aae30307
UD
200142011-06-30 Marek Polacek <mpolacek@redhat.com>
20015
20016 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20017
c0cfb5eb
UD
200182011-06-21 Andreas Jaeger <aj@suse.de>
20019
20020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20021 Copy rule from iconvdata/Makefile.
20022
01636b21
UD
200232011-07-06 Ulrich Drepper <drepper@gmail.com>
20024
20025 [BZ #12922]
20026 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20027 but no long options are defined, just return 'W'.
20028
9895c8bc
UD
200292011-06-22 Marek Polacek <mpolacek@redhat.com>
20030
20031 [BZ #9696]
20032 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20033
5d4cf042
UD
200342011-07-06 Ulrich Drepper <drepper@gmail.com>
20035
20036 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20037 netgroups to read.
960e5535 20038 (innetgr): Likewise.
5d4cf042 20039
751eb97e
RM
200402011-07-05 Roland McGrath <roland@hack.frob.com>
20041
20042 * config.make.in (install_root): Default to $(DESTDIR).
20043
f15f1e45
UD
200442011-07-05 Ulrich Drepper <drepper@gmail.com>
20045
20046 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20047
4e34ac6a
RM
200482011-07-02 Roland McGrath <roland@hack.frob.com>
20049
5e9b6af4
RM
20050 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20051
84f9ea0f
RM
20052 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20053 containing directory rather than embedding absolute directory names.
20054
ea5ee9f7
RM
20055 * scripts/check-local-headers.sh: Rewritten using awk.
20056 Match by word, not by line. Print error messages for matches.
20057 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20058
1b74661a
RM
20059 * Makerules [shlib-lds-flags empty]:
20060 ($(common-objpfx)libc_pic.opts): New target.
20061 ($(common-objpfx)libc_pic.os.clean): New target.
20062 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20063
20064 * config.make.in (OBJCOPY): New variable.
20065 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20066 * configure: Regenerated.
20067
f781ef40
RM
20068 * config.make.in (use-default-link): New variable.
20069 * configure.in (use_default_link): Grok --with-default-link to set it.
20070 * configure: Regenerated.
20071 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20072 (shlib-lds, shlib-lds-flags): Define to empty.
20073
2d4fa81e
RM
20074 * Makerules (shlib-lds): New variable.
20075 (shlib-lds-flags): New variable.
20076 (build-shlib, build-moduile, build-module-asneeded): Use it.
20077 ($(common-objpfx)libc.so): Use $(shlib-lds).
20078 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20080
31fffa6b
RM
20081 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20082 DT_FLAGS/DT_FLAGS_1 with zero flags.
20083
4e34ac6a
RM
20084 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20085 linker script munging.
20086
fcfc776b
UD
200872011-07-02 Ulrich Drepper <drepper@gmail.com>
20088
20089 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20090 as 128-bit value.
20091 * crypt/sha512.c (sha512_process_block): Perform total addition using
20092 128-bit if possible.
20093 (__sha512_finish_ctx): Likewise.
20094 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20095 as 64-bit value.
20096 * crypt/sha256.c (SWAP64): Define.
20097 (sha256_process_block): Perform total addition using 64-bit if
20098 possible.
20099 (__sha256_finish_ctx): Likewise.
20100
99231d9a
UD
201012011-07-01 Ulrich Drepper <drepper@gmail.com>
20102
20103 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20105 * nscd/hstcache.c (cache_addhst): Likewise.
20106 * nscd/grpcache.c (cache_addgr): Likewise.
20107 * nscd/aicache.c (addhstaiX): Likewise
20108 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20109
445b4a53
TK
201102011-07-01 Thorsten Kukuk <kukuk@suse.de>
20111
20112 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20114 * nscd/hstcache.c (cache_addhst): Likewise.
20115 * nscd/grpcache.c (cache_addgr): Likewise.
20116 * nscd/aicache.c (addhstaiX): Likewise
20117
6d4d8e8e
AS
201182011-07-01 Andreas Schwab <schwab@redhat.com>
20119
20120 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20121 domain only when needed.
20122
89f654c5
AS
201232011-06-30 Andreas Schwab <schwab@redhat.com>
20124
20125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20126 is always restored.
20127
cf3b23ff
UD
201282011-06-29 Ulrich Drepper <drepper@gmail.com>
20129
20130 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20131 are re-adding the entry.
20132 * nscd/servicescache.c (cache_addserv): Likewise.
20133
751626f9
AJ
201342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20135
20136 * sysdeps/generic/dl-irel.h: fix protection against multiple
20137 inclusions.
20138 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20139
9113ea1f
UD
201402011-06-28 Ulrich Drepper <drepper@gmail.com>
20141
5c0b8d90
UD
20142 [BZ #12935]
20143 * malloc/memusage.sh: Fix quoting in message.
20144 * debug/xtrace.sh: Likewise.
20145
9113ea1f
UD
20146 * configure.in: Remove support for --experimental-malloc option, make
20147 it the default.
20148 * config.make.in: Likewise.
20149 * malloc/Makefile: Likewise.
20150
a4172181
AS
201512011-06-27 Andreas Schwab <schwab@redhat.com>
20152
20153 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20154 two-byte characters.
20155
78a7eee7
RM
201562011-06-27 Roland McGrath <roland@hack.frob.com>
20157
62bede13
RM
20158 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20159 AC_CACHE_CHECK invocation.
20160 * configure: Regenerated.
20161
78a7eee7
RM
20162 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20163
5ce33a62
UD
201642011-06-27 Ulrich Drepper <drepper@gmail.com>
20165
034807a9
UD
20166 [BZ #12350]
20167 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20168 bit from old_res_options.
20169
4902da17
UD
20170 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20171
5ce33a62
UD
20172 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20173 value type for setfct.
20174
c2344f56
L
201752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20176
20177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20178 __gettimeofday instead of gettimeofday.
20179
68468076
UD
201802011-06-26 Ulrich Drepper <drepper@gmail.com>
20181
20182 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20183
acb0d739
L
201842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20185
20186 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20187
20188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20189 info.
20190
8912479f
L
201912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20192
20193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20194 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20195 strcpy-sse2-unaligned strncpy-sse2-unaligned
20196 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20197 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20198 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20199 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20200 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20201 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20203 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20204 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20205 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20206 (STRCPY): Support SSE2 and SSSE3 versions.
20207
d5495a11
UD
202082011-06-24 Ulrich Drepper <drepper@gmail.com>
20209
20210 [BZ #12874]
20211 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20212 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20213 kernels which artificially limit size of requests.
20214
0b1cbaae
L
202152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20216
20217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20218 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20219 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20220 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20221 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20222 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20223 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20224 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20225 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20226 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20227 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20228 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20229 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20230 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20231 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20233 Enable unaligned load optimization for Intel Core i3, i5 and i7
20234 processors.
20235 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20236 Define.
20237 (index_Fast_Unaligned_Load): Define.
20238 (HAS_FAST_UNALIGNED_LOAD): Define.
20239
07f494a0
MP
202402011-06-23 Marek Polacek <mpolacek@redhat.com>
20241
20242 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20243
fa3fc0fe
UD
202442011-06-22 Ulrich Drepper <drepper@gmail.com>
20245
20246 [BZ #12907]
20247 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20248 until it is clear that the information is realy needed.
20249 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20250
e12df166
AS
202512011-06-22 Andreas Schwab <schwab@redhat.com>
20252
20253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20254
852eb34d
UD
202552011-06-22 Ulrich Drepper <drepper@gmail.com>
20256
84e2a551
UD
20257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20258 /sys/devices/system/cpu/online if it is usable.
20259
852eb34d
UD
20260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20261 reading the information from the /proc filesystem to once a second.
20262
6e502e19
UD
202632011-06-21 Andreas Jaeger <aj@suse.de>
20264
20265 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20266 NULL after inclusion of kernel headers.
20267
75d39ff2
UD
202682011-06-21 Ulrich Drepper <drepper@gmail.com>
20269
51f9aa6a
UD
20270 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20271 calls to internal_setent.
20272
c0244a9d
UD
20273 [BZ #12885]
20274 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20275 addresses using gethostbyname4_r ignore IPv4 addresses.
20276
c5e3c2ae
UD
20277 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20278 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20279
75d39ff2
UD
20280 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20281
42675c6f
DM
202822011-06-20 David S. Miller <davem@davemloft.net>
20283
20284 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20285 inclusions.
20286 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20287
20288 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20289 (elf_irel): Use it.
20290 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20291 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20292 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20293 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20294 * sysdeps/x86_64/dl-irel.h: Likewise.
20295
20296 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20297 * elf/dl-sym.c: Likewise.
20298
57912a71
UD
202992011-06-15 Ulrich Drepper <drepper@gmail.com>
20300
20301 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20302 need to dereference resplen2.
20303
ee22793d
AS
203042011-06-14 Andreas Schwab <schwab@redhat.com>
20305
20306 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20307
a9e836b0
UD
203082011-06-15 Ulrich Drepper <drepper@gmail.com>
20309
77fb9117
UD
20310 * Makeconfig: Define vardbdir and inst_vardbdir.
20311 * nss/Makefile: Add rules to install db-Makefile.
20312
40c1b22c
UD
20313 * nss/nss_db/db-XXX.c: Cleanup.
20314
9f2da732
UD
20315 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20316 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20317 GLIBC_PRIVATE.
20318 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20319 * nss/makedb.c: Implement -g option to specify that value strings
20320 are generated and should not be added to table iterated over for
20321 get*ent calls.
20322 * nss/nss_db/db-initgroups.c: New file.
20323
82e9a1f7
UD
20324 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20325 interface.
20326
c41af17e
UD
20327 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20328 (internal_getgrouplist): Adjust to name change.
20329 Update use_initgroups_entry if this is not the first call.
20330 * nss/databases.def: Add initgroups entry.
20331
a9e836b0
UD
20332 * nss/makedb.c (compute_tables): Check result of multiple hash table
20333 sizes to minimize maximum chain length.
20334
2666d441
UD
203352011-06-14 Ulrich Drepper <drepper@gmail.com>
20336
20337 * Versions.def: Add entry for libnss_db.
20338 * shlib-versions: Likewise.
20339 * nss/Makefile: Add rules to build libnss_db.
20340 * nss/Versions: Add libnss_db information. Organize libnss_files
20341 entries better.
20342 * nss/db-Makefile: Add gshadow support. Change rules for the new
20343 makedb progra. Some minor improvements to generate smaller files.
20344 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20345 here from...
20346 * nss/makedb.c: ...here.
20347 Improve database format to be smaller and require less memory at
20348 runtime.
20349 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20350 db anymore.
20351 * nss/nss_db/db-netgrp.c: Likewise.
20352 * nss/nss_db/db-open.c: Likewise.
20353 * nss/nss_files/flies-XXX.x: Adjust comments.
20354 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20355 * nss/nss_files/files-grp.c: Likewise.
20356 * nss/nss_files/files-hosts.c: Likewise.
20357 * nss/nss_files/files-network.c: Likewise.
20358 * nss/nss_files/files-proto.c: Likewise.
20359 * nss/nss_files/files-pwd.c: Likewise.
20360 * nss/nss_files/files-rpc.c: Likewise.
20361 * nss/nss_files/files-service.c: Likewise.
20362 * nss/nss_files/files-sgrp.c: Likewise.
20363 * nss/nss_files/files-spwd.c: Likewise.
20364 * nss/nss_db/db-alias.c: Removed.
20365 * nss/nss_db/dummy-db.h: Removed.
20366
9ee76b5a
UD
203672011-06-02 Ulrich Drepper <drepper@gmail.com>
20368
20369 * nss/makedb.c: Rewritten to not use database library.
20370 * nss/Makefile: Update to build new makedb program.
20371
c71ca1f8
AJ
203722011-06-14 Andreas Jaeger <aj@suse.de>
20373
20374 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20375 memset declaration.
20376
3154bfb8
UD
203772011-06-10 Andreas Schwab <schwab@redhat.com>
20378
20379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20380 tmpbuf.
20381
b350afab
RM
203822011-06-10 Roland McGrath <roland@hack.frob.com>
20383
decd4e50
RM
20384 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20385 * elf/Makefile ($(objpfx)ld.so): Likewise.
20386
5615eaf2
RM
20387 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20388 Don't list ld.so twice in dependencies.
20389
20390 * posix/bug-regex31.c: Include <stdlib.h>.
20391
20392 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20393
20394 * nis/nss_compat/compat-spwd.c
20395 (getspent_next_nss_netgr): Remove unused variable.
20396 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20397
20398 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20399 nonmembers" output to use the right array.
20400
20401 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20402
20403 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20404
20405 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20406 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20407 * catgets/gencat.c (read_input_file): Likewise.
20408 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20409
20410 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20411 variable definition inside #if's controlling its use.
20412
20413 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20414
20415 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20416
20417 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20418
20419 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20420 unreachable code.
20421
20422 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20423
b68e08db
RM
20424 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20425 * configure: Regenerated.
20426
b350afab
RM
20427 * Makerules: Revert last change.
20428 * elf/Makefile: Likewise.
20429
28368601
RM
204302011-06-09 Roland McGrath <roland@hack.frob.com>
20431
20432 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20433 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20434 (reloc-link): Likewise.
20435
11988f8f
UD
204362011-06-09 Ulrich Drepper <drepper@gmail.com>
20437
20438 * elf/Makefile: Add rules to build pldd.
20439 * elf/pldd.c: New file.
20440 * elf/pldd-xx.c: New file.
20441
e80fab37
UD
204422011-06-07 Ulrich Drepper <drepper@gmail.com>
20443
20444 * version.h: Update for 2.15 development version.
20445
9b849836
DM
204462011-06-07 David S. Miller <davem@davemloft.net>
20447
20448 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20449 ifuncs.
20450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20451 elf_machine_lazy_rel): Likewise.
20452 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20453 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20454 elf_machine_lazy_rel): Likewise.
20455 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20456 dl_hwcap via passed in argument.
20457 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20458 Likewise.
20459
5a31b283
AK
204602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20461
20462 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20463
069e52f8
RM
204642011-06-06 Roland McGrath <roland@hack.frob.com>
20465
20466 [BZ #12849]
20467 * manual/fdl-1.1.texi: New file, verbatim from:
20468 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20469 * manual/lgpl-2.1.texi: New file, verbatim from:
20470 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20471 * manual/Makefile (licenses): New variable, list those new file names.
20472 (texis): Use it.
20473 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20474
20475 * manual/fdl.texi: File removed.
20476 * manual/lesser.texi: File removed.
20477 * manual/libc.texinfo (Copying, Documentation License):
20478 Use new @include file names, put @appendix directive before @include.
20479
f16846a5
JJ
204802011-06-04 Jakub Jelinek <jakub@redhat.com>
20481
20482 [BZ #12841]
20483 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20484 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20485 (mq_open): Add __NTH.
20486
3d29045b
L
204872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20488
20489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20490 Assume Intel Core i3/i5/i7 processor if AVX is available.
20491
8c297311
UD
204922011-05-31 Ulrich Drepper <drepper@gmail.com>
20493
20494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20495 typo.
20496
c8fc0c91
UD
204972011-05-31 Andreas Schwab <schwab@redhat.com>
20498
20499 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20500 memory. Use alloca_account. Fix memory leak when retrying.
20501
5b27a807
UD
205022011-05-31 Ulrich Drepper <drepper@gmail.com>
20503
356f8bc6
UD
20504 * version.h (RELEASE): Bump for 2.14 release.
20505 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20506
5b27a807
UD
20507 * config.make.in (RANLIB): Remove entry.
20508
01f16ab0
UD
205092011-05-30 Ulrich Drepper <drepper@gmail.com>
20510
41fce8bd
UD
20511 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20512 (libc.pot): Work around missing support for .ksh extension in xgettext.
20513
4769ae77
UD
20514 [BZ #12684]
20515 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20516 if both request failed.
20517 (send_dg): In case of server errors clear resplen or *resplen2.
20518
6b1e7d19
UD
20519 [BZ #12454]
20520 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20521 when there are multiple maps.
20522 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20523 (_dl_fini): Remove test here.
20524
01f16ab0
UD
20525 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20526
b1ebd700
UD
205272011-05-29 Ulrich Drepper <drepper@gmail.com>
20528
7ae22829
UD
20529 [BZ #12350]
20530 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20531 bit from old_res_options.
20532 (gaih_inet): Likewise.
20533
553149f6 20534 [BZ #11099]
18a84741 20535 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20536 as signed.
20537
652ffab1
UD
20538 * resolv/res_init.c (res_setoptions): Make the code more compact.
20539
16985fd0
UD
20540 [BZ #11558]
20541 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20542 set RES_USEVC.
20543
0464f746
UD
20544 [BZ #11634]
20545 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20546
7d17596c
UD
20547 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20548
cf6bbbd7
UD
20549 [BZ #11781]
20550 * malloc/malloc.h: Declare malloc hook variables as volatile.
20551
13f1ab36
UD
20552 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20553 in last patch.
20554
b1ebd700
UD
20555 [BZ #11799]
20556 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20557 raise in the comment.
80e2212d
UD
20558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20560 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20561
ce67228d
UD
205622011-05-28 Ulrich Drepper <drepper@gmail.com>
20563
8887a920
UD
20564 [BZ #12811]
20565 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20566 grow the buffers more if it already has to be sufficient.
20567 (build_wcs_upper_buffer): Likewise.
20568 * posix/regexec.c (check_matching): Likewise.
20569 (clean_state_log_if_needed): Likewise.
20570 (extend_buffers): Don't enlarge buffers beyond size of the input
20571 buffer.
20572 Patches mostly by Emil Wojak <emil@wojak.eu>.
20573 * posix/bug-regex32.c: New file.
20574 * posix/Makefile (tests): Add bug-regex32.
20575
4f031072
UD
20576 * locale/findlocale.c (_nl_find_locale): Return right away if
20577 _nl_explode_name failed.
20578 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20579
d0478f0c
UD
20580 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20581
de81b246
UD
20582 * debug/xtrace.sh: Unify messages.
20583 * malloc/memusage.sh: Likewise.
20584
c738465a
UD
20585 [BZ #12813]
20586 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20587 time symbol from vDSO. Substitute with vsyscall if not available.
20588 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20589 __vdso_time.
20590
f1f929d7
UD
20591 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20592 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20593 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20594 Add sendmmsg and internal_sendmmsg.
20595 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20596 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20597 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20598
ce67228d
UD
20599 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20600 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20601 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20602
e57420c6
UD
206032011-05-27 Ulrich Drepper <drepper@gmail.com>
20604
a8509ca5
UD
20605 [BZ #12813]
20606 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20607 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20608 available.
20609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20610 __vdso_getcpu.
20611
e57420c6
UD
20612 [BZ #12814]
20613 * iconvdata/Makefile (tests): Add bug-iconv9.
20614 * iconvdata/bug-iconv9.c: New file.
20615
4d07db15
AS
206162011-05-27 Andreas Schwab <schwab@redhat.com>
20617
20618 [BZ #12814]
20619 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20620
ea486f69
JJ
206212011-05-25 Jakub Jelinek <jakub@redhat.com>
20622
20623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20624 (struct user_regs_struct): Change intcs field back to cs.
20625
6f038433
UD
206262011-05-25 Ulrich Drepper <drepper@gmail.com>
20627
20628 * po/ja.po: Update from translation team.
20629
67f86a25
UD
206302011-05-23 Ulrich Drepper <drepper@gmail.com>
20631
20632 [BZ #12795]
20633 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20634 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20635
def7fbd6
AS
206362011-05-20 Andreas Schwab <schwab@redhat.com>
20637
20638 * stdlib/longlong.h: Update from GCC.
20639
f50ef8f1
AS
206402011-05-23 Andreas Schwab <schwab@redhat.com>
20641
20642 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20643 parameter name.
20644 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20645 Add parameter name.
20646 (__sysconf): Pass it down.
20647
de7ce8f1
UD
206482011-05-22 Ulrich Drepper <drepper@gmail.com>
20649
f2962a71
UD
20650 [BZ #12671]
20651 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20652 some situations.
20653 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20654 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20655 add in in __libc_use_alloca calls. Adjust callers.
20656 (glob): Use malloc in some situations.
20657
de7ce8f1
UD
20658 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20659 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20660 pltexit.
20661
aec84f53
UD
206622011-05-21 Ulrich Drepper <drepper@gmail.com>
20663
05bb4a68
UD
20664 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20665 and CLOCK_BOOTTIME_ALARM.
20666
7ea72f99
UD
20667 [BZ #12782]
20668 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20669 is returned.
20670
7e4afad5
UD
20671 * string/_strerror.c (__strerror_r): Print negative errors as signed
20672 numbers.
20673
8e211fec
UD
20674 [BZ #12777]
20675 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20676 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20677 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20678
f7d82dc9
UD
20679 * configure.in: Fix typo in redirection and correct removal of test
20680 files in two cases.
20681
cc9e536d
UD
20682 [BZ #12788]
20683 * locale/setlocale.c (new_composite_name): Fix test to check for
20684 identical name of all categories.
20685
aec84f53
UD
20686 [BZ #12792]
20687 * libio/filedoalloc.c (local_isatty): New function.
20688 (_IO_file_doallocate): Use local_isatty.
20689 * stdio-common/perror.c (perror): In case a new stream is used
20690 forward the stream error.
20691 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20692 error flag.
20693
78e64fdc
RT
206942011-05-20 Ulrich Drepper <drepper@gmail.com>
20695
34a9094f
UD
20696 [BZ #11869]
20697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20698 alloca.
20699 * include/alloca.h (extend_alloca_account): Define.
20700
78e64fdc
RT
20701 [BZ #11857]
20702 * posix/regex.h: Fix comments with documentation of user-accessible
20703 fields after compilation and describe correct free'ing of pattern
20704 after re_compile_pattern.
20705 Patch by Reuben Thomas <rrt@sc3d.org>.
20706
457bddfc
RA
207072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20708
20709 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20710 and -mno-altivec to prevent the compiler from using Altivec and/or
20711 VSX instructions when the corresponding registers are not available.
20712
a4527b51
AS
207132011-05-19 Andreas Schwab <schwab@redhat.com>
20714
20715 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20716
ed690b2f
UD
207172011-05-19 Ulrich Drepper <drepper@gmail.com>
20718
20719 * libio/freopen.c (freopen): Use __dup2, not dup2.
20720 * libio/freopen64.c (freopen64): Likewise.
20721
8db73634
L
207222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20723
20724 [BZ #12775]
20725 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20726 * math/Makefile (tests): Add test-powl.
20727 (CFLAGS-test-powl.c): Define.
20728 * math/test-powl.c: New file.
20729
0a197a9d
L
207302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20731
20732 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20733
ee30c380
UD
207342011-05-17 Ulrich Drepper <drepper@gmail.com>
20735
20736 [BZ #11837]
20737 * iconvdata/gb18030.c: Update to GB18020-2005.
20738
6ce75379
UD
207392011-05-16 Ulrich Drepper <drepper@gmail.com>
20740
a4b89fd8
AR
20741 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20742 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20743 Patch by Aharon Robbins <arnold@skeeve.com>.
20744
ea389b12
UD
20745 [BZ #11892]
20746 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20747 on the stack.
20748
68a3f91f
UD
20749 [BZ #11895]
20750 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20751 through underflows.
20752
15cc7dd1
UD
20753 [BZ #12766]
20754 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20755 point to strings before performing equality test for error_one_per_line
20756 mode.
20757
f3799213
UD
20758 [BZ #11697]
20759 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20760
d79a9c94
UD
20761 [BZ #11820]
20762 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20763 (struct user_fpregs_struct): Avoid __uint*_t types.
20764
56e5eb46
UD
20765 [BZ #6420]
20766 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20767 symbol info. Use it instead of calling _dl_addr locally.
20768 (lock_and_info): New function.
20769 (tr_freehook): Call lock_and_info and pass symbol info as additional
20770 parameter to tr_where.
20771 (tr_mallochook): Likewise.
20772 (tr_reallochook): Likewise.
20773 (tr_memalignhook): Likewise.
20774
6ce75379
UD
20775 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20776 used and couldn't be at all thread-safe.
20777
f8a3b5bf
UD
207782011-05-15 Ulrich Drepper <drepper@gmail.com>
20779
94b7cc37
UD
20780 * libio/freopen.c (freopen): Don't close old file descriptor
20781 before the new one is opened. Instead dup the new file descriptor
20782 to the old one after the new stream is created.
20783 * libio/freopen64.c (freopen64): Likewise.
20784 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20785 * libio/fileops.c (_IO_new_file_close_it): Handle new
20786 _IO_FLAGS2_NOCLOSE flag.
20787 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20788 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20789 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20790 _IO_FLAGS2_NOCLOSE flag.
20791 * include/unistd.h: Add hidden_proto for dup3.
20792 Define __have_dup3.
20793 * io/dup3.c: Define hidden symbol.
20794 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20795
bd25564e
UD
20796 [BZ #7101]
20797 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20798 when an incomplete long option is used.
20799 * posix/tst-getopt_long1.c: New file.
20800 * posix/Makefile (tests): Add tst-getopt_long1.
20801
c84cfef4
UD
20802 [BZ #10138]
20803 * scripts/config.guess: Update from autoconf-2.68.
20804 * scripts/config.sub: Likewise.
20805
3b85df27
UD
20806 [BZ #10157]
20807 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20808 tests into ...
20809 (has_cpuclock): ...this. New function.
20810 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20811 macro here based on has_cpuclock code.
20812
15a856b1
UD
20813 [BZ #10149]
20814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20815 First byte (not low byte) is now always NUL.
20816 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20817
05f399e6
UD
20818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20819 Use non-cancelable interfaces.
20820
10a52685 20821 [BZ #9809]
94ecc67d
UD
20822 * locale/iso-639.def: Add entry for Sorani.
20823
f8a3b5bf
UD
20824 [BZ #11901]
20825 * include/stdlib.h: Move include protection to the right place.
20826 Define abort_msg_s. Declare __abort_msg with it.
20827 * stdlib/abort.c (__abort_msg): Adjust type.
20828 * assert/assert.c (__assert_fail_base): New function. Majority
20829 of code from __assert_fail. Allocate memory for __abort_msg with
20830 mmap.
20831 (__assert_fail): Now call __assert_fail_base.
20832 * assert/assert-perr.c: Remove bulk of implementation. Use
20833 __assert_fail_base.
20834 * include/assert.hL Declare __assert_fail_base.
20835 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20836 mmap.
20837 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20838
1af4e298
UD
208392011-05-14 Ulrich Drepper <drepper@gmail.com>
20840
f8a3b5bf 20841 [BZ #11952]
d26dfc60
MG
20842 [BZ #12453]
20843 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20844 until all modules are registered in the DTV.
20845 * elf/Makefile: Add rules to build and run tst-tls19.
20846 * elf/tst-tls19.c: New file.
20847 * elf/tst-tls19mod1.c: New file.
20848 * elf/tst-tls19mod2.c: New file.
20849 * elf/tst-tls19mod3.c: New file.
20850 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20851
2fc54d6f
UD
20852 [BZ #12083]
20853 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20854 correctly.
20855
98d76b46
UD
20856 [BZ #12601]
20857 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20858 two-byte sequence errors.
20859 * iconvdata/Makefile (tests): Add bug-iconv8.
20860 * iconvdata/bug-iconv8.c: New file.
20861
da3c19ef
UD
20862 [BZ #12626]
20863 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20864 buf2 definition.
20865
ca408c15
UD
20866 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20867
d6f67f7d
UD
20868 [BZ #12432]
20869 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20870 (dummy_getcfa): New function.
20871 (init): Get _Unwind_GetCFA address, use dummy if not found.
20872 (backtrace_helper): In recursion check, also check whether CFA changes.
20873 (__backtrace): Completely initialize arg.
20874
1af4e298 20875 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20876 storing incomplete byte sequence in state object. Avoid testing for
20877 guaranteed too small input if we know there is enough data available.
1af4e298 20878
da62f81b
AS
208792011-05-11 Andreas Schwab <schwab@redhat.com>
20880
20881 * Makeconfig (+link-pie): Indent.
20882 * Rules (binaries-pie): Define if $(have-fpie) and
20883 $(build-shared).
20884 (binaries-shared): Also filter out $(binaries-pie).
20885 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20886 * nscd/Makefile (others-pie): Add nscd.
20887 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20888 ($(objpfx)nscd): Remove command override.
20889 * login/Makefile (others-pie): Add pt_chown.
20890 ($(objpfx)pt_chown): Remove command override.
20891 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20892 remove command overrides.
20893
fcabc0f8
UD
208942011-05-13 Ulrich Drepper <drepper@gmail.com>
20895
20030ae6
UD
20896 * libio/tst_putwc.c: Fix error messages.
20897
fcabc0f8
UD
20898 [BZ #12724]
20899 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20900 currently writing and seek to current position when not.
20901 * libio/Makefile (tests): Add bug-fclose1.
20902 * libio/bug-fclose1.c: New file.
20903
320a5dc0
PB
209042011-05-12 Ulrich Drepper <drepper@gmail.com>
20905
20906 [BZ #12511]
20907 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20908 don't set DF_1_NODELETE here.
20909 (do_lookup_x): When entering new entry test for copy relocation
20910 and if necessary set DF_1_NODELETE flag.
20911 * elf/tst-unique4.cc: New file.
20912 * elf/tst-unique4.h: New file.
20913 * elf/tst-unique4lib.cc: New file.
20914 * elf/Makefile: Add rules to build and run tst-unique4.
20915 Patch by Piotr Bury <pbury@goahead.com>.
20916
22836f52
UD
209172011-05-11 Ulrich Drepper <drepper@gmail.com>
20918
f574184a
UD
20919 [BZ #12052]
20920 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20921
e1fb097f
UD
20922 [BZ #12625]
20923 * misc/mntent_r.c (addmntent): Flush the stream after the output
20924
22836f52
UD
20925 [BZ #12393]
20926 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20927 (is_trusted_path_normalize): Skip initial colon. Append slash
20928 to empty buffer. Duplicate is_trusted_path code but allow
20929 constructed patch to be prefix.
20930 (is_dst): Allow $ORIGIN followed by /.
20931 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20932 Correct testing of result of is_trusted_path_normalize
20933 (decompose_rpath): Fix warning.
20934
7b3b0b2a
UD
209352011-05-10 Ulrich Drepper <drepper@gmail.com>
20936
20937 [BZ #11257]
20938 * grp/initgroups.c (internal_getgrouplist): When we found the service
20939 list through the initgroups entry in nsswitch.conf do not always
20940 continue on a successful lookup. Don't always use the
eac80ce2 20941 __nss_group_database value if it is set.
7b3b0b2a
UD
20942 * nss/nsswitch.conf (initgroups): Change action for successful db
20943 lookup to continue for compatibility.
20944
2a81eaa5
UD
209452011-05-09 Ulrich Drepper <drepper@gmail.com>
20946
be97a69e
UD
20947 [BZ #11532]
20948 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20949 and CP774 modules.
20950 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20951 and CP774 modules.
20952 * iconvdata/tst-tables.sh: Likewise.
20953 * iconvdata/cp770.c: New file.
20954 * iconvdata/cp771.c: New file.
20955 * iconvdata/cp772.c: New file.
20956 * iconvdata/cp773.c: New file.
20957 * iconvdata/cp774.c: New file.
20958 * iconvdata/testdata/CP770: New file.
20959 * iconvdata/testdata/CP770..UTF8: New file.
20960 * iconvdata/testdata/CP771: New file.
20961 * iconvdata/testdata/CP771..UTF8: New file.
20962 * iconvdata/testdata/CP772: New file.
20963 * iconvdata/testdata/CP772..UTF8: New file.
20964 * iconvdata/testdata/CP773: New file.
20965 * iconvdata/testdata/CP773..UTF8: New file.
20966 * iconvdata/testdata/CP774: New file.
20967 * iconvdata/testdata/CP774..UTF8: New file.
20968
20969 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20970 END CHARMAP line.
20971 * iconvdata/gen-8bit-gap.sh: Likewise.
20972 * iconvdata/gen-8bit.sh: Likewise.
20973
c1e9e399
UD
20974 * locale/iso-639.def: Add ary entry.
20975
24c55fb3 20976 [BZ #11258]
96b4b1b0
UD
20977 * locale/C-translit.h.in: Add U20A1 transliteration.
20978
bdc2f971
KB
20979 [BZ #12178]
20980 * locale/iso-639.def: Add wae entry.
20981 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20982
2952b117
UD
20983 [BZ #12545]
20984 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20985 for n.
20986
2a81eaa5
UD
20987 [BZ #12711]
20988 * locale/C-translit.h.in: Add entry for U20B9.
20989 Patch by pravin.d.s@gmail.com.
20990
28377d1b
UD
209912011-05-08 Ulrich Drepper <drepper@gmail.com>
20992
7fb90fb8
UD
20993 [BZ #12713]
20994 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20995 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20996 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20997 in rtld. Use *stat64.
7fb90fb8 20998 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20999 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21000 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21001 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21002 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21003 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21004 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21005 __fstatat64 macros.
7fb90fb8
UD
21006 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21007 * dirent/rewinddir.c: Add libc_hidden_def.
21008 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21009 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21010
28377d1b
UD
21011 * include/dirent.h (__alloc_dir): Add flags parameter.
21012 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21013 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21014 __alloc_dir.
21015 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21016 from fdopendir if O_CLOEXEC is already set.
21017
66bdbaa4
AM
210182011-03-15 Alan Modra <amodra@gmail.com>
21019
21020 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21021 l_tls_firstbyte_offset non-zero. Save padding offset in
21022 l_tls_firstbyte_offset for later use.
21023 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21024 freeing static tls block.
21025
95721191
JN
210262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21027
21028 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21029 where #ifdef was intended. The intent is to prevent ARG_MAX from
21030 being defined by the kernel headers.
21031
f87dfb1f
UD
210322011-05-07 Ulrich Drepper <drepper@gmail.com>
21033
21034 [BZ #12734]
21035 * resolv/resolv.h: Define RES_NOTLDQUERY.
21036 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21037 no-tld-query and set RES_NOTLDQUERY.
21038 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21039 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21040 modern BIND to search name as TLD unless forbidden.
21041
47c3cd7a
UD
210422011-05-07 Petr Baudis <pasky@suse.cz>
21043 Ulrich Drepper <drepper@gmail.com>
21044
21045 [BZ #12393]
21046 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21047 (is_trusted_path): ...to here.
c1e9ea35 21048 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21049 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21050 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21051
8a35c912
PP
210522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21053
21054 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21055 __BEGIN/__END_DECLS.
21056
acd41f47
UD
210572011-05-06 Ulrich Drepper <drepper@gmail.com>
21058
21059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21060 NSS_STATUS_NOTFOUND if no record was found.
21061
597df647
AS
210622011-05-05 Andreas Schwab <schwab@redhat.com>
21063
21064 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21065 (headers-not-in-tirpc): Remove rpc/netdb.h
21066 * resolv/netdb.h: Revert last change.
21067
b9af1301
PP
210682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21069
21070 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21071 circular dependency between libgcc.a and libc.a.
21072
4e34d5f5
AS
210732011-05-05 Andreas Schwab <schwab@redhat.com>
21074
21075 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21076 * nis/Makefile: Don't install rpcsvc/*.
21077 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21078 instead of <rpc/types.h>.
21079 (MAXHOSTNAMELEN): Define.
21080
00ee369c
AS
210812011-05-03 Andreas Schwab <schwab@redhat.com>
21082
21083 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21084
0b592a30
MB
210852011-04-28 Maciej Babinski <mbabinski@google.com>
21086
21087 [BZ #12714]
21088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21089 gethostbyname4_r when IPv6 results are possible.
21090
6e04cbbe
UD
210912011-05-02 Ulrich Drepper <drepper@gmail.com>
21092
21093 [BZ #12723]
21094 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21095 _PC_PIPE_BUF handling.
21096
e4ecafe0
BH
210972011-04-30 Bruno Haible <bruno@clisp.org>
21098
21099 [BZ #12717]
21100 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21101 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21102 to 'int'.
21103 * inet/getnameinfo.c (getnameinfo): Likewise.
21104
125ee683
UD
211052011-04-29 Ulrich Drepper <drepper@gmail.com>
21106
21107 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21108 to groups setting in database lookup.
21109 * nss/nsswitch.conf: Add initgroups entry.
21110
b722481a
EB
211112011-04-22 Ulrich Drepper <drepper@gmail.com>
21112
21113 [BZ #12685]
21114 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21115 mode string.
21116 Patch by Eric Blake <eblake@redhat.com>.
21117
4df46dbd
L
211182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21119
21120 * sunrpc/Makefile (need-export-routines): Add svc_run.
21121 (routines): Remove svc_run.
21122 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21123 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21124 * sunrpc/svc_run.c (svc_run): Likewise.
21125 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21126
e84142d2
UD
211272011-04-21 Ulrich Drepper <drepper@gmail.com>
21128
21129 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21130 problem in reallocation in last patch.
21131
877175d8
UD
211322011-04-20 Ulrich Drepper <drepper@gmail.com>
21133
21134 * sunrpc/Makefile: Move inclusion of Rules.
21135
ab8eed78
UD
211362011-04-19 Ulrich Drepper <drepper@gmail.com>
21137
21138 * nss/nss_files/files-initgroups.c: New file.
21139 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21140 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21141 _nss_files_initgroups_dyn.
21142
e3d8f584
RS
211432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21144
21145 * elf/elf.h (R_ARM_IRELATIVE): Define.
21146
af190f45
UD
211472011-04-19 Ulrich Drepper <drepper@gmail.com>
21148
21149 * po/ru.po: Update from translation team.
21150
53cf59ef
UD
211512011-04-17 Ulrich Drepper <drepper@gmail.com>
21152
21153 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21154 dependencies.
21155
4c559bcd
MF
211562011-02-06 Mike Frysinger <vapier@gentoo.org>
21157
21158 [BZ #12653]
21159 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21160 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21161 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21162 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21164
4420675c
AS
211652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21166
21167 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21168 differing bytes.
21169 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21170 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21172
75ea32ab
UD
211732011-04-17 Ulrich Drepper <drepper@gmail.com>
21174
21175 [BZ #12420]
21176 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21177 storing it.
21178 * stdlib/bug-getcontext.c: New file.
21179 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21180
27390476
AK
211812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21182
21183 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21184 instructions into .machine "z9-109".
21185 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21186 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21187
10442705
AK
211882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21189
21190 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21191 between environment variables and auxiliary vector.
21192
7b57bfe5
UD
211932011-04-16 Ulrich Drepper <drepper@gmail.com>
21194
21195 * Makefile: Add rules to build linkobj/libc.so.
21196 * include/libc-symbols.h: Define libc_hidden_nolink.
21197 * include/rpc/auth.h: Mark functions which are to be hidden.
21198 * include/rpc/auth_des.h: Likewise.
21199 * include/rpc/auth_unix.h: Likewise.
21200 * include/rpc/clnt.h: Likewise.
21201 * include/rpc/des_crypt.h: Likewise.
21202 * include/rpc/key_prot.h: Likewise.
21203 * include/rpc/pmap_clnt.h: Likewise.
21204 * include/rpc/pmap_prot.h: Likewise.
21205 * include/rpc/pmap_rmt.h: Likewise.
21206 * include/rpc/rpc_msg.h: Likewise.
21207 * include/rpc/svc.h: Likewise.
21208 * include/rpc/svc_auth.h: Likewise.
21209 * include/rpc/xdr.h: Likewise.
21210 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21211 * nss/Makefile: Likewise.
21212 * sunrpc/Makefile: Don't install headers. Build library with normal
21213 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21214 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21215 for the compat linking library. Remove use of INTDEF/INTUSE.
21216 * sunrpc/auth_none.c: Likewise.
21217 * sunrpc/auth_unix.c: Likewise.
21218 * sunrpc/authdes_prot.c: Likewise.
21219 * sunrpc/authuxprot.c: Likewise.
21220 * sunrpc/clnt_gen.c: Likewise.
21221 * sunrpc/clnt_perr.c: Likewise.
21222 * sunrpc/clnt_raw.c: Likewise.
21223 * sunrpc/clnt_simp.c: Likewise.
21224 * sunrpc/clnt_tcp.c: Likewise.
21225 * sunrpc/clnt_udp.c: Likewise.
21226 * sunrpc/clnt_unix.c: Likewise.
21227 * sunrpc/des_crypt.c: Likewise.
21228 * sunrpc/des_soft.c: Likewise.
21229 * sunrpc/get_myaddr.c: Likewise.
21230 * sunrpc/key_call.c: Likewise.
21231 * sunrpc/key_prot.c: Likewise.
21232 * sunrpc/netname.c: Likewise.
21233 * sunrpc/pm_getmaps.c: Likewise.
21234 * sunrpc/pm_getport.c: Likewise.
21235 * sunrpc/pmap_clnt.c: Likewise.
21236 * sunrpc/pmap_prot.c: Likewise.
21237 * sunrpc/pmap_prot2.c: Likewise.
21238 * sunrpc/pmap_rmt.c: Likewise.
21239 * sunrpc/publickey.c: Likewise.
21240 * sunrpc/rpc_cmsg.c: Likewise.
21241 * sunrpc/rpc_common.c: Likewise.
21242 * sunrpc/rpc_dtable.c: Likewise.
21243 * sunrpc/rpc_prot.c: Likewise.
21244 * sunrpc/rpc_thread.c: Likewise.
21245 * sunrpc/rtime.c: Likewise.
21246 * sunrpc/svc.c: Likewise.
21247 * sunrpc/svc_auth.c: Likewise.
21248 * sunrpc/svc_authux.c: Likewise.
21249 * sunrpc/svc_raw.c: Likewise.
21250 * sunrpc/svc_run.c: Likewise.
21251 * sunrpc/svc_simple.c: Likewise.
21252 * sunrpc/svc_tcp.c: Likewise.
21253 * sunrpc/svc_udp.c: Likewise.
21254 * sunrpc/svc_unix.c: Likewise.
21255 * sunrpc/svcauth_des.c: Likewise.
21256 * sunrpc/xcrypt.c: Likewise.
21257 * sunrpc/xdr.c: Likewise.
21258 * sunrpc/xdr_array.c: Likewise.
21259 * sunrpc/xdr_float.c: Likewise.
21260 * sunrpc/xdr_intXX_t.c: Likewise.
21261 * sunrpc/xdr_mem.c: Likewise.
21262 * sunrpc/xdr_rec.c: Likewise.
21263 * sunrpc/xdr_ref.c: Likewise.
21264 * sunrpc/xdr_sizeof.c: Likewise.
21265 * sunrpc/xdr_stdio.c: Likewise.
21266
e6c61494
UD
212672011-04-10 Ulrich Drepper <drepper@gmail.com>
21268
21269 [BZ #12650]
21270 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21271 * sysdeps/ia64/dl-tls.h: Likewise.
21272 * sysdeps/powerpc/dl-tls.h: Likewise.
21273 * sysdeps/s390/dl-tls.h: Likewise.
21274 * sysdeps/sh/dl-tls.h: Likewise.
21275 * sysdeps/sparc/dl-tls.h: Likewise.
21276 * sysdeps/x86_64/dl-tls.h: Likewise.
21277 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21278
34fe483e
AS
212792011-03-14 Andreas Schwab <schwab@redhat.com>
21280
21281 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21282 rpath element also skip the following colon.
21283 (expand_dynamic_string_token): Add is_path parameter and pass
21284 down to DL_DST_REQUIRED and _dl_dst_substitute.
21285 (decompose_rpath): Call expand_dynamic_string_token with
21286 non-zero is_path. Ignore empty rpaths.
21287 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21288 with zero is_path.
21289
f12a32e6
AS
212902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21291
21292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21293 Make cancelable.
21294
38a7d692
UD
212952011-04-09 Ulrich Drepper <drepper@gmail.com>
21296
21297 [BZ #12655]
21298 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21299 Patch by Filipe David Manana <fdmanana@apache.org>.
21300
e451d22b
AS
213012011-04-07 Andreas Schwab <schwab@redhat.com>
21302
21303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21304 Maintain aligned stack.
21305 (CHECK_RSP): Remove unused macro.
21306
dedc7c7b
UD
213072011-04-03 Ulrich Drepper <drepper@gmail.com>
21308
21309 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21310 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21311
94521213
UD
213122011-04-02 Ulrich Drepper <drepper@gmail.com>
21313
21314 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21315
8cb700c0 21316 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21317
0354e355
L
213182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21319
21320 [BZ #12518]
21321 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21322 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21323 * sysdeps/x86_64/memmove.c: New file.
21324 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21325 (memcpy): Renamed to ...
21326 (__new_memcpy): This.
21327 (memcpy): Provide GLIBC_2_14 memcpy.
21328 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21329 (memcpy): Provide GLIBC_2_2_5 memcpy.
21330
8593482f
UD
213312011-04-01 Ulrich Drepper <drepper@gmail.com>
21332
21333 [BZ #12631]
21334 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21335
81a5726b
AS
213362011-03-30 Andreas Schwab <schwab@redhat.com>
21337
21338 * misc/syncfs.c: New file.
21339 * misc/Makefile (routines): Add syncfs.
21340 * posix/unistd.h: Declare syncfs.
21341 * sysdeps/unix/syscalls.list: Add syncfs.
21342
00e5419f
AS
213432011-04-01 Andreas Schwab <schwab@redhat.com>
21344
21345 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21346 open_by_handle_at.
21347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21352 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21354
748876bf
UD
213552011-04-01 Ulrich Drepper <drepper@gmail.com>
21356
658e451d
UD
21357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21358 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21364
748876bf
UD
21365 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21366 sync_file_range.c with -fexceptions.
21367 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21368 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21369 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21370 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21371 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21372 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21374 sync_file_range as cancellation point
21375 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21376 now a wrapper around __call_sync_file_range with cancellation handling.
21377 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21378 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21379 function name to __call_sync_file_range.
21380 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21381 Add call_sync_file_range.
748876bf 21382
6e63d5e1
AS
213832011-04-01 Andreas Schwab <schwab@redhat.com>
21384
21385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21386 bits/timex.h.
6e63d5e1 21387
46998f74
UD
213882011-04-01 Ulrich Drepper <drepper@gmail.com>
21389
4c1423ed
UD
21390 * iconv/iconv.h: Fix typo in comment.
21391 * io/fcntl.h: Likewise.
21392 * libio/stdio.h: Likewise.
21393 * posix/spawn.h: Likewise.
21394 * posix/unistd.h: Likewise.
21395 * stdlib/stdlib.h: Likewise.
21396 * time/time.h: Likewise.
21397 * wcsmbs/wchar.h: Likewise.
21398
158648c0
UD
21399 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21400 open_by_handle): Add.
21401 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21402 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21403 Augment a few comments.
21404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21409 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21410 open_by_handle.
21411
46998f74
UD
21412 * io/fcntl.h (AT_EMPTY_PATH): Define.
21413
83fe108b
UD
214142011-03-30 Ulrich Drepper <drepper@gmail.com>
21415
21416 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21417 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21418 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21419 to...
21420 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21421 * Versions.def: Add GLIBC_2.14.
21422 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21423 Export.
83fe108b 21424
bb242059
UD
214252011-03-22 Ulrich Drepper <drepper@gmail.com>
21426
21427 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21428 round counter.
21429 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21430
c97a1282
L
214312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21432
21433 [BZ #12597]
21434 * string/test-strncmp.c (do_page_test): New function.
21435 (check2): Likewise.
21436 (test_main): Call check2.
21437 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21438
2a115601
UD
214392011-03-20 Ulrich Drepper <drepper@gmail.com>
21440
21441 [BZ #12587]
21442 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21443 Handle cache information in CPU leaf 4.
21444 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21445
8126d904
UD
214462011-03-18 Ulrich Drepper <drepper@gmail.com>
21447
042c49c6 21448 [BZ #12583]
8126d904
UD
21449 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21450 character representation.
21451 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21452
ccfe366e
RA
214532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21454
21455 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21456 END(__isnan) to END(__isnanf) to match function entry point/label
21457 EALIGN(__isnanf,...).
21458
c6e13027
JJ
214592011-03-10 Jakub Jelinek <jakub@redhat.com>
21460
21461 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21462
33f85a3f
UD
214632011-03-10 Ulrich Drepper <drepper@gmail.com>
21464
028478fa
UD
21465 [BZ #12510]
21466 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21467 copy from the symbol referenced in the relocation to initialize the
21468 used variable.
21469 Patch by Piotr Bury <pbury@goahead.com>.
21470 * elf/Makefile: Add rules to build and tst-unique3.
21471 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21472 * elf/tst-unique3.cc: New file.
21473 * elf/tst-unique3.h: New file.
21474 * elf/tst-unique3lib.cc: New file.
21475 * elf/tst-unique3lib2.cc: New file.
21476
33f85a3f
UD
21477 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21478
03592fc7
MF
214792011-03-10 Mike Frysinger <vapier@gentoo.org>
21480
21481 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21482 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21483 to _start.
03592fc7 21484
6a5ee102
UD
214852011-03-06 Ulrich Drepper <drepper@gmail.com>
21486
21487 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21488 to-be-loaded object along a path to loader is ld.so.
21489
7e4ba49c
HJ
214902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21491 Ulrich Drepper <drepper@gmail.com>
21492
21493 * sysdeps/x86_64/memset.S: After aligning destination, code
21494 branches to different locations depending on the value of
21495 misalignment, when multiarch is enabled. Fix this.
21496
214972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21498
21499 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21500 Set _x86_64_preferred_memory_instruction for AMD processsors.
21501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21502 Set bit_Prefer_SSE_for_memop for AMD processors.
21503
13a804de
UD
215042011-03-04 Ulrich Drepper <drepper@gmail.com>
21505
21506 * libio/fmemopen.c (fmemopen): Optimize a bit.
21507
9d25c392
AS
215082011-03-03 Andreas Schwab <schwab@redhat.com>
21509
21510 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21511
a5543c6a
RM
215122011-03-03 Roland McGrath <roland@redhat.com>
21513
21514 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21515
012d35f7
DM
215162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21517
7e4ba49c 21518 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21519 __bzero_ultra1 instead of __memset_ultra1.
21520
4bff6e01
AS
215212011-02-23 Andreas Schwab <schwab@redhat.com>
21522 Ulrich Drepper <drepper@gmail.com>
21523
21524 [BZ #12509]
21525 * include/link.h (struct link_map): Add l_orig_initfini.
21526 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21527 returning unsuccessfully.
21528 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21529 close of a file loaded at startup, restore the original l_initfini
21530 list.
21531 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21532 list, store the pointer.
21533 * elf/Makefile ($(objpfx)noload-mem): New rule.
21534 (noload-ENV): Define.
21535 (tests): Add $(objpfx)noload-mem.
21536 * elf/noload.c: Include <memcheck.h>.
21537 (main): Call mtrace. Close all opened handles.
21538
f2092faf
AS
215392011-02-17 Andreas Schwab <schwab@redhat.com>
21540
21541 [BZ #12454]
21542 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21543 dependencies are missing.
21544
6c8a2e88
ST
215452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21546
f2092faf 21547 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21548 Hurd needs munmap.
21549 * sysdeps/mach/hurd/ifreq.h: New file.
21550
84a42118
PB
215512011-01-27 Petr Baudis <pasky@suse.cz>
21552 Ulrich Drepper <drepper@gmail.com>
21553
071f805e 21554 [BZ 12445]#
84a42118
PB
21555 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21556 to extend_alloca().
21557 * stdio-common/bug23.c: New file.
21558 * stdio-common/Makefile (tests): Add bug23.
21559
e23fe25b
AS
215602010-09-28 Andreas Schwab <schwab@redhat.com>
21561 Ulrich Drepper <drepper@gmail.com>
21562
21563 [BZ #12489]
21564 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21565 before performing relro protection. At old place add assertion
21566 to make sure nothing changed.
21567
d3f02e10
NS
215682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21569 Glauber de Oliveira Costa <glommer@gmail.com>
21570
21571 * elf/elf.h: Add new ARM TLS relocs.
21572
d55fd7a5
RA
215732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21574
21575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21576 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21577 cast from r3.
21578 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21579 'tests' variable.
21580 * sysdeps/wordsize-64/tst-writev.c: New file.
21581
2206397e
RA
215822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21583
21584 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21585 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21586 insns in _dl_start to prevent a TOC reference before relocs are
21587 resolved.
21588
e9433893
UD
215892011-02-15 Ulrich Drepper <drepper@gmail.com>
21590
21591 [BZ #12469]
21592 * Makeconfig: Remove RANLIB definition.
21593 * Makerules: Don't use RANLIB.
21594 * aclocal.m4: Remove ranlib test.
21595 * configure.in: No need to check for ranlib.
21596 * elf/rtld-Rules: Don't use RANLIB.
21597
f75286c6
ST
215982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21599
8e31c82d
ST
21600 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21601 protection macro.
21602 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21603 inclusion protection macro.
21604
f75286c6
ST
21605 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21606 SIGRTMIN and SIGRTMAX and print information in that case only when
21607 SIGRTMIN is defined.
21608
c1d0e639
JJ
216092011-02-11 Jakub Jelinek <jakub@redhat.com>
21610
21611 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21612 arginfo fn returning -1.
21613
21614 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21615 and thousands string is zero terminated.
21616
edf9294e
AS
216172011-02-03 Andreas Schwab <schwab@redhat.com>
21618
21619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21620 sysdeps/unix/sysv/linux/bits/socket.h.
21621
2b7e92df
ST
216222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21623
edf9294e
AS
21624 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21625 (__CPU_COUNT): Remove old macros.
21626 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21627 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21628 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21629 (__sched_cpualloc, __sched_cpufree): Add declarations.
21630
a4c7ea7b
UD
216312011-02-05 Ulrich Drepper <drepper@gmail.com>
21632
21633 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21634 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21635 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21636 (readdhstai): Return value of addhstaiX call.
21637 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21638 (addgrbyX): Return value returned by cache_addgr.
21639 (readdgrbyname): Return value returned by addgrbyX.
21640 (readdgrbygid): Likewise.
21641 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21642 (addpwbyX): Return value returned by cache_addpw.
21643 (readdpwbyname): Return value returned by addhstbyX.
21644 (readdpwbyuid): Likewise.
21645 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21646 (addservbyX): Return value returned by cache_addserv.
21647 (readdservbyname): Return value returned by addservbyX:
21648 (readdservbyport): Likewise.
21649 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21650 (addhstbyX): Return value returned by cache_addhst.
21651 (readdhstbyname): Return value returned by addhstbyX.
21652 (readdhstbyaddr): Likewise.
21653 (readdhstbynamev6): Likewise.
21654 (readdhstbyaddrv6): Likewise.
21655 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21656 (readdinitgroups): Return value returned by addinitgroupsX.
21657 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21658 (prune_cache): Keep track of timeout value of re-added entries.
21659 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21660 * nscd/nscd.h: Adjust prototypes of readd* functions.
21661
a0bf67cc
RM
216622011-02-04 Roland McGrath <roland@redhat.com>
21663
21664 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21665 (nis_stats): Likewise.
21666 * nis/nis_modify.c (nis_modify): Likewise.
21667 * nis/nis_remove.c (nis_remove): Likewise.
21668 * nis/nis_add.c (nis_add): Likewise.
21669
21670 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21671
21672 * posix/fnmatch_loop.c: Add some consts.
21673
21674 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21675
435b95eb
L
216762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21677
21678 [BZ #12460]
21679 * config.make.in (config-cflags-novzeroupper): Define.
21680 * configure.in: Substitute libc_cv_cc_novzeroupper.
21681 * elf/Makefile (AVX-CFLAGS): Define.
21682 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21683 (CFLAGS-tst-auditmod4a.c): Likewise.
21684 (CFLAGS-tst-auditmod4b.c): Likewise.
21685 (CFLAGS-tst-auditmod6b.c): Likewise.
21686 (CFLAGS-tst-auditmod6c.c): Likewise.
21687 (CFLAGS-tst-auditmod7b.c): Likewise.
21688 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21689
8517b15e
UD
216902011-02-02 Ulrich Drepper <drepper@gmail.com>
21691
21692 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21693 function to the callback.
21694 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21695
10a656fe
AS
216962011-02-02 Andreas Schwab <schwab@redhat.com>
21697
21698 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21699 of errno.
21700
968dad0a
UD
217012011-01-19 Ulrich Drepper <drepper@gmail.com>
21702
9f94d2ea 21703 [BZ #11724]
968dad0a
UD
21704 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21705 of constructors.
21706 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21707 of destructors.
21708 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21709
21710 [BZ #11724]
21711 * elf/Makefile: Add rules to build and run new test.
21712 * elf/tst-initorder.c: New file.
21713 * elf/tst-initorder.exp: New file.
21714 * elf/tst-initordera1.c: New file.
21715 * elf/tst-initordera2.c: New file.
21716 * elf/tst-initordera3.c: New file.
21717 * elf/tst-initordera4.c: New file.
21718 * elf/tst-initorderb1.c: New file.
21719 * elf/tst-initorderb2.c: New file.
21720 * elf/tst-order-a1.c: New file.
21721 * elf/tst-order-a2.c: New file.
21722 * elf/tst-order-a3.c: New file.
21723 * elf/tst-order-a4.c: New file.
21724 * elf/tst-order-b1.c: New file.
21725 * elf/tst-order-b2.c: New file.
21726 * elf/tst-order-main.c: New file.
21727 New test case by George Gensure <werkt0@gmail.com>.
21728
86e92359
UD
217292010-10-01 Andreas Schwab <schwab@redhat.com>
21730
21731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21732 decoding ACE if AI_CANONIDN.
21733
5d5732b0
UD
217342011-01-18 Ulrich Drepper <drepper@gmail.com>
21735
21736 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21737
a77e8cbc
UD
217382011-01-17 Ulrich Drepper <drepper@gmail.com>
21739
6392473f
UD
21740 * version.h (RELEASE): Bump for 2.13 release.
21741 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21742
620a0529
UD
21743 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21744
18ba70a5
UD
21745 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21746 MADV_NOHUGEPAGE.
32465c3e
UD
21747 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21752 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21753
c0dafcf1
UD
21754 * posix/getconf.c: Update copyright year.
21755 * catgets/gencat.c: Likewise.
21756 * csu/version.c: Likewise.
21757 * debug/catchsegv.sh: Likewise.
21758 * debug/xtrace.sh: Likewise.
21759 * elf/ldconfig.c: Likewise.
21760 * elf/ldd.bash.in: Likewise.
21761 * elf/sprof.c (print_version): Likewise.
21762 * iconv/iconv_prog.c: Likewise.
21763 * iconv/iconvconfig.c: Likewise.
21764 * locale/programs/locale.c: Likewise.
21765 * locale/programs/localedef.c: Likewise.
21766 * malloc/memusage.sh: Likewise.
21767 * malloc/mtrace.pl: Likewise.
21768 * nscd/nscd.c (print_version): Likewise.
21769 * nss/getent.c: Likewise.
21770
a77e8cbc
UD
21771 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21772 PF_CAIF, and PF_ALG.
21773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21774
77e8bddf
AS
217752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21776
1f20b93a
AS
21777 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21778 (modules-names): Use them.
21779 (ifunc-test-modules, ifunc-pie-tests): Define.
21780 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21781 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21782 (test-extras): Likewise.
21783 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21784 $(compile-command.c).
21785 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21786 (all-built-dso): Define.
21787 (check-textrel.out, check-execstack.out): Depend on it.
21788
77e8bddf
AS
21789 * configure.in: Don't override --enable-multi-arch.
21790
bc425b33
UD
217912011-01-15 Ulrich Drepper <drepper@gmail.com>
21792
21793 [BZ #6812]
21794 * nscd/hstcache.c (tryagain): Define.
21795 (cache_addhst): Return tryagain not notfound for temporary errors.
21796 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21797 failed.
21798
794c3ad3
UD
217992011-01-14 Ulrich Drepper <drepper@gmail.com>
21800
70181fdd
UD
21801 [BZ #10563]
21802 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21803 to make the syscall.
21804 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21805
794c3ad3
UD
21806 [BZ #12378]
21807 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21808 and fall back to matching as normal character if the string ends before
21809 the matching ']' is found. This is what POSIX requires.
21810 * posix/testfnm.c: Adjust test result.
21811 * posix/globtest.sh: Adjust test result. Add new test.
21812 * posix/tst-fnmatch.input: Likewise.
21813 * posix/tst-fnmatch2.c: Add new test.
21814
68dc9497
AS
218152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21816
21817 * elf/Makefile (check-execstack): Revert last change. Depend on
21818 check-execstack.h.
21819 (check-execstack.h): New target.
21820 (generated): Add check-execstack.h.
21821 * elf/check-execstack.c: Include "check-execstack.h".
21822 (main): Revert last change.
21823 (handle_file): Return zero if GNU_STACK is absent and
21824 DEFAULT_STACK_PERMS doesn't include PF_X.
21825
451f001b
UD
218262011-01-13 Ulrich Drepper <drepper@gmail.com>
21827
cfa28e56
UD
21828 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21829 in child fails because the descriptor is already closed.
8cf8ce17
UD
21830 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21831 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21832 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21833
1086d70d
UD
21834 [BZ #12397]
21835 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21836 syscall.
21837
451f001b
UD
21838 [BZ #10484]
21839 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21840 temporary buffer used to handle multi lookups locally.
a85b5cb4 21841 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21842
08769175
UD
218432011-01-12 Ulrich Drepper <drepper@gmail.com>
21844
21845 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21846 loader is ld.so.
21847
5e49c52e
UD
218482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21849
21850 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21851 alignment for SSE2.
21852
60522a5f
UD
218532011-01-12 Ulrich Drepper <drepper@gmail.com>
21854
21855 [BZ #12394]
21856 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21857 characters. When rounding increased number of integer digits recompute
21858 number of groups.
21859 * stdio-common/tst-grouping.c: New file.
21860 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21861
f257bbd7
UD
218622011-01-09 Ulrich Drepper <drepper@gmail.com>
21863
21864 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21865 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21866
21867 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21868 void.
21869 * bits/select.h: Likewise.
21870
fa9c15cb
UD
218712011-01-08 Ulrich Drepper <drepper@gmail.com>
21872
21873 * po/ja.po: Update from translation team.
21874
16c2895f
DM
218752011-01-04 David S. Miller <davem@sunset.davemloft.net>
21876
21877 [BZ #11155]
21878 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21879 implementation just like for lxstat, fxstatat, et al.
21880
2543fef2
JM
218812010-12-27 Jim Meyering <meyering@redhat.com>
21882
21883 [BZ #12348]
21884 * posix/regexec.c (build_trtable): Return failure indication upon
21885 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21886
98727dbe
UD
218872010-12-25 Ulrich Drepper <drepper@gmail.com>
21888
5bd6dc5c
UD
21889 [BZ #12201]
21890 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21891 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21892 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21893 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21894
97983464
UD
21895 [BZ #12207]
21896 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21897
98727dbe
UD
21898 [BZ #12204]
21899 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21900 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21901
4a531bb0
L
219022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21903
21904 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21905 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21906 script has SORT_BY_INIT_PRIORITY.
21907 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21908 NO_CTORS_DTORS_SECTIONS is defined.
21909 * elf/soinit.c: Likewise.
21910 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21911 NO_CTORS_DTORS_SECTIONS is defined.
21912 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21913 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21914 * sysdeps/sh/init-first.c: Likewise.
21915 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21916
07eb4b71
UD
219172010-12-24 Ulrich Drepper <drepper@gmail.com>
21918
21919 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21920 always use the slow path.
21921
30950a5f
RA
219222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21923
21924 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21925 similar rule which adds the sysdep directories to the header search in
21926 order to pick up the correct platform stackinfo.h.
21927 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21928 perform test if it is, otherwise return successfully without testing.
21929 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21930 DEFAULT_STACK_PERMS define in stackinfo.h.
21931 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21932 defined in stackinfo.h.
21933 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21934 DEFAULT_STACK_PERMS defined in stackinfo.h.
21935 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21936 * sysdeps/ia64/stackinfo.h: Likewise.
21937 * sysdeps/s390/stackinfo.h: Likewise.
21938 * sysdeps/sh/stackinfo.h: Likewise.
21939 * sysdeps/sparc/stackinfo.h: Likewise.
21940 * sysdeps/x86_64/stackinfo.h: Likewise.
21941 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21942 PF_X for powerpc64. Retain PF_X for powerpc32.
21943
db753e2c
UD
219442010-12-19 Ulrich Drepper <drepper@gmail.com>
21945
14b697f7
UD
21946 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21947 accurately.
db753e2c
UD
21948 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21949 GETDENTS_64BIT_ALIGNED.
21950
28300719
UD
219512010-12-14 Ulrich Drepper <dreper@gmail.com>
21952
14b697f7 21953 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21954
4f197237
AS
219552010-12-10 Andreas Schwab <schwab@redhat.com>
21956
dbb0472f
AS
21957 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21958 _GNU_SOURCE.
21959
4f197237
AS
21960 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21961 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21962 Remove __restrict.
21963 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21964 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21965
fb88ac72
UD
219662010-12-09 Ulrich Drepper <drepper@gmail.com>
21967
21968 [BZ #11655]
21969 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21970 are initialized.
21971
42acbb92
JJ
219722010-12-09 Jakub Jelinek <jakub@redhat.com>
21973
21974 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21975
c038d98d
UD
219762010-12-03 Ulrich Drepper <drepper@gmail.com>
21977
21978 * po/it.po: Update from translation team.
21979
3a4a2499
L
219802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21981
21982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21983 unused codes.
21984
1e24cf6e
UD
219852010-11-30 Ulrich Drepper <drepper@gmail.com>
21986
21987 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21988
a7690819
AS
219892010-11-24 Andreas Schwab <schwab@redhat.com>
21990
21991 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21992 specially.
21993 (gaih_getanswer_slice): Likewise.
21994
3bf8d1b1
JJ
219952010-10-20 Jakub Jelinek <jakub@redhat.com>
21996
21997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21998
6db52fbb
PB
219992010-05-31 Petr Baudis <pasky@suse.cz>
22000
22001 [BZ #11149]
22002 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22003 silently even in the chroot mode.
22004
eaca7569
UD
220052010-11-22 Ulrich Drepper <drepper@gmail.com>
22006
22007 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22008 last patch a bit. Pretty printing
22009
3056dcdb
UD
220102010-05-31 Petr Baudis <pasky@suse.cz>
22011
22012 [BZ #10085]
22013 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22014 initialization of skip_initgroups_dyn.
22015
cf7c9078
UD
220162010-11-19 Ulrich Drepper <drepper@gmail.com>
22017
22018 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22019 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22020
a1fb5e3e
UD
220212010-11-16 Ulrich Drepper <drepper@gmail.com>
22022
22023 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22024
3540d66b
AS
220252010-11-11 Andreas Schwab <schwab@redhat.com>
22026
22027 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22028 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22029 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22030 ($(objpfx)tst-fnmatch-mem): New rule.
22031 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22032 * posix/tst-fnmatch.c (main): Call mtrace.
22033
13b69574
L
220342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22035
22036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22037 Support Intel processor model 6 and model 0x2c.
22038
da93d214
LM
220392010-11-10 Luis Machado <luisgpm@br.ibm.com>
22040
22041 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22042 signed comparison.
22043
8ca52c6e
L
220442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22045
22046 [BZ #12205]
22047 * string/test-strncasecmp.c (check_result): New function.
22048 (do_one_test): Use it.
22049 (check1): New function.
22050 (test_main): Use it.
22051 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22052 Support strcasecmp and strncasecmp.
22053
69da074d
UD
220542010-11-08 Ulrich Drepper <drepper@gmail.com>
22055
22056 [BZ #12194]
22057 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22058 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22059
ff02d528
L
220602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22061
22062 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22063 IFUNC support.
22064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22065 memset-x86-64.
22066 * sysdeps/x86_64/multiarch/bzero.S: New file.
22067 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22068 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22069 * sysdeps/x86_64/multiarch/memset.S: New file.
22070 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22072 Set bit_Prefer_SSE_for_memop for Intel processors.
22073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22074 Define.
22075 (index_Prefer_SSE_for_memop): Define.
22076 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22077
344d0b54
LM
220782010-11-04 Luis Machado <luisgpm@br.ibm.com>
22079
22080 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22081 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22082
c0dde15b
UD
220832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22084
22085 [BZ #12191]
22086 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22087 (__x86_64_raw_data_cache_size_half): Likewise.
22088 (__x86_64_raw_shared_cache_size): Likewise.
22089 (__x86_64_raw_shared_cache_size_half): Likewise.
22090
22091 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22092 (__x86_64_raw_data_cache_size_half): Likewise.
22093 (__x86_64_raw_shared_cache_size): Likewise.
22094 (__x86_64_raw_shared_cache_size_half): Likewise.
22095 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22096 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22097 and __x86_64_raw_shared_cache_size_half. Round
22098 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22099 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22100 to multiple of 256 bytes.
22101
0e516e0e
MS
221022010-11-03 Ulrich Drepper <drepper@gmail.com>
22103
22104 [BZ #12167]
22105 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22106 of inacessible symlinks. Verify result of symlink before returning it.
22107 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22108 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22109
0e012e87
ER
221102010-10-28 Erich Ritz <erichritz@gmail.com>
22111
22112 * math/math.h (isinf): Fix typo in comment.
22113
de0ff7bc
UD
221142010-11-01 Ulrich Drepper <drepper@gmail.com>
22115
22116 * po/da.po: Update from translation team.
22117
fa41c84d
UD
221182010-10-26 Ulrich Drepper <drepper@gmail.com>
22119
22120 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22121 is added to the list.
22122
f0967738
AK
221232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22124 Ulrich Drepper <drepper@gmail.com>
22125
22126 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22127 the global list here. Move code to...
22128 (_dl_add_to_namespace_list): ...here. New function.
22129 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22130 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22131 * elf/dl-load.c (lose): Don't remove the element from the list.
22132 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22133 (_dl_map_object): Likewise.
22134
221352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22136
22137 [BZ #12159]
22138 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22139 into all bytes of SSE register.
22140 Patch by Richard Li <richardpku@gmail.com>.
22141
f0967738 221422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22143
22144 [BZ #12140]
22145 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22146 perturbing.
22147
d0b9e94f
MB
221482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22149
22150 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22151 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22152 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22153 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22155 submachine.
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22157
8e9f92e9
AS
221582010-10-22 Andreas Schwab <schwab@redhat.com>
22159
22160 * include/dlfcn.h (__RTLD_SECURE): Define.
22161 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22162 mode & __RTLD_SECURE instead.
22163 (open_path): Rename preloaded parameter to secure.
22164 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22165 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22166 * elf/dl-deps.c (openaux): Likewise.
22167 * elf/rtld.c (struct map_args): Remove is_preloaded.
22168 (map_doit): Don't use it.
22169 (dl_main): Likewise.
22170 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22171 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22172
bc96fbda
AS
221732010-09-09 Andreas Schwab <schwab@redhat.com>
22174
22175 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22176 (sysd-rules-targets): Remove duplicates.
22177 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22178 rtld-%.$o dependency.
22179
22cd1c9b
AS
221802010-10-18 Andreas Schwab <schwab@redhat.com>
22181
22182 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22183 _dl_map_object do it.
22184
18edac48
UD
221852010-10-19 Ulrich Drepper <drepper@gmail.com>
22186
22187 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22188 fast fma builtins, define the macros in the C99 standard.
22189 (FP_FAST_FMAF): Likewise.
22190 (FP_FAST_FMAL): Likewise.
22191 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22192
22193 * bits/mathdef.h: Update copyright year.
22194 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22195
d2050124
MM
221962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22197
22198 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22199 builtins, define the macros in the C99 standard.
22200 (FP_FAST_FMAF): Likewise.
22201 (FP_FAST_FMAL): Likewise.
22202 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22203 multiply/add.
22204 (FP_FAST_FMAF): Likewise.
22205
475facd1
JJ
222062010-10-15 Jakub Jelinek <jakub@redhat.com>
22207
22208 [BZ #3268]
22209 * math/libm-test.inc (fma_test): Some new testcases.
22210 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22211 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22212 y and infinite z. Do multiplication by C already in long double.
22213 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22215 y and infinite z. Do bitwise or of inexact bit into u.d.
22216 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22217 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22218 * sysdeps/i386/fpu/s_fma.S: Removed.
22219 * sysdeps/i386/fpu/s_fmal.S: Removed.
22220
7c08a05c
JJ
222212010-10-16 Jakub Jelinek <jakub@redhat.com>
22222
22223 [BZ #3268]
22224 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22226 computation is not scheduled after fetestexcept. Fix value
22227 of minimum denormal long double.
22228
f3f7372d
JJ
222292010-10-14 Jakub Jelinek <jakub@redhat.com>
22230
22231 [BZ #3268]
22232 * math/libm-test.inc (fma_test): Add some more tests.
22233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22234 correctly.
22235
14d43591
AS
222362010-10-15 Andreas Schwab <schwab@redhat.com>
22237
22238 * scripts/data/localplt-s390-linux-gnu.data: New file.
22239 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22240
5e908464
JJ
222412010-10-13 Jakub Jelinek <jakub@redhat.com>
22242
22243 [BZ #3268]
22244 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22245 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22246 instead of dbl-64.
22247 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22248 inlines.
22249 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22251 if one of x and y is very large and the other is subnormal.
22252 * sysdeps/s390/fpu/s_fmaf.c: New file.
22253 * sysdeps/s390/fpu/s_fma.c: New file.
22254 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22255 * sysdeps/powerpc/fpu/s_fma.S: New file.
22256 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22257 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22258 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22259
222602010-10-12 Jakub Jelinek <jakub@redhat.com>
22261
22262 [BZ #3268]
22263 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22264 fma tests.
22265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22266 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22267 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22268 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22269 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22270 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22271 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22272
b833d51f
UD
222732010-10-12 Ulrich Drepper <drepper@redhat.com>
22274
22275 [BZ #12078]
22276 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22277 * posix/bug-regex31.input: Add test case.
22278
1751705d
UD
222792010-10-11 Ulrich Drepper <drepper@gmail.com>
22280
e9b9cbf5
UD
22281 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22282 * posix/bug-regex31.input: New file.
22283
22284 [BZ #12078]
22285 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22286 (parse_sub_exp): Fix last change, use postorder.
22287
ef06edbe
UD
22288 * posix/bug-regex31.c: New file.
22289 * posix/Makefile: Add rules to build and run bug-regex31.
22290
a129c80d
UD
22291 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22292
22293 [BZ #12078]
22294 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22295
b76b818e
UD
22296 [BZ #12108]
22297 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22298 to have entries in sys_siglist.
22299
1751705d
UD
22300 [BZ #12093]
22301 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22302 be NULL.
22303
9ff8d36f
JJ
223042010-10-07 Jakub Jelinek <jakub@redhat.com>
22305
22306 [BZ #3268]
22307 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22308 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22309 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22310 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22311 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22312 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22313 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22314 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22315 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22316 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22317 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22318 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22319 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22320 * math/ftestexcept.c (fetestexcept): Likewise.
22321 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22322 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22323 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22324 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22325 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22326 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22327 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22328
af325969
UD
223292010-10-11 Ulrich Drepper <drepper@gmail.com>
22330
c579b202 22331 [BZ #12107]
af325969
UD
22332 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22333 newline.
22334
67a67b95
UD
223352010-10-06 Ulrich Drepper <drepper@gmail.com>
22336
22337 * string/bug-strstr1.c: New file.
22338 * string/Makefile: Add rules to build and run bug-strstr1.
22339
5fb308bc
EB
223402010-10-05 Eric Blake <eblake@redhat.com>
22341
22342 [BZ #12092]
22343 * string/str-two-way.h (two_way_long_needle): Always clear memory
22344 when skipping input due to the shift table.
22345
45db99c7
UD
223462010-10-03 Ulrich Drepper <drepper@gmail.com>
22347
3b111893
UD
22348 [BZ #12005]
22349 * malloc/mcheck.c: Handle large requests.
22350
45db99c7
UD
22351 [BZ #12077]
22352 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22353 for strncmp and strncasecmp.
22354 * string/stratcliff.c: Add tests for strcmp and strncmp.
22355 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22356
cf7a1eb8
NI
223572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22358
22359 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22360 __set_fpscr.
22361
6484ba5e
AJ
223622010-09-30 Andreas Jaeger <aj@suse.de>
22363
22364 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22365 (CGROUP_SUPER_MAGIC): Define.
22366 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22367 Handle btrfs and cgroup file systems.
22368 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22369 Likewise.
22370
91c42559
LM
223712010-09-27 Luis Machado <luisgpm@br.ibm.com>
22372
22373 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22374 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22375
87a97932
AK
223762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22377
22378 [BZ #12067]
22379 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22380 trying to locate the ELF header.
22381
c21cc9bc
AS
223822010-09-27 Andreas Schwab <schwab@redhat.com>
22383
22384 [BZ #11611]
22385 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22386 Mask out sign-bit copies when constructing f_fsid.
22387
315970f6
PB
223882010-09-24 Petr Baudis <pasky@suse.cz>
22389
22390 * debug/stack_chk_fail_local.c: Add missing licence exception.
22391 * debug/warning-nop.c: Likewise.
22392
1ac7a2c7
JM
223932010-09-15 Joseph Myers <joseph@codesourcery.com>
22394
22395 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22396 implementing getdents64 using getdents syscall, set d_type if
22397 __ASSUME_GETDENTS32_D_TYPE.
22398
56801c50
AS
223992010-09-16 Andreas Schwab <schwab@redhat.com>
22400
22401 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22402 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22403
dda51327
UD
224042010-09-21 Ulrich Drepper <drepper@redhat.com>
22405
22406 [BZ #12037]
22407 * posix/unistd.h: Undo change of feature selection for ftruncate from
22408 2010-01-11.
22409
8ffcee4a
UD
224102010-09-20 Ulrich Drepper <drepper@redhat.com>
22411
a545ecd9 22412 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22413 detection.
22414
e24f0a8b
AS
224152010-09-20 Andreas Schwab <schwab@redhat.com>
22416
22417 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22418 fanotify_mark.
22419 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22420
7291c56f
AS
224212010-09-14 Andreas Schwab <schwab@redhat.com>
22422
22423 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22424 variables after CHECK_SP call.
22425 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22426
bc5fb037
AS
224272010-09-13 Andreas Schwab <schwab@redhat.com>
22428 Ulrich Drepper <drepper@redhat.com>
22429
22430 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22431 re-relocationg ld.so.
22432 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22433 _dl_init_paths call.
22434 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22435 here anymore.
22436
e66e7419
UD
224372010-09-14 Ulrich Drepper <drepper@redhat.com>
22438
22439 * resolv/res_init.c (__res_vinit): Count the default server we added.
22440
c044aa75
CLT
224412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22442 Ulrich Drepper <drepper@redhat.com>
22443
22444 [BZ #11968]
22445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22446 (____longjmp_chk): Use %ebx for saving value across system call.
22447 Add unwind info.
22448
32cf4069
AS
224492010-09-06 Andreas Schwab <schwab@redhat.com>
22450
22451 * manual/Makefile: Don't mix pattern rules with normal rules.
22452
817328ee
AS
224532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22454
22455 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22456 operation.
22457 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22458 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22459 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22460 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22461 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22462 Likewise.
22463
29fddf61
UD
224642010-09-04 Ulrich Drepper <drepper@redhat.com>
22465
22466 [BZ #11979]
22467 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22468 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22469
0959ffc9
UD
224702010-09-02 Ulrich Drepper <drepper@redhat.com>
22471
22472 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22473 * sysdeps/x86_64/addmul_1.S: Likewise.
22474 * sysdeps/x86_64/lshift.S: Likewise.
22475 * sysdeps/x86_64/mul_1.S: Likewise.
22476 * sysdeps/x86_64/rshift.S: Likewise.
22477 * sysdeps/x86_64/sub_n.S: Likewise.
22478 * sysdeps/x86_64/submul_1.S: Likewise.
22479
ece29840
ST
224802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22481
0959ffc9
UD
22482 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22483 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22484 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22485 * bits/sched.h [__need_schedparam]
ece29840 22486 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22487 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22488 (__defined_schedparam): Define to 1.
ece29840
ST
22489 (__sched_param): New structure, identical to sched_param.
22490 (__need_schedparam): Undefine.
22491
e53a31fe
MF
224922010-08-31 Mike Frysinger <vapier@gentoo.org>
22493
fdc0c10d
MF
22494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22495 (epoll_create1): Declare.
22496
e53a31fe
MF
22497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22498
a726d796
AS
224992010-08-31 Andreas Schwab <schwab@redhat.com>
22500
22501 [BZ #7066]
22502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22503 shifting retval into place.
22504
2f3e3dc7
UD
225052010-09-01 Ulrich Drepper <drepper@redhat.com>
22506
f2933da9
UD
22507 * nis/rpcsvc/nis.h: Update copyright notice.
22508 * nis/rpcsvc/nis.x: Likewise.
22509 * nis/rpcsvc/nis_callback.h: Likewise.
22510 * nis/rpcsvc/nis_callback.x: Likewise.
22511 * nis/rpcsvc/nis_object.x: Likewise.
22512 * nis/rpcsvc/nis_tags.h: Likewise.
22513 * nis/rpcsvc/yp.h: Likewise.
22514 * nis/rpcsvc/yp.x: Likewise.
22515 * nis/rpcsvc/ypupd.h: Likewise.
22516 * nis/yp_xdr.c: Likewise.
22517 * nis/ypupdate_xdr.c: Likewise.
22518
2f3e3dc7
UD
22519 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22520 mainly the body of pmap_getport. Add parameters to specify timeouts.
22521 (pmap_getport): Use __libc_rpc_getport.
22522 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22523 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22524 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22525
f3dcc2f9
AS
225262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22527
22528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22529 fanotify_mark.
22530
6d34eb5b
RM
225312010-08-27 Roland McGrath <roland@redhat.com>
22532
22533 * sysdeps/i386/i686/multiarch/Makefile
22534 (CFLAGS-varshift.c): New variable.
22535
9ea3de11
UD
225362010-08-27 Ulrich Drepper <drepper@redhat.com>
22537
c96d23fc
UD
22538 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22539 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22540
9ea3de11
UD
22541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22542
22543 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22544
623aac7f
L
225452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22546
22547 * sysdeps/x86_64/strlen.S: Unroll the loop.
22548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22549 strlen-sse2 strlen-sse2-bsf.
22550 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22551 __strlen_no_bsf if bit_Slow_BSF is set.
22552 (__strlen_sse42): Removed.
22553 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22554 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22555
8b2b7715
RM
225562010-08-25 Roland McGrath <roland@redhat.com>
22557
22558 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22559 * sysdeps/x86_64/multiarch/varshift.c: New file.
22560 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22561 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22562 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22563 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22564
e73015f2
L
225652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22566
22567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22568 strlen-sse2 strlen-sse2-bsf.
22569 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22570 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22571 (__strlen_sse2): Removed.
22572 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22575 bit_Slow_BSF for Atom.
22576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22577 (index_Slow_BSF): Define.
22578 (HAS_SLOW_BSF): Define.
22579
df24a73e
UD
225802010-08-25 Ulrich Drepper <drepper@redhat.com>
22581
22582 [BZ #10851]
22583 * resolv/res_init.c (__res_vinit): When no server address at all
22584 is given default to loopback.
22585
f2ac4868
RM
225862010-08-24 Roland McGrath <roland@redhat.com>
22587
09055553
RM
22588 * configure.in: Remove config-name.h generation.
22589 * configure: Regenerated.
22590 * config-name.in: File removed.
22591 * scripts/config-uname.sh: New file.
22592 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22593 ($(objdir)config-name.h): New target.
22594
f2ac4868
RM
22595 * sunrpc/rpc_parse.h: Avoid nested comment.
22596
73f27d5e
RH
225972010-08-24 Richard Henderson <rth@redhat.com>
22598 Ulrich Drepper <drepper@redhat.com>
22599 H.J. Lu <hongjiu.lu@intel.com>
22600
22601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22603 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22604 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22605 _mm_alignr_epi8 with _mm_loadu_si128.
22606 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22607 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22608 (__m128i_shift_right): Removed.
22609 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22610 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22611 * sysdeps/x86_64/multiarch/varshift.h: New file.
22612 * sysdeps/x86_64/multiarch/varshift.S: New file.
22613
84b9230c
MF
226142010-08-21 Mike Frysinger <vapier@gentoo.org>
22615
22616 * configure.in: Move assembler checks to before sysdep dir checking.
22617
9bbd0ddc
PB
226182010-08-20 Petr Baudis <pasky@suse.cz>
22619
22620 * LICENSES: Sync the sunrpc license.
22621
9da4bb31
UD
226222010-08-19 Ulrich Drepper <drepper@redhat.com>
22623
a7ab6ec8
UD
22624 * sunrpc/auth_des.c: Update copyright notice once again.
22625 * sunrpc/auth_none.c: Likewise.
22626 * sunrpc/auth_unix.c: Likewise.
22627 * sunrpc/authdes_prot.c: Likewise.
22628 * sunrpc/authuxprot.c: Likewise.
22629 * sunrpc/bindrsvprt.c: Likewise.
22630 * sunrpc/clnt_gen.c: Likewise.
22631 * sunrpc/clnt_perr.c: Likewise.
22632 * sunrpc/clnt_raw.c: Likewise.
22633 * sunrpc/clnt_simp.c: Likewise.
22634 * sunrpc/clnt_tcp.c: Likewise.
22635 * sunrpc/clnt_udp.c: Likewise.
22636 * sunrpc/clnt_unix.c: Likewise.
22637 * sunrpc/des_crypt.c: Likewise.
22638 * sunrpc/des_soft.c: Likewise.
22639 * sunrpc/get_myaddr.c: Likewise.
22640 * sunrpc/getrpcport.c: Likewise.
22641 * sunrpc/key_call.c: Likewise.
22642 * sunrpc/key_prot.c: Likewise.
22643 * sunrpc/openchild.c: Likewise.
22644 * sunrpc/pm_getmaps.c: Likewise.
22645 * sunrpc/pm_getport.c: Likewise.
22646 * sunrpc/pmap_clnt.c: Likewise.
22647 * sunrpc/pmap_prot.c: Likewise.
22648 * sunrpc/pmap_prot2.c: Likewise.
22649 * sunrpc/pmap_rmt.c: Likewise.
22650 * sunrpc/rpc/auth.h: Likewise.
22651 * sunrpc/rpc/auth_unix.h: Likewise.
22652 * sunrpc/rpc/clnt.h: Likewise.
22653 * sunrpc/rpc/des_crypt.h: Likewise.
22654 * sunrpc/rpc/key_prot.h: Likewise.
22655 * sunrpc/rpc/netdb.h: Likewise.
22656 * sunrpc/rpc/pmap_clnt.h: Likewise.
22657 * sunrpc/rpc/pmap_prot.h: Likewise.
22658 * sunrpc/rpc/pmap_rmt.h: Likewise.
22659 * sunrpc/rpc/rpc.h: Likewise.
22660 * sunrpc/rpc/rpc_des.h: Likewise.
22661 * sunrpc/rpc/rpc_msg.h: Likewise.
22662 * sunrpc/rpc/svc.h: Likewise.
22663 * sunrpc/rpc/svc_auth.h: Likewise.
22664 * sunrpc/rpc/types.h: Likewise.
22665 * sunrpc/rpc/xdr.h: Likewise.
22666 * sunrpc/rpc_clntout.c: Likewise.
22667 * sunrpc/rpc_cmsg.c: Likewise.
22668 * sunrpc/rpc_common.c: Likewise.
22669 * sunrpc/rpc_cout.c: Likewise.
22670 * sunrpc/rpc_dtable.c: Likewise.
22671 * sunrpc/rpc_hout.c: Likewise.
22672 * sunrpc/rpc_main.c: Likewise.
22673 * sunrpc/rpc_parse.c: Likewise.
22674 * sunrpc/rpc_parse.h: Likewise.
22675 * sunrpc/rpc_prot.c: Likewise.
22676 * sunrpc/rpc_sample.c: Likewise.
22677 * sunrpc/rpc_scan.c: Likewise.
22678 * sunrpc/rpc_scan.h: Likewise.
22679 * sunrpc/rpc_svcout.c: Likewise.
22680 * sunrpc/rpc_tblout.c: Likewise.
22681 * sunrpc/rpc_util.c: Likewise.
22682 * sunrpc/rpc_util.h: Likewise.
22683 * sunrpc/rpcinfo.c: Likewise.
22684 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22685 * sunrpc/rpcsvc/key_prot.x: Likewise.
22686 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22687 * sunrpc/rpcsvc/mount.x: Likewise.
22688 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22689 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22690 * sunrpc/rpcsvc/rex.x: Likewise.
22691 * sunrpc/rpcsvc/rstat.x: Likewise.
22692 * sunrpc/rpcsvc/rusers.x: Likewise.
22693 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22694 * sunrpc/rpcsvc/spray.x: Likewise.
22695 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22696 * sunrpc/rtime.c: Likewise.
22697 * sunrpc/svc.c: Likewise.
22698 * sunrpc/svc_auth.c: Likewise.
22699 * sunrpc/svc_authux.c: Likewise.
22700 * sunrpc/svc_raw.c: Likewise.
22701 * sunrpc/svc_run.c: Likewise.
22702 * sunrpc/svc_simple.c: Likewise.
22703 * sunrpc/svc_tcp.c: Likewise.
22704 * sunrpc/svc_udp.c: Likewise.
22705 * sunrpc/svc_unix.c: Likewise.
22706 * sunrpc/svcauth_des.c: Likewise.
22707 * sunrpc/xcrypt.c: Likewise.
22708 * sunrpc/xdr.c: Likewise.
22709 * sunrpc/xdr_array.c: Likewise.
22710 * sunrpc/xdr_float.c: Likewise.
22711 * sunrpc/xdr_mem.c: Likewise.
22712 * sunrpc/xdr_rec.c: Likewise.
22713 * sunrpc/xdr_ref.c: Likewise.
22714 * sunrpc/xdr_sizeof.c: Likewise.
22715 * sunrpc/xdr_stdio.c: Likewise.
22716
9da4bb31
UD
22717 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22718 handling.
22719
bdaa77bc
AS
227202010-08-19 Andreas Schwab <schwab@redhat.com>
22721
22722 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22723
fe2f79db
LM
227242010-08-19 Luis Machado <luisgpm@br.ibm.com>
22725
22726 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22727 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22728 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22729 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22730 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22731 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22732 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22733 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22734 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22735 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22736 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22737 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22738 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22739 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22740
b9b42ee0
AB
227412010-07-26 Anton Blanchard <anton@samba.org>
22742
22743 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22744 * malloc/arena.c (heap_trim): Likewise.
22745
1c06ba31
UD
227462010-08-16 Ulrich Drepper <drepper@redhat.com>
22747
22748 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22749 here. Not...
22750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22751 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22752
f8392f40
L
227532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22754
22755 * sysdeps/i386/elf/Makefile: New file.
22756
3162f12e
AS
227572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22758
22759 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22760 from fanotify_init.
22761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22763
28c90b2c
UD
227642010-08-15 Ulrich Drepper <drepper@redhat.com>
22765
22766 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22767 of strncasecmp_l.
1feccb6c 22768 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22769
ca6bb004
UD
227702010-08-14 Ulrich Drepper <drepper@redhat.com>
22771
e9f82e0d
UD
22772 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22773 strncase_l-nonascii.
22774 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22775 Add strncase_l-ssse3.
22776 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22777 * sysdeps/x86_64/strcmp.S: Likewise.
22778 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22779 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22780 * sysdeps/x86_64/strncase.S: New file.
22781 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22782 * sysdeps/x86_64/strncase_l.S: New file.
22783 * string/Makefile (strop-tests): Add strncasecmp.
22784 * string/test-strncasecmp.c: New file.
22785
22786 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22787 warning.
22788
ca6bb004
UD
22789 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22790 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22791
052fa7b3
AS
227922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22793
22794 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22795
962dba78
UD
227962010-08-12 Ulrich Drepper <drepper@redhat.com>
22797
22798 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22799 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22800 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22801
bebff237
AM
228022010-05-01 Alan Modra <amodra@gmail.com>
22803
22804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22805 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22806 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22807 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22808 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22809 tidying. Don't tail-call __sigjmp_save for static lib.
22810 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22811 save location.
22812 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22813 (CALL_MCOUNT): Add eh info, and nop after bl.
22814 (TAIL_CALL_SYSCALL_ERROR): New macro.
22815 (PSEUDO_RET): Use it.
22816 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22817 Correct save location of integer regs and cr.
22818 (_dl_profile_resolve): Correct cr save location. Delete nops
22819 after bl when SHARED. Reduce cfi size a little by better
22820 placement of cfi directives.
22821 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22822 make a stack frame. Instead use parm save area as a temp.
22823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22824 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22826 Don't make a stack frame for parent, use parm save area.
22827 Increase child stack frame to 112 bytes. Don't save unused reg,
22828 and adjust reg usage. Set up cfi on error recovery and
22829 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22831 (__makecontext): Add dummy nop after jump to exit.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22833 Use correct parm save area and cr save, reduce stack frame.
22834 Correct cfi for possible PSEUDO_RET frame setup.
22835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22836 Branch to local label emitted by PSEUDO_RET rather than
22837 __syscall_error.
22838
02637374
AS
228392010-08-12 Andreas Schwab <schwab@redhat.com>
22840
22841 [BZ #11904]
22842 * locale/programs/locale.c (print_assignment): New function.
22843 (show_locale_vars): Use it.
22844
c3e2f19b
UD
228452010-08-11 Ulrich Drepper <drepper@redhat.com>
22846
3cdaa6ad
UD
22847 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22848 field.
22849 (struct statfs64): Likewise.
22850 (_STATFS_F_FLAGS): Define.
22851 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22852 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22853 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22854 (ST_VALID): Define locally.
22855 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22856 __statvfs_getflags, use the provided value.
22857 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22858 __ASSUME_STATFS_F_FLAGS.
22859
754f7da3
UD
22860 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22861
10b3bedc
UD
22862 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22863 Add sys/fanotify.h.
22864 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22865 fanotify_mask for GLIBC_2.13.
22866 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22867 fanotify_init and fanotify_mark.
22868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22869 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22870
c08fb0d7
UD
22871 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22872 Add prlimit.
22873 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22874 prlimit64 for GLIBC_2.13.
22875 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22876 prlimit64.
22877 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22878 syscall.
22879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22880 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22881 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22882 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22883 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22884 add prlimit alias.
22885 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22886
15bac72b
UD
22887 [BZ #11903]
22888 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22889 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22890
c3e2f19b
UD
22891 * nss/Makefile: Add rules to build and run tst-nss-test1.
22892 * shlib-versions: Add entry for libnss_test1.
22893 * nss/nss_test1.c: New file.
22894 * nss/tst-nss-test1.c: New file.
22895
22896 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22897 (__nss_configure_lookup): Set appropriate entry in
22898 __nss_configure_lookup to true.
22899 * nss/nsswitch.h: Define enum with indeces of databases in
22900 databases and __nss_database_custom arrays. Declare
22901 __nss_database_custom.
22902 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22903 to avoid using nscd when custom rules are installed.
22904 * nss/getXXbyYY_r.c: Likewise.
22905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22906
22907 * nss/nss_files/files-parse.c: Whitespace fixes.
22908
f15ce4d8
UD
229092010-08-09 Ulrich Drepper <drepper@redhat.com>
22910
22911 [BZ #11883]
22912 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22913 * posix/fnmatch_loop.c: Likewise.
22914
d22e4cc9
AK
229152010-07-17 Andi Kleen <ak@linux.intel.com>
22916
22917 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22918 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22919 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22920 * Versions.def [GLIBC_2.13]: Add.
22921
805bc17d
UD
229222010-08-06 Ulrich Drepper <drepper@redhat.com>
22923
22924 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22925 Also fail if tpwd after pwuid call is NULL.
22926
5a42321d
ST
229272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22928
22929 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22930 when converting to ms.
22931
fd3ebeda
ST
229322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22933
22934 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22935 EOPNOTSUPP errors with ENOTTY.
22936 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22937 EOPNOTSUPP errors with ENOTTY.
22938
73507d3a
UD
229392010-07-31 Ulrich Drepper <drepper@redhat.com>
22940
22941 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22942 Add strcasecmp_l-ssse3.
22943 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22944 strcasecmp.
22945 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22946 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22947 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22948
fe36dd02
UD
229492010-07-30 Ulrich Drepper <drepper@redhat.com>
22950
66f6765a
UD
22951 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22952
42e08a54
UD
22953 * string/Makefile (strop-tests): Add strcasecmp.
22954 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22955 strcasecmp_l-nonascii.
22956 (gen-as-const-headers): Add locale-defines.sym.
22957 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22958 * sysdeps/x86_64/strcasecmp.S: New file.
22959 * sysdeps/x86_64/strcasecmp_l.S: New file.
22960 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22961 * sysdeps/x86_64/locale-defines.sym: New file.
22962 * string/test-strcasecmp.c: New file.
22963
fe36dd02
UD
22964 * string/test-strcasestr.c: Test both ends of the range of characters.
22965 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22966
48cbc0d6
RM
229672010-07-29 Roland McGrath <roland@redhat.com>
22968
76e6d6bc 22969 [BZ #11856]
48cbc0d6
RM
22970 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22971
880113d9
UD
229722010-07-27 Ulrich Drepper <drepper@redhat.com>
22973
22974 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22975 for ld.so.
22976
deb9cabb
AS
229772010-07-27 Andreas Schwab <schwab@redhat.com>
22978
22979 * manual/memory.texi (Malloc Tunable Parameters): Document
22980 M_PERTURB.
22981
1c7570ff
RM
229822010-07-26 Roland McGrath <roland@redhat.com>
22983
22984 [BZ #11840]
22985 * configure.in (-fgnu89-inline check): Set and substitute
22986 gnu89_inline, not libc_cv_gnu89_inline.
22987 * configure: Regenerated.
22988 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22989
24fb0f88
UD
229902010-07-26 Ulrich Drepper <drepper@redhat.com>
22991
22992 * string/test-strnlen.c: New file.
22993 * string/Makefile (strop-tests): Add strnlen.
22994 * string/tester.c (test_strnlen): Add a few more test cases.
22995 * string/tst-strlen.c: Better error reporting.
22996
22997 * sysdeps/x86_64/strnlen.S: New file.
22998
8e96b93a
UD
229992010-07-24 Ulrich Drepper <drepper@redhat.com>
23000
23001 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23002 lower-latency instructions.
23003
dbc676d4
UD
230042010-07-23 Ulrich Drepper <drepper@redhat.com>
23005
23006 * string/test-strcasestr.c: New file.
23007 * string/test-strstr.c: New file.
23008 * string/Makefile (strop-tests): Add strstr and strcasestr.
23009 * string/str-two-way.h: Don't undefine MAX.
23010 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23011
f6a31e0e
AS
230122010-07-21 Andreas Schwab <schwab@redhat.com>
23013
23014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23015 strcasestr-nonascii.
23016 (CFLAGS-strcasestr-nonascii.c): Define.
23017 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23018 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23019 Remove unused attribute.
23020
5dbc3b6c
RM
230212010-07-20 Roland McGrath <roland@redhat.com>
23022
23023 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23024 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23025 ld.so.cache was broken. With it, there is no way to disable dsocaps
23026 like LD_HWCAP_MASK can disable hwcaps.
23027
23d101d8
EPM
230282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23029
23030 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23031
cc9f2e47
UD
230322010-07-16 Ulrich Drepper <drepper@redhat.com>
23033
23034 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23035 call in strcasestr.
23036 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23037 __strcasestr_sse42_nonascii.
23038 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23039 strcasestr-nonascii.c.
23040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23041
77c1b069
LM
230422010-06-15 Luis Machado <luisgpm@br.ibm.com>
23043
23044 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23045 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23046 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23047 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23048
440566c3
UD
230492010-07-09 Ulrich Drepper <drepper@redhat.com>
23050
23051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23052 fcntl.
23053
5be9d05d
AS
230542010-07-06 Andreas Schwab <schwab@redhat.com>
23055
c30b7ee2 23056 [BZ #11577]
5be9d05d
AS
23057 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23058 dl_signal_cerror.
23059
8a492a67
UD
230602010-07-06 Ulrich Drepper <drepper@redhat.com>
23061
23062 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23063 _PC_PIPE_BUF using F_GETPIPE_SZ.
23064
713df3d5
RM
230652010-07-05 Roland McGrath <roland@redhat.com>
23066
23067 * manual/arith.texi (Rounding Functions): Fix rint description
23068 implicit in round description.
23069
702e8f14
UD
230702010-07-02 Ulrich Drepper <drepper@redhat.com>
23071
23072 * elf/Makefile: Fix linking for a few tests to make recent linker
23073 happy.
23074
52ed8be9
AS
230752010-06-30 Andreas Schwab <schwab@redhat.com>
23076
23077 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23078 $(common-objpfx)libc_nonshared.a.
23079
f47c9a11
LM
230802010-06-21 Luis Machado <luisgpm@br.ibm.com>
23081
23082 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23083 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23084 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23085 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23086 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23087 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23088 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23089 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23104 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23105 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23106 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23107 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23108 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23109 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23110 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23111 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23112 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23113 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23114 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23115 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23130
6fb8cbcb
L
231312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23132
23133 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23134 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23135 * string/memmove.c (memmove): Renamed to ...
23136 (MEMMOVE): ...this. Default to memmove.
23137 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23138 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23139 (END_CHK): Define.
23140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23141 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23142 mempcpy-ssse3-back memmove-ssse3-back.
23143 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23144 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23146 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23147 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23148 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23149 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23150 * sysdeps/x86_64/multiarch/memmove.c: New file.
23151 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23152 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23153 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23154 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23155 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23156 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23157 Define.
23158 (index_Fast_Copy_Backward): Define.
23159 (HAS_ARCH_FEATURE): Define.
23160 (HAS_FAST_REP_STRING): Define.
23161 (HAS_FAST_COPY_BACKWARD): Define.
23162
4e733bac 231632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23164
23165 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23166 Restore proper fallback handling.
23167
63c4ed22
UD
231682010-06-19 Ulrich Drepper <drepper@redhat.com>
23169
ac2b484c
UD
23170 [BZ #11701]
23171 * posix/group_member.c (__group_member): Correct checking loop.
23172
63c4ed22
UD
23173 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23174 OOM in getpwuid_r correctly. Return error number when the caller
23175 should return, otherwise -1.
23176 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23177 call returning > 0 value.
23178 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23179
765ade4b
AS
231802010-06-07 Andreas Schwab <schwab@redhat.com>
23181
23182 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23183 libc_nonshared.a from targets in modules-names.
23184
80da2e09
KS
231852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23186
23187 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23188 requires it.
23189
158db122
LM
231902010-06-10 Luis Machado <luisgpm@br.ibm.com>
23191
23192 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23193 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23195 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23196
caa78cf8
AS
231972010-06-02 Andreas Schwab <schwab@redhat.com>
23198
23199 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23200
b2ef2c01
UD
232012010-06-14 Ulrich Drepper <drepper@redhat.com>
23202
23203 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23204 and F_GETPIPE_SZ.
23205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23210 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23211
fbd643b6
RM
232122010-06-14 Roland McGrath <roland@redhat.com>
23213
23214 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23215
f32f2869
JJ
232162010-06-07 Jakub Jelinek <jakub@redhat.com>
23217
23218 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23219 __REDIRECT followed by __THROW.
23220 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23221 * posix/getopt.h (getopt): Likewise.
23222
2a50c078
EPM
232232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23224
23225 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23226 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23227 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23228 in AT_FLAGS.
23229 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23230 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23231
eb5ad2eb
LM
232322010-05-28 Luis Machado <luisgpm@br.ibm.com>
23233
23234 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23235
3c88fe1e
L
232362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23237
23238 [BZ #11640]
23239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23240 Properly check family and model.
23241
d2f73151
TY
232422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23243
23244 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23245
ebd2e13d
LM
232462010-05-24 Luis Machado <luisgpm@br.ibm.com>
23247
23248 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23249
b32b8b45
UD
232502010-05-21 Ulrich Drepper <drepper@redhat.com>
23251
23252 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23253 symbol reference.
23254
9acbe24d
AS
232552010-05-19 Andreas Schwab <schwab@redhat.com>
23256
23257 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23258 symbol reference.
23259
f0ccf6ea
AS
232602010-05-21 Andreas Schwab <schwab@redhat.com>
23261
3d04ff3a
AS
23262 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23263 and internal_recvmmsg.
23264 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23265 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23266 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23267 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23268
f0ccf6ea
AS
23269 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23270 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23271 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23272
5b08ac57
AS
232732010-05-20 Andreas Schwab <schwab@redhat.com>
23274
23275 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23276
4828935d
LM
232772010-05-17 Luis Machado <luisgpm@br.ibm.com>
23278
23279 POWER7 optimizations.
23280 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23281 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23282
373d545e
UD
232832010-05-19 Ulrich Drepper <drepper@redhat.com>
23284
23285 * version.h: Update for 2.13 development version.
23286
21a2b1ae
AS
232872010-05-12 Andrew Stubbs <ams@codesourcery.com>
23288
23289 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23290 exceptions. Return 0.
23291
3f7dcb2b
RM
232922010-05-07 Roland McGrath <roland@redhat.com>
23293
23294 * elf/ldconfig.c (main): Add a const.
23295
5f24d53a 232962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23297
a160f8d8
UD
23298 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23299 (args_options): Add no-idn option.
23300 (ahosts_keys_int): Add idn_flags to ai_flags.
23301 (parse_option): Handle 'i' option to clear idn_flags.
23302
5f24d53a
UD
23303 * malloc/malloc.c (_int_free): Possible race in the most recently
23304 added check. Only act on the data if no current modification
23305 happened.
265bb1ce
UD
23306
23307See ChangeLog.17 for earlier changes.
This page took 3.248304 seconds and 5 git commands to generate.