]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[s390] Replace lll_futex_* assembly code with INTERNAL_SYSCALL
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2c8bfe7d
DM
12012-12-25 David S. Miller <davem@davemloft.net>
2
3 * version.h (RELEASE): Set to "development".
4 (VERSION): Set to "2.17.90".
5 * NEWS: Add 2.18 section.
6
147d03b0
DM
72012-12-21 David S. Miller <davem@davemloft.net>
8
9 * po/hr.po: Update from translation team.
10
a8ebb2b9
AK
112012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12
13 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14
95b4f1b6
SE
152012-12-19 Steve Ellcey <sellcey@mips.com>
16
b2d94007 17 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 18
cedb2a90
MS
192012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20
21 * manual/contrib.texi (Contributors): Spelling correction.
22
bbf527d6
DM
232012-12-15 David S. Miller <davem@davemloft.net>
24
25 * po/ru.po: Update from translation team.
26
bc38c906
DM
272012-12-13 David S. Miller <davem@davemloft.net>
28
85429b1a
DM
29 * NEWS: Mention IFUNC testsuite enhancements.
30
d283e353
DM
31 * po/pl.po: Update from translation team.
32 * po/bg.po: Likewise.
33
bc38c906
DM
34 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36
a181b0d7
DM
372012-12-11 David S. Miller <davem@davemloft.net>
38
4641d57e
DM
39 * po/sv.po: Update from translation team.
40
f7bc6495
DM
41 * po/vi.po: Update from translation team.
42
6fc9048f
DM
43 * po/cs.po: Update from translation team.
44
a181b0d7
DM
45 * po/de.po: Update from translation team.
46 * po/eo.po: Likewise.
47 * po/nl.po: Likewise.
48
f70bfe80
SP
492012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50
3c8b4190
SP
51 [BZ #14246]
52 * manual/argp.texi (Argp Helper Functions): Move node to follow
53 Argp Parsing State.
54
f70bfe80
SP
55 [BZ #14872]
56 * manual/conf.texi (Limits on File System Capacity): Mention if
57 terminating null is included in the max size.
58
188f0adf
AJ
592012-12-10 Andreas Jaeger <aj@suse.de>
60
61 * po/cs.po: Update from translation team.
62
56e7d3ad
SP
632012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
64
65 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
66 void pointer and cast to uintptr_t.
67 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
68 path.
69 * sysdeps/s390/s390-64/memcpy.S: Likewise.
70 * sysdeps/s390/s390-64/memset.S: Likewise.
71
76f2d2ea 722012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
73
74 [BZ #14833]
75 * menual/message.texi (Message Translation): Fix typos.
76 (Helper programs for gettext): Likewise.
77
67cbf9a2
AS
782012-12-07 Andreas Schwab <schwab@linux-m68k.org>
79
80 [BZ #14898]
81 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
82 Change to -1.
83
682d0e9a
DM
842012-12-07 David S. Miller <davem@davemloft.net>
85
86 * po/libc.pot: Update.
87
573cd484
RH
882012-12-07 Richard Henderson <rth@redhat.com>
89
7e9da188 90 [BZ #10114]
573cd484
RH
91 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
92 normal/normal case to before the switch.
93 (_FP_DIV): Likewise.
94
e933a943
MF
952012-12-06 Carlos O'Donell <carlos@systemhalted.org>
96 Mike Frysinger <vapier@gentoo.org>
97
98 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
99 check for __NR_fadvise64_64.
100
82123268
CM
1012012-12-06 Chris Metcalf <cmetcalf@tilera.com>
102
103 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
104 0, not just to plain "0" as a statement.
105 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
106 with cw.
107
d9814526
JM
1082012-12-06 Joseph Myers <joseph@codesourcery.com>
109
110 * NEWS: Use sourceware.org in Bugzilla URL.
111
7728c574
SP
1122012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
113
f16946dd
SP
114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
115 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
116
5704bbcb
SP
117 * stdio-common/tst-put-error.c (do_test): Add newline to the
118 padded test to ensure flush.
119
17aa0516
JL
1202012-12-05 Jeff Law <law@redhat.com>
121
122 * sunrpc/etc.rpc (fedfs_admin): Add entry.
123
363313b5
JM
1242012-12-05 Joseph Myers <joseph@codesourcery.com>
125
effbd42a
JM
126 * README: Don't refer to ports add-on as distributed separately.
127 Mention AArch64 in list of systems supported in the ports add-on.
128
87600365
JM
129 * LICENSES: Add more non-FSF copyright and license notices.
130
a0d7066a
JM
131 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
132 ((unused)).
133
66ca5a5b
JM
134 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
135
363313b5
JM
136 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
137 10000 as width of padded output.
138
b37984ad
JM
1392012-12-04 Joseph Myers <joseph@codesourcery.com>
140
9003570a
JM
141 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
142
b37984ad
JM
143 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
144 variable LX with __attribute__ ((unused)).
145 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
146 Likewise.
147 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
149 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
150 with __attribute__ ((unused)).
151
c8df52ec
DM
1522012-12-04 David S. Miller <davem@abraco.davemloft.net>
153
154 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
155
b3b099af
JM
1562012-12-04 Joseph Myers <joseph@codesourcery.com>
157
c33aa6e3
JM
158 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
159 (CFLAGS-nldbl-acos.c): New variable.
160 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
161 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
162 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
163 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
164 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
165 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
166 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
167 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
168 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
169 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
170 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
171 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
172 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
173 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
174 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
175 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
176 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
177 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
178 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
179 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
180 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
181 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
182 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
183 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
184 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
185 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
186 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
187 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
188 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
189 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
190 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
191 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
192 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
193 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
194 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
195 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
196 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
197 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
198 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
199 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
200 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
201 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
202 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
203 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
204 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
205 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
206 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
207 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
208 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
209 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
210 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
211 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
212 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
213 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
214 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
215 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
216 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
217 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
218 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
219 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
220 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
221 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
222 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
223 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
224 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
225 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
226 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
227 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
228 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
229 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
230 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
231 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
232 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
233 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
234 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
235 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
236 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
237 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
238 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
239 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
240 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
241 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
242 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
243 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
244 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
245 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
246 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
247 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
248 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
249 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
250 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
251 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
252 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
253 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
254 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
255 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
256 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
257
20f0018d
JM
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
259 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
260
b3b099af
JM
261 [BZ #14914]
262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
263 whole low double instead of just low 47 bits when splitting values
264 into two parts.
265
029264d1
AM
2662012-12-03 Allan McRae <allan@archlinux.org>
267
268 * manual/stdio.texi (Predefined Printf Handlers): Remove
269 @hsep and @vsep usage.
270
c9d6789e
MF
2712012-12-03 Mike Frysinger <vapier@gentoo.org>
272
273 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
274 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
275
4b7634a5
JL
2762012-12-03 Jeff Law <law@redhat.com>
277
278 * time/sys/time.h (settimeofday): Do not mark TV argument
279 as __nonnull.
280
eb6cbd24
MF
2812012-12-01 Mike Frysinger <vapier@gentoo.org>
282
283 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
284 when currently writing and seek to current position when not.
285 * libio/Makefile (tests): Remove bug-fclose1.
286 * libio/bug-fclose1.c: Delete.
287
f638872a
JM
2882012-12-01 Joseph Myers <joseph@codesourcery.com>
289
290 * manual/arith.texi (feenableexcept): Fix typo.
291 (fedisableexcept): Likewise.
292
48085d14
RM
2932012-11-30 Roland McGrath <roland@hack.frob.com>
294
295 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
296 second, differently-typed declaration, rather than a cast.
297
1a538b9f
SP
2982012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
299
300 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
301 * include/rpc/svc.h: ... here.
302
d07f2ff1 3032012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
304
305 [BZ #13013]
306 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
307 depending n and resplen2 to catch cases where answer
308 equals answerp2.
309
c93ec1f0
CD
3102012-11-29 Carlos O'Donell <carlos@systemhalted.org>
311
312 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
313 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
314
37db69de
MF
3152012-11-29 Mike Frysinger <vapier@gentoo.org>
316
317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
318
e10c4e4f
RM
3192012-11-29 Roland McGrath <roland@hack.frob.com>
320
321 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
322
2af1b328
JL
3232012-11-28 Jeff Law <law@redhat.com>
324
325 [BZ #13761]
326 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
327 dataset_temporary. Track alloca usage into alloca_used.
328 If dataset is large allocate and release it via malloc/free.
329
111db5b1
FW
3302012-06-04 Florian Weimer <fweimer@redhat.com>
331
f06cc227 332 [BZ #14197]
111db5b1
FW
333 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
334
dd694abd
DM
3352012-11-28 David S. Miller <davem@davemloft.net>
336
337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
338
9984dd01
JM
3392012-11-28 Joseph Myers <joseph@codesourcery.com>
340
341 [BZ #14803]
342 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
343 of pi/2 rounded to nearest to 64 bits.
344 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
345 nearest to 64 bits.
346 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
347 bits.
348
14bc93a9
JL
3492012-11-28 Jeff Law <law@redhat.com>
350 Martin Osvald <mosvald@redhat.com>
351
352 [BZ #14889]
353 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
354 * sunrpc/svc.c: Include time.h.
355 (__svc_accept_failed): New function.
356 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
357 any reason other than EINTR, call __svc_accept_failed.
358 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
359 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
360
e3c6aa3a
AS
3612012-11-28 Andreas Schwab <schwab@suse.de>
362
363 * scripts/abilist.awk: Also handle indirect functions in .opd
364 section.
365
1bead169
JM
3662012-11-28 Joseph Myers <joseph@codesourcery.com>
367
368 [BZ #13881]
369 * sysdeps/x86/fpu/powl_helper.c: New file.
370 * sysdeps/x86/fpu/Makefile: Likewise.
371 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
372 (p3): New object.
373 (__ieee754_powl): Use __powl_helper for finite arguments except
374 integer exponents below 8.
375 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
376 (p3): New object.
377 (__ieee754_powl): Use __powl_helper for finite arguments except
378 integer exponents below 8.
379 * math/libm-test.inc (pow_test): Add more tests and enable some
380 previously disabled tests.
381 * sysdeps/i386/fpu/libm-test-ulps: Update.
382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
383
0817d63d
SP
3842012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
385 Carlos O'Donell <carlos_odonell@mentor.com>
386
387 * nss/makedb.c (is_prime): Assert that input is odd and greater
388 than 4. Note that fact in a comment too.
389 (next_prime): Add 4 to input.
390
de2fd463
SP
3912012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
392
393 [BZ #11741]
394 * libio/Makefile (tests): Add test case tst-fwrite-error.
395 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
396 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
397 * libio/tst-fwrite-error.c: New test case.
398
c515fb51
L
3992012-11-26 H.J. Lu <hongjiu.lu@intel.com>
400
401 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
402 before casting to void *.
403 * include/libc-internal.h (__pointer_type): New macro.
404 (__integer_if_pointer_type_sub): Likewise.
405 (__integer_if_pointer_type): Likewise.
406 (cast_to_integer): Likewise.
407 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
408 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
409 before casting to atomic64_t.
410 (atomic_exchange_acq): Likewise.
411 (__arch_exchange_and_add_body): Likewise.
412 (__arch_add_body): Likewise.
413 (atomic_add_negative): Likewise.
414 (atomic_add_zero): Likewise.
415
4cf77aa9
JM
4162012-11-26 Joseph Myers <joseph@codesourcery.com>
417
418 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
419 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
420 (add_fdes): Likewise.
421 (linear_search_fdes): Likewise.
422 (binary_search_unencoded_fdes): Likewise.
423
d260b3b4
AS
4242012-11-26 Andreas Schwab <schwab@linux-m68k.org>
425
426 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
427
67060746
AC
4282012-11-24 Adam Conrad <adconrad@0c3.net>
429
430 * configure.in: Autodetect C++ header directories.
431 * configure: Regenerated.
432
800938a1
MF
4332012-11-23 Mike Frysinger <vapier@gentoo.org>
434
435 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
436
4e6e34e6
AS
4372012-11-23 Andreas Schwab <schwab@linux-m68k.org>
438
439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
440
7c7feb47
JM
4412012-11-22 Joseph Myers <joseph@codesourcery.com>
442
7184dcdf
JM
443 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
444 LDBL_MANT_DIG == 106]: Disable some tests.
445 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
446 Likewise.
447 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
448 Likewise.
449
0a42601f
JM
450 [BZ #14871]
451 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
452 input for small inputs. Return +/- pi/2 for large inputs.
453 * math/libm-test.inc (atan_test): Add more tests.
454
79c9b9fe
JM
455 * sysdeps/generic/unwind-dw2-fde-glibc.c
456 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
457 __attribute__ ((unused)).
458
c60d3bf2
JM
459 [BZ #14645]
460 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
461 x * y if x and y are nonzero and z is zero.
462
ef1e0867
JM
463 [BZ #14811]
464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
465 nonzero exponents with absolute value below 0x1p-117 to +/-
466 0x1p-117.
467
1468ded3
JM
468 [BZ #14869]
469 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
470 up arguments below 2**-450, not just those below 2**-500.
471 * math/libm-test.inc (hypot_test): Add another test.
472
8e27e3cc
JM
473 [BZ #14868]
474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
475 Return a+b for ratio over 2**120, not 2**60.
476 * math/libm-test.inc (hypot_test): Add another test.
477
c9c0279b
JM
478 * math/libm-test.inc (clog_test): Use
479 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
480 (clog10_test): Likewise.
481
7c7feb47
JM
482 [BZ #6778]
483 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
484
fff1530e
AS
4852012-11-22 Andreas Schwab <schwab@suse.de>
486
487 * sysdeps/i386/fpu/libm-test-ulps: Update.
488
94558d30
PT
4892012-11-22 Pino Toscano <toscano.pino@tiscali.it>
490
491 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
492 printf output with newline.
493
7e1be741
L
4942012-11-21 H.J. Lu <hongjiu.lu@intel.com>
495
6bfea974
L
496 [BZ #14865]
497 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
498 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
499 -z nodlopen, -z initfirst and -z execstack support.
500 * configure: Regenerated.
501
7e1be741
L
502 * elf/elf.h (DF_1_NODIRECT): New macro.
503 (DF_1_IGNMULDEF): Likewise.
504 (DF_1_NOKSYMS): Likewise.
505 (DF_1_NOHDR): Likewise.
506 (DF_1_EDITED): Likewise.
507 (DF_1_NORELOC): Likewise.
508 (DF_1_SYMINTPOSE): Likewise.
509 (DF_1_GLOBAUDIT): Likewise.
510 (DF_1_SINGLETON): Likewise.
511 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
512 DT_1_SUPPORTED_MASK bits.
513 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
514
105ce2ce
CD
5152012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
516
517 * sysdeps/unix/make-syscalls.sh: Document prefixes.
518
123be9de
TS
5192012-11-20 Thomas Schwinge <thomas@codesourcery.com>
520
d072f3f7
TS
521 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
522 macro.
523
123be9de
TS
524 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
525 (sendmmsg): Move declarations...
526 * socket/sys/socket.h: ... here.
527 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
528 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
529 include it from...
530 * socket/recvmmsg.c: ... this new file.
531 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
532 (sendmmsg): Rename to __sendmmsg, create weak alias and make
533 definition of __sendmmsg hidden.
534 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
535 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
536 Move ENOSYS stub into and include it from...
537 * socket/sendmmsg.c: ... this new file.
538 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
539 (sysdep_routines): Move recvmmsg and sendmmsg...
540 * socket/Makefile (routines): ... here.
541 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
542 (GLIBC_PRIVATE): Add __sendmmsg.
543 * include/sys/socket.h (__sendmmsg): Add declarations.
544 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
545 sendmmsg.
546
cf9a5d18
JM
5472012-11-20 Joseph Myers <joseph@codesourcery.com>
548
549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
550 variable I1 with __attribute__ ((unused)).
551 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
552
ecd4caf9
JM
5532012-11-19 Joseph Myers <joseph@codesourcery.com>
554
be14d48f
JM
555 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
556 DUMMY variables with __attribute__ ((unused)).
557
ecd4caf9
JM
558 * bits/byteswap.h: Include <bits/types.h>.
559 (__bswap_64): Use __uint64_t instead of unsigned long long int.
560
986cab95
PT
5612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
562
563 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
564 string_t. Do not manually set errno.
565 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
566 length with __strnlen. Make sure to both set errno and return it on
567 failure.
568
6d33cc9d
DM
5692012-11-19 David S. Miller <davem@davemloft.net>
570
571 With help from Joseph Myers.
572 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
573 very large arguments properly.
574 * math/libm-test.inc (atan_test): New tests.
575 (atan2_test): New tests.
576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
578
ee663277
JM
5792012-11-19 Joseph Myers <joseph@codesourcery.com>
580
877f2d8e
JM
581 [BZ #14856]
582 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
583 Define to 3.
584
116fc08a
JM
585 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
586 [POSIX] (EADDRNOTAVAIL): Likewise.
587 [POSIX] (EAFNOSUPPORT): Likewise.
588 [POSIX] (EALREADY): Likewise.
589 [POSIX] (ECONNABORTED): Likewise.
590 [POSIX] (ECONNREFUSED): Likewise.
591 [POSIX] (ECONNRESET): Likewise.
592 [POSIX] (EDESTADDRREQ): Likewise.
593 [POSIX] (EDQUOT): Likewise.
594 [POSIX] (EHOSTUNREACH): Likewise.
595 [POSIX] (EIDRM): Likewise.
596 [POSIX] (EISCONN): Likewise.
597 [POSIX] (ELOOP): Likewise.
598 [POSIX] (EMULTIHOP): Likewise.
599 [POSIX] (ENETDOWN): Likewise.
600 [POSIX] (ENETUNREACH): Likewise.
601 [POSIX] (ENOBUFS): Likewise.
602 [POSIX] (ENODATA): Likewise.
603 [POSIX] (ENOLINK): Likewise.
604 [POSIX] (ENOMSG): Likewise.
605 [POSIX] (ENOPROTOOPT): Likewise.
606 [POSIX] (ENOSR): Likewise.
607 [POSIX] (ENOSTR): Likewise.
608 [POSIX] (ENOTCONN): Likewise.
609 [POSIX] (ENOTSOCK): Likewise.
610 [POSIX] (EOPNOTSUPP): Likewise.
611 [POSIX] (EOVERFLOW): Likewise.
612 [POSIX] (EPROTO): Likewise.
613 [POSIX] (EPROTONOSUPPORT): Likewise.
614 [POSIX] (EPROTOTYPE): Likewise.
615 [POSIX] (ESTALE): Likewise.
616 [POSIX] (ETIME): Likewise.
617 [POSIX] (ETXTBSY): Likewise.
618 [POSIX] (EWOULDBLOCK): Likewise.
619 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
620 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
621 [POSIX] (SEEK_CUR): Likewise.
622 [POSIX] (SEEK_END): Likewise.
623 [POSIX || UNIX98] (mode_t): Do not require.
624 [POSIX] (off_t): Likewise.
625 [POSIX] (pid_t): Likewise.
626 [POSIX] (sys/stat.h): Do not allow header.
627 [POSIX] (unistd.h): Likewise.
628 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
629 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
630 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
631 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
632 require.
633 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
634 sigevent): Specify elements.
635 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
636 entry.
637 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
638 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
639
a483863f
JM
640 * conform/data/cpio.h-data [POSIX]: Disable whole file.
641 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
642 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
643 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
644 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
645 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
646 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
647 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
648 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
649 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
650 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
651 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
652 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
653 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
654 Likewise.
655 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
656 Likewise.
657 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
658 Likewise.
659 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
660 Likewise.
661 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
662 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
663 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
664 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
665 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
666 Specify lower bound on value.
667 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
668 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
669 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
670 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
671 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
672 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
673 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
674 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
675 value.
676 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
677 as optional.
678 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
679 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
680 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
681 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
682 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
683 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
684 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
685 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
686 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
687 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
688 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
689 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
690 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
691 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
692 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
693 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
694 entry.
695 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
696 optional.
697 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
698 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
699 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
700 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
701 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
702 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
703 Likewise.
704 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
705 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
706 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
707 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
708 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
709 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
710 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
711 as optional.
712 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
713 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
714 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
715 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
716 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
717 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
718 specify as optional.
719 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
720 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
721 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
722 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
723 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
724 [XPG3] (NL_LANGMAX): Likewise.
725 [POSIX || XPG3] (NL_MSGMAX): Likewise.
726 [POSIX || XPG3] (NL_NMAX): Likewise.
727 [POSIX || XPG3] (NL_SETMAX): Likewise.
728 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
729 [XPG3] (NZERO): Likewise.
730 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
731 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
732 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
733 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
734 (REG_ERANGE): Expect.
735 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
736 optional-constant.
737 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
738 Use (void) in prototype.
739 [POSIX] (*_t): Allow.
740 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
741 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
742 (WRDE_BADVAL): Expect.
743
5ba924e3
JM
744 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
745 expect.
746 [XPG3 || XPG4] (O_RSYNC): Likewise.
747 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
748 Likewise.
749 [XPG3 || XPG4] (pthread_sigmask): Likewise.
750 [XPG3 || XPG4] (sigqueue): Likewise.
751 [XPG3 || XPG4] (sigtimedwait): Likewise.
752 [XPG3 || XPG4] (sigwaitinfo): Likewise.
753 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
754 [XPG3 || XPG4] (vsnprintf): Likewise.
755 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
756 Likewise.
757 [XPG3 || XPG4] (blksize_t): Likewise.
758 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
759 Likewise.
760 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
761 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
762 [XPG3 || XPG4] (struct itimerspec): Likewise.
763 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
764 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
765 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
766 [XPG3 || XPG4] (clockid_t): Likewise.
767 [XPG3 || XPG4] (timer_t): Likewise.
768 [XPG3 || XPG4] (clock_getres): Likewise.
769 [XPG3 || XPG4] (clock_gettime): Likewise.
770 [XPG3 || XPG4] (clock_settime): Likewise.
771 [XPG3 || XPG4] (nanosleep): Likewise.
772 [XPG3 || XPG4] (timer_create): Likewise.
773 [XPG3 || XPG4] (timer_delete): Likewise.
774 [XPG3 || XPG4] (timer_gettime): Likewise.
775 [XPG3 || XPG4] (timer_getoverrun): Likewise.
776 [XPG3 || XPG4] (timer_settime): Likewise.
777 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
778 [XPG3 || XPG4] (getlogin_r): Likewise.
779 [XPG3 || XPG4] (pread): Likewise.
780 [XPG3 || XPG4] (pthread_atfork): Likewise.
781 [XPG3 || XPG4] (pwrite): Likewise.
782
ee663277
JM
783 [BZ #14835]
784 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
785 <bits/siginfo.h>.
786
942caa16
PT
7872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
788
e19af380
PT
789 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
790 finalizing MALLSTREAM.
791
942caa16
PT
792 * sysdeps/mach/hurd/syncfs.c: New file.
793
cfde9b46
SP
7942012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
795
796 [BZ #14719]
797 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
798 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
799 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
800 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
801 (_nss_dns_gethostbyname4_r): Likewise.
802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
803 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
804
f6da27e5
PH
8052012-11-19 Peng Haitao <penght@cn.fujitsu.com>
806
807 [BZ #13763]
808 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
809
6665d4a2
SM
8102012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
811
1f51ee92
SM
812 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
813 * elf/cache.c (print_entry): Print ",AArch64" for
814 FLAG_AARCH64_LIB64
815
6665d4a2
SM
816 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
817 * elf/cache.c (print_entry): Print ",hard-float" for
818 FLAG_ARM_LIBHF.
819
05b227bd
DM
8202012-11-18 David S. Miller <davem@davemloft.net>
821
822 With help from Joseph Myers.
823 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
824 cutoff to 2**-13.
825 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
826 cutoff to 2**-25.
827 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
828 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
829 small.
830 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
831 * math/libm-test.inc (y0_test): New tests.
832 (y1_test): New tests.
833 * sysdeps/i386/fpu/libm-test-ulps: Update.
834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
836
786b0b67
AS
8372012-11-18 Andreas Schwab <schwab@linux-m68k.org>
838
839 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
840 64-bit targets.
841 * configure: Regenerated.
842
8e18b86d
DM
8432012-11-17 David S. Miller <davem@davemloft.net>
844
845 [BZ #14811]
846 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
847 nonzero exponents with absolute value below 0x1p-128 to +/-
848 0x1p-128.
849
531f1ae0
JM
8502012-11-17 Joseph Myers <joseph@codesourcery.com>
851
12df29e2
JM
852 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
853
150dc1a0
JM
854 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
855
531f1ae0
JM
856 * posix/getconf-speclist.c: New file.
857 * posix/posix-envs.def: Likewise.
858 * posix/confstr.c (START_ENV_GROUP): New macro.
859 (END_ENV_GROUP): Likewise.
860 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
861 (KNOWN_PRESENT_ENV_STRING): Likewise.
862 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
863 (UNKNOWN_ENVIRONMENT): Likewise.
864 (confstr): Include posix-envs.def instead of handling
865 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
866 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
867 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
868 (END_ENV_GROUP): Likewise.
869 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
870 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
871 (UNKNOWN_ENVIRONMENT): Likewise.
872 (__sysconf): Include posix-envs.def instead of handling associated
873 cases directly here.
874 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
875 preprocessing getconf-speclist.c rather than running getconf or
876 generating empty file.
877
a93f9cbc
PT
8782012-11-16 Pino Toscano <toscano.pino@tiscali.it>
879
880 * scripts/check-local-headers.sh: Ignore 'mach' headers.
881
d64d9f87
AL
8822012-11-16 Andrej Lajovic <natrij@gmail.com>
883
884 [BZ #14672]
885 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
886
447885eb
DM
8872012-11-16 David S. Miller <davem@davemloft.net>
888
889 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
890 smaller than LDBL_EPSILON/2.0L, just return xm1.
891
bcbf9830
L
8922012-11-16 H.J. Lu <hongjiu.lu@intel.com>
893
894 * elf/tst-array1.c (init): Set constructor priority to 1000.
895 (fini): Set destructor priority to 1000.
896 * elf/tst-array2dep.c: Likewise.
897
2b766585
SP
8982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
899
900 [BZ #11741]
901 * libio/fileops.c (_IO_new_file_write): Correctly return error.
902 (_IO_new_file_xsputn): Also return EOF if none of the input
903 data was written when overflow failed.
904 * libio/iopadn.c (_IO_padn): Likewise.
905 * libio/iowpadn.c (_IO_wpadn): Likewise.
906 * stdio-common/tst-put-error.c: Add copyright notice.
907 (do_test): Add case for printing padded string.
908 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
909 _IO_padn returned error.
910 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
911 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
912 return EOF.
913
b1848fde
SP
9142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
915
916 * libio/libioP.h: Add comment note that the references to C++
917 bits are now obsolete.
918
2fd89785
MS
9192012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
920
921 * math/libm-test.inc (check_complex): Use asprintf.
922
e3ea5409
JM
9232012-11-14 Joseph Myers <joseph@codesourcery.com>
924
925 * debug/pcprofiledump.c (print_version): Update copyright year.
926 * malloc/memusagestat.c (print_version): Likewise.
927
2e64d265
L
9282012-11-14 H.J. Lu <hongjiu.lu@intel.com>
929
930 [BZ #14831]
931 * elf/Makefile (tests): Add tst-audit8.
932 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
933 ($(objpfx)tst-audit8.out): New target.
934 (tst-audit8-ENV): New variable.
935 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
936 audit if l_reloc_result is NULL.
937 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
938 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
939 * elf/tst-audit8.c: New file.
940
c485e4d2
MS
9412012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
942
943 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
944 * misc/Makefile (CFLAGS-select.c): Define.
945 * posix/Makefile (CFLAGS-pause.c): Define.
946
3a0d900a
DM
9472012-11-13 David S. Miller <davem@davemloft.net>
948
949 * crypt/Makefile: Move test targets after toplevel Rules
950 inclusion. Grab any necessary sysdep routines when linking.
951 * crypt/md5.c (md5_process_block): Remove define, we will always
952 name it __md5_process_block.
953 (md5_finish_ctx): Update md5_process_block call.
954 (md5_stream): Likewise.
955 (md5_process_bytes): Likewise.
956 (md5_process_block): Rename to __md5_process_block and move to ...
957 * crypt/md5-block.c: ... here.
958 * crypt/sha256.c (sha256_process_block): Move to ...
959 * crypt/sha256-block.c: ... here.
960 * crypt/sha512.c (sha512_process_block): Move to ...
961 * crypt/sha512-block.c: ... here.
962 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
963 path.
964 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
965 * sysdeps/sparc/sparc64/multiarch/Makefile
966 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
967 crypt subdir.
968 (localedef-aux): Add md5 crypto assembler when in locale subdir.
969 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
970 multiarch changes.
971 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
972 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
973 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
974 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
975 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
976 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
977 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
978 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
979 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
980 file.
981 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
982 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
983 file.
984 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
985
8ca89318
JM
9862012-11-13 Joseph Myers <joseph@codesourcery.com>
987
e27d476a
JM
988 * timezone/tzselect.ksh: Update from tzcode git revision
989 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
990 * timezone/zdump.c: Likewise.
991 * timezone/zic.c: Likewise.
992 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
993 in TZVERSION setting, not $(PKGVERSION).
994 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
995 REPORT_BUGS_TO settings.
996
8ca89318
JM
997 [BZ #14838]
998 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
999 macro.
1000
47594329
MS
10012012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1002
1003 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1004 detection to immediately after _FP_ROUND().
1005 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1006 bits are 0.
1007
640ac3f1
DM
10082012-11-11 David S. Miller <davem@davemloft.net>
1009
1010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1011 inttypes.h
1012 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1013 __close rather than their public counterparts.
1014
3d2577bb
JM
10152012-11-10 Joseph Myers <joseph@codesourcery.com>
1016
1017 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1018 file.
1019 [UNIX98] (sem_timedwait): Do not expect.
1020 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1021 [XPG4 || UNIX98] (sockatmark): Do not expect.
1022 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1023 (clock_getcpuclockid): Do not expect.
1024 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1025 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1026 Do not expect.
1027 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1028 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1029 [UNIX98] (vwscanf): Likewise.
1030 [UNIX98] (vswscanf): Likewise.
1031
fb1ae1ee
JM
10322012-11-09 Joseph Myers <joseph@codesourcery.com>
1033
9ec6f8bd
JM
1034 * timezone/version.h: Remove file.
1035 * timezone/README: Do not refer to version.h.
1036 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1037 $(objpfx)version.h.
1038 ($(objpfx)zdump.o): Likewise.
c3f81911 1039 ($(objpfx)version.h): New target.
9ec6f8bd 1040
0aa8f8a1
JM
1041 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1042 2012i.
1043 * timezone/README: Don't mention modification to tzselect.ksh.
1044 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1045 work on unmodified tzselect.ksh. Substitute version numbers in
1046 tzselect.ksh.
1047
4e87147f
JM
1048 * Makefile (format-me): Remove.
1049 (INSTALL): Adjust indentation. Use commands directly instead of
1050 using $(format-me).
1051
8b748aed
JM
1052 * aclocal.m4 (ACX_PKGVERSION): New macro.
1053 (ACX_BUGURL): Likewise.
1054 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1055 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1056 (REPORT_BUGS_TO): Likewise.
1057 * configure: Regenerated.
1058 * config.h.in (PKGVERSION): New macro.
1059 (REPORT_BUGS_TO): Likewise.
1060 * config.make.in (PKGVERSION): New variable.
1061 (PKGVERSION_TEXI): Likewise.
1062 (REPORT_BUGS_TO): Likewise.
1063 (REPORT_BUGS_TEXI): Likewise.
1064 * Makefile (format-me): Use -I$(common-objpfx)manual.
1065 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1066 ($(common-objpfx)manual/%): New target.
1067 (manual/%): Remove target.
1068 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1069 (print_version): Use PKGVERSION.
1070 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1071 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1072 and REPORT_BUGS_TO.
1073 ($(objpfx)xtrace): Likewise.
1074 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1075 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1076 (print_version): Use PKGVERSION.
1077 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1078 (do_version): Use PKGVERSION.
1079 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1080 REPORT_BUGS_TO.
1081 (common-ldd-rewrite): Likewise.
1082 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1083 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1084 (print_version): Use PKGVERSION.
1085 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1086 * elf/pldd.c (argp_program_bug_address): Remove variable.
1087 (more_help): New function.
1088 (argp): Use more_help.
1089 (print_version): Use PKGVERSION.
1090 * elf/sln.c (main): Use PKGVERSION.
1091 (usage): Use REPORT_BUGS_TO.
1092 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1093 (top level): Use PKGVERSION.
1094 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1095 (print_version): Use PKGVERSION.
1096 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1097 (print_version): Use PKGVERSION.
1098 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1099 (print_version): Use PKGVERSION.
1100 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1101 (print_version): Use PKGVERSION.
1102 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1103 (print_version): Use PKGVERSION.
1104 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1105 (print_version): Use PKGVERSION.
1106 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1107 and BUGURL.
1108 ($(objpfx)memusage): Likewise.
1109 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1110 (do_version): Use PKGVERSION.
1111 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1112 (print_version): Use PKGVERSION.
1113 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1114 ($PKGVERSION): New variable.
1115 ($REPORT_BUGS_TO): Likewise.
1116 (usage): Use $REPORT_BUGS_TO.
1117 (top level): Use $PKGVERSION.
1118 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1119 ($(objpfx)pkgvers.texi): New rule.
1120 ($(objpfx)stamp-pkgvers): Likewise.
1121 * manual/install.texi: Include pkgvers.texi.
1122 (--with-pkgversion): Document new configure option.
1123 (--with-bugurl): Likewise.
1124 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1125 than necessarily for this particular distribution. Use
1126 REPORT_BUGS_TO for where to report bugs.
1127 * INSTALL: Regenerated.
1128 * manual/libc.texinfo: Include pkgvers.texi.
1129 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1130 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1131 (print_version): Use PKGVERSION.
1132 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1133 (print_version): Use PKGVERSION.
1134 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1135 (print_version): Use PKGVERSION.
1136 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1137 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1138 macro.
1139 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1140 (print_version): Use PKGVERSION.
1141 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1142 (print_version): Use PKGVERSION.
1143 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1144 and PKGVERSION.
1145
92e4b6a9
JM
1146 * timezone/checktab.awk: Update from tzcode 2012i.
1147 * timezone/ialloc.c: Likewise.
1148 * timezone/private.h: Likewise.
1149 * timezone/scheck.c: Likewise.
1150 * timezone/tzfile.h: Likewise.
1151 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1152 (TZVERSION): Hardcode tzcode version number.
1153 * timezone/zdump.c: Update from tzcode 2012i.
1154 * timezone/zic.c: Likewise.
1155 * timezone/version.h: New file.
1156 * timezone/README: Describe version.h. Update upstream location.
1157
9bde902c
JM
1158 [BZ #14824]
1159 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1160 (mktemp): Enable declaration.
1161 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1165 Likewise.
1166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1167 Likewise.
1168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1169 Likewise.
1170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1171 Likewise.
1172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1173 Likewise.
1174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1175 Likewise.
1176
fb1ae1ee
JM
1177 [BZ #14821]
1178 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1179 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1180 for copies of such integer values.
1181 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1182 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1183
2c1adbcb
AJ
11842012-11-09 Andreas Jaeger <aj@suse.de>
1185
1186 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1187 definitions and declarations that are provided by
1188 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1189
d0f8457e
AK
11902012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1191
1192 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1193 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1194 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1195 definition.
1196
57241e26
MS
11972012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1198
1199 * elf/elf.h: Update comment before AArch64 relocations.
1200
60e8270d
DM
12012012-11-07 David S. Miller <davem@davemloft.net>
1202
1203 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1204 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1205 (__start_context): Declare.
1206 (__makecontext_ret): Delete.
1207 (__makecontext): Hook up __start_context instead of
1208 __makecontext_ret.
1209 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1210 (sysdep_routines): Add __start_context when in stdlib.
1211
0fbb0fbc
JM
12122012-11-07 Joseph Myers <joseph@codesourcery.com>
1213
1214 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1215 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1216 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1217 hardcoded "nm".
1218 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1219 (READELF): New variable. Use it instead of hardcoded "readelf".
1220
eb48db7e
L
12212012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1222
1223 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1224 * sysdeps/x86/Makefile: Here.
1225 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1226 * sysdeps/x86/tst-xmmymm.sh: This.
1227
05bcf62a
JM
12282012-11-07 Joseph Myers <joseph@codesourcery.com>
1229
c4b6cf53
JM
1230 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1231 expectations.
1232 [UNIX98] (pthread_barrier_t): Do not expect.
1233 [UNIX98] (pthread_barrierattr_t): Likewise.
1234 [UNIX98] (pthread_spinlock_t): Likewise.
1235 [UNIX98] (pthread_barrier_destroy): Likewise.
1236 [UNIX98] (pthread_barrier_init): Likewise.
1237 [UNIX98] (pthread_barrier_wait): Likewise.
1238 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1239 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1240 [UNIX98] (pthread_barrierattr_init): Likewise.
1241 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1242 [UNIX98] (pthread_getcpuclockid): Likewise.
1243 [UNIX98] (pthread_mutex_timedlock): Likewise.
1244 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1245 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1246 [UNIX98] (pthread_sigmask): Likewise.
1247 [UNIX98] (pthread_spin_destroy): Likewise.
1248 [UNIX98] (pthread_spin_init): Likewise.
1249 [UNIX98] (pthread_spin_lock): Likewise.
1250 [UNIX98] (pthread_spin_trylock): Likewise.
1251 [UNIX98] (pthread_spin_unlock): Likewise.
1252 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1253 Do not expect.
1254 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1256 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1257 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1258 [XPG3 || XPG4] (pthread_key_t): Likewise.
1259 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1260 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1261 [XPG3 || XPG4] (pthread_once_t): Likewise.
1262 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1263 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1265 [XPG3 || XPG4] (pthread_t): Likewise.
1266
cbe6e120
JM
1267 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1268 not expect.
1269 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1270
1b126443
JM
1271 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1272 Change function return type to int.
1273
b961a573
JM
1274 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1275 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1276 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1277 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1278 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1279 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1280 [!POSIX] (posix_madvise): Likewise.
1281 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1282 && !UNIX98].
1283 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1284 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1285 (mode_t): Likewise.
1286 (posix_mem_offset): Likewise.
1287 (posix_typed_mem_get_info): Likewise.
1288 (posix_typed_mem_open): Likewise.
1289
9e188909
JM
1290 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1291 Change condition to [XOPEN2K8].
1292
05bcf62a
JM
1293 * conform/conformtest.pl: Preprocess allow-header data with -x c
1294 instead of from stdin.
1295 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1296 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1297 [C99-based standards] (cerfc): Likewise.
1298 [C99-based standards] (cexp2): Likewise.
1299 [C99-based standards] (cexpm1): Likewise.
1300 [C99-based standards] (clog10): Likewise.
1301 [C99-based standards] (clog1p): Likewise.
1302 [C99-based standards] (clog2): Likewise.
1303 [C99-based standards] (clgamma): Likewise.
1304 [C99-based standards] (ctgamma): Likewise.
1305 [C99-based standards] (cerff): Likewise.
1306 [C99-based standards] (cerfcf): Likewise.
1307 [C99-based standards] (cexp2f): Likewise.
1308 [C99-based standards] (cexpm1f): Likewise.
1309 [C99-based standards] (clog10f): Likewise.
1310 [C99-based standards] (clog1pf): Likewise.
1311 [C99-based standards] (clog2f): Likewise.
1312 [C99-based standards] (clgammaf): Likewise.
1313 [C99-based standards] (ctgammaf): Likewise.
1314 [C99-based standards] (cerfl): Likewise.
1315 [C99-based standards] (cerfcl): Likewise.
1316 [C99-based standards] (cexp2l): Likewise.
1317 [C99-based standards] (cexpm1l): Likewise.
1318 [C99-based standards] (clog10l): Likewise.
1319 [C99-based standards] (clog1pl): Likewise.
1320 [C99-based standards] (clog2l): Likewise.
1321 [C99-based standards] (clgammal): Likewise.
1322 [C99-based standards] (ctgammal): Likewise.
1323 * conform/data/inttypes.h-data [C99-based standards]: Include
1324 stdint.h-data. Remove all expectations for stdint.h contents.
1325 [C99-based standards] (PRI*): Do not allow.
1326 [C99-based standards] (SCN*): Likewise.
1327 [C99-based standards] (*_t): Likewise.
1328 [C99-based-standards] (PRId8): Expect macro.
1329 [C99-based-standards] (PRIi8): Likewise.
1330 [C99-based-standards] (PRIo8): Likewise.
1331 [C99-based-standards] (PRIu8): Likewise.
1332 [C99-based-standards] (PRIx8): Likewise.
1333 [C99-based-standards] (PRIX8): Likewise.
1334 [C99-based-standards] (SCNd8): Likewise.
1335 [C99-based-standards] (SCNi8): Likewise.
1336 [C99-based-standards] (SCNo8): Likewise.
1337 [C99-based-standards] (SCNu8): Likewise.
1338 [C99-based-standards] (SCNx8): Likewise.
1339 [C99-based-standards] (PRIdLEAST8): Likewise.
1340 [C99-based-standards] (PRIiLEAST8): Likewise.
1341 [C99-based-standards] (PRIoLEAST8): Likewise.
1342 [C99-based-standards] (PRIuLEAST8): Likewise.
1343 [C99-based-standards] (PRIxLEAST8): Likewise.
1344 [C99-based-standards] (PRIXLEAST8): Likewise.
1345 [C99-based-standards] (SCNdLEAST8): Likewise.
1346 [C99-based-standards] (SCNiLEAST8): Likewise.
1347 [C99-based-standards] (SCNoLEAST8): Likewise.
1348 [C99-based-standards] (SCNuLEAST8): Likewise.
1349 [C99-based-standards] (SCNxLEAST8): Likewise.
1350 [C99-based-standards] (PRIdFAST8): Likewise.
1351 [C99-based-standards] (PRIiFAST8): Likewise.
1352 [C99-based-standards] (PRIoFAST8): Likewise.
1353 [C99-based-standards] (PRIuFAST8): Likewise.
1354 [C99-based-standards] (PRIxFAST8): Likewise.
1355 [C99-based-standards] (PRIXFAST8): Likewise.
1356 [C99-based-standards] (SCNdFAST8): Likewise.
1357 [C99-based-standards] (SCNiFAST8): Likewise.
1358 [C99-based-standards] (SCNoFAST8): Likewise.
1359 [C99-based-standards] (SCNuFAST8): Likewise.
1360 [C99-based-standards] (SCNxFAST8): Likewise.
1361 [C99-based-standards] (PRId16): Likewise.
1362 [C99-based-standards] (PRIi16): Likewise.
1363 [C99-based-standards] (PRIo16): Likewise.
1364 [C99-based-standards] (PRIu16): Likewise.
1365 [C99-based-standards] (PRIx16): Likewise.
1366 [C99-based-standards] (PRIX16): Likewise.
1367 [C99-based-standards] (SCNd16): Likewise.
1368 [C99-based-standards] (SCNi16): Likewise.
1369 [C99-based-standards] (SCNo16): Likewise.
1370 [C99-based-standards] (SCNu16): Likewise.
1371 [C99-based-standards] (SCNx16): Likewise.
1372 [C99-based-standards] (PRIdLEAST16): Likewise.
1373 [C99-based-standards] (PRIiLEAST16): Likewise.
1374 [C99-based-standards] (PRIoLEAST16): Likewise.
1375 [C99-based-standards] (PRIuLEAST16): Likewise.
1376 [C99-based-standards] (PRIxLEAST16): Likewise.
1377 [C99-based-standards] (PRIXLEAST16): Likewise.
1378 [C99-based-standards] (SCNdLEAST16): Likewise.
1379 [C99-based-standards] (SCNiLEAST16): Likewise.
1380 [C99-based-standards] (SCNoLEAST16): Likewise.
1381 [C99-based-standards] (SCNuLEAST16): Likewise.
1382 [C99-based-standards] (SCNxLEAST16): Likewise.
1383 [C99-based-standards] (PRIdFAST16): Likewise.
1384 [C99-based-standards] (PRIiFAST16): Likewise.
1385 [C99-based-standards] (PRIoFAST16): Likewise.
1386 [C99-based-standards] (PRIuFAST16): Likewise.
1387 [C99-based-standards] (PRIxFAST16): Likewise.
1388 [C99-based-standards] (PRIXFAST16): Likewise.
1389 [C99-based-standards] (SCNdFAST16): Likewise.
1390 [C99-based-standards] (SCNiFAST16): Likewise.
1391 [C99-based-standards] (SCNoFAST16): Likewise.
1392 [C99-based-standards] (SCNuFAST16): Likewise.
1393 [C99-based-standards] (SCNxFAST16): Likewise.
1394 [C99-based-standards] (PRId32): Likewise.
1395 [C99-based-standards] (PRIi32): Likewise.
1396 [C99-based-standards] (PRIo32): Likewise.
1397 [C99-based-standards] (PRIu32): Likewise.
1398 [C99-based-standards] (PRIx32): Likewise.
1399 [C99-based-standards] (PRIX32): Likewise.
1400 [C99-based-standards] (SCNd32): Likewise.
1401 [C99-based-standards] (SCNi32): Likewise.
1402 [C99-based-standards] (SCNo32): Likewise.
1403 [C99-based-standards] (SCNu32): Likewise.
1404 [C99-based-standards] (SCNx32): Likewise.
1405 [C99-based-standards] (PRIdLEAST32): Likewise.
1406 [C99-based-standards] (PRIiLEAST32): Likewise.
1407 [C99-based-standards] (PRIoLEAST32): Likewise.
1408 [C99-based-standards] (PRIuLEAST32): Likewise.
1409 [C99-based-standards] (PRIxLEAST32): Likewise.
1410 [C99-based-standards] (PRIXLEAST32): Likewise.
1411 [C99-based-standards] (SCNdLEAST32): Likewise.
1412 [C99-based-standards] (SCNiLEAST32): Likewise.
1413 [C99-based-standards] (SCNoLEAST32): Likewise.
1414 [C99-based-standards] (SCNuLEAST32): Likewise.
1415 [C99-based-standards] (SCNxLEAST32): Likewise.
1416 [C99-based-standards] (PRIdFAST32): Likewise.
1417 [C99-based-standards] (PRIiFAST32): Likewise.
1418 [C99-based-standards] (PRIoFAST32): Likewise.
1419 [C99-based-standards] (PRIuFAST32): Likewise.
1420 [C99-based-standards] (PRIxFAST32): Likewise.
1421 [C99-based-standards] (PRIXFAST32): Likewise.
1422 [C99-based-standards] (SCNdFAST32): Likewise.
1423 [C99-based-standards] (SCNiFAST32): Likewise.
1424 [C99-based-standards] (SCNoFAST32): Likewise.
1425 [C99-based-standards] (SCNuFAST32): Likewise.
1426 [C99-based-standards] (SCNxFAST32): Likewise.
1427 [C99-based-standards] (PRId64): Likewise.
1428 [C99-based-standards] (PRIi64): Likewise.
1429 [C99-based-standards] (PRIo64): Likewise.
1430 [C99-based-standards] (PRIu64): Likewise.
1431 [C99-based-standards] (PRIx64): Likewise.
1432 [C99-based-standards] (PRIX64): Likewise.
1433 [C99-based-standards] (SCNd64): Likewise.
1434 [C99-based-standards] (SCNi64): Likewise.
1435 [C99-based-standards] (SCNo64): Likewise.
1436 [C99-based-standards] (SCNu64): Likewise.
1437 [C99-based-standards] (SCNx64): Likewise.
1438 [C99-based-standards] (PRIdLEAST64): Likewise.
1439 [C99-based-standards] (PRIiLEAST64): Likewise.
1440 [C99-based-standards] (PRIoLEAST64): Likewise.
1441 [C99-based-standards] (PRIuLEAST64): Likewise.
1442 [C99-based-standards] (PRIxLEAST64): Likewise.
1443 [C99-based-standards] (PRIXLEAST64): Likewise.
1444 [C99-based-standards] (SCNdLEAST64): Likewise.
1445 [C99-based-standards] (SCNiLEAST64): Likewise.
1446 [C99-based-standards] (SCNoLEAST64): Likewise.
1447 [C99-based-standards] (SCNuLEAST64): Likewise.
1448 [C99-based-standards] (SCNxLEAST64): Likewise.
1449 [C99-based-standards] (PRIdFAST64): Likewise.
1450 [C99-based-standards] (PRIiFAST64): Likewise.
1451 [C99-based-standards] (PRIoFAST64): Likewise.
1452 [C99-based-standards] (PRIuFAST64): Likewise.
1453 [C99-based-standards] (PRIxFAST64): Likewise.
1454 [C99-based-standards] (PRIXFAST64): Likewise.
1455 [C99-based-standards] (SCNdFAST64): Likewise.
1456 [C99-based-standards] (SCNiFAST64): Likewise.
1457 [C99-based-standards] (SCNoFAST64): Likewise.
1458 [C99-based-standards] (SCNuFAST64): Likewise.
1459 [C99-based-standards] (SCNxFAST64): Likewise.
1460 [C99-based-standards] (PRIdMAX): Likewise.
1461 [C99-based-standards] (PRIiMAX): Likewise.
1462 [C99-based-standards] (PRIoMAX): Likewise.
1463 [C99-based-standards] (PRIuMAX): Likewise.
1464 [C99-based-standards] (PRIxMAX): Likewise.
1465 [C99-based-standards] (PRIXMAX): Likewise.
1466 [C99-based-standards] (SCNdMAX): Likewise.
1467 [C99-based-standards] (SCNiMAX): Likewise.
1468 [C99-based-standards] (SCNoMAX): Likewise.
1469 [C99-based-standards] (SCNuMAX): Likewise.
1470 [C99-based-standards] (SCNxMAX): Likewise.
1471 [C99-based-standards] (PRIdPTR): Likewise.
1472 [C99-based-standards] (PRIiPTR): Likewise.
1473 [C99-based-standards] (PRIoPTR): Likewise.
1474 [C99-based-standards] (PRIuPTR): Likewise.
1475 [C99-based-standards] (PRIxPTR): Likewise.
1476 [C99-based-standards] (PRIXPTR): Likewise.
1477 [C99-based-standards] (SCNdPTR): Likewise.
1478 [C99-based-standards] (SCNiPTR): Likewise.
1479 [C99-based-standards] (SCNoPTR): Likewise.
1480 [C99-based-standards] (SCNuPTR): Likewise.
1481 [C99-based-standards] (SCNxPTR): Likewise.
1482 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1483 allow.
1484 * conform/data/stdint.h-data: Update comments to clarify
1485 requirements.
1486 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1487 type.
1488 [C99-based standards] (INT8_MAX): Likewise.
1489 [C99-based standards] (INT16_MIN): Likewise.
1490 [C99-based standards] (INT16_MAX): Likewise.
1491 [C99-based standards] (INT32_MIN): Likewise.
1492 [C99-based standards] (INT32_MAX): Likewise.
1493 [C99-based standards] (INT64_MIN): Likewise.
1494 [C99-based standards] (INT64_MAX): Likewise.
1495 [C99-based standards] (UINT8_MAX): Likewise.
1496 [C99-based standards] (UINT16_MAX): Likewise.
1497 [C99-based standards] (UINT32_MAX): Likewise.
1498 [C99-based standards] (UINT64_MAX): Likewise.
1499 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1500 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1501 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1502 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1503 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1504 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1505 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1506 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1507 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1508 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1509 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1510 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1511 [C99-based standards] (INT_FAST8_MIN): Likewise.
1512 [C99-based standards] (INT_FAST8_MAX): Likewise.
1513 [C99-based standards] (INT_FAST16_MIN): Likewise.
1514 [C99-based standards] (INT_FAST16_MAX): Likewise.
1515 [C99-based standards] (INT_FAST32_MIN): Likewise.
1516 [C99-based standards] (INT_FAST32_MAX): Likewise.
1517 [C99-based standards] (INT_FAST64_MIN): Likewise.
1518 [C99-based standards] (INT_FAST64_MAX): Likewise.
1519 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1520 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1521 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1522 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1523 [C99-based standards] (INTPTR_MIN): Likewise.
1524 [C99-based standards] (INTPTR_MAX): Likewise.
1525 [C99-based standards] (UINTPTR_MAX): Likewise.
1526 [C99-based standards] (INTMAX_MIN): Likewise.
1527 [C99-based standards] (INTMAX_MAX): Likewise.
1528 [C99-based standards] (UINTMAX_MAX): Likewise.
1529 [C99-based standards] (PTRDIFF_MIN): Likewise.
1530 [C99-based standards] (PTRDIFF_MAX): Likewise.
1531 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1532 [C99-based standards] (SIZE_MAX): Likewise.
1533 [C99-based standards] (WCHAR_MAX): Likewise.
1534 [C99-based standards] (WINT_MAX): Likewise.
1535 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1536 constraint on value.
1537 [C99-based standards] (WCHAR_MIN): Likewise.
1538 [C99-based standards] (WINT_MIN): Likewise.
1539 [C99-based standards] (*_t): Allow.
1540 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1541 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1542 Include math.h-data and complex.h-data. Remove all expectations
1543 of math.h and complex.h contents.
1544 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1545 at end of line.
1546 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1547 (struct tm): Expect tag.
1548 [C99-based-standards] (wcstof): Expect function.
1549 [C99-based-standards] (wcstold): Likewise.
1550 [C99-based-standards] (wcstoll): Likewise.
1551 [C99-based-standards] (wcstoull): Likewise.
1552 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1553 macro-int-constant. Specify type.
1554 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1555 constraint on value.
1556 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1557 Specify type.
1558 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1559 Specify value.
1560 [ISO C standards]: Do not allow headers.
1561 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1562 wcs[abcdefghijklmnopqrstuvwxyz]*.
1563 [ISO C standards] (*_t): Do not allow.
1564 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1565 Expect function.
1566 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1567 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1568 Specify type.
1569 [ISO C standards]: Do not allow headers.
1570 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1571 is[abcdefghijklmnopqrstuvwxyz]*.
1572 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1573 to[abcdefghijklmnopqrstuvwxyz]*.
1574 [ISO C standards] (*_t): Do not allow.
1575 * conform/data/stdalign.h-data: New file.
1576 * conform/data/stdbool.h-data: Likewise.
1577 * conform/data/stdnoreturn.h-data: Likewise.
1578
7514feb8
RM
15792012-11-07 Roland McGrath <roland@hack.frob.com>
1580
1581 [BZ #14815]
1582 * manual/filesys.texi (Directory Entries): Typo fix.
1583 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1584
19b2ecfc
MS
15852012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1586
1587 * elf/elf.h (EM_AARCH64): New macro.
1588 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1589 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1590 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1591 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1592 (R_AARCH64_TLSDESC): Likewise.
1593 (NT_ARM_TLS): Likewise.
1594 (NT_ARM_HW_BREAK): Likewise.
1595 (NT_ARM_HW_WATCH): Likewise.
1596
60e235ee
JM
15972012-11-07 Joseph Myers <joseph@codesourcery.com>
1598
1599 [BZ #14811]
1600 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1601 (__ieee754_powl): Saturate nonzero exponents with absolute value
1602 below 0x1p-79 to +/- 0x1p-79.
1603 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1604 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1605 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1606 nonzero exponents with absolute value below 0x1p-32 to +/-
1607 0x1p-32.
1608 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1609 (__ieee754_powl): Saturate nonzero exponents with absolute value
1610 below 0x1p-79 to +/- 0x1p-79.
1611 * math/libm-test.inc (pow_test): Add more tests.
1612
0ab234b7
AK
16132012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1614
1615 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1616 _dl_s390_cap_flags with kernel. Increase string length.
1617 (_dl_s390_platforms): Add z196 and zEC12.
1618
45832f74
JM
16192012-11-07 Joseph Myers <joseph@codesourcery.com>
1620
1621 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1622 Change XOPEN21K to XOPEN2K.
1623
19218757
MK
16242012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1625
1626 * string/memmove.c: Use memcpy when possible.
1627
c5f45721
AJ
16282012-11-06 Andreas Jaeger <aj@suse.de>
1629
1630 * po/eo.po: Update from translation team.
1631
82477c28
JM
16322012-11-06 Joseph Myers <joseph@codesourcery.com>
1633
1634 [BZ #14793]
1635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1636 exponent and small x and y exponents, scale x or y up. Increase
1637 by 2 the exponent used in scaling up.
1638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1640 * math/libm-test.inc (fma_test): Add more tests.
1641 (fma_test_towardzero): Likewise.
1642 (fma_test_downward): Likewise.
1643 (fma_test_upward): Likewise.
1644
99252c8c
JM
16452012-11-05 Joseph Myers <joseph@codesourcery.com>
1646
acfa885f
JM
1647 [BZ #14805]
1648 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1649 fenv_t *.
1650
99252c8c
JM
1651 [BZ #14801]
1652 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1653 namespace for names of struct fields.
1654 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1655 fenv_t fields.
1656 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1657 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1658
d6d98dea
ST
16592012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1660
1661 [BZ #3665]
1662 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1663
e10bb107
TS
16642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1665
1666 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1667 PTR_DEMANGLE.
1668
1669 [BZ #5246]
1670 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1671 PTR_DEMANGLE.
1672
a0c2940d
JM
16732012-11-04 Joseph Myers <joseph@codesourcery.com>
1674
1675 [BZ #14797]
1676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1677 definitely overflow as x * y not x * y + z.
1678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1680 * math/libm-test.inc (fma_test): Add more tests.
1681 (fma_test_towardzero): Likewise.
1682 (fma_test_downward): Likewise.
1683 (fma_test_upward): Likewise.
1684
b830319d
TS
16852012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1686
1687 [BZ #157]
1688
1689 * include/stub-tag.h: Remove file.
1690 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1691 '#include' of it.
1692 * manual/maint.texi (Porting): Don't reference it.
1693 * Makerules ($(objpfx)stubs): Likewise.
1694 * dirent/closedir.c: Don't include <stub-tag.h>.
1695 * dirent/dirfd.c: Likewise.
1696 * dirent/fdopendir.c: Likewise.
1697 * dirent/getdents.c: Likewise.
1698 * dirent/getdents64.c: Likewise.
1699 * dirent/opendir.c: Likewise.
1700 * dirent/readdir.c: Likewise.
1701 * dirent/readdir64.c: Likewise.
1702 * dirent/readdir64_r.c: Likewise.
1703 * dirent/readdir_r.c: Likewise.
1704 * dirent/rewinddir.c: Likewise.
1705 * dirent/seekdir.c: Likewise.
1706 * dirent/telldir.c: Likewise.
1707 * gmon/profil.c: Likewise.
1708 * grp/setgroups.c: Likewise.
1709 * inet/if_index.c: Likewise.
1710 * io/access.c: Likewise.
1711 * io/chdir.c: Likewise.
1712 * io/chmod.c: Likewise.
1713 * io/chown.c: Likewise.
1714 * io/close.c: Likewise.
1715 * io/dup.c: Likewise.
1716 * io/dup2.c: Likewise.
1717 * io/dup3.c: Likewise.
1718 * io/euidaccess.c: Likewise.
1719 * io/faccessat.c: Likewise.
1720 * io/fchdir.c: Likewise.
1721 * io/fchmod.c: Likewise.
1722 * io/fchmodat.c: Likewise.
1723 * io/fchown.c: Likewise.
1724 * io/fchownat.c: Likewise.
1725 * io/fcntl.c: Likewise.
1726 * io/flock.c: Likewise.
1727 * io/fstatfs.c: Likewise.
1728 * io/fstatfs64.c: Likewise.
1729 * io/fstatvfs.c: Likewise.
1730 * io/fstatvfs64.c: Likewise.
1731 * io/futimens.c: Likewise.
1732 * io/fxstat.c: Likewise.
1733 * io/fxstat64.c: Likewise.
1734 * io/fxstatat.c: Likewise.
1735 * io/fxstatat64.c: Likewise.
1736 * io/getcwd.c: Likewise.
1737 * io/isatty.c: Likewise.
1738 * io/lchmod.c: Likewise.
1739 * io/lchown.c: Likewise.
1740 * io/link.c: Likewise.
1741 * io/linkat.c: Likewise.
1742 * io/lseek.c: Likewise.
1743 * io/lseek64.c: Likewise.
1744 * io/lxstat64.c: Likewise.
1745 * io/mkdir.c: Likewise.
1746 * io/mkdirat.c: Likewise.
1747 * io/mkfifo.c: Likewise.
1748 * io/mkfifoat.c: Likewise.
1749 * io/open.c: Likewise.
1750 * io/open64.c: Likewise.
1751 * io/openat.c: Likewise.
1752 * io/openat64.c: Likewise.
1753 * io/pipe.c: Likewise.
1754 * io/pipe2.c: Likewise.
1755 * io/poll.c: Likewise.
1756 * io/posix_fadvise.c: Likewise.
1757 * io/posix_fadvise64.c: Likewise.
1758 * io/posix_fallocate.c: Likewise.
1759 * io/posix_fallocate64.c: Likewise.
1760 * io/read.c: Likewise.
1761 * io/readlink.c: Likewise.
1762 * io/readlinkat.c: Likewise.
1763 * io/rmdir.c: Likewise.
1764 * io/sendfile.c: Likewise.
1765 * io/sendfile64.c: Likewise.
1766 * io/statfs.c: Likewise.
1767 * io/statfs64.c: Likewise.
1768 * io/statvfs.c: Likewise.
1769 * io/statvfs64.c: Likewise.
1770 * io/symlink.c: Likewise.
1771 * io/symlinkat.c: Likewise.
1772 * io/ttyname.c: Likewise.
1773 * io/ttyname_r.c: Likewise.
1774 * io/umask.c: Likewise.
1775 * io/unlink.c: Likewise.
1776 * io/unlinkat.c: Likewise.
1777 * io/utime.c: Likewise.
1778 * io/utimensat.c: Likewise.
1779 * io/write.c: Likewise.
1780 * io/xmknod.c: Likewise.
1781 * io/xmknodat.c: Likewise.
1782 * io/xstat.c: Likewise.
1783 * io/xstat64.c: Likewise.
1784 * login/getpt.c: Likewise.
1785 * login/grantpt.c: Likewise.
1786 * login/unlockpt.c: Likewise.
1787 * math/e_acoshl.c: Likewise.
1788 * math/e_acosl.c: Likewise.
1789 * math/e_asinl.c: Likewise.
1790 * math/e_atan2l.c: Likewise.
1791 * math/e_atanhl.c: Likewise.
1792 * math/e_coshl.c: Likewise.
1793 * math/e_expl.c: Likewise.
1794 * math/e_fmodl.c: Likewise.
1795 * math/e_gammal_r.c: Likewise.
1796 * math/e_hypotl.c: Likewise.
1797 * math/e_j0l.c: Likewise.
1798 * math/e_j1l.c: Likewise.
1799 * math/e_jnl.c: Likewise.
1800 * math/e_lgammal_r.c: Likewise.
1801 * math/e_log10l.c: Likewise.
1802 * math/e_log2l.c: Likewise.
1803 * math/e_logl.c: Likewise.
1804 * math/e_powl.c: Likewise.
1805 * math/e_rem_pio2l.c: Likewise.
1806 * math/e_sinhl.c: Likewise.
1807 * math/e_sqrtl.c: Likewise.
1808 * math/fclrexcpt.c: Likewise.
1809 * math/fedisblxcpt.c: Likewise.
1810 * math/feenablxcpt.c: Likewise.
1811 * math/fegetenv.c: Likewise.
1812 * math/fegetexcept.c: Likewise.
1813 * math/fegetround.c: Likewise.
1814 * math/feholdexcpt.c: Likewise.
1815 * math/fesetenv.c: Likewise.
1816 * math/fesetround.c: Likewise.
1817 * math/feupdateenv.c: Likewise.
1818 * math/fgetexcptflg.c: Likewise.
1819 * math/fraiseexcpt.c: Likewise.
1820 * math/fsetexcptflg.c: Likewise.
1821 * math/ftestexcept.c: Likewise.
1822 * math/k_cosl.c: Likewise.
1823 * math/k_rem_pio2l.c: Likewise.
1824 * math/k_sinl.c: Likewise.
1825 * math/k_tanl.c: Likewise.
1826 * math/s_asinhl.c: Likewise.
1827 * math/s_atanl.c: Likewise.
1828 * math/s_cbrtl.c: Likewise.
1829 * math/s_erfl.c: Likewise.
1830 * math/s_expm1l.c: Likewise.
1831 * math/s_log1pl.c: Likewise.
1832 * math/s_tanhl.c: Likewise.
1833 * misc/acct.c: Likewise.
1834 * misc/brk.c: Likewise.
1835 * misc/chflags.c: Likewise.
1836 * misc/chroot.c: Likewise.
1837 * misc/fchflags.c: Likewise.
1838 * misc/fgetxattr.c: Likewise.
1839 * misc/flistxattr.c: Likewise.
1840 * misc/fremovexattr.c: Likewise.
1841 * misc/fsetxattr.c: Likewise.
1842 * misc/fsync.c: Likewise.
1843 * misc/ftruncate.c: Likewise.
1844 * misc/futimes.c: Likewise.
1845 * misc/futimesat.c: Likewise.
1846 * misc/getdomain.c: Likewise.
1847 * misc/getdtsz.c: Likewise.
1848 * misc/gethostid.c: Likewise.
1849 * misc/gethostname.c: Likewise.
1850 * misc/getloadavg.c: Likewise.
1851 * misc/getpagesize.c: Likewise.
1852 * misc/getsysstats.c: Likewise.
1853 * misc/getxattr.c: Likewise.
1854 * misc/gtty.c: Likewise.
1855 * misc/ioctl.c: Likewise.
1856 * misc/lgetxattr.c: Likewise.
1857 * misc/listxattr.c: Likewise.
1858 * misc/llistxattr.c: Likewise.
1859 * misc/lremovexattr.c: Likewise.
1860 * misc/lsetxattr.c: Likewise.
1861 * misc/lutimes.c: Likewise.
1862 * misc/madvise.c: Likewise.
1863 * misc/mincore.c: Likewise.
1864 * misc/mlock.c: Likewise.
1865 * misc/mlockall.c: Likewise.
1866 * misc/mmap.c: Likewise.
1867 * misc/mprotect.c: Likewise.
1868 * misc/msync.c: Likewise.
1869 * misc/munlock.c: Likewise.
1870 * misc/munlockall.c: Likewise.
1871 * misc/munmap.c: Likewise.
1872 * misc/preadv.c: Likewise.
1873 * misc/preadv64.c: Likewise.
1874 * misc/ptrace.c: Likewise.
1875 * misc/pwritev.c: Likewise.
1876 * misc/pwritev64.c: Likewise.
1877 * misc/readv.c: Likewise.
1878 * misc/reboot.c: Likewise.
1879 * misc/remap_file_pages.c: Likewise.
1880 * misc/removexattr.c: Likewise.
1881 * misc/revoke.c: Likewise.
1882 * misc/select.c: Likewise.
1883 * misc/setdomain.c: Likewise.
1884 * misc/setegid.c: Likewise.
1885 * misc/seteuid.c: Likewise.
1886 * misc/sethostid.c: Likewise.
1887 * misc/sethostname.c: Likewise.
1888 * misc/setregid.c: Likewise.
1889 * misc/setreuid.c: Likewise.
1890 * misc/setxattr.c: Likewise.
1891 * misc/sstk.c: Likewise.
1892 * misc/stty.c: Likewise.
1893 * misc/swapoff.c: Likewise.
1894 * misc/swapon.c: Likewise.
1895 * misc/sync.c: Likewise.
1896 * misc/syncfs.c: Likewise.
1897 * misc/syscall.c: Likewise.
1898 * misc/truncate.c: Likewise.
1899 * misc/ualarm.c: Likewise.
1900 * misc/usleep.c: Likewise.
1901 * misc/ustat.c: Likewise.
1902 * misc/utimes.c: Likewise.
1903 * misc/vhangup.c: Likewise.
1904 * misc/writev.c: Likewise.
1905 * posix/_exit.c: Likewise.
1906 * posix/alarm.c: Likewise.
1907 * posix/execve.c: Likewise.
1908 * posix/fexecve.c: Likewise.
1909 * posix/fork.c: Likewise.
1910 * posix/fpathconf.c: Likewise.
1911 * posix/getaddrinfo.c: Likewise.
1912 * posix/getegid.c: Likewise.
1913 * posix/geteuid.c: Likewise.
1914 * posix/getgid.c: Likewise.
1915 * posix/getgroups.c: Likewise.
1916 * posix/getlogin.c: Likewise.
1917 * posix/getlogin_r.c: Likewise.
1918 * posix/getpgid.c: Likewise.
1919 * posix/getpid.c: Likewise.
1920 * posix/getppid.c: Likewise.
1921 * posix/getresgid.c: Likewise.
1922 * posix/getresuid.c: Likewise.
1923 * posix/getsid.c: Likewise.
1924 * posix/getuid.c: Likewise.
1925 * posix/glob64.c: Likewise.
1926 * posix/nanosleep.c: Likewise.
1927 * posix/pathconf.c: Likewise.
1928 * posix/pause.c: Likewise.
1929 * posix/posix_madvise.c: Likewise.
1930 * posix/pread.c: Likewise.
1931 * posix/pread64.c: Likewise.
1932 * posix/pwrite.c: Likewise.
1933 * posix/pwrite64.c: Likewise.
1934 * posix/sched_getaffinity.c: Likewise.
1935 * posix/sched_getp.c: Likewise.
1936 * posix/sched_gets.c: Likewise.
1937 * posix/sched_primax.c: Likewise.
1938 * posix/sched_primin.c: Likewise.
1939 * posix/sched_rr_gi.c: Likewise.
1940 * posix/sched_setaffinity.c: Likewise.
1941 * posix/sched_setp.c: Likewise.
1942 * posix/sched_sets.c: Likewise.
1943 * posix/sched_yield.c: Likewise.
1944 * posix/setgid.c: Likewise.
1945 * posix/setlogin.c: Likewise.
1946 * posix/setpgid.c: Likewise.
1947 * posix/setresgid.c: Likewise.
1948 * posix/setresuid.c: Likewise.
1949 * posix/setsid.c: Likewise.
1950 * posix/setuid.c: Likewise.
1951 * posix/sleep.c: Likewise.
1952 * posix/spawni.c: Likewise.
1953 * posix/sysconf.c: Likewise.
1954 * posix/times.c: Likewise.
1955 * posix/wait.c: Likewise.
1956 * posix/wait3.c: Likewise.
1957 * posix/wait4.c: Likewise.
1958 * posix/waitpid.c: Likewise.
1959 * resolv/gai_sigqueue.c: Likewise.
1960 * resource/getpriority.c: Likewise.
1961 * resource/getrlimit.c: Likewise.
1962 * resource/getrusage.c: Likewise.
1963 * resource/nice.c: Likewise.
1964 * resource/setpriority.c: Likewise.
1965 * resource/setrlimit.c: Likewise.
1966 * resource/ulimit.c: Likewise.
1967 * rt/aio_cancel.c: Likewise.
1968 * rt/aio_fsync.c: Likewise.
1969 * rt/aio_read.c: Likewise.
1970 * rt/aio_sigqueue.c: Likewise.
1971 * rt/aio_suspend.c: Likewise.
1972 * rt/aio_write.c: Likewise.
1973 * rt/clock_getres.c: Likewise.
1974 * rt/clock_gettime.c: Likewise.
1975 * rt/clock_nanosleep.c: Likewise.
1976 * rt/clock_settime.c: Likewise.
1977 * rt/lio_listio.c: Likewise.
1978 * rt/mq_close.c: Likewise.
1979 * rt/mq_getattr.c: Likewise.
1980 * rt/mq_notify.c: Likewise.
1981 * rt/mq_open.c: Likewise.
1982 * rt/mq_receive.c: Likewise.
1983 * rt/mq_send.c: Likewise.
1984 * rt/mq_setattr.c: Likewise.
1985 * rt/mq_timedreceive.c: Likewise.
1986 * rt/mq_timedsend.c: Likewise.
1987 * rt/mq_unlink.c: Likewise.
1988 * rt/shm_open.c: Likewise.
1989 * rt/shm_unlink.c: Likewise.
1990 * rt/timer_create.c: Likewise.
1991 * rt/timer_delete.c: Likewise.
1992 * rt/timer_getoverr.c: Likewise.
1993 * rt/timer_gettime.c: Likewise.
1994 * rt/timer_settime.c: Likewise.
1995 * setjmp/__longjmp.c: Likewise.
1996 * setjmp/setjmp.c: Likewise.
1997 * signal/kill.c: Likewise.
1998 * signal/killpg.c: Likewise.
1999 * signal/raise.c: Likewise.
2000 * signal/sigaction.c: Likewise.
2001 * signal/sigaltstack.c: Likewise.
2002 * signal/sigblock.c: Likewise.
2003 * signal/sigignore.c: Likewise.
2004 * signal/sigintr.c: Likewise.
2005 * signal/signal.c: Likewise.
2006 * signal/sigpause.c: Likewise.
2007 * signal/sigpending.c: Likewise.
2008 * signal/sigqueue.c: Likewise.
2009 * signal/sigreturn.c: Likewise.
2010 * signal/sigset.c: Likewise.
2011 * signal/sigsetmask.c: Likewise.
2012 * signal/sigstack.c: Likewise.
2013 * signal/sigsuspend.c: Likewise.
2014 * signal/sigtimedwait.c: Likewise.
2015 * signal/sigvec.c: Likewise.
2016 * signal/sigwait.c: Likewise.
2017 * signal/sigwaitinfo.c: Likewise.
2018 * signal/sysv_signal.c: Likewise.
2019 * socket/accept.c: Likewise.
2020 * socket/accept4.c: Likewise.
2021 * socket/bind.c: Likewise.
2022 * socket/connect.c: Likewise.
2023 * socket/getpeername.c: Likewise.
2024 * socket/getsockname.c: Likewise.
2025 * socket/getsockopt.c: Likewise.
2026 * socket/isfdtype.c: Likewise.
2027 * socket/listen.c: Likewise.
2028 * socket/recv.c: Likewise.
2029 * socket/recvfrom.c: Likewise.
2030 * socket/recvmsg.c: Likewise.
2031 * socket/send.c: Likewise.
2032 * socket/sendmsg.c: Likewise.
2033 * socket/sendto.c: Likewise.
2034 * socket/setsockopt.c: Likewise.
2035 * socket/shutdown.c: Likewise.
2036 * socket/sockatmark.c: Likewise.
2037 * socket/socket.c: Likewise.
2038 * socket/socketpair.c: Likewise.
2039 * stdio-common/ctermid.c: Likewise.
2040 * stdio-common/cuserid.c: Likewise.
2041 * stdio-common/remove.c: Likewise.
2042 * stdio-common/rename.c: Likewise.
2043 * stdio-common/renameat.c: Likewise.
2044 * stdio-common/tempname.c: Likewise.
2045 * stdlib/getcontext.c: Likewise.
2046 * stdlib/makecontext.c: Likewise.
2047 * stdlib/setcontext.c: Likewise.
2048 * stdlib/swapcontext.c: Likewise.
2049 * stdlib/system.c: Likewise.
2050 * streams/fattach.c: Likewise.
2051 * streams/fdetach.c: Likewise.
2052 * streams/getmsg.c: Likewise.
2053 * streams/getpmsg.c: Likewise.
2054 * streams/putmsg.c: Likewise.
2055 * streams/putpmsg.c: Likewise.
2056 * sysdeps/unix/bsd/getpt.c: Likewise.
2057 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2058 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2059 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2063 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2064 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2065 * sysvipc/msgctl.c: Likewise.
2066 * sysvipc/msgget.c: Likewise.
2067 * sysvipc/msgrcv.c: Likewise.
2068 * sysvipc/msgsnd.c: Likewise.
2069 * sysvipc/semctl.c: Likewise.
2070 * sysvipc/semget.c: Likewise.
2071 * sysvipc/semop.c: Likewise.
2072 * sysvipc/semtimedop.c: Likewise.
2073 * sysvipc/shmat.c: Likewise.
2074 * sysvipc/shmctl.c: Likewise.
2075 * sysvipc/shmdt.c: Likewise.
2076 * sysvipc/shmget.c: Likewise.
2077 * termios/tcdrain.c: Likewise.
2078 * termios/tcflow.c: Likewise.
2079 * termios/tcflush.c: Likewise.
2080 * termios/tcgetattr.c: Likewise.
2081 * termios/tcgetpgrp.c: Likewise.
2082 * termios/tcsendbrk.c: Likewise.
2083 * termios/tcsetattr.c: Likewise.
2084 * termios/tcsetpgrp.c: Likewise.
2085 * time/adjtime.c: Likewise.
2086 * time/clock.c: Likewise.
2087 * time/getitimer.c: Likewise.
2088 * time/gettimeofday.c: Likewise.
2089 * time/setitimer.c: Likewise.
2090 * time/settimeofday.c: Likewise.
2091 * time/stime.c: Likewise.
2092 * time/time.c: Likewise.
2093
20942012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2095
a20492cf
PT
2096 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2097 /usr/old/bin.
2098
72e182e3
PT
2099 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2100 instead of spaces.
2101 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2102
fbeafede
JM
21032012-11-03 Joseph Myers <joseph@codesourcery.com>
2104
5b5b04d6
JM
2105 [BZ #14796]
2106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2107 FE_TONEAREST before applying Dekker multiplication and Knuth
2108 addition. Clear inexact exceptions and check for exact zero
2109 results afterwards.
2110 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2111 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2112 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2113 * math/libm-test.inc (fma_test): Add more tests.
2114 (fma_test_towardzero): Likewise.
2115 (fma_test_downward): Likewise.
2116 (fma_test_upward): Likewise.
2117 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2118 function.
2119 (libc_fesetround): New macro.
2120 (libc_fesetroundf): Likewise.
2121 (libc_fesetroundl): Likewise.
2122 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2123 function.
2124 (libc_fesetround_387): Likewise.
2125 (libc_fesetroundf): New macro.
2126 (libc_fesetround): Likewise.
2127 (libc_fesetroundl): Likewise.
2128 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2129 function.
2130 (libc_fesetroundf): New macro.
2131 (libc_fesetround): Likewise.
2132 (libc_fesetroundl): Likewise.
2133 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2134 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2135 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2136 libm_hidden_ver.
2137 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2138 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2139 libm_hidden_def.
2140 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2141 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2142 libm_hidden_ver.
2143 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2144 libm_hidden_def.
2145
fbeafede
JM
2146 [BZ #3439]
2147 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2148 integer constant usable in #if and use that to give value to enum
2149 constant.
2150 (FE_DIVBYZERO): Likewise.
2151 (FE_UNDERFLOW): Likewise.
2152 (FE_OVERFLOW): Likewise.
2153 (FE_INVALID): Likewise.
2154 (FE_INVALID_SNAN): Likewise.
2155 (FE_INVALID_ISI): Likewise.
2156 (FE_INVALID_IDI): Likewise.
2157 (FE_INVALID_ZDZ): Likewise.
2158 (FE_INVALID_IMZ): Likewise.
2159 (FE_INVALID_COMPARE): Likewise.
2160 (FE_INVALID_SOFTWARE): Likewise.
2161 (FE_INVALID_SQRT): Likewise.
2162 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2163 (FE_TONEAREST): Likewise.
2164 (FE_TOWARDZERO): Likewise.
2165 (FE_UPWARD): Likewise.
2166 (FE_DOWNWARD): Likewise.
2167 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2168 (FE_DIVBYZERO): Likewise.
2169 (FE_OVERFLOW): Likewise.
2170 (FE_UNDERFLOW): Likewise.
2171 (FE_INEXACT): Likewise.
2172 (FE_TONEAREST): Likewise.
2173 (FE_DOWNWARD): Likewise.
2174 (FE_UPWARD): Likewise.
2175 (FE_TOWARDZERO): Likewise.
2176 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2177 (FE_UNDERFLOW): Likewise.
2178 (FE_OVERFLOW): Likewise.
2179 (FE_DIVBYZERO): Likewise.
2180 (FE_INVALID): Likewise.
2181 (FE_TONEAREST): Likewise.
2182 (FE_TOWARDZERO): Likewise.
2183 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2184 (FE_OVERFLOW): Likewise.
2185 (FE_UNDERFLOW): Likewise.
2186 (FE_DIVBYZERO): Likewise.
2187 (FE_INEXACT): Likewise.
2188 (FE_TONEAREST): Likewise.
2189 (FE_TOWARDZERO): Likewise.
2190 (FE_UPWARD): Likewise.
2191 (FE_DOWNWARD): Likewise.
2192 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2193 (FE_DIVBYZERO): Likewise.
2194 (FE_OVERFLOW): Likewise.
2195 (FE_UNDERFLOW): Likewise.
2196 (FE_INEXACT): Likewise.
2197 (FE_TONEAREST): Likewise.
2198 (FE_DOWNWARD): Likewise.
2199 (FE_UPWARD): Likewise.
2200 (FE_TOWARDZERO): Likewise.
2201
105ca950
CM
22022012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2203
2204 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2205
a542b389
AS
22062012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2207
2208 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2209 commands. Quote $PWD.
2210 (blacklist_exports): Don't use remove_newlines. Replace "declare
2211 -x" by "export".
2212 (remove_newlines): Remove.
2213
f62c8abc
L
22142012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2217 * stdlib/stdlib.h (atof): Moved to ...
2218 * include/bits/stdlib-float.h: Here. New file.
2219 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2220 * stdlib/bits/stdlib-float.h: New file.
2221 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2222 -mno-sse -mno-mmx.
2223 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2224 <xmmintrin.h>.
2225
0155d5b2
JM
22262012-11-02 Joseph Myers <joseph@codesourcery.com>
2227
a68d0680
JM
2228 * conform/conformtest.pl (@headers): Add fenv.h.
2229 * conform/data/fenv.h-data: New file.
2230 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2231 include of <math/fenv.h>.
2232
caf7f573
JM
2233 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2234 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2235 && !UNIX98]. Enables tests for XOPEN2K8.
2236 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2237 POSIX2008]: Likewise.
2238
6c073ad6
JM
2239 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2240 (struct rusage): Do not expect type or its members.
2241
0155d5b2
JM
2242 [BZ #3439]
2243 * math/math.h (FP_NAN): Define macro to integer constant usable in
2244 #if and use that to give value to enum constant.
2245 (FP_INFINITE): Likewise.
2246 (FP_ZERO): Likewise.
2247 (FP_SUBNORMAL): Likewise.
2248 (FP_NORMAL): Likewise.
2249
b5dcacb4
AS
22502012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2251
2252 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2253 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2254 arguments.
2255
f7934be8
RM
22562012-11-02 Roland McGrath <roland@hack.frob.com>
2257
2258 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2259 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2260 autoconf-time if not.
2261 * configure.in: Remove AC_PREREQ.
2262
d7d08bde
TMQMF
22632012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2264
2265 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2266 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2267 of the internal implementation.
2268
dcdae19a
JM
22692012-11-02 Joseph Myers <joseph@codesourcery.com>
2270
2271 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2272 except include of <misc/sys/syslog.h>.
2273
d6cffd3e
AS
22742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2275
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2277 function returns with a NULL context exit with zero.
2278
b3563932
TMQMF
22792012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2280
2281 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2282
b288a93d
L
22832012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2284
2285 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2286 (run_program_cmd): This.
2287 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2288 (tst_langinfo): New variable. Use it.
2289
a2421a68
SAS
22902012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2291
2292 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2293 floating point opcodes.
2294
6f796e1b
TS
22952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2296
7402596b
TS
2297 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2298 variable.
2299
d0d4f868
TS
2300 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2301
6f796e1b
TS
2302 * sysdeps/mach/hurd/powerpc: Remove directory.
2303 * sysdeps/mach/powerpc: Likewise.
2304
4da224a2
AS
23052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2306
2307 * scripts/check-local-headers.sh: Ignore c++ headers.
2308
341dd673
TS
23092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2310
2311 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2312 __libc_cleanup_region_start argument.
2313
473611b2
JM
23142012-11-01 Joseph Myers <joseph@codesourcery.com>
2315
2316 [BZ #14784]
2317 [BZ #14785]
2318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2319 x * y using scaling, not as x * y + z.
2320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2321 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2322 * math/libm-test.inc (fma_test): Add more tests.
2323 (fma_test_towardzero): Likewise.
2324 (fma_test_downward): Likewise.
2325 (fma_test_upward): Likewise.
2326
4078da3d
TS
23272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2328
2329 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2330
903252aa
JM
23312012-10-31 Joseph Myers <joseph@codesourcery.com>
2332
2333 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2334 New variable.
2335
cbc818d0
TS
23362012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2337
2338 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2339
5a03cb1e
AS
23402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2341
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2343 Fix sort order.
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2345 Likewise.
2346
90aff2ff
TMQMF
23472012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2348
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2350 Fix the order of the list for glibc 2.17.
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2352 Likewise.
2353
1818fcb7
AS
23542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2355
2356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2357
ef82f4da
JM
23582012-10-31 Joseph Myers <joseph@codesourcery.com>
2359
16a0e2ec
JM
2360 [BZ #14610]
2361 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2362 for low part of x being zero before using __atanl (y).
2363 * math/libm-test.inc (atan2_test): Add another test.
2364
0eb69512
JM
2365 * manual/install.texi (Configuring and compiling): Document
2366 general use of test-wrapper and test-wrapper-env.
2367 * INSTALL: Regenerated.
2368
ef82f4da
JM
2369 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2370 (__fma): Do not extract and scale down low bits on after-rounding
2371 systems when result rounded to normal precision would have normal
2372 exponent.
2373 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2374 (__fmal): Do not extract and scale down low bits on after-rounding
2375 systems when result rounded to normal precision would have normal
2376 exponent.
2377 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2378 (__fmal): Do not extract and scale down low bits on after-rounding
2379 systems when result rounded to normal precision would have normal
2380 exponent.
2381 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2382 macro.
2383 (fma_test): Add more tests.
2384 (fma_test_towardzero): Likewise.
2385 (fma_test_downward): Likewise.
2386 (fma_test_upward): Likewise.
2387
954ef0d9
L
23882012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * sysdeps/i386/tininess.h: Renamed to ...
2391 * sysdeps/x86/tininess.h: This.
2392 * sysdeps/x86_64/tininess.h: Removed.
2393
df61ffb2
JM
23942012-10-30 Joseph Myers <joseph@codesourcery.com>
2395
2396 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2397 input. Use $(build-program-cmd).
2398 ($(objpfx)tst-array1-static.out): Likewise.
2399 ($(objpfx)tst-array2.out): Likewise.
2400 ($(objpfx)tst-array3.out): Likewise.
2401 ($(objpfx)tst-array4.out): Likewise.
2402 ($(objpfx)tst-array5.out): Likewise.
2403 ($(objpfx)tst-array5-static.out): Likewise.
2404
01767843
CM
24052012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2406
47cc1490
CM
2407 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2408 if defined.
2409
01767843
CM
2410 * nss/nsswitch.h (nss_interface_function): Provide new
2411 macro for use with NSS functions.
2412 * grp/initgroups.c: Use new macro.
2413 * nss/getXXbyYY.c: Likewise.
2414 * nss/getXXbyYY_r.c: Likewise.
2415 * nss/getXXent.c: Likewise.
2416 * nss/getXXent_r.c: Likewise.
2417 * sysdeps/posix/getaddrinfo.c: Likewise.
2418
8321aa97
AJ
24192012-10-30 Andreas Jaeger <aj@suse.de>
2420
2421 * po/ru.po: Update Russion translation from translation project.
2422
2a27fd6d
JM
24232012-10-30 Joseph Myers <joseph@codesourcery.com>
2424
8627a232
JM
2425 [BZ #14152]
2426 [BZ #14783]
2427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2428 result and shift together with sticky bit instead of replicating
2429 round-to-nearest rounding.
2430 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2432 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2433 missing underflow exceptions.
2434 (fma_test_towardzero): Add more tests.
2435 (fma_test_downward): Likewise.
2436 (fma_test_upward): Likewise.
2437
2a27fd6d
JM
2438 [BZ #14047]
2439 * sysdeps/generic/tininess.h: New file.
2440 * sysdeps/i386/tininess.h: Likewise.
2441 * sysdeps/sh/tininess.h: Likewise.
2442 * sysdeps/x86_64/tininess.h: Likewise.
2443 * stdlib/tst-strtod-underflow.c: Likewise.
2444 * stdlib/tst-tininess.c: Likewise.
2445 * stdlib/strtod_l.c: Include <tininess.h>.
2446 (round_and_return): Do not set errno for exact underflow cases.
2447 Force an underflow exception when setting errno for underflow.
2448 Determine underflow based on rounding to normal precision if
2449 TININESS_AFTER_ROUNDING.
2450 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2451 ERANGE for exact underflow cases.
2452 * stdlib/Makefile (tests): Add tst-tininess and
2453 tst-strtod-underflow.
2454 ($(objpfx)tst-tininess): Use $(link-libm).
2455 ($(objpfx)tst-strtod-underflow): Likewise.
2456
e7170363
AJ
24572012-10-30 Andreas Jaeger <aj@suse.de>
2458
e5088dc6
AJ
2459 [BZ#14767]
2460 * elf/Makefile (tests): Remove conditional for have-initfini-array
2461 since this is now always required and the variable does not exist
2462 anymore.
2463 (tests-static): Likewise.
2464 (modules-names): Likewise.
2465
e7170363 2466 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2467
2468 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2469 merged with constructor/destructor.
2470 (init_array): Likewise.
2471 * elf/tst-array2dep.c (fini_array): Likewise.
2472 (init_array): Likewise.
2473
60457d8a
MF
24742012-10-29 Mike Frysinger <vapier@gentoo.org>
2475
2476 * manual/message.texi: Delete @cartouche tags.
2477
8bece752
PT
24782012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2479
94ce799f
PT
2480 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2481 EOPNOTSUPP.
2482 * sysdeps/mach/hurd/fsync.c: Likewise.
2483
8bece752
PT
2484 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2485 [_POSIX_REALTIME_SIGNALS]: Change condition to
2486 [_POSIX_REALTIME_SIGNALS > 0].
2487
86ebe6b1
AJ
24882012-10-27 Andreas Jaeger <aj@suse.de>
2489
2490 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2491 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2492 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2493 [__WORDSIZE != 64]: Likewise.
2494
54399c08
L
24952012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2496
2497 * iconvdata/tst-table.sh: Remove ${SHELL}.
2498 * iconvdata/tst-tables.sh: Likewise.
2499
e2211bed
DM
25002012-10-25 David S. Miller <davem@davemloft.net>
2501
2502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2503 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2504 of strtoull.
2505
f303f97c
DM
2506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2507 ifunc-impl-list.c
2508 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2509 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2510 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2511 file.
2512
1e9d84cd
RM
25132012-10-25 Roland McGrath <roland@hack.frob.com>
2514
2515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2516 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2517 __getdirentries.
2518
df381762
JM
25192012-10-25 Joseph Myers <joseph@codesourcery.com>
2520 Jim Blandy <jimb@codesourcery.com>
2521
2522 * scripts/cross-test-ssh.sh: New file.
2523 * manual/install.texi (Configuring and compiling): Document use of
2524 cross-test-ssh.sh.
2525 * INSTALL: Regenerated.
2526
bff64913
PT
25272012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2528
2529 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2530 EOPNOTSUPP.
2531
25fe8932
JM
25322012-10-25 Joseph Myers <joseph@codesourcery.com>
2533
2534 * Makeconfig (run-program-prefix): Fix comment.
2535
cc1290d0
JM
25362012-10-24 Joseph Myers <joseph@codesourcery.com>
2537 Jim Blandy <jimb@codesourcery.com>
2538
2539 * Makeconfig (test-wrapper): New variable,
2540 (test-wrapper-env): Likewise.
2541 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2542 (run-built-tests): Define to yes.
2543 (run-program-prefix): Use $(test-wrapper).
2544 (built-program-cmd): Likewise.
2545 * Rules (make-test-out): Use $(test-wrapper-env) and
2546 $(host-built-program-cmd).
2547 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2548 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2549 tst-pathopt.sh.
2550 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2551 $(test-wrapper-env) to tst-rtld-load-self.sh.
2552 ($(objpfx)order2.out): Use $(test-wrapper).
2553 ($(objpfx)tst-initorder.out): Likewise.
2554 ($(objpfx)tst-initorder2.out): Likewise.
2555 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2556 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2557 (test_wrapper_env): New variable. Use it to run ld.so.
2558 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2559 Use it to run ld.so.
2560 (test_wrapper_env): Likewise.
2561 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2562 $(test-wrapper) to run-iconv-test.sh.
2563 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2564 (ICONV): Use $test_wrapper.
2565 * posix/Makefile ($(objpfx)globtest.out): Pass
2566 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2567 globtest.sh, not $(run-program-prefix).
2568 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2569 (test_wrapper): Likewise.
2570 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2571 set together with run_via_rtld_prefix.
2572 (run_program_prefix): Define in terms of test_wrapper and
2573 run_via_rtld_prefix.
2574
6e6249d0
RM
25752012-10-24 Roland McGrath <roland@hack.frob.com>
2576
2577 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2578 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2579 Targets removed.
2580
2581 [BZ #14743]
2582 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2583 Declare __clock_getres, __clock_gettime, __clock_settime,
2584 __clock_nanosleep, and __clock_getcpuclockid.
2585 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2586 Remove librt_hidden_def (clock_gettime).
2587 * sysdeps/unix/clock_gettime.c: Likewise.
2588 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2589 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2590 * rt/clock_getres.c: Define __clock_getres as an alias.
2591 * sysdeps/posix/clock_getres.c: Likewise.
2592 * rt/clock_settime.c: Define __clock_settime as an alias.
2593 * sysdeps/unix/clock_settime.c: Likewise.
2594 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2595 * sysdeps/unix/clock_nanosleep.c: Likewise.
2596 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2597 * rt/clock-compat.c: New file.
2598 * rt/Makefile (librt-routines): Add clock-compat and move
2599 $(clock-routines) to ...
2600 (routines): ... here, new variable.
2601 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2602 Don't add get_clockfreq here.
2603 * rt/Versions (libc: GLIBC_2.17): New version set.
2604 Add clock_* symbols here.
2605 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2607 (GLIBC_2.17): Add clock_* symbols.
2608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2610 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2612 Likewise.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2614 Likewise.
2615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2619 * NEWS: Mention the move.
2620
2621 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2622 Use __open, __read, __close rather than their public counterparts.
2623 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2624 (__get_clockfreq_via_cpuinfo): Likewise.
2625 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2626 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2627
2628 * config.h.in (HAVE_IFUNC): New #undef.
2629 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2630 was successful.
2631 * configure: Regenerated.
2632
0cae3f4b
MF
26332012-10-24 Mike Frysinger <vapier@gentoo.org>
2634
2635 * configure.in: Move READELF check to start of file.
2636 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2637 libc_cv_asm_gnu_indirect_function in the process.
2638 * configure: Regenerated.
2639
8175a253
MF
26402012-10-24 Mike Frysinger <vapier@gentoo.org>
2641
2642 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2643 send the output to /dev/null.
2644 (libc_cv_cc_with_libunwind): Likewise.
2645 (libc_cv_as_noexecstack): Likewise.
2646 * configure: Regenerate.
2647
0708a7d1
JM
26482012-10-24 Joseph Myers <joseph@codesourcery.com>
2649
10b40d85
JM
2650 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2651
0708a7d1
JM
2652 * posix/globtest.sh (TMPDIR): Do not set.
2653 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2654 (testout): Likewise.
2655
9fddec1a
AJ
26562012-10-24 Andreas Jaeger <aj@suse.de>
2657
3a8db22f
AJ
2658 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2659 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2660 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2661 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2662 posix_fadvise64, posix_fallocate64.
2663
9fddec1a
AJ
2664 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2665 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2666 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2667 Likewise.
2668 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2669 Likewise.
2670 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2671
2672 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2673 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2674 <bits/fcntl-linux.h>.
2675 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2676
2677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2678 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2679 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2680 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2681 [__WORDSIZE != 64]: Likewise.
2682
ebfd1bbd
JM
26832012-10-23 Joseph Myers <joseph@codesourcery.com>
2684
03ac099f
JM
2685 * Makeconfig (run-built-tests): New variable.
2686 * Rules [$(cross-compiling) = yes]: Change condition to
2687 [$(run-built-tests) = no].
2688 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2689 to [$(run-built-tests) = yes].
2690 * elf/Makefile [$(cross-compiling) = no]: Likewise
2691 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2692 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2693 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2694 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2695 * io/Makefile [$(cross-compiling) = no]: Likewise.
2696 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2697 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2698 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2699 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2700 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2701 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2702 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2703 * string/Makefile [$(cross-compiling) = no]: Likewise.
2704
ebfd1bbd
JM
2705 * posix/Makefile ($(objpfx)globtest.out): Pass
2706 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2707 $(rtld-installed-name).
2708 * posix/globtest.sh (elf_objpfx): Remove variable.
2709 (rtld_installed_name): Likewise.
2710 (library_path): Likewise.
2711 (run_program_prefix): New variable. Use for running globtest
2712 binary.
2713
166bca24
JB
27142012-10-23 Jim Blandy <jimb@codesourcery.com>
2715 Joseph Myers <joseph@codesourcery.com>
2716
2717 * Makeconfig (host-built-program-cmd): New variable.
2718 * elf/Makefile (tst-stackguard1-ARGS): Use
2719 $(host-built-program-cmd).
2720 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2721 (tst-spawn-ARGS): Likewise.
2722 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2723
88866099
JM
27242012-10-23 Joseph Myers <joseph@codesourcery.com>
2725 Jim Blandy <jimb@codesourcery.com>
2726
2727 * Makeconfig (run-via-rtld-prefix): New variable.
2728 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2729 (built-program-cmd): Likewise.
2730
b4b4c296
AJ
27312012-10-22 Andreas Jaeger <aj@suse.de>
2732
2733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2734 __O_RSYNC if it exists, otherwise to O_SYNC.
2735
6fb54a22
JB
27362012-10-22 Jim Blandy <jimb@codesourcery.com>
2737 Joseph Myers <joseph@codesourcery.com>
2738
2739 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2740 /dev/null.
2741 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2742 from /dev/null
2743 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2744 /dev/null.
2745
481b90b9
AJ
27462012-10-22 Andreas Jaeger <aj@suse.de>
2747
2a0e2669
AJ
2748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2749 Define always.
2750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2751
76e38f9a
AJ
2752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2753 bits/fcntl-linux.h.
2754
7cd37b43
AJ
2755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2756 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2757
481b90b9
AJ
2758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2759 to __O_LARGEFILE.
2760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2761 to __O_LARGEFILE.
2762
aba75984
JB
27632012-10-21 Jim Blandy <jimb@codesourcery.com>
2764 Joseph Myers <joseph@codesourcery.com>
2765
2766 * config.make.in (NM): New variable.
2767
88d4247f
AJ
27682012-10-21 Andreas Jaeger <aj@suse.de>
2769
2770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2771 definitions and declarations that are provided by
2772 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2773
f2eed205
L
27742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2775
2776 [BZ #14683]
2777 * elf/Makefile (tests-static): Add tst-leaks1-static.
2778 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2779 ($(objpfx)tst-leaks1-static): New rule.
2780 ($(objpfx)tst-leaks1-static-mem): Likewise.
2781 (tst-leaks1-static-ENV): New macro.
2782 * elf/dl-open.c (dl_open_worker): Check the main application
2783 only if SHARED is defined.
2784 * elf/tst-leaks1-static.c: New file.
2785
335e6931
AJ
27862012-10-20 Andreas Jaeger <aj@suse.de>
2787
2788 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2789 generic values for Linux.
2790 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2791 and declarations that are provided by <bits/fcntl-linux.h> and
2792 include <bits/fcntl-linux.h>.
2793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2794 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2795
ac5c94d3
RM
27962012-10-20 Roland McGrath <roland@hack.frob.com>
2797
2798 * io/fcntl.h: Move include of <bits/types.h> to the top and
2799 include it unconditionally.
2800
de54b33a
L
28012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2802
228cfb01
L
2803 * wcsmbs/Makefile (tests-ifunc): New variable.
2804 (tests): Add $(tests-ifunc).
2805 * wcsmbs/test-wcschr-ifunc.c: New file.
2806 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2807 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2808 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2809 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2810 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2811
69f07e5f
L
2812 * string/Makefile (tests-ifunc): New variable.
2813 (tests): Add $(tests-ifunc).
2814 * string/test-memccpy.c (TEST_NAME): New macro.
2815 * string/test-memchr.c (TEST_NAME): Likewise.
2816 * string/test-memcmp.c (TEST_NAME): Likewise.
2817 * string/test-memcpy.c (TEST_NAME): Likewise.
2818 * string/test-memmem.c (TEST_NAME): Likewise.
2819 * string/test-memmove.c (TEST_NAME): Likewise.
2820 * string/test-memset.c (TEST_NAME): Likewise.
2821 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2822 * string/test-stpcpy.c (TEST_NAME): Likewise.
2823 * string/test-stpncpy.c (TEST_NAME): Likewise.
2824 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2825 * string/test-strcasestr.c (TEST_NAME): Likewise.
2826 * string/test-strcat.c (TEST_NAME): Likewise.
2827 * string/test-strchr.c (TEST_NAME): Likewise.
2828 * string/test-strcmp.c(TEST_NAME): Likewise.
2829 * string/test-strcpy.c (TEST_NAME): Likewise.
2830 * string/test-strcspn.c (TEST_NAME): Likewise.
2831 * string/test-strlen.c (TEST_NAME): Likewise.
2832 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2833 * string/test-strncmp.c (TEST_NAME): Likewise.
2834 * string/test-strncpy.c (TEST_NAME): Likewise.
2835 * string/test-strnlen.c (TEST_NAME): Likewise.
2836 * string/test-strpbrk.c (TEST_NAME): Likewise.
2837 * string/test-strrchr.c (TEST_NAME): Likewise.
2838 * string/test-strspn.c (TEST_NAME): Likewise.
2839 * string/test-strstr.c (TEST_NAME): Likewise.
2840 * string/test-bcopy-ifunc.c: New file.
2841 * string/test-bzero-ifunc.c: Likewise.
2842 * string/test-memccpy-ifunc.c: Likewise.
2843 * string/test-memchr-ifunc.c: Likewise.
2844 * string/test-memcmp-ifunc.c: Likewise.
2845 * string/test-memcpy-ifunc.c: Likewise.
2846 * string/test-memmem-ifunc.c: Likewise.
2847 * string/test-memmove-ifunc.c: Likewise.
2848 * string/test-mempcpy-ifunc.c: Likewise.
2849 * string/test-memset-ifunc.c: Likewise.
2850 * string/test-rawmemchr-ifunc.c: Likewise.
2851 * string/test-stpcpy-ifunc.c: Likewise.
2852 * string/test-stpncpy-ifunc.c: Likewise.
2853 * string/test-strcasecmp-ifunc.c: Likewise.
2854 * string/test-strcasestr-ifunc.c: Likewise.
2855 * string/test-strcat-ifunc.c: Likewise.
2856 * string/test-strchr-ifunc.c: Likewise.
2857 * string/test-strchrnul-ifunc.c: Likewise.
2858 * string/test-strcmp-ifunc.c: Likewise.
2859 * string/test-strcpy-ifunc.c: Likewise.
2860 * string/test-strcspn-ifunc.c: Likewise.
2861 * string/test-strlen-ifunc.c: Likewise.
2862 * string/test-strncasecmp-ifunc.c: Likewise.
2863 * string/test-strncat-ifunc.c: Likewise.
2864 * string/test-strncmp-ifunc.c: Likewise.
2865 * string/test-strncpy-ifunc.c: Likewise.
2866 * string/test-strnlen-ifunc.c: Likewise.
2867 * string/test-strpbrk-ifunc.c: Likewise.
2868 * string/test-strrchr-ifunc.c: Likewise.
2869 * string/test-strspn-ifunc.c: Likewise.
2870 * string/test-strstr-ifunc.c: Likewise.
2871
de54b33a
L
2872 * debug/Makefile (tests-ifunc): New variable.
2873 (tests): Add $(tests-ifunc).
2874 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2875 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2876 * debug/test-stpcpy_chk-ifunc.c: New file.
2877 * debug/test-strcpy_chk-ifunc.c: Likewise.
2878
88481c16
SP
28792012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2880
2881 [BZ #13601]
2882 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2883 header is not read in.
2884
135948bd
JM
28852012-10-19 Joseph Myers <joseph@codesourcery.com>
2886
89f1c388
JM
2887 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2888 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2889 directly. Pass built executable to script as
2890 $(built-program-cmd).
2891 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2892 $testprogram without using LD_LIBRARY_PATH and $ldso.
2893
e40a0d21
JM
2894 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2895 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2896 $(rtld-installed-name).
2897 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2898 (rtld_installed_name): Likewise.
2899 (library_path): Likewise.
2900 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2901 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2902 $(run-program-prefix) to tst-tables.sh.
2903 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2904 it to run tst-table-from and tst-table-to.
2905 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2906 Pass it to tst-table.sh.
2907 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2908 $(run-program-prefix) to tst-gettext.sh.
2909 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2910 tst-translit.sh.
2911 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2912 tst-gettext2.sh.
2913 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2914 to run tst-gettext.
2915 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2916 to run tst-gettext2.
2917 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2918 to run tst-translit.
2919 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2920 $(run-program-prefix) to tst-mtrace.sh.
2921 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2922 to run tst-mtrace.
2923 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2924 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2925 $(rtld-installed-name).
2926 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2927 (rtld_installed_name): Likewise.
2928 (run_program_prefix): New variable. Use it to run wordexp-test.
2929
728e272a
JM
2930 * Makeconfig (ARCH): Remove all definitions.
2931 (machine): Likewise.
2932 [ARCH]: Remove conditional code.
2933 [!objdir]: Give error.
2934 [!objdir] (objpfx): Remove.
2935 [!objdir] (common-objpfx): Likewise.
2936 [!objdir] (common-objdir): Likewise.
2937 * configure.in (config_makefile): Remove. Hardcode Makefile in
2938 AC_CONFIG_FILES call.
2939 * configure: Regenerated.
2940
d528cdcf
JM
2941 [BZ #13888]
2942 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2943 or TMPDIR.
2944 (testout): Likewise.
2945
135948bd
JM
2946 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2947 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2948 $(rtld-installed-name).
2949 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2950 (rtld_installed_name): Likwise.
2951 (runit): Remove function.
2952 (run_getconf): New variable, Use it for running getconf binary.
2953
38c78296
L
29542012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2955
2956 [BZ #14716]
2957 * string/test-memmem.c (check_result): New function.
2958 (do_one_test): Use it.
2959 (check1): New function.
2960 (test_main): Use it.
2961
d077f65f
MT
29622012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2963
2964 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2965
ced52c71
JM
29662012-10-18 Joseph Myers <joseph@codesourcery.com>
2967
2968 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2969 (_G_LSEEK64): Likewise.
2970 (_G_MMAP64): Likewise.
2971 (_G_FSTAT64): Likewise.
2972 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2973 (_G_LSEEK64): Likewise.
2974 (_G_MMAP64): Likewise.
2975 (_G_FSTAT64): Likewise.
2976 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2977 unconditional. Call __mmap64 directly.
2978 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2979 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2980 __lseek64 directly.
2981 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2982 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2983 __mmap64 directly.
2984 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2985 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2986 __lseek64 directly.
2987 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2988 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2989 __lseek64 directly.
2990 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2991 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2992 __lseek64 directly.
2993 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2994 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2995 __fxstat64 directly.
2996 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2997 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2998 unconditional.
2999 (freopen64) [!_G_OPEN64]: Remove conditional code.
3000 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3001 unconditional.
3002 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3003 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3004 unconditional.
3005 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3006 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3007 unconditional.
3008 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3009 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3010 unconditional.
3011 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3012 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3013 unconditional.
3014 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3015 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3016 unconditional.
3017 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3018 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3019 unconditional.
3020 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3021
b741de23
SP
30222012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3023
3024 [BZ #12140]
3025 * manual/memory.texi (Malloc Tunable Parameters): Add note
3026 about free list pointers overwriting some perturb bytes.
3027 Wording suggested by Roland McGrath.
3028
f9b9d9c9
JM
30292012-10-17 Joseph Myers <joseph@codesourcery.com>
3030
3031 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3032 (lgamma_test): Likewise.
3033 (tgamma_test): Likewise.
3034
172a631a
FW
30352012-10-16 Florian Weimer <fweimer@redhat.com>
3036
3037 [BZ #14700]
3038 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3039 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3040
e9f37252
MK
30412012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3042
3043 * NEWS: Mention BZ #14716.
3044 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3045 when removing AVAILABLE1_USES_J macro.
3046
d394eb74
L
30472012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3050 (__bswap_64): __uint64_t for unsigned 64-bit int.
3051
ca38dc17
AS
30522012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3053
3054 * include/string.h (memmem): Declare libc hidden alias.
3055 * string/memmem.c (memmem): Define libc hidden alias.
3056 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3057 __read, __close instead of open, read, close.
3058
9a387d1f
L
30592012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3060
ac49ecaf
L
3061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3062 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3063 global and hidden.
3064 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3065 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3066 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3067 Likewise.
3068 (__rawmemchr_sse2): Likewise.
3069 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3070 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3071 (__strchr_sse2): Likewise.
3072 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3073 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3074 (__strcasecmp_sse2): Likewise.
3075 (__strncasecmp_sse2): Likewise.
3076 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3077 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3078 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3079 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3080 (__strrchr_sse2): Likewise.
3081 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3082 ifunc-impl-list.c.
3083 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3084 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3085 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3086 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3087 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3088 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3089 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3090 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3091 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3092 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3093 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3094 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3095 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3096 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3097 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3098 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3099 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3100 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3101 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3102 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3103 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3104 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3105 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3106 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3107 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3108 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3109 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3110 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3111 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3112 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3113
b090e8ea
L
3114 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3115 global and hidden.
3116 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3117 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3118 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3119 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3120 Likewise.
3121 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3122 Likewise.
3123 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3124 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3125 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3126 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3127 ifunc-impl-list.c.
3128 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3136 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3143 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3144 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3145 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3146 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3147 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3151 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3153 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3154 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3155 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3156 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3158 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3159 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3160 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3161 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3162 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3163 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3164 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3165 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3166 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3167 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3168 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3169
11dd4af6
L
3170 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3171 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3172 * include/ifunc-impl-list.h: New file.
3173 * misc/ifunc-impl-list.c: Likewise.
3174 * misc/Makefile (routines): Add ifunc-impl-list.
3175 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3176 * string/test-string.h: Include <ifunc-impl-list.h>.
3177 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3178 impl_array): New variables.
3179 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3180 are defined.
3181 (test_init): Call __libc_ifunc_impl_list to initialize
3182 func_list if TEST_IFUNC and TEST_NAME are defined.
3183
9a387d1f
L
3184 * string/Makefile (strop-tests): Add bcopy and bzero.
3185 * string/test-bcopy.c: New file.
3186 * string/test-bzero.c: Likewise.
3187 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3188 defined.
3189 * string/test-memset.c: Support bzero test if TEST_BZERO is
3190 defined.
3191 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3192 __libc_memmove.
3193 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3194 __libc_memset.
3195 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3196 of memset.
3197
472371b9
JM
31982012-10-10 Joseph Myers <joseph@codesourcery.com>
3199
1e4a9536
JM
3200 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3201 * configure: Regenerated.
3202
d173d12e
JM
3203 * Makeconfig (+link-static-before-libc): Don't include
3204 $(link-static-libc).
3205
472371b9
JM
3206 * libio/libio.h (_IO_pos_t): Remove.
3207
89a3ad0b
AO
32082012-10-10 Alexandre Oliva <aoliva@redhat.com>
3209
3210 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3211 McGrath.
3212
e7451425
AO
32132012-10-10 Alexandre Oliva <aoliva@redhat.com>
3214
3215 * crypt/crypt-entry.c: Include fips-private.h.
3216 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3217 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3218 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3219 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3220
4ba74a35
AO
32212012-10-10 Alexandre Oliva <aoliva@redhat.com>
3222
3223 * crypt/crypt-private.h: Include stdbool.h.
3224 (_ufc_setup_salt_r): Return bool.
3225 * crypt/crypt-entry.c: Include errno.h.
3226 (__crypt_r): Return NULL with EINVAL for bad salt.
3227 * crypt/crypt_util.c (bad_for_salt): New.
3228 (_ufc_setup_salt_r): Check that salt is long enough and within
3229 the specified alphabet.
3230 * crypt/badsalttest.c: New file.
3231 * crypt/Makefile (tests): Add it.
3232 ($(objpfx)badsalttest): New.
3233
f96f1242
MK
32342012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3235
3236 * NEWS: Add entry for BZ #14602.
3237
0e8e0c1c
JM
32382012-10-09 Joseph Myers <joseph@codesourcery.com>
3239
3240 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3241 type-generic.
3242 * math/libm-test.inc: Update comment listing what functions and
3243 macros are tested.
3244 (isgreater_test): New function.
3245 (isgreaterequal_test): Likewise.
3246 (isless_test): Likewise.
3247 (islessequal_test): Likewise.
3248 (islessgreater_test): Likewise.
3249 (isunordered_test): Likewise.
3250 (main): Call the new functions.
3251
273edc5e
RM
32522012-10-09 Roland McGrath <roland@hack.frob.com>
3253
b8493de0
RM
3254 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3255 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3256 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3257 * sysdeps/i386/configure: Regenerated.
3258 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3259 * sysdeps/mach/configure: Regenerated.
3260 * sysdeps/mach/hurd/configure: Regenerated.
3261 * sysdeps/powerpc/configure: Regenerated.
3262 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3263 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3264 * sysdeps/s390/s390-32/configure: Regenerated.
3265 * sysdeps/s390/s390-64/configure: Regenerated.
3266 * sysdeps/sh/configure: Regenerated.
3267 * sysdeps/sparc/configure: Regenerated.
3268 * sysdeps/unix/sysv/linux/configure: Regenerated.
3269 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3270 * sysdeps/x86_64/configure: Regenerated.
3271
273edc5e
RM
3272 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3273 defined. Don't check if MAP is NULL.
3274
c8450f70
JM
32752012-10-09 Joseph Myers <joseph@codesourcery.com>
3276
3277 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3278 (_G_stat64): Likewise.
3279 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3280 (_G_stat64): Likewise.
3281 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3282 instead of struct _G_stat64.
3283 * libio/fileops.c (mmap_remap_check): Likewise.
3284 (decide_maybe_mmap): Likewise.
3285 (_IO_new_file_seekoff): Likewise.
3286 (_IO_file_stat): Likewise.
3287 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3288 _G_off64_t.
3289 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3290 instead of struct _G_stat64.
3291 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3292
57e605ba
MK
32932012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3294
3295 [BZ #14602]
3296 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3297 Replace with ...
3298 (CHECK_EOL): New macro.
3299 (two_way_short_needle): Check beginning of haystack for EOL. Use
3300 CHECK_EOL.
3301 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3302 Replace with CHECK_EOL.
3303 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3304 Replace with CHECK_EOL.
3305
ef1bb361
JM
33062012-10-08 Joseph Myers <joseph@codesourcery.com>
3307
3308 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3309 type-generic.
3310 * math/libm-test.inc: Update comment listing what functions and
3311 macros are tested.
3312 (finite_test): New function.
3313 (isinf_test): Likewise.
3314 (isnan_test): Likewise.
3315 (fpclassify_test): Test subnormal input.
3316 (isfinite_test): Likewise.
3317 (isnormal_test): Likewise.
3318 (main): Call the new functions.
3319
55f11534
JN
33202012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3321
3322 [BZ #14660]
3323 * Makerules (%.dynsym): Force C locale when running
3324 $(OBJDUMP) --dynamic-syms.
3325
1ab29350
AS
33262012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3327
3328 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3329 <stdint.h>.
3330
f1ecb7ef
DM
33312012-10-06 David S. Miller <davem@davemloft.net>
3332
3333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3334 upper 32-bits of the length value in %o2 since we use branch-on-register
3335 tests which consider the entire 64-bit register.
3336
5d41d91a
L
33372012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3338
3339 * string/test-strstr.c (check2): Add a test for page boundary.
3340
3baddb72
DM
33412012-10-05 David S. Miller <davem@davemloft.net>
3342
3343 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3344 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3345 file.
3346 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3347 sysdep_routines.
3348 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3349 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3350 and bzero when HWCAP_SPARC_CRYPTO is present.
3351
9cee5585
L
33522012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3353
d7e0dab9
L
3354 [BZ #14602]
3355 * string/test-strstr.c (check2): New function.
3356 (test_main): Call check2.
3357
03759f47
L
3358 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3359 and bug-strchr1.
3360 * string/bug-strcasestr1.c (do_test): Moved to ...
3361 * string/test-strcasestr.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-strchr1.c (do_test): 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-strstr1.c (main): Moved to ...
3373 * string/test-strchr.c (check1): Here. New function.
3374 (do_one_test): Break out result checking code into ...
3375 (check_result): This. New function.
3376 (do_one_test): Call check_result.
3377 (test_main): Call check1.
3378 * string/bug-strcasestr1.c: Removed.
3379 * string/bug-strchr1.c: Likewise.
3380 * string/bug-strstr1.c: Likewise.
3381
53cea63e
L
3382 * elf/Makefile (dl-routines): Add hwcaps.
3383 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3384 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3385 (_dl_important_hwcaps): Moved to ...
3386 * elf/dl-hwcaps.c: Here. New file.
3387 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3388
9cee5585 3389 [BZ #14557]
bb859b06
L
3390 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3391 if IS_IN_rtld isn't defined.
3392
9cee5585
L
3393 * elf/dl-support.c (_dl_sysinfo_map): New.
3394 Include "get-dynamic-info.h" and "setup-vdso.h".
3395 (_dl_non_dynamic_init): Call setup_vdso.
3396 * elf/dynamic-link.h: Don't include <assert.h>.
3397 (elf_get_dynamic_info): Moved to ...
3398 * elf/get-dynamic-info.h: Here. New file.
3399 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3400 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3401 * elf/setup-vdso.h: Here. New file.
3402 * elf/rtld.c: Include "setup-vdso.h".
3403 (dl_main): Call setup_vdso.
3404
23c31b76
JM
34052012-10-05 Joseph Myers <joseph@codesourcery.com>
3406
28234b07
JM
3407 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3408 creal in comment listing functions tested. List finite, isinf,
3409 isnan, isless, islessequal, isgreater, isgreaterequal,
3410 islessgreater, isunordered, lgamma_r and pow10 as functions and
3411 macros not tested. Mention which functions not tested are aliases
3412 for other functions. Fix typo. Note that signs of NaNs are not
3413 tested.
3414
23c31b76
JM
3415 * scripts/config.guess: Update from config.git.
3416 * scripts/config.sub: Likewise.
3417
9043e228
RM
34182012-10-04 Roland McGrath <roland@hack.frob.com>
3419
3420 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3421 * misc/madvise.c (madvise): Renamed to __madvise.
3422 Make madvise a weak alias.
3423 * include/sys/mman.h: Declare __madvise.
3424 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3425 * sysdeps/unix/syscalls.list
3426 (madvise): Make __madvise the strong name, and madvise a weak alias.
3427 * sysdeps/unix/sysv/linux/syscalls.list
3428 (madvise, mmap): Remove redundant entries.
3429 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3430 * malloc/malloc.c (mtrim): Likewise.
3431 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3432
f57f8055
RM
34332012-10-03 Roland McGrath <roland@hack.frob.com>
3434
3435 * sysdeps/mach/hurd/dl-cache.c: File removed.
3436 * config.h.in (USE_LDCONFIG): New #undef.
3437 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3438 * configure: Regenerated.
3439 * elf/Makefile (dl-routines): Add dl-cache only under
3440 [$(use-ldconfig) = yes].
3441 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3442 cache on [USE_LDCONFIG].
3443 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3444 [USE_LDCONFIG].
3445 * elf/rtld.c (dl_main): Likewise.
3446
5bb0c10a
PT
34472012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3448
3449 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3450 _SC_LEVEL4_CACHE_LINESIZE.
3451
010188c6
RM
34522012-10-03 Roland McGrath <roland@hack.frob.com>
3453
3454 * sysdeps/unix/bsd/confstr.h: File removed.
3455
b6c5ec07
AO
34562012-10-02 Alexandre Oliva <aoliva@redhat.com>
3457
3458 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3459 sys/sdt-config.h.
3460
408223d4
RM
34612012-10-02 Roland McGrath <roland@hack.frob.com>
3462
3463 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3464 Make 'mapoff' field ElfW(Off) rather than off_t.
3465
bb9510dc
DL
34662012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3467
fc997c6e
DL
3468 * nscd/Makefile: Remove nscd-cflags and all its users.
3469 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3470 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3471
bb9510dc
DL
3472 [BZ #10631]
3473 * malloc.c (malloc_printerr): Clarify error message.
3474
05699367
L
34752012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3476
3477 [BZ #14648]
3478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3479 Set bit_FMA_Usable if FMA is supported.
3480 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3481 macro.
3482 (bit_FMA4_Usable): Updated.
3483 (index_FMA_Usable): New macro.
3484 (CPUID_FMA): Likewise
3485 (HAS_FMA): Defined with bit_FMA_Usable.
3486
51367701
RM
34872012-10-01 Roland McGrath <roland@hack.frob.com>
3488
3489 * bits/types.h (__swblk_t): Type removed.
3490 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3491 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3493 (__SWBLK_T_TYPE): Likewise.
3494 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3495 (__SWBLK_T_TYPE): Likewise.
3496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3497 (__SWBLK_T_TYPE): Likewise.
3498 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3499 (__SWBLK_T_TYPE): Likewise.
3500
4d57bf63 35012012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3502 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3503
3504 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3505 (xdr_mapname): Use YPMAXMAP as maxsize.
3506 (xdr_peername): Use YPMAXPEER as maxsize.
3507 (xdr_keydat): Use YPAXRECORD as maxsize.
3508 (xdr_valdat): Use YPMAXRECORD as maxsize.
3509
93c65d43
RM
35102012-10-01 Roland McGrath <roland@hack.frob.com>
3511
497a03d6
RM
3512 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3513
93c65d43
RM
3514 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3515 * csu/init-first.c: ... here.
3516 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3517 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3518 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3519 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3520 * sysdeps/i386/init-first.c: File removed.
3521 * sysdeps/sh/init-first.c: File removed.
3522
bec749fd
JM
35232012-10-01 Joseph Myers <joseph@codesourcery.com>
3524
3525 [BZ #14645]
3526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3527 if x * y might underflow to zero and z is zero.
3528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3529 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3530 * math/libm-test.inc (min_subnorm_value): New variable.
3531 (fma_test): Add more tests.
3532 (fma_test_towardzero): Likewise.
3533 (fma_test_downward): Likewise
3534 (fma_test_upward): Likewise.
3535 (initialize): Set min_subnorm_value.
3536
8ec5b013
JM
35372012-09-29 Joseph Myers <joseph@codesourcery.com>
3538
3539 [BZ #14638]
3540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3541 0 + 0.
3542 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3543 mode for addition resulting in exact zero.
3544 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3546 exact 0 + 0.
3547 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3548 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3549 * math/libm-test.inc (fma_test): Add more tests.
3550 (fma_test_towardzero): New function.
3551 (fma_test_downward): Likewise.
3552 (fma_test_upward): Likewise.
3553 (main): Call the new functions.
3554
b1fa802e
DM
35552012-09-28 David S. Miller <davem@davemloft.net>
3556
3557 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3558
d3b9fd9e
RM
35592012-09-28 Roland McGrath <roland@hack.frob.com>
3560
ea4d37b3
RM
3561 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3562 instead of SIGALRM.
3563
ac51c949
RM
3564 * sysdeps/gnu/_G_config.h: Moved to ...
3565 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3566 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3567 * sysdeps/generic/_G_config.h: ... here.
3568
28c195f7
RM
3569 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3570
848917f9
RM
3571 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3572
6bacf05b
RM
3573 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3574 Conditionalize target on [libnss_test1.so-version].
3575
91363dbb
RM
3576 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3577
cc87f7d8
RM
3578 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3579 (elfobjdir): Move out of conditionals.
3580
b1c608fe
RM
3581 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3582 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3583 (__nss_lookup_function): Conditionalize label remove_from_tree on
3584 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3585
1d9a6d96
DM
35862012-09-28 David S. Miller <davem@davemloft.net>
3587
3588 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3589 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3590 file.
3591 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3592 sysdep_routines.
3593 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3595 when HWCAP_SPARC_CRYPTO is present.
3596
72581615
PT
35972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3598
3599 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3600
715a900c
JL
36012012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3602
3603 [BZ #6530]
3604 * stdio-common/vfprintf.c (process_string_arg): Revert
3605 2000-07-22 change.
3606
36072011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3608
3609 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3610 for testcase.
3611 * stdio-common/tst-sprintf.c: Include <locale.h>
3612 (main): Test sprintf's handling of incomplete multibyte
3613 characters.
3614
9bac1d86
L
36152012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3616
3617 * elf/dl-runtime.c (VERSYMIDX): Removed.
3618 * elf/dl-version.c (VERSYMIDX): Likewise.
3619 * elf/do-rel.h (VERSYMIDX): Likewise.
3620 (VALIDX): Likewise.
3621 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3622 * elf/rtld.c (VALIDX): Likewise.
3623 (ADDRIDX): Likewise.
9bac1d86
L
3624 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3625 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3626 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3627 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3628 (VALIDX): Likewise.
3629 (ADDRIDX): Likewise.
9bac1d86 3630
b31606c0
PT
36312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3632
3633 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3634
11541177
JL
36352012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3636
3637 [BZ #11438]
3638 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3639 to global scope.
3640 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3641 addresses are in the same scope as 192.0.2/24.
3642 * posix/gai.conf: Document new scope table defaults.
3643
adb26fae
SP
36442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3645
3646 [BZ #5298]
3647 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3648 for ftell. Compute offsets from write pointers instead.
3649 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3650
4573c6b0
SP
36512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3652
3653 [BZ #14543]
3654 * libio/Makefile (tests): New test case tst-fseek.
3655 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3656 combination works in wide mode.
3657 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3658 state when the external buffer state changes.
3659
aa9bbfe6
DM
36602012-09-27 David S. Miller <davem@davemloft.net>
3661
3662 [BZ #14376]
3663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3664 pass reloc->r_addend in as the 'high' argument to
3665 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3666
784421e7
DM
3667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3668
c39bc8b8
PT
36692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3670
3671 * rt/tst-aio2.c: Include <pthread.h>.
3672 * rt/tst-aio3.c: Likewise.
3673
1ccc2399
SE
36742012-09-27 Steve Ellcey <sellcey@mips.com>
3675
3676 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3677
31ed4153
L
36782012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3679
25f5f885
L
3680 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3681 contents on [SHARED].
31ed4153 3682
b7bfe116
MP
36832012-09-26 Marek Polacek <polacek@redhat.com>
3684
3685 [BZ #14530]
3686 [BZ #13741]
3687 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3688 for C++ and GCC <4.3 as well as for non GCC compilers.
3689
43c4edba
MT
36902012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3691
3692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3693
6a1bf82f
RM
36942012-09-25 Roland McGrath <roland@hack.frob.com>
3695
3696 * Makefile.in (all, install): Declare with .PHONY.
3697 Reported by Michael Hope <michael.hope@linaro.org>.
3698
8ad11b9a
TMQMF
36992012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3700
3701 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3702 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3703 system header.
3704 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3705 Likewise.
3706 (sydep_routines): Add the new and the internal functions.
3707 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3708 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3710 (GLIBC_2.17): Add the new function.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3712 (GLIBC_2.17): Likewise.
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3714 (GLIBC_2.17): Likewise.
3715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3716 (GLIBC_2.17): Likewise.
3717 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3718
7e2fca8d
AM
37192012-09-25 Alan Modra <amodra@gmail.com>
3720
3721 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3722 Add release barrier before setting once_control to say
3723 initialisation is done. Add hints on lwarx. Use macro in
3724 place of isync.
3725 (clear_once_control): Add release barrier.
3726
b87c4b24
JM
37272012-09-25 Joseph Myers <joseph@codesourcery.com>
3728
d032e0d2
JM
3729 [BZ #13629]
3730 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3731 specially.
3732 * math/s_clog10.c (__clog10): Likewise.
3733 * math/s_clog10f.c (__clog10f): Likewise.
3734 * math/s_clog10l.c (__clog10l): Likewise.
3735 * math/s_clogf.c (__clogf): Likewise.
3736 * math/s_clogl.c (__clogl): Likewise.
3737 * math/Makefile (libm-calls): Add x2y2m1.
3738 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3739 (__x2y2m1): Likewise.
3740 (__x2y2m1l): Likewise.
3741 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3742 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3745 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3746 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3747 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3748 * sysdeps/i386/fpu/libm-test-ulps: Update.
3749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3750
b87c4b24
JM
3751 [BZ #14621]
3752 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3753 int as type of variable DEPTH.
3754 (glob): Use size_t instead of int as type of variables NEWCOUNT
3755 and OLD_PATHC.
3756
6d3bf199
LD
37572012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3758
22bf5c17
LD
3759 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3760 Add s_sincosf-sse2.
3761 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3762 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3763 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3764 macros for using routine as __sincosf_ia32.
3765 Use macro for function declaration and weak_alias.
3766 * sysdeps/i386/fpu/libm-test-ulps: Update.
3767
3768 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3770
3771 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3772 subnormal argument.
3773 * math/s_cexpf.c (__cexpf): Likewise.
3774 * math/s_csinf.c (__csinf): Likewise.
3775 * math/s_csinhf.c (__csinhf): Likewise.
3776 * math/s_ctanf.c (__ctanf): Likewise.
3777 * math/s_ctanhf.c (__ctanhf): Likewise.
3778 * math/s_ccosh.c (__ccoshf): Likewise.
3779 * math/s_cexp.c (__cexpl): Likewise.
3780 * math/s_csin.c (__csin): Likewise.
3781 * math/s_csinh.c (__csinh): Likewise.
3782 * math/s_ctan.c (__ctan): Likewise.
3783 * math/s_ctanh.c (ctanh): Likewise.
3784 * math/s_ccoshl.c (__ccoshl): Likewise.
3785 * math/s_cexpl.c (__cexpl): Likewise.
3786 * math/s_csinl.c (__csinl): Likewise.
3787 * math/s_csinhl.c (__csinhl): Likewise.
3788 * math/s_ctanl.c (__ctanl): Likewise.
3789 * math/s_ctanhl.c (__ctanhl): Likewise.
3790
203e5603
JM
37912012-09-25 Joseph Myers <joseph@codesourcery.com>
3792
3793 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3794 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3795 (_IO_off_t): Define to __off_t, not _G_off_t.
3796 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3797 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3798 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3799 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3800 type of __dummy and __dummy2 fields.
3801 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3802 (_G_ssize_t): Likewise.
3803 (_G_off_t): Likewise.
3804 (_G_pid_t): Likewise.
3805 (_G_uid_t): Likewise.
3806 (_G_wchar_t): Likewise.
3807 (_G_wint_t): Likewise.
3808 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3809 (_G_ssize_t): Likewise.
3810 (_G_off_t): Likewise.
3811 (_G_pid_t): Likewise.
3812 (_G_uid_t): Likewise.
3813 (_G_wchar_t): Likewise.
3814 (_G_wint_t): Likewise.
3815 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3816 (_G_ssize_t): Likewise.
3817 (_G_off_t): Likewise.
3818 (_G_pid_t): Likewise.
3819 (_G_uid_t): Likewise.
3820 (_G_wchar_t): Likewise.
3821 (_G_wint_t): Likewise.
3822
9fab36eb
SP
38232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3824
3825 * malloc/arena.c: Include malloc-sysdep.h.
3826 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3827 is sufficient to shrink the heap or an unmap is needed.
3828 * sysdeps/generic/malloc-sysdep.h: New file. Define
3829 new function check_may_shrink_heap.
3830 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3831 new function check_may_shrink_heap.
3832
2b4f00d1
SP
38332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3834
3835 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3836 comments.
3837
9a9028b1
DL
38382012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3839
57c69bef
DL
3840 * catgets/test-gencat.sh: Add "set -e".
3841 * elf/tst-pathopt.sh: Likewise.
3842 * grp/tst_fgetgrent.sh: Likewise.
3843 * iconvdata/run-iconv-test.sh: Likewise.
3844 * intl/tst-gettext.sh: Likewise.
3845 * intl/tst-gettext2.sh: Likewise.
3846 * intl/tst-gettext4.sh: Likewise.
3847 * intl/tst-gettext6.sh: Likewise.
3848 * intl/tst-translit.sh: Likewise.
3849 * io/ftwtest-sh: Likewise.
3850 * libio/test-freopen.sh: Likewise.
3851 * malloc/tst-mtrace.sh: Likewise.
3852 * posix/globtest.sh: Likewise.
3853 * posix/tst-getconf.sh: Likewise.
3854 * posix/wordexp-tst.sh: Likewise.
3855 * stdio-common/tst-printf.sh: Likewise.
3856 * stdio-common/tst-unbputc.sh: Likewise.
3857 * stdlib/tst-fmtmsg.sh: Likewise.
3858 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3859 * catgets/Makefile: Do not specify -e option when running
3860 testsuite shell scripts.
3861 * elf/Makefile: Likewise.
3862 * grp/Makefile: Likewise.
3863 * iconvdata/Makefile: Likewise.
3864 * intl/Makefile: Likewise.
3865 * io/Makefile: Likewise.
3866 * libio/Makefile: Likewise.
3867 * malloc/Makefile: Likewise.
3868 * posix/Makefile: Likewise.
3869 * stdio-common/Makefile: Likewise.
3870 * stdlib/Makefile: Likewise.
3871 * sysdeps/x86_64/Makefile: Likewise.
3872
9a9028b1
DL
3873 * io/ftwtest-sh: Add copyright header.
3874 * posix/globtest.sh: Likewise.
3875 * posix/tst-getconf.sh: Likewise.
3876 * posix/wordexp-tst.sh: Likewise.
3877 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3878
ced6f16e
L
38792012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3880
94b32c39
L
3881 [BZ #13679]
3882 * Makeconfig (+link): Defined as $(+link-static) if
3883 $(build-shared) isn't yes.
3884 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3885 isn't yes.
3886 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3887
189e935b
L
3888 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3889
ced6f16e
L
3890 [BZ #14562]
3891 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3892 new chunk size with MALLOC_ALIGN_MASK.
3893
a9f8e53a
JM
38942012-09-24 Joseph Myers <joseph@codesourcery.com>
3895
3896 [BZ #5044]
3897 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3898 <rounding-mode.h>.
3899 (__printf_fphex): Determine rounding using get_rounding_mode and
3900 round_away.
3901 * stdio-common/tst-printf-round.c (struct hex_test): New
3902 structure.
3903 (hex_tests): New variable.
3904 (test_hex_in_one_mode): New function.
3905 (do_test): Also run tests for hex float output.
3906
43153109
JM
39072012-09-21 Joseph Myers <joseph@codesourcery.com>
3908
3909 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3910 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3911 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3912 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3913 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3914 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3915 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3916 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3917
8a26625d
JM
39182012-09-20 Joseph Myers <joseph@codesourcery.com>
3919
3920 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3921 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3922 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3923 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3924
f3fd569c
DL
39252012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3926
3927 [BZ #14579]
3928 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3929 mode only.
3930 * elf/tst-rtld-load-self.sh: New test.
3931 * elf/Makefile: Run it.
3932
63bbedd4
JM
39332012-09-18 Joseph Myers <joseph@codesourcery.com>
3934
3935 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3936 (tst-writev-ENV): Remove.
3937 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3938
626f8b6a
CM
39392012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3940
3941 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3942
b7aaa4d6
JM
39432012-09-17 Joseph Myers <joseph@codesourcery.com>
3944
3945 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3946 unconditional.
3947 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3948 Likewise.
3949 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3950 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3951 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3952 Likewise.
3953
65513990
L
39542012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3955
3956 [BZ #14587]
3957 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3958 * config.make.in (have-cpp-asm-debuginfo): Removed.
3959 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3960 * configure: Regenerated.
3961
784761be
JM
39622012-09-14 Joseph Myers <joseph@codesourcery.com>
3963
3964 [BZ #5044]
3965 * stdio-common/printf_fp.c: Include <stdbool.h> and
3966 <rounding-mode.h>.
3967 (___printf_fp): Determine rounding using get_rounding_mode and
3968 round_away.
3969 * stdio-common/tst-printf-round.c: New file.
3970 * stdio-common/Makefile (tests): Add tst-printf-round.
3971 (link-libm): New variable.
3972 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3973
9503345f
L
39742012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3975
3976 [BZ #14576]
3977 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3978 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3979 Likewise.
3980 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3981 Likewise.
3982
ad35fc00
JM
39832012-09-13 Joseph Myers <joseph@codesourcery.com>
3984
3985 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3986 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3987 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3988 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3989
6c9b0f68
JM
39902012-09-12 Joseph Myers <joseph@codesourcery.com>
3991
3992 [BZ #14518]
3993 * include/rounding-mode.h: New file.
3994 * sysdeps/generic/get-rounding-mode.h: Likewise.
3995 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3996 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3997 (MAX_VALUE): New macro.
3998 (MIN_VALUE): Likewise.
3999 (overflow_value): New function.
4000 (underflow_value): Likewise.
4001 (round_and_return): Use overflow_value and underflow_value to
4002 determine return values in overflow and underflow cases. Use
4003 round_away to determine rounding depending on rounding mode.
4004 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4005 determine return values in overflow and underflow cases.
4006 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4007 (struct test_results): New structure.
4008 (struct test): Use struct test_results to store expected results
4009 for all rounding modes.
4010 (TEST): Include expected results for all rounding modes.
4011 (test_in_one_mode): New function.
4012 (do_test): Use test_in_one_mode to compute and check results.
4013 Check results for all rounding modes.
4014 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4015 $(link-libm).
4016
19fcedd5
AM
40172012-12-09 Allan McRae <allan@archlinux.org>
4018
1e9d84cd 4019 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4020
8bbfd2f1
JM
40212012-09-11 Joseph Myers <joseph@codesourcery.com>
4022
4023 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4024 (_G_int32_t): Likewise.
4025 (_G_uint16_t): Likewise.
4026 (_G_uint32_t): Likewise.
4027 (_G_HAVE_BOOL): Likewise.
4028 (_G_HAVE_ATEXIT): Likewise.
4029 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4030 (_G_HAVE_IO_FILE_OPEN): Likewise.
4031 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4032 (_G_int32_t): Likewise.
4033 (_G_uint16_t): Likewise.
4034 (_G_uint32_t): Likewise.
4035 (_G_HAVE_BOOL): Likewise.
4036 (_G_HAVE_ATEXIT): Likewise.
4037 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4038 (_G_HAVE_IO_FILE_OPEN): Likewise.
4039 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4040 (_G_int32_t): Likewise.
4041 (_G_uint16_t): Likewise.
4042 (_G_uint32_t): Likewise.
4043 (_G_HAVE_BOOL): Likewise.
4044 (_G_HAVE_ATEXIT): Likewise.
4045 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4046 (_G_HAVE_IO_FILE_OPEN): Likewise.
4047
b1dc5912
L
40482012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4049
4050 * csu/libc-tls.c: Update copyright years.
4051
0e886ef9
JM
40522012-09-10 Joseph Myers <joseph@codesourcery.com>
4053
28361c5e
JM
4054 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4055 [!_G_USING_THUNKS]: Remove conditional code.
4056 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4057 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4058
0e886ef9
JM
4059 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4060 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4061 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4062 (_G_VTABLE_LABEL_PREFIX): Likewise.
4063 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4064 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4065 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4066 (_G_VTABLE_LABEL_PREFIX): Likewise.
4067 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4068 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4069 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4070 (_G_VTABLE_LABEL_PREFIX): Likewise.
4071 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4072
bcba7aa2
L
40732012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4074
4075 * libio/Makefile: Include ../Makeconfig before tests.
4076 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4077 only if $(build-shared) is yes.
4078
06585ee8
L
4079 * iconv/gconv_db.c: Update copyright years.
4080
80ccd52c
LD
40812012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4082
4083 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4084 unwind info if defined PIC. Fix special cases description.
4085 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4086
4087 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4088 DP_HI_MASK entry.
4089 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4090
691bc9c1
L
40912012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4092
3d9b46b3
L
4093 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4094
de2139a9
L
4095 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4096 is NULL.
4097
5ca78dd0
L
4098 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4099 (LDLIBS-tst-chk4): This.
4100 (LDFLAGS-tst-chk5): Renamed to ...
4101 (LDLIBS-tst-chk5): This.
4102 (LDFLAGS-tst-chk6): Renamed to ...
4103 (LDLIBS-tst-chk6): This.
4104 (LDFLAGS-tst-lfschk4): Renamed to ...
4105 (LDLIBS-tst-lfschk4): This.
4106 (LDFLAGS-tst-lfschk5): Renamed to ...
4107 (LDLIBS-tst-lfschk5): This.
4108 (LDFLAGS-tst-lfschk6): Renamed to ...
4109 (LDLIBS-tst-lfschk6): This.
4110
691bc9c1
L
4111 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4112 on $(common-objpfx)soversions.mk.
4113
65cafb1c
JM
41142012-09-07 Joseph Myers <joseph@codesourcery.com>
4115
4116 [BZ #10014]
4117 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4118 example host name.
4119
c78ab094
SP
41202012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4121
4122 * malloc/arena.c (arena_get_retry): New function that gets
4123 another arena for the caller to try its request on.
4124 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4125 current arena cannot fulfill the request.
4126 (__libc_memalign): Likewise.
4127 (__libc_memalign): Likewise.
4128 (__libc_pvalloc): Likewise.
4129 (__libc_calloc): Likewise.
4130
01f49f59
JT
41312012-09-05 John Tobey <john.tobey@gmail.com>
4132
4133 [BZ #13542]
4134 * manual/arith.texi (Operations on Complex): Fix description
4135 of carg branch cut.
4136
4c23fed5
JM
41372012-09-06 Joseph Myers <joseph@codesourcery.com>
4138
1d3c8572
JM
4139 [BZ #10014]
4140 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4141 host name.
4142
4c23fed5
JM
4143 [BZ #10038]
4144 * manual/memory.texi (Memory): Make order of menu items match
4145 order of sections.
4146
04570aaa
L
41472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4148
4149 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4150 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4151 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4152
b80af2f4
L
41532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4154
4155 * csu/libc-tls.c (static_dtv): Renamed to ...
4156 (_dl_static_dtv): This. Make it global.
4157 (_dl_initial_dtv): Removed.
4158 (__libc_setup_tls): Updated.
4159 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4160 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4161 DL_INITIAL_DTV.
4162
2abe9f15
PM
41632012-09-06 Petr Machata <pmachata@redhat.com>
4164
4165 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4166 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4167 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4168 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4169
0948c3af
L
41702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4171
4172 [BZ #14545]
4173 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4174 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4175 freeing dtv[-1].
4176
a5055ad1
L
41772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4178
4179 [BZ #14544]
4180 * Makeconfig (link-static-before-libc): Replace $(+prector)
4181 with $(+prectorT).
4182 (link-static-after-libc): Replace $(+postctor) with
4183 $(+postctorT).
4184 (link-bounded): Replace $(+prector)/$(+postctor) with
4185 $(+prectorT)/$(+postctorT).
4186 (+prectorT): New macro.
4187 (+postctorT): Likewise.
4188
ed8c2ecd
JM
41892012-09-06 Joseph Myers <joseph@codesourcery.com>
4190
4191 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4192 (round_str): Handle values above the maximum for IBM long double
4193 as inexact.
4194 * stdlib/tst-strtod-round.c (tests): Regenerated.
4195
14c996c8
AK
41962012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4197
4198 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4199 assembler flag.
4200 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4201 zarch_nohighgprs around the zarch optimized routines.
4202 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4203 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4204 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4205 for zarch.
4206
430d6ce6
DM
42072012-09-05 David S. Miller <davem@davemloft.net>
4208
4209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4210
ff04dda4
DM
4211 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4212 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4213 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4214 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4215 entries.
4216
24d4e01b
AO
42172012-09-05 Alexandre Oliva <aoliva@redhat.com>
4218
4219 * malloc/arena.c: Fold copyright years.
4220 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4221
61d58174
AO
42222012-09-05 Alexandre Oliva <aoliva@redhat.com>
4223
4224 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4225
20196a5e
AO
42262012-09-05 Alexandre Oliva <aoliva@redhat.com>
4227
4228 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4229
5c447383
AO
42302012-09-05 Alexandre Oliva <aoliva@redhat.com>
4231
4232 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4233 change internal state upon failure.
4234
fad64255
AO
42352012-09-05 Alexandre Oliva <aoliva@redhat.com>
4236
4237 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4238 * malloc/memusage.c (mmap): Likewise.
4239 (mmap64, mremap): Likewise. Adjust name in comment.
4240
1ffb8c90
SP
42412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4242
4243 * libio/fileops.c: Fix typos in comments.
4244 * libio/oldfileops.c: Likewise.
4245 * libio/wfileops.c: Likewise.
4246
6ef9cc37
SP
42472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4248
4249 [BZ #1349]
4250 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4251 (tst-malloc-usable-ENV): Set environment for test case.
4252 * malloc/hooks.c (malloc_check_get_size): New function to get
4253 requested size.
4254 * malloc/malloc.c (musable): Use malloc_check_get_size.
4255 * malloc/tst-malloc-usable.c: New test case.
4256
4d038ae3
AS
42572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4258
4259 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4260
c4e85184
AM
42612012-09-05 Allan McRae <allan@archlinux.org>
4262
b9dafc56 4263 [BZ #13966]
c4e85184
AM
4264 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4265 determine header location.
4266 * configure: Regenerated.
4267
e1343020
AS
42682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4269
4270 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4271 float format.
4272 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4273 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4274 format.
e1343020
AS
4275 (test): Regenerate.
4276
0a9f1987
DM
42772012-09-04 David S. Miller <davem@davemloft.net>
4278
4279 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4280 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4281 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4282
29237804
FW
42832012-09-04 Florian Weimer <fweimer@redhat.com>
4284
4285 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4286 failures.
4287
edb3cb88
FW
4288 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4289
60160d83
JM
42902012-09-04 Joseph Myers <joseph@codesourcery.com>
4291
4292 [BZ #9914]
4293 * libio/iogetdelim.c: Include <limits.h>.
4294 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4295 + len + 1 would overflow.
4296
bcd6c8dc
AJ
42972012-09-03 Andreas Jaeger <aj@suse.de>
4298
4299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4300 * sysdeps/i386/fpu/libm-test-ulps: Update.
4301
4ffffbd2
LD
43022012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4303
4304 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4305 Add s_sinf-sse2, s_conf-sse2.
4306
4307 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4308 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4309 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4310 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4311
4312 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4313 for using routine as __sinf_ia32.
4314 Use macro for function declaration and weak_alias.
4315 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4316 for using routine as __cosf_ia32.
4317 Use macro for function declaration and weak_alias.
4318
4319 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4320 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4321
4322 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4323 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4325
4326 * math/libm-test.inc (cos_test): Add more test cases.
4327 (sin_test): Likewise.
4328 (sincos_test): Likewise.
4329
511fa286
AK
43302012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4331
4332 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4333 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4334 hidden.
4335 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4336
5f30cfec
L
43372012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4338
4339 [BZ #14538]
4340 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4341 first element of the GOT.
4342 (elf_machine_load_address): Return the difference between
4343 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4344
0786794f
AM
43452012-09-01 Allan McRae <allan@archlinux.org>
4346
5f30cfec
L
4347 [BZ #13412]
4348 * configure.in (AWK): Require gawk version 3.0 or later.
4349 * configure: Regenerated.
0786794f 4350
26889eac
JM
43512012-09-01 Joseph Myers <joseph@codesourcery.com>
4352
4353 * sysdeps/unix/sysv/linux/kernel-features.h
4354 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4355 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4356 [__NR_clock_getres]: Make code unconditional.
4357 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4358 (clock_getcpuclockid): Remove code left unreachable by removal of
4359 conditionals.
4360 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4361 code unconditional.
4362 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4363 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4364 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4365 Make code unconditional.
4366 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4367 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4368 * sysdeps/unix/sysv/linux/clock_settime.c
4369 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4370 conditional code.
4371 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4372 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4373
d22e28b0
L
43742012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4375
4376 [BZ #14476]
4377 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4378 scripts/test-installation.pl.
4379
4380 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4381 and $ld_so_version if it is set.
4382
050af9c4
SP
43832012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4384
4385 [BZ #14516]
4386 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4387 failure if reading from procfs failed.
4388 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4389
ad845c0b
JM
43902012-08-27 Joseph Myers <joseph@codesourcery.com>
4391
4392 * sysdeps/unix/sysv/linux/kernel-features.h
4393 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4394 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4395 Remove conditional code.
4396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4397 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4398 Remove conditional code.
4399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4400 * sysdeps/unix/sysv/linux/i386/fxstat.c
4401 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4403 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4404 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4405 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4406 * sysdeps/unix/sysv/linux/i386/lxstat.c
4407 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4408 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4409 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4410 Remove conditional code.
4411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4412 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4413 Remove conditional code.
4414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4415 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4416 <kernel-features.h>.
4417 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4418 Remove.
4419 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4420 Remove conditional code.
4421 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4422 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4423 Remove conditional.
4424
5dbf56af
MF
44252012-08-27 Mike Frysinger <vapier@gentoo.org>
4426
4427 [BZ #5400]
4428 * NEWS: Add fixed bug number.
4429
d6e70f43
JM
44302012-08-27 Joseph Myers <joseph@codesourcery.com>
4431
7efb4737
JM
4432 [BZ #14519]
4433 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4434 underflowing exponent in case of negative sign.
4435 * stdlib/tst-strtod-round-data: Add more tests.
4436 * stdlib/tst-strtod-round.c (tests): Regenerated.
4437
af92131a
JM
4438 [BZ #3479]
4439 * stdlib/strtod_l.c (NDIG): Remove.
4440 (HEXNDIG): Likewise.
4441 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4442 smallest representable value.
4443 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4444 lie within an exact representation of 1/2 ulp of the result.
4445 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4446 unconditionally.
4447 (TENS_P9_IDX): Define unconditionally.
4448 (TENS_P9_SIZE): Likewise.
4449 (TENS_P10_IDX): Likewise.
4450 (TENS_P10_SIZE): Likewise.
4451 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4452 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4453 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4454 entries for 10^2^13 and 10^2^14.
4455 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4456 (TENS_P13_IDX): Define.
4457 (TENS_P13_SIZE): Likewise.
4458 (TENS_P14_IDX): Likewise.
4459 (TENS_P14_SIZE): Likewise.
4460 (_fpioconst_pow10): Change array size to
4461 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4462 unconditional.
4463 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4464 1024]: Add entries for 10^2^13 and 10^2^14.
4465 [LAST_POW10 > _LAST_POW10]: Remove #error.
4466 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4467 (_fpioconst_pow10): Change array size to
4468 FPIOCONST_POW10_ARRAY_SIZE.
4469 * stdlib/gen-fpioconst.c: New file.
4470 * stdlib/gen-tst-strtod-round.c: Likewise.
4471 * stdlib/tst-strtod-round-data: Likewise.
4472 * stdlib/tst-strtod-round.c: Likewise.
4473 * stdlib/Makefile (tests): Add tst-strtod-round.
4474
d6e70f43
JM
4475 [BZ #14459]
4476 * stdlib/strtod_l.c: Include <stdint.h>.
4477 (NDEBUG): Do not define.
4478 (round_and_return): Change EXPONENT parameter to type intmax_t.
4479 Rearrange calculations to avoid internal overflow possibilities.
4480 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4481 Rearrange calculations to avoid internal overflow possibilities.
4482 Assert that number fits inside MPNSIZE limbs.
4483 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4484 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4485 calculations and add assertions to avoid internal overflow
4486 possibilities. Add casts to avoid signed/unsigned operations.
4487 * stdlib/tst-strtod-overflow.c: New file.
4488 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4489
1f529f7d
MP
44902012-08-25 Marek Polacek <polacek@redhat.com>
4491
4492 * time/time.h: Fix some typos in comments.
4493
59a629f1
RM
44942012-08-23 Roland McGrath <roland@hack.frob.com>
4495
4496 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4497 * posix/tst-rfc3484-2.c: Likewise.
4498 * posix/tst-rfc3484-3.c: Likewise.
4499
d3bafbc9
SM
45002012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4501
4502 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4503 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4504
4efcc022
JM
45052012-08-23 Joseph Myers <joseph@codesourcery.com>
4506
4507 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4508 #include of fxstatat64.c.
4509
3cc3ef96
RM
45102012-08-22 Roland McGrath <roland@hack.frob.com>
4511
f04e2132
RM
4512 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4513 * shadow/getspent_r.c: Likewise.
4514 * shadow/getspnam.c: Likewise.
4515 * shadow/getspnam_r.c: Likewise.
4516 * gshadow/getsgent.c: Likewise.
4517 * gshadow/getsgent_r.c: Likewise.
4518 * gshadow/getsgnam.c: Likewise.
4519 * gshadow/getsgnam_r.c: Likewise.
4520 * inet/getnetbyad.c: Likewise.
4521 * inet/getnetbyad_r.c: Likewise.
4522 * inet/getnetbynm.c: Likewise.
4523 * inet/getnetbynm_r.c: Likewise.
4524 * inet/getnetent.c: Likewise.
4525 * inet/getnetent_r.c: Likewise.
4526 * inet/getproto.c: Likewise.
4527 * inet/getproto_r.c: Likewise.
4528 * inet/getprtent.c: Likewise.
4529 * inet/getprtent_r.c: Likewise.
4530 * inet/getprtname.c: Likewise.
4531 * inet/getprtname_r.c: Likewise.
4532 * inet/getrpcbyname.c: Likewise.
4533 * inet/getrpcbyname_r.c: Likewise.
4534 * inet/getrpcbynumber.c: Likewise.
4535 * inet/getrpcbynumber_r.c: Likewise.
4536 * inet/getrpcent.c: Likewise.
4537 * inet/getrpcent_r.c: Likewise.
4538 * inet/getaliasent.c: Likewise.
4539 * inet/getaliasent_r.c: Likewise.
4540 * inet/getaliasname.c: Likewise.
4541 * inet/getaliasname_r.c: Likewise.
4542 * nscd/getgrgid_r.c: Likewise.
4543 * nscd/getgrnam_r.c: Likewise.
4544 * nscd/gethstbyad_r.c: Likewise.
4545 * nscd/gethstbynm3_r.c: Likewise.
4546 * nscd/getpwnam_r.c: Likewise.
4547 * nscd/getpwuid_r.c: Likewise.
4548 * nscd/getsrvbynm_r.c: Likewise.
4549 * nscd/getsrvbypt_r.c: Likewise.
4550 * nscd/gai.c: Likewise.
4551
c53d909c
RM
4552 * configure.in (build_nscd): New substituted variable, set
4553 by --disable-build-nscd and defaults to $use_nscd.
4554 * configure: Regenerated.
4555 * config.make.in (build-nscd): New substituted variable.
4556 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4557 Change conditional to require [$(build-nscd) = yes] as well.
4558 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4559
3cc3ef96
RM
4560 [BZ# 13696]
4561 * configure.in (use_nscd): New substituted variable, set by
4562 --disable-nscd. If enabled, define USE_NSCD.
4563 * configure: Regenerated.
4564 * config.h.in: Add USE_NSCD.
4565 * config.make.in (use-nscd): New substituted variable.
4566 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4567 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4568 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4569 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4570 (CFLAGS-getgrnam_r.c): Likewise.
4571 (CFLAGS-initgroups.c): Likewise.
4572 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4573 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4574 Variables removed.
4575 * inet/getnetgrent_r.c
4576 (nscd_setnetgrent): New function, broken out of ...
4577 (setnetgrent): ... here. Call it.
4578 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4579 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4580 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4581 * nscd/Makefile (routines, aux): Move definitions after include of
4582 Makeconfig. Conditionalize on [$(use-nscd) != no].
4583 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4584 Conditionalize on [USE_NSCD].
4585 (is_nscd, nscd_init_cb): Likewise.
4586 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4587 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4588 * nss/nss_db/db-init.c: Likewise.
4589 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4590 [USE_NSCD].
4591 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4592 (make_request): Use it.
4593 (cache_valid_p): New function.
4594 (__check_pf): Use it.
4595 * NEWS: Add item for --disable-nscd.
4596
07e51550
DL
45972012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4598
4599 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4600 to support sed >= 4.2.1-20-ga9bf076.
4601 * configure: Regenerated.
4602
35a5b08b
RM
46032012-08-22 Roland McGrath <roland@hack.frob.com>
4604
4605 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4606 Conditionalize whole body on [IREL].
4607
8479f23a
JL
46082012-08-22 Jeff Law <law@redhat.com>
4609
4610 [BZ #14505]
4611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4612 if the family is PF_UNSPEC.
4613
48da0b21
MF
46142012-08-22 Mike Frysinger <vapier@gentoo.org>
4615
4616 * Makerules (lib-version): Rename from V.
4617 (install-lib-nosubdir): Change V to lib-version.
4618
15d0da8c
WS
46192012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4620
4621 [BZ #14252]
4622 * powerpc32/power6/wcschr.c: New file.
4623 * powerpc32/power6/wcscpy.c: New file.
4624 * powerpc32/power6/wcsrchr.c: New file.
4625 * powerpc64/power6/wcschr.c: New file.
4626 * powerpc64/power6/wcscpy.c: New file.
4627 * powerpc64/power6/wcsrchr.c: New file.
4628
bcca0895
MK
46292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4630
4631 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4632 (two_way_short_needle): Use it.
5a4aaa33
RM
4633 * string/strstr.c (AVAILABLE1_USES_J): Define.
4634 * string/strcasestr.c: Likewise.
99677e57
MK
4635
4636 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4637 array references.
4638 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4639
400726de
MK
4640 [BZ #11607]
4641 * NEWS: Add an entry.
4642 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4643 define their defaults.
4644 (two_way_short_needle): Detect end-of-string on-the-fly.
4645 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4646 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4647 * string/bug-strcasestr1.c: New test.
4648 * string/Makefile: Run it.
4649
20a71f2c
MK
46502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4651
4652 [BZ #11607]
4653 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4654 the first character.
4655
21ad0558
RM
46562012-08-21 Roland McGrath <roland@hack.frob.com>
4657
4658 * csu/elf-init.c (__libc_csu_irel): Function removed.
4659 * csu/libc-start.c (apply_irel): New function.
4660 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4661
0e1d9911
JM
46622012-08-21 Joseph Myers <joseph@codesourcery.com>
4663
4664 * sysdeps/unix/sysv/linux/kernel-features.h
4665 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4666 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4667 <kernel-features.h>.
4668 [__NR_fadvise64_64]: Make code unconditional.
4669 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4670 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4671 !__NR_fadvise64_64)]: Likewise.
4672 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4673 !__NR_fadvise64_64))]: Likewise.
4674 [__NR_fadvise64]: Make code unconditional.
4675 [!__NR_fadvise64]: Remove conditional code.
4676 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4677 <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/powerpc/powerpc32/posix_fadvise64.c: Do
4683 not 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 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4689 include <kernel-features.h>.
4690 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4691 unconditional.
4692 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4693 conditional code.
4694
14a50c9d
WS
46952012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4696
4697 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4698 slight instruction rearrangements per scrollpipe analysis.
4699 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4700
c0f4faf0
RM
47012012-08-20 Roland McGrath <roland@hack.frob.com>
4702
696da859
RM
4703 * manual/syslog.texi (syslog; vsyslog, closelog):
4704 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4705 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4706
c0f4faf0
RM
4707 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4708 DSOCAPS to match condition on defining it.
4709
348363b2
JM
47102012-08-20 Joseph Myers <joseph@codesourcery.com>
4711
a35cbf28
JM
4712 * sysdeps/unix/sysv/linux/kernel-features.h
4713 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4715 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4716 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4718 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4719 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4721 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4722 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4723
445f7ecd
JM
4724 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4725 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4726
348363b2
JM
4727 * sysdeps/unix/sysv/linux/kernel-features.h
4728 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4729 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4730 unconditional.
4731 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4732 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4733 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4734 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4735 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4736 Make code unconditional.
4737 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4738 (__mmap64) [!__NR_mmap2]: Likewise.
4739 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4740 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4741 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4742 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4743 [__NR_mmap2]: Make code unconditional.
4744 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4745 (__mmap64) [!__NR_mmap2]: Likewise.
4746
bc5bc0e5
AK
47472012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4748
4749 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4750
88d506de
AJ
47512012-08-18 Andreas Jaeger <aj@suse.de>
4752
4753 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4754
493387d2
MF
47552012-08-18 Mike Frysinger <vapier@gentoo.org>
4756
4757 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4758 * include/unistd.h (__have_sock_cloexec): Likewise.
4759 (__have_pipe2): Likewise.
4760 (__have_dup3): Likewise.
4761
a277af22
MF
47622012-08-18 Mike Frysinger <vapier@gentoo.org>
4763
4764 [BZ #9685]
4765 * include/unistd.h (__have_pipe2): Change define into an extern int.
4766 (__have_dup3): Likewise.
4767 * socket/have_sock_cloexec.c: Include fcntl.h.
4768 (__have_pipe2): New variable.
4769 (__have_dup3): Likewise.
4770
fdab8fd3
MF
47712012-08-17 Mike Frysinger <vapier@gentoo.org>
4772
4773 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4774
31035e80
MP
47752012-08-17 Marek Polacek <polacek@redhat.com>
4776
4777 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4778 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4779
3bd9e993
RM
47802012-08-17 Roland McGrath <roland@hack.frob.com>
4781
c91c505f
RM
4782 * configure.in: Add AC_SUBST for sysheaders.
4783 * configure: Regenerated.
4784 * config.make.in (sysheaders): New substituted variable.
4785
7c6f9d53
RM
4786 * sysdeps/unix/mkfifo.c: Moved ...
4787 * sysdeps/posix/mkfifo.c: ... here.
4788 * sysdeps/unix/mkfifoat.c: Moved ...
4789 * sysdeps/posix/mkfifoat.c: ... here.
4790
4791 * sysdeps/unix/utime.c: Moved ...
4792 * sysdeps/posix/utime.c: ... here.
4793
4794 * sysdeps/unix/time.c: Moved ...
4795 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4796 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4797 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4798
4799 * sysdeps/unix/nice.c: Moved ...
4800 * sysdeps/posix/nice.c: ... here.
4801
4802 * sysdeps/unix/alarm.c: Moved ...
4803 * sysdeps/posix/alarm.c: ... here.
4804
3bd9e993
RM
4805 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4806
d1f09384
JL
48072012-08-17 Jeff Law <law@redhat.com>
4808
4809 * intl/Makefile (codeset_mo): New variable.
4810 ($(codeset_mo)): New target.
4811 (tst-codeset.out): Depend on that. Remove explicit rule.
4812 (tst-gettext3.out, tst-gettext5.out): Likewise.
4813 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4814 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4815 * intl/tst-codeset.sh: Remove.
4816 * intl/tst-gettext3.sh: Likewise.
4817 * intl/tst-gettext5.sh: Likewise.
4818
2ae1ae5c
RM
48192012-08-17 Roland McGrath <roland@hack.frob.com>
4820
c31fdb83
RM
4821 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4822 * sysdeps/unix/syscalls.list: ... here.
4823
a0844057
RM
4824 * sysdeps/posix/getaddrinfo.c
4825 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4826 (gaiconf_init, gaiconf_reload): Use them.
4827 [!_STATBUF_ST_NSEC]
4828 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4829 Define using time_t rather than struct timespec.
4830
750c1f2a
RM
4831 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4832 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4833 Macros removed.
4834 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4835 [!NO_THREADS].
4836 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4837 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4838 Likewise.
4839
2ae1ae5c
RM
4840 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4841 __libc_cleanup_push argument.
4842
e66a42f5
RM
4843 * bits/param.h: New file.
4844 * misc/sys/param.h: New file.
4845 * include/sys/param.h: New file.
4846 * misc/Makefile (headers): Add bits/param.h.
4847 * sysdeps/generic/sys/param.h: File removed.
4848 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4849 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4850 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4851 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4852
b7c08a66
RM
4853 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4854 last change.
4855
b2e1c562
RM
4856 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4857 [_IO_MTSAFE_IO].
4858 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4859 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4860 New macros.
4861
c75ccd4c
RM
4862 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4863 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4864 rather than -D_IO_MTSAFE_IO conditionally.
4865 * stdio-common/Makefile (CPPFLAGS): Likewise.
4866 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4867 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4868 Use $(libio-mtsafe).
4869 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4870 of -D_IO_MTSAFE_IO.
4871 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4872 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4873 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4874 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4875 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4876 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4877 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4878 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4879 (CFLAGS-fread_u_chk.c): Likewise.
4880 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4881 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4882 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4883 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4884 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4885 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4886 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4887 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4888 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4889
4890 * libio/Makefile: Test [$(libc-reentrant) = yes]
4891 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4892
4893 * Makeconfig
4894 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4895 * sysdeps/pthread/configure: File removed.
4896 * sysdeps/pthread/Makeconfig: New file.
4897 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4898 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4899
d9195db8
GB
49002012-08-16 Gary Benson <gbenson@redhat.com>
4901
4902 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4903 unmapping the first object in a namespace.
4904
86466cd9
RM
49052012-08-16 Roland McGrath <roland@hack.frob.com>
4906
4907 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4908 (__internal_setnetgrent): ... this. Add internal_function to
4909 definition. Add libc_hidden_def.
4910 (setnetgrent): Update caller.
4911 (internal_endnetgrent): Renamed to ...
4912 (__internal_endnetgrent): ... this. Add internal_function to
4913 definition. Add libc_hidden_def.
4914 (endnetgrent): Update caller.
4915 (internal_getnetgrent_r): Renamed to ...
4916 (__internal_getnetgrent_r): ... this. Add internal_function to
4917 definition. Add libc_hidden_def.
4918 (__getnetgrent_r): Update caller.
4919 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4920
c3c8283c
JM
49212012-08-16 Joseph Myers <joseph@codesourcery.com>
4922
4923 * stdlib/longlong.h: Update from GCC.
4924
db1ee0a8
RM
49252012-08-16 Roland McGrath <roland@hack.frob.com>
4926
4927 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4928 on _QL, which is set by umul_ppmm but never used.
4929 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4930 variables, which are set by GMP macros but never used.
4931 * stdio-common/_itowa.c (_itowa): Likewise.
4932 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4933 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4934
30f69637
CD
49352012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4936
4937 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4938 struct La_sh_regs is not constant.
4939 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4940 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4941 and struct La_sparc64_regs are not constant.
4942
93a78ac4
JM
49432012-08-16 Joseph Myers <joseph@codesourcery.com>
4944
4945 * sysdeps/unix/sysv/linux/kernel-features.h
4946 (__ASSUME_POSIX_TIMERS): Remove.
4947 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4948 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4949 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4950 Make code unconditional.
4951 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4952 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4953 Make code unconditional.
4954 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4955 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4956 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4957 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4958 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4959 Make code unconditional.
4960 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4961 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4962 (__libc_missing_posix_timers): Remove.
4963
dd924cd7
RM
49642012-08-15 Roland McGrath <roland@hack.frob.com>
4965
4b4f2771
RM
4966 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4967 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4968
601c888b
RM
4969 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4970
176790a7
RM
4971 * elf/dl-sym.c: Include <stdlib.h>.
4972
329bc018
RM
4973 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4974 constants, which avoids warnings in 32-bit builds.
4975
e04e272d
RM
4976 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4977 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4978
952bf94a
RM
4979 * misc/lseek.c: File moved to ...
4980 * io/lseek.c: ... here.
4981
7c99b50a
RM
4982 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4983
dd924cd7
RM
4984 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4985 shifting LEN more than 31 bits at once.
4986
b3f479a8
LD
49872012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4988
4989 [BZ #14195]
8c4ae0d4
RM
4990 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4991 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4992 * string/test-strncasecmp.c (check1): Renamed to...
4993 (bz12205): ...this.
4994 (bz14195): Add new testcase for two empty input strings and N > 0.
4995 (test_main): Call new testcase, adapt for renamed function.
4996
9c55864e
AJ
49972012-08-15 Andreas Jaeger <aj@suse.de>
4998
4999 [BZ #14090]
5000 * crypt/md5test2.c: New test, based on test supplied by Serge
5001 Belyshev <belyshev@depni.sinp.msu.ru>.
5002 * crypt/Makefile (xtests): Add md5test-giant..
5003 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5004
02dcb6c5
PE
50052012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5006
5007 [BZ #14090]
5008 * crypt/md5.c (md5_process_block): Don't assume the buffer
5009 length is less than 2**32.
5010 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5011 length is less than 2**64.
5012
a3f95dcc
RM
50132012-08-15 Roland McGrath <roland@hack.frob.com>
5014
be75d758
RM
5015 * string/str-two-way.h: Include <sys/param.h>.
5016 (MAX): Macro removed.
5017
7312ca90
RM
5018 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5019 Move #define and #undef of memmove to just before and after
5020 including <string.h>.
5021
9a0a5486
RM
5022 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5023 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5024 and after including <string.h>. Move declarations of
5025 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5026 to before #include "string/memmove.c".
5027
67cc348d
RM
5028 * include/dirent.h: Declare __getdirentries.
5029
a3f95dcc
RM
5030 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5031 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5032
ca98e171
MF
50332012-08-14 Mike Frysinger <vapier@gentoo.org>
5034
5035 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5036 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5037 * sysdeps/i386/configure: Regenerated.
5038 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5039 STABS_CURRENT_FILE, and STABS_FUN.
5040 (END): Remove call to STABS_FUN_END.
5041 (STABS_CURRENT_FILE1): Delete.
5042 (STABS_CURRENT_FILE): Likewise.
5043 (STABS_FUN): Likewise.
5044 (STABS_FUN_END): Likewise.
5045 (STABS_FUN2): Likewise.
5046 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5047 * sysdeps/x86_64/configure: Regenerated.
5048
5908bf46
RM
50492012-08-14 Roland McGrath <roland@hack.frob.com>
5050
5051 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5052 * elf/dl-lookup.c: Likewise.
5908bf46 5053
f2c05b9e
JM
50542012-08-14 Joseph Myers <joseph@codesourcery.com>
5055
5056 * sysdeps/unix/sysv/linux/kernel-features.h
5057 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5058 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5059 unconditionally.
5060 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5061 unconditionally.
5062 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5063 condition on __ASSUME_CLONE_THREAD_FLAGS.
5064
e11f5155
AJ
50652012-08-14 Andreas Jaeger <aj@suse.de>
5066
5067 * sysdeps/i386/fpu/libm-test-ulps: Update.
5068
51a9ba86
MK
50692012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5070
2fdd4f78
AJ
5071 * include/atomic.h (atomic_exchange_and_add): Split into ...
5072 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5073 New atomic macros.
51a9ba86 5074
ba6cba9e
MT
50752012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5076
5077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5078
42443a47
JL
50792012-08-13 Jeff Law <law@redhat.com>
5080
5081 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5082 null byte in the output string.
5083
121dce05
JM
50842012-08-10 Joseph Myers <joseph@codesourcery.com>
5085
5086 * sysdeps/unix/sysv/linux/kernel-features.h
5087 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5088 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5089 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5090 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5091 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5092 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5093 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5094
bf51f568
JL
50952012-08-09 Jeff Law <law@redhat.com>
5096
5097 [BZ #13939]
5098 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5099 When avoid_arena is set, don't retry in the that arena. Pick the
5100 next one, whatever it might be.
5101 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5102 (arena_lock): Pass in new parameter to arena_get2.
5103 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5104 arena_get2.
5105 (__libc_malloc): Unify retrying after main arena failure with
5106 __libc_memalign version.
5107 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5108
f85fa270
L
51092012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5110
5111 [BZ #14166]
5112 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5113 to __redirect_strstr.
5114 (__strstr_sse42): Use typeof __redirect_strstr.
5115 (__strstr_ia32): Likewise.
5116 (__libc_strstr): New prototype.
5117 (strstr): Renamed to ...
5118 (__libc_strstr): This.
5119 (strstr): New strong alias of __libc_strstr.
5120 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5121 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5122 __redirect_time.
5123 Include <time.h>.
5124 (__libc_time): New prototype.
5125 (time_ifunc): Replace time with __libc_time.
5126 (time): New strong alias and hidden definition of __libc_time.
5127 (__GI_time): Remove strong alias.
5128 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5129 Include <stddef.h>.
5130 (memmove): Redefined to __redirect_memmove.
5131 (__memmove_sse2): Use typeof __redirect_memmove.
5132 (__memmove_ssse3): Likewise.
5133 (__memmove_ssse3_back): Likewise.
5134 (__libc_memmove): New prototype.
5135 (memmove): Renamed to ...
5136 (__libc_memmove): This.
5137 (memmove): New strong alias of __libc_memmove.
5138
33b4a91e
MS
51392012-08-08 Mark Salter <msalter@redhat.com>
5140
5141 * elf/elf.h
5142 (R_MN10300_TLS_GD): Define.
5143 (R_MN10300_TLS_LD): Likewise.
5144 (R_MN10300_TLS_LDO): Likewise.
5145 (R_MN10300_TLS_GOTIE): Likewise.
5146 (R_MN10300_TLS_IE): Likewise.
5147 (R_MN10300_TLS_LE): Likewise.
5148 (R_MN10300_TLS_DTPMOD): Likewise.
5149 (R_MN10300_TLS_DTPOFF): Likewise.
5150 (R_MN10300_TLS_TPOFF): Likewise.
5151 (R_MN10300_SYM_DIFF): Likewise.
5152 (R_MN10300_ALIGN): Likewise.
5153 (R_MN10300_NUM): Update.
5154
b36137f1
JM
51552012-08-08 Joseph Myers <joseph@codesourcery.com>
5156
5157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5158 Remove.
5159
cdd915fd
RM
51602012-08-08 Roland McGrath <roland@hack.frob.com>
5161
a2433aac
RM
5162 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5163
cdd915fd
RM
5164 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5165 sysdeps/unix -> sysdeps/posix move.
5166 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5167
bf9b740a
AM
51682012-08-07 Allan McRae <allan@archlinux.org>
5169
5170 [BZ #14303]
5171 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5172 (SUNOS_CPP): Likewise.
5173 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5174 not found.
5175 (open_input): Call CPP using execvp.
5176
93df14ee
JM
51772012-08-07 Joseph Myers <joseph@codesourcery.com>
5178
5179 * sysdeps/unix/sysv/linux/kernel-features.h
5180 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5181 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5182 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5183 (__ASSUME_WAITID_SYSCALL): Likewise.
5184 * sysdeps/unix/sysv/linux/dl-execstack.c
5185 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5186 code unconditional.
5187 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5188 conditional code.
5189 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5190 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5191 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5192 code.
5193 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5194 unconditional.
5195 [__ASSUME_WAITID_SYSCALL]: Likewise.
5196 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5197
d34689de
RM
51982012-08-07 Roland McGrath <roland@hack.frob.com>
5199
a281decc
RM
5200 * sysdeps/unix/closedir.c: Renamed to ...
5201 * sysdeps/posix/closedir.c: ... here.
5202 * sysdeps/unix/dirfd.c: Renamed to ...
5203 * sysdeps/posix/dirfd.c: ... here.
5204 * sysdeps/unix/dirstream.h: Renamed to ...
5205 * sysdeps/posix/dirstream.h: ... here.
5206 * sysdeps/unix/fdopendir.c: Renamed to ...
5207 * sysdeps/posix/fdopendir.c: ... here.
5208 * sysdeps/unix/opendir.c: Renamed to ...
5209 * sysdeps/posix/opendir.c: ... here.
5210 * sysdeps/unix/readdir.c: Renamed to ...
5211 * sysdeps/posix/readdir.c: ... here.
5212 * sysdeps/unix/readdir_r.c: Renamed to ...
5213 * sysdeps/posix/readdir_r.c: ... here.
5214 * sysdeps/unix/rewinddir.c: Renamed to ...
5215 * sysdeps/posix/rewinddir.c: ... here.
5216 * sysdeps/unix/seekdir.c: Renamed to ...
5217 * sysdeps/posix/seekdir.c: ... here.
5218 * sysdeps/unix/telldir.c: Renamed to ...
5219 * sysdeps/posix/telldir.c: ... here.
5220 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5221 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5222 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5223 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5224
22895b47
RM
5225 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5226 * bits/fcntl.h: ... here.
5227
707a53b6
RM
5228 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5229 not 0.
5230 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5231 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5232 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5233 (struct flock): Move l_start, l_len to the beginning.
5234 Use __pid_t for l_pid.
5235 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5236 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5237 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5238 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5239 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5240 [__USE_LARGEFILE64] (struct flock64): New type.
5241 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5242
f0bd3e25
RM
5243 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5244 * bits/dirent.h: ... here.
5245
d34689de
RM
5246 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5247 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5248
6dad2c06
JM
52492012-08-07 Joseph Myers <joseph@codesourcery.com>
5250
5251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5252 Change from 2.6.0 to 2.6.16.
5253 * sysdeps/unix/sysv/linux/configure: Regenerated.
5254 * sysdeps/unix/sysv/linux/kernel-features.h
5255 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5256 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5257 version.
5258 (__ASSUME_UTIMES): Likewise.
5259 (__ASSUME_CLONE_STOPPED): Remove.
5260 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5261 architectures, not kernel version.
5262 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5263 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5264 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5265 (__ASSUME_WAITID_SYSCALL): Likewise.
5266 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5267 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5268 * README: State 2.6.16 as minimum Linux kernel version. Do not
5269 refer to older versions.
5270
03af9520
RM
52712012-08-06 Roland McGrath <roland@hack.frob.com>
5272
8e49df1d
RM
5273 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5274 Define alphasort64 as an alias.
5275 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5276 Define versionsort64 as an alias.
5277 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5278 Define scandir64 as an alias.
5279 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5280 Define scandirat64 as an alias.
5281 * dirent/alphasort64.c (alphasort64):
5282 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5283 * dirent/versionsort64.c: Likewise.
5284 * dirent/scandir64.c: Likewise.
5285 * dirent/scandirat64.c: Likewise.
5286 * sysdeps/wordsize-64/alphasort.c: File removed.
5287 * sysdeps/wordsize-64/alphasort64.c: File removed.
5288 * sysdeps/wordsize-64/scandir.c: File removed.
5289 * sysdeps/wordsize-64/scandir64.c: File removed.
5290 * sysdeps/wordsize-64/scandirat.c: File removed.
5291 * sysdeps/wordsize-64/scandirat64.c: File removed.
5292 * sysdeps/wordsize-64/versionsort.c: File removed.
5293 * sysdeps/wordsize-64/versionsort64.c: File removed.
5294 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5295 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5297 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5298 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5299 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5301 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5302
5303 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5305 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5307 [defined __arch64__ || defined __sparcv9]
5308 (__INO_T_MATCHES_INO64_T): New macro.
5309 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5310 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5311 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5312 * sysdeps/unix/sysv/linux/bits/dirent.h
5313 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5314 (_DIRENT_MATCHES_DIRENT64): New macro.
5315
03af9520
RM
5316 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5317 Define lockf64 as an alias.
5318 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5319 Define fseeko64 as an alias.
5320 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5321 Define ftello64 as an alias.
5322 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5323 Define _IO_fgetpos64 and fgetpos64 as aliases.
5324 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5325 Define _IO_fsetpos64 and fsetpos64 as aliases.
5326 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5327 Conditionalize body on this.
5328 * libio/fseeko64.c: Likewise.
5329 * libio/ftello64.c: Likewise.
5330 * libio/iofgetpos64.c: Likewise.
5331 * libio/iofsetpos64.c: Likewise.
5332 * sysdeps/wordsize-64/lockf.c: File removed.
5333 * sysdeps/wordsize-64/lockf64.c: File removed.
5334 * sysdeps/wordsize-64/fseeko.c: File removed.
5335 * sysdeps/wordsize-64/fseeko64.c: File removed.
5336 * sysdeps/wordsize-64/ftello.c: File removed.
5337 * sysdeps/wordsize-64/ftello64.c: File removed.
5338 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5339 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5340 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5341 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5342 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5343 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5344 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5345 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5346 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5347 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5348 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5349 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5350 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5351 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5352
5353 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5354 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5355 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5356 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5357 [defined __arch64__ || defined __sparcv9]
5358 (__OFF_T_MATCHES_OFF64_T): New macro.
5359 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5360 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5362 (__OFF_T_MATCHES_OFF64_T): New macro.
5363
c5757acd
L
53642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5365
5366 * stdlib/secure-getenv.c (__secure_getenv): Replace
5367 GLIBC_2_16 with GLIBC_2_17.
5368
3a31811e
L
53692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5370
5371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5372 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5373
faa2bccb
DM
53742012-08-03 David S. Miller <davem@davemloft.net>
5375
5376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5377
85fe1997
JM
53782012-08-03 Joseph Myers <joseph@codesourcery.com>
5379
5380 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5381 Remove.
5382 (__ASSUME_CORRECT_SI_PID): Likewise.
5383 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5384 (__ASSUME_TMPFS_NAME): Likewise.
5385 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5386 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5387 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5388 (HAVE_AUX_SECURE): Make definition unconditional.
5389 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5390 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5391
4f75b7a0
RM
53922012-08-03 Roland McGrath <roland@hack.frob.com>
5393
5394 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5395 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5396 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5397 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5398 __eloop_threshold instead of SYMLOOP_MAX.
5399
5400 * sysdeps/generic/eloop-threshold.h: New file.
5401 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5402 of MAXSYMLINKS.
5403 * elf/chroot_canon.c (chroot_canon): Likewise.
5404
7aab07e4
JM
54052012-08-03 Joseph Myers <joseph@codesourcery.com>
5406
5407 [BZ #13717]
5408 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5409 Change to 2.6.0 everywhere.
5410 * sysdeps/unix/sysv/linux/configure: Regenerated.
5411 * sysdeps/unix/sysv/linux/kernel-features.h
5412 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5413 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5414 kernel versions.
5415 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5416 (__ASSUME_FUTEX_REQUEUE): Remove.
5417 (__ASSUME_STATFS64): Define unconditionally.
5418 (__ASSUME_AT_SECURE): Likewise.
5419 (__ASSUME_CORRECT_SI_PID): Likewise.
5420 (__ASSUME_TGKILL): Define without depending on kernel version for
5421 i386.
5422 (__ASSUME_UTIMES): Likewise.
5423 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5424 kernel version.
5425 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5426 (__ASSUME_TMPFS_NAME): Likewise.
5427 * README: Update reference to Linux kernel versions.
5428
b67e9372
MP
54292012-08-02 Marek Polacek <polacek@redhat.com>
5430
1f529f7d 5431 [BZ# 14150]
b67e9372
MP
5432 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5433 libc_cv_asm_type_prefix with %.
5434 * configure: Regenerated.
d2441631
RM
5435 * include/libc-symbols.h: Remove comment about
5436 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5437 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5438 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5439 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5440 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5441 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5442 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5443 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5444 * elf/tst-unique2mod1.c: Likewise.
5445 * elf/tst-unique1mod2.c: Likewise.
5446 * elf/tst-unique1mod1.c: Likewise.
5447 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5448 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5449 Replace ASM_TYPE_DIRECTIVE with .type.
5450 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5451 * sysdeps/i386/sysdep.h: Likewise.
5452 * sysdeps/x86_64/sysdep.h: Likewise.
5453 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5455 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5456 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5457 * sysdeps/powerpc/powerpc32/sysdep.h:
5458 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5459 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5460 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5461 * sysdeps/i386/fpu/e_powf.S: Likewise.
5462 * sysdeps/i386/fpu/e_expl.S: Likewise.
5463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5464 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5465 * sysdeps/i386/fpu/e_pow.S: Likewise.
5466 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5467 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5468 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5469 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5470 * sysdeps/i386/fpu/e_log2.S: Likewise.
5471 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5472 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5473 * sysdeps/i386/fpu/e_powl.S: Likewise.
5474 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5475 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5476 * sysdeps/i386/fpu/e_logl.S: Likewise.
5477 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5478 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5479 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5480 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5481 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5482 * sysdeps/i386/fpu/e_log.S: Likewise.
5483 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5484 * sysdeps/i386/fpu/e_logf.S: Likewise.
5485 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5486 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5487 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5488 * sysdeps/i386/fpu/e_log10.S: Likewise.
5489 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5490 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5491 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5492 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5493 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5494 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5495 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5496 * sysdeps/i386/i686/strtok.S: Likewise.
5497 * sysdeps/i386/i386-mcount.S: Likewise.
5498 * sysdeps/i386/strtok.S: Likewise.
5499 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5500 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5501 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5502 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5503 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5504 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5505 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5506 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5507 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5508 * sysdeps/x86_64/_mcount.S: Likewise.
5509 * sysdeps/x86_64/strtok.S: Likewise.
5510 * sysdeps/sh/_mcount.S: Likewise.
5511
2747bf9a
RM
55122012-08-01 Roland McGrath <roland@hack.frob.com>
5513
5514 * libio/iofopen.c: Include <fcntl.h>.
5515 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5516 (_IO_fopen64, fopen64): Define as aliases.
5517 * libio/iofopen64.c: Include <fcntl.h>.
5518 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5519 Conditionalize body on this.
5520 * sysdeps/wordsize-64/iofopen.c: File removed.
5521 * sysdeps/wordsize-64/iofopen64.c: File removed.
5522
3fb791b8
MP
55232012-08-01 Marek Polacek <polacek@redhat.com>
5524
5525 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5526 Use dlfcn directly instead of a variable.
5527 (binfmt-subdir): Do not define.
5528 (dlfcn): Likewise.
5529
a9f1039f
JM
55302012-08-01 Joseph Myers <joseph@codesourcery.com>
5531
23bddc06
JM
5532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5533 Remove all definitions.
5534 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5535 <kernel-features.h>.
5536 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5537 (miss_F_GETOWN_EX): Remove all definitions.
5538 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5539 macro definition.
5540 [!__ASSUME_FCNTL64]: Remove conditional code.
5541 [__ASSUME_FCNTL64]: Make code unconditional.
5542 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5543 <kernel-features.h>.
5544 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5545 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5546 (lockf64) [__NR_fcntl64]: Make code unconditional.
5547 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5548
a9f1039f
JM
5549 * sysdeps/unix/sysv/linux/kernel-features.h
5550 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5551 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5552 Make code unconditional.
5553 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5554 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5556 [__NR_vfork]: Make code unconditional.
5557 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5558 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5560 [__NR_vfork]: Make code unconditional.
5561 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5562 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5563
09c0ee5f
RM
55642012-08-01 Roland McGrath <roland@hack.frob.com>
5565
48aec5b9
RM
5566 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5567 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5568
cd97c966
RM
5569 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5570 Define mkstemp64 as an alias.
3f55550c
RM
5571 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5572 Define mkstemps64 as an alias.
cd97c966
RM
5573 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5574 Define mkostemp64 as an alias.
b8625cfc
RM
5575 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5576 Define mkostemps64 as an alias.
cd97c966
RM
5577 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5578 Conditionalize body on this.
5579 * misc/mkostemp64.c: Likewise.
b8625cfc 5580 * misc/mkostemps64.c: Likewise.
3f55550c 5581 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5582 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5583 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5584 * sysdeps/wordsize-64/mkostemp.c: File removed.
5585 * sysdeps/wordsize-64/mkstemp.c: File removed.
5586 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5588 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5589 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5590
09c0ee5f
RM
5591 [BZ #14138]
5592 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5593 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5594 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5595 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5596
5597 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5598 compat_symbol macros from <shlib-compat.h> rather than the underlying
5599 default_symbol_version and symbol_version macros, so that DEFAULT
5600 lines in shlib-versions are respected.
5601 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5602
7e66ee51
FW
56032012-08-01 Florian Weimer <fweimer@redhat.com>
5604
5605 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5606 Declare with warn_unused_result.
5607 (setgid, setregid, setegid, setresgid): Likewise.
5608 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5609 Likewise.
5610 * WUR-REPORT: Remove set*id functions.
5611
d2a54255
PT
56122012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5613
5614 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5615
7ecdb005
RM
56162012-07-31 Roland McGrath <roland@hack.frob.com>
5617
789bd351
RM
5618 * include/sys/socket.h (__libc_accept, __libc_accept4):
5619 Add attribute_hidden.
5620 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5621
40ce302d
RM
5622 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5623 use of PTR_MANGLE.
5624 * inet/getnetgrent_r.c (setup): Likewise.
5625
7ecdb005
RM
5626 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5627
e2eabb2c
DM
56282012-07-31 David S. Miller <davem@davemloft.net>
5629
5630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5631
d0419dbf
JM
56322012-07-31 Joseph Myers <joseph@codesourcery.com>
5633
5634 [BZ #13629]
5635 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5636 value between 1.0 and 2.0 and smaller part has absolute value less
5637 than 1.0.
5638 * math/s_clog10.c (__clog10): Likewise.
5639 * math/s_clog10f.c (__clog10f): Likewise.
5640 * math/s_clog10l.c (__clog10l): Likewise.
5641 * math/s_clogf.c (__clogf): Likewise.
5642 * math/s_clogl.c (__clogl): Likewise.
5643 * math/libm-test.inc (clog_test): Add more tests.
5644 (clog10_test): Likewise.
5645 * sysdeps/i386/fpu/libm-test-ulps: Update.
5646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5647
2bc13872
FW
56482012-07-31 Florian Weimer <fweimer@redhat.com>
5649
5650 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5651 Exit with zero in case no suitable GID is found, and write a
5652 message to standard error.
5653
bea9b193
RM
56542012-07-30 Roland McGrath <roland@hack.frob.com>
5655
5656 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5657 rather than to 1.
5658 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5659 (MAXPATHLEN): Removed.
5660 (NOGROUP, NODEV): New macros.
5661 (setbit, clrbit, isset, isclr): New macros.
5662 (howmany, roundup, powerof2): New macros.
5663 (DEV_BSIZE): New macro.
5664
5665 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5666 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5667
5668 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5669 definition on [!__NO_LONG_DOUBLE_MATH].
5670
5671 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5672 PTR_MANGLE and PTR_DEMANGLE.
5673
5674 * socket/accept4.c (accept4): Rename to __libc_accept4.
5675 Define accept4 as a weak alias.
5676
5677 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5678 on [_DIRENT_HAVE_D_TYPE].
5679 * io/ftw.c (ftw_dir): Likewise.
5680
5681 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5682
5683 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5684
5685 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5686 Use the BSD numbers rather than the arbitrary ones we had.
5687 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5688 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5689 (SIGXCPU, SIGXFSZ): New macros.
5690 (_NSIG): Now 32.
5691
5692 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5693 initializer on [_LIBC_REENTRANT].
5694
5695 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5696 definitions inside [_POSIX_MAPPED_FILES].
5697
5698 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5699
5700 * dirent/opendir.c: Include <fcntl.h>.
5701
5702 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5703 (__libc_getspecific): Likewise.
5704 (__libc_key_create): Likewise.
5705
5706 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5707 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5708 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5709 (tmpfile64): Define as alias.
5710 * sysdeps/wordsize-64/tmpfile.c: File removed.
5711 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5712 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5713 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5714
5715 * stdio-common/vfscanf.c: Include <stdbool.h>.
5716 * nss/makedb.c: Likewise.
5717 * stdio-common/_i18n_number.h: Likewise.
5718 * argp/argp-help.c: Likewise.
5719 * posix/wordexp.c: Likewise.
5720 * sysdeps/posix/spawni.c: Likewise.
5721 * nss/nss_files/files-initgroups.c: Likewise.
5722 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5723 * nss/nss_files/files-initgroups.c: Likewise.
5724 * nss/nss_db/db-netgrp.c: Likewise.
5725 * nss/nss_db/db-initgroups.c: Likewise.
5726 * io/fchmodat.c: Include <sys/stat.h>.
5727
5728 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5729 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5730
5731 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5732 [HAVE_MMAP].
5733
5734 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5735 Add multiple inclusion protection.
5736
e5abc686
DM
57372012-07-27 David S. Miller <davem@davemloft.net>
5738
5739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5740
815e6fa3
GB
57412012-07-27 Gary Benson <gbenson@redhat.com>
5742
5743 [BZ #14298]
5744 * elf/rtld.c: Include <stap-probe.h>.
5745 (dl_main): Added static probes "init_start" and "init_complete".
5746 * elf/dl-load.c: Include <stap-probe.h>.
5747 (lose): Take new parameter "nsid".
5748 Added static probe "map_failed".
5749 (_dl_map_object_from_fd): Pass namespace id to lose.
5750 Added static probe "map_start".
5751 (open_verify): Pass namespace id to lose.
5752 * elf/dl-open.c: Include <stap-probe.h>.
5753 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5754 and "reloc_complete".
5755 * elf/dl-close.c: Include <stap-probe.h>.
5756 (_dl_close_worker): Added static probes "unmap_start" and
5757 "unmap_complete".
5758 * elf/rtld-debugger-interface.txt: New file documenting the above.
5759
9f98c16c
RM
57602012-07-26 Roland McGrath <roland@hack.frob.com>
5761
5762 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5763 rather than a string variable.
5764 * sunrpc/rpc_main.c (h_output): Likewise.
5765 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5766
f3c22df3
PT
57672012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5768
5769 * inet/check_native.c: New file.
5770
3129cfc6
JM
57712012-07-26 Joseph Myers <joseph@codesourcery.com>
5772
da865e95
JM
5773 [BZ #13629]
5774 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5775 if larger part has absolute value 1.0.
5776 * math/s_clog10.c (__clog10): Likewise.
5777 * math/s_clog10f.c (__clog10f): Likewise.
5778 * math/s_clog10l.c (__clog10l): Likewise.
5779 * math/s_clogf.c (__clogf): Likewise.
5780 * math/s_clogl.c (__clogl): Likewise.
5781 * math/libm-test.inc (clog_test): Add more tests.
5782 (clog10_test): Likewise.
5783 * sysdeps/i386/fpu/libm-test-ulps: Update.
5784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5785
3129cfc6
JM
5786 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5787 (pltexit): Likewise.
5788 (La_regs): Likewise.
5789 (La_retval): Likewise.
5790 (int_retval): Likewise.
5791 Update #error for removed macros to refer only to definitions in
5792 tst-audit.h.
5793 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
5818 macro.
5819 (pltexit): Likewise.
5820 (La_regs): Likewise.
5821 (La_retval): Likewise.
5822 (int_retval): Likewise.
5823 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5824 macro.
5825 (pltexit): Likewise.
5826 (La_regs): Likewise.
5827 (La_retval): Likewise.
5828 (int_retval): Likewise.
5829 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5830 macro definitions in tst-audit.h.
5831 * sysdeps/i386/tst-audit.h: New file.
5832 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5833 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5834 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5835 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5836 * sysdeps/sh/tst-audit.h: Likewise.
5837 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5838 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5839 * sysdeps/x86_64/tst-audit.h: Likewise.
5840
bfc07087
AJ
58412012-07-26 Andreas Jaeger <aj@suse.de>
5842
b1b2aaf8
AJ
5843 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5844 ptrace.
5845
5846 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5847 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5848 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5849 PTRACE_O_MASK.
5850 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5851 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5852 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5853
bfc07087
AJ
5854 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5855 value.
5856
5857 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5858 _sigsys.
5859 (si_call_addr, si_syscall, si_arch): Define new macro.
5860 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5861 _sigsys.
5862 (si_call_addr, si_syscall, si_arch): Define new marcro.
5863 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5864 _sigsys.
5865 (si_call_addr, si_syscall, si_arch): Define new macro.
5866 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5867 _sigsys.
5868 (si_call_addr, si_syscall, si_arch): Define new macro.
5869
89b4b02f
JM
58702012-07-25 Joseph Myers <joseph@codesourcery.com>
5871
5872 [BZ #13717]
5873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5874 Change to 2.4.21 where previously 2.4.1.
5875 * sysdeps/unix/sysv/linux/configure: Regenerated.
5876 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5877 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5878 Linux kernel version.
5879 (__ASSUME_STD_AUXV): Remove.
5880 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5881 kernel version.
5882 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5883 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5884 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5885 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5886 (__ASSUME_NETLINK_SUPPORT): Likewise.
5887 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5888 (__no_netlink_support): Remove conditional definition.
5889 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5890 Remove.
5891 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5892 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5893 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5894 (if_nameindex_ioctl): Remove.
5895 (if_nameindex_netlink): Do not handle __no_netlink_support.
5896 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5897 code.
5898 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5899 Remove conditional code.
5900 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5901 code.
5902 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5903 unconditional.
5904 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5905 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5906 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5907 Remove.
5908 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5909 [!__ASSUME_STD_AUXV]: Remove conditional code.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5911 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5912 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5914 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5915 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5916 code.
5917 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5919 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5920 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5921 conditional code.
5922 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5924 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5925 code.
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5927 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5928 conditional code.
5929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5930 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5931 code unconditional.
5932 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5933 conditional code.
5934 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5935 unconditional.
5936 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5937 conditional code.
5938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5939 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5940 unconditional.
5941 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5942 conditional code.
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5944 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5945 code unconditional.
5946 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5947 conditional code.
5948 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5949 unconditional.
5950 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5951 conditional code.
5952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5953 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5954 code unconditional.
5955 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5956 conditional code.
5957 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5958 unconditional.
5959 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5960 conditional code.
5961
842a39cd
AS
59622012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5963
5964 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5965 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5966 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5967 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5968 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5969 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5970 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5971 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5972 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5973 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5974 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5975 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5976 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5977 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5978 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5979 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5980 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5981 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5982 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5984 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5985 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5986 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5987
84b3fd84
FW
59882012-07-25 Florian Weimer <fweimer@redhat.com>
5989
5990 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5991 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5992 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5993 Introduce __libc_secure_getenv.
0c7936d5
FW
5994 * stdlib/Versions (2.17): Add secure_getenv
5995 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5996 * stdlib/secure-getenv.c: Rename __secure_getenv to
5997 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5998 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5999 * stdlib/tst-secure-getenv.c: New.
6000 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6001 * manual/startup.texi (Environment Access): Document
6002 secure_getenv.
84b3fd84
FW
6003 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6004 __libc_secure_getenv.
6005 * inet/ruserpass.c (ruserpass): Likewise.
6006 * malloc/mtrace.c (mtrace): Likewise.
6007 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6008 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6009 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6010 * sysdeps/posix/tempname.c: Likewise. Evaluate
6011 HAVE_SECURE_GETENV.
6012 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6013 __secure_getenv to __libc_secure_getenv.
84b3fd84 6014 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6016 Likewise.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6018 Likewise.
6019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6026
56e49b71
JM
60272012-07-25 Joseph Myers <joseph@codesourcery.com>
6028
6029 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6030 (struct La_i86_retval): Likewise.
6031 (struct La_x86_64_regs): Likewise.
6032 (struct La_x86_64_retval): Likewise.
6033 (struct La_x32_regs): Likewise.
6034 (struct La_x32_retval): Likewise.
6035 (struct La_ppc32_regs): Likewise.
6036 (struct La_ppc32_retval): Likewise.
6037 (struct La_ppc64_regs): Likewise.
6038 (struct La_ppc64_retval): Likewise.
6039 (struct La_sh_regs): Likewise.
6040 (struct La_sh_retval): Likewise.
6041 (struct La_s390_32_regs): Likewise.
6042 (struct La_s390_32_retval): Likewise.
6043 (struct La_s390_64_regs): Likewise.
6044 (struct La_s390_64_retval): Likewise.
6045 (struct La_sparc32_regs): Likewise.
6046 (struct La_sparc32_retval): Likewise.
6047 (struct La_sparc64_regs): Likewise.
6048 (struct La_sparc64_retval): Likewise.
6049 (struct audit_ifaces): Remove architecture-specific pltenter and
6050 pltexit members.
6051 * sysdeps/i386/ldsodefs.h: New file.
6052 * sysdeps/powerpc/ldsodefs.h: Likewise.
6053 * sysdeps/s390/ldsodefs.h: Likewise.
6054 * sysdeps/sh/ldsodefs.h: Likewise.
6055 * sysdeps/sparc/ldsodefs.h: Likewise.
6056 * sysdeps/x86_64/ldsodefs.h: Likewise.
6057
354691b7
MP
60582012-07-25 Marek Polacek <polacek@redhat.com>
6059
6060 [BZ #6808]
6061 * math/libm-test.inc (yn_test): Add another test.
6062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6063 to ERANGE when the result is +-Inf.
6064 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6065 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6066 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6067 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6068
bf9e2071
JM
60692012-07-24 Joseph Myers <joseph@codesourcery.com>
6070
6071 * conform/data/time.h-data (NULL): Use macro-constant. Require
6072 equal to 0.
6073 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6074 clock_t.
6075 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6076
57633811
TS
60772012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6078
6079 * configure.in <sysdeps resolving>: Correct printing
6080 Implies_before.
6081 * configure: Regenerate.
6082
c23c33b0
TS
60832012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6084
6085 * math/w_ilogb.c: Include <limits.h>.
6086 * math/w_ilogbl.c: Likewise.
6087
b5982523
JM
60882012-07-20 Joseph Myers <joseph@codesourcery.com>
6089
6090 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6091 va_copy. Document allowing for unavailable va_copy only as
6092 pre-C99 compatibility.
6093 * manual/string.texi (Copying and Concatenation): Use va_copy
6094 instead of __va_copy in concat example.
6095
ac4ea442
PT
60962012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6097
6098 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6099 (__sendto): Use create_address_port. Initialize APORT and deallocate
6100 it if not null.
6101
f98eafbd
PT
6102 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6103 with O_NOLINK passed to __file_name_lookup.
6104
898c7aab
PT
6105 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6106 with O_NOLINK passed to __file_name_lookup.
6107
0ced335a
PT
6108 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6109 negative N or less than NGIDS.
6110
b3404dbd
PT
6111 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6112 type to string_t. Set ERANGE as errno and return it if NAME is not big
6113 enough. Use memcpy instead of strncpy.
6114
0f48659e
JM
61152012-07-20 Joseph Myers <joseph@codesourcery.com>
6116
6117 * elf/Makefile (check-data): Remove.
6118 (localplt.data): New vpath directive.
6119 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6120 instead of $(check-data).
6121 * scripts/data/localplt-generic.data: Move to ...
6122 * sysdeps/generic/localplt.data: ... here.
6123 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6124 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6125 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6127 ... here.
6128 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6130 ... here.
6131 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6133 ... here.
6134 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6136 ... here.
6137 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6139 ... here.
6140 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6142 ... here.
6143
d37cbdaa
AZ
61442012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6145
6146 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6147 PPC32 and PPC64 files.
6148 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6149 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6150
46f85fc2
AK
61512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6152
6153 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6154 __makecontext_ret to ...
6155 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6156 ... here and call exit if uc_link is NULL. New file.
6157 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6158 __makecontext_ret.S.
6159 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6160 __makecontext_ret to ...
6161 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6162 ... here and call exit if uc_link is NULL. New file.
6163 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6164 __makecontext_ret.S.
6165
08f43f9b
AK
61662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6167
6168 * elf/elf.h (R_390_IRELATIVE): New definition.
6169 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6170 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6171 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6172 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6173 (elf_machine_lazy_rel): Likewise.
6174 * sysdeps/s390/dl-irel.h: New file.
6175 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6176 * sysdeps/s390/s390-64/memset.S: New asm code.
6177 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6178 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6179 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6180 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6181 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6182 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6184 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6185 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6186 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6187 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6188 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6189 * sysdeps/s390/s390-32/memset.S: New asm code.
6190 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6191
3b05db33
MP
61922012-07-17 Marek Polacek <polacek@redhat.com>
6193
6194 [BZ #14349]
6195 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6196 * sysdeps/s390/s390-64/configure.in: Likewise.
6197 * sysdeps/sparc/configure.in: Likewise.
6198 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6199 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6200 * sysdeps/i386/configure.in: Likewise.
6201 * sysdeps/x86_64/configure.in: Likewise.
6202 * sysdeps/sh/configure.in: Likewise.
6203 * sysdeps/s390/s390-32/configure: Regenerated.
6204 * sysdeps/s390/s390-64/configure: Likewise.
6205 * sysdeps/x86_64/configure: Likewise.
6206 * sysdeps/sh/configure: Likewise.
6207 * sysdeps/powerpc/powerpc64/configure: Likewise.
6208 * sysdeps/powerpc/powerpc32/configure: Likewise.
6209 * sysdeps/sparc/configure: Likwise.
6210 * sysdeps/i386/configure: Likewise.
6211
a66877c6
MP
6212 * elf/dl-open.c: Comment fixes.
6213
cfc82fd8
JM
62142012-07-17 Joseph Myers <joseph@codesourcery.com>
6215
bd29910a
JM
6216 * Makefile [CXX] (check-data): Remove.
6217 [CXX] (c++-types.data): New vpath directive.
6218 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6219 vpath. Do not allow for C++ type data being missing.
6220 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6221 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6222 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6223 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6224 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6225 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6226 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6228 ... here.
6229 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6231 ... here.
6232 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6234 ... here.
6235 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6237 ... here.
6238 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6240 ... here.
6241 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6243 ... here.
6244 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6246 ... here.
6247 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6249
cfc82fd8
JM
6250 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6251 definitions to architecture-specific files.
6252 (TLS_IE): Likewise.
6253 (TLS_LD): Likewise.
6254 (TLS_GD): Likewise.
6255 * sysdeps/i386/tls-macros.h: New file.
6256 * sysdeps/powerpc/tls-macros.h: Likewise.
6257 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6258 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6259 * sysdeps/sh/tls-macros.h: Likewise.
6260 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6261 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6262 * sysdeps/x86_64/tls-macros.h: Likewise.
6263
f7db3170
TS
62642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6265
07cbfc23
TS
6266 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6267 zero value for regular exit case.
6268
f7db3170
TS
6269 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6270 (__start_context): Preserve zero value for regular exit case.
6271
dc97c227
TS
62722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6273 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6274
6275 * manual/setjmp.texi (setcontext): Clarify normal process
6276 termination when uc_link is the null pointer.
6277 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6278 exit call.
6279
d0cd7d02
AS
62802012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6281
6282 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6283 preprocessor. Test for each exception mask separately.
6284
dd318934
AJ
62852012-07-16 Andreas Jaeger <aj@suse.de>
6286
6287 * po/ru.po: Update from translation team.
6288
8048311a
JM
62892012-07-15 Joseph Myers <joseph@codesourcery.com>
6290
6291 * conform/data/string.h-data (NULL): Use macro-constant. Require
6292 equal to 0.
6293 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6294 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6295 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6296 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6298
b637d46e
AJ
62992012-07-13 Andreas Jaeger <aj@suse.de>
6300
6301 * po/fr.po: Update from translation team.
6302
541428fe
MP
63032012-07-12 Marek Polacek <polacek@redhat.com>
6304
6305 [BZ #14173]
6306 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6307 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6308 loop condition.
6309
ec332e94
JM
63102012-07-12 Joseph Myers <joseph@codesourcery.com>
6311
6312 [BZ #13717]
6313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6314 Change to 2.4.1 where previously 2.4.0.
6315 * sysdeps/unix/sysv/linux/configure: Regenerated.
6316 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6317 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6318 version.
6319 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6320 (__ASSUME_AT_CLKTCK): Remove.
6321 (__ASSUME_AT_PAGESIZE): Likewise.
6322 (__ASSUME_AT_XID): Likewise.
6323 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6324 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6325 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6326 unconditionally.
6327 (HAVE_AUX_PAGESIZE): Likewise.
6328 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6329 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6330 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6331
7b6e99be
JB
63322012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6333
6334 [BZ #14307]
6335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6336 the temporary buffer used to invoke __gethostbyname2_r,
6337 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6338 host_data / struct gaih_addrtuple.
6339 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6340 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6341 header file nss/nsswitch.h.
6342 * nss/nsswitch.h (global scope): Add definition of implementation
6343 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6344 resolv/nss_dns/dns-host.c).
6345
608404eb
AJ
63462012-07-11 Andreas Jaeger <aj@suse.de>
6347
6348 * po/fr.po: Update from translation team.
6349
71220aca
AJ
6350 * po/sv.po: Update from translation team
6351 * po/fr.po: Another update from translation team.
6352
28cfe843
AZ
63532012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6354
6355 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6356 for subnormals or multiply small sinh result by itself.
6357 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6359
6b90f981
DM
63602012-07-11 David S. Miller <davem@davemloft.net>
6361
6362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6363
c6825772
AS
63642012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6365
6366 [BZ #14347]
6367 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6368 (INTERNAL_MARK): Shift it here.
6369
7b8e0d49
MP
63702012-07-10 Marek Polacek <polacek@redhat.com>
6371
6372 [BZ #14151]
6373 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6374 libc_cv_asm_global_directive with .globl.
6375 * configure: Regenerated.
6376 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6377 with .globl.
6378 * sysdeps/i386/configure: Regenerated.
6379 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6380 with .globl.
6381 * sysdeps/x86_64/configure: Regenerated.
6382 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6383 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6384 * elf/tst-unique2mod2.c: Likewise.
6385 * elf/tst-unique2mod1.c: Likewise.
6386 * elf/tst-unique1mod2.c: Likewise.
6387 * elf/tst-unique1mod1.c: Likewise.
6388 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6389 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6390 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6391 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6392 * sysdeps/mach/sysdep.h: Likewise.
6393 * sysdeps/i386/sysdep.h: Likewise.
6394 * sysdeps/i386/i386-mcount.S: Likewise.
6395 * sysdeps/x86_64/_mcount.S: Likewise.
6396 * sysdeps/x86_64/sysdep.h: Likewise.
6397 * sysdeps/sh/_mcount.S: Likewise.
6398 * sysdeps/sh/sysdep.h: Likewise.
6399 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6400 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6401 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6402 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6403 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6404 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6405 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6406 * locale/localeinfo.h: Likewise.
6407 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6408 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6409
6c55cda3
RM
64102012-07-09 Roland McGrath <roland@hack.frob.com>
6411
6412 [BZ #14336]
6413 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6414 system".
6415 * manual/message.texi (The Uniforum approach): Likewise.
6416 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6417 (glibc iconv Implementation): Likewise.
6418
638a572e
JM
64192012-07-09 Joseph Myers <joseph@codesourcery.com>
6420
6421 [BZ #14337]
6422 * math/s_clog.c (__clog): Avoid scaling a value down where that
6423 could result in underflow.
6424 * math/s_clog10.c (__clog10): Likewise.
6425 * math/s_clog10f.c (__clog10f): Likewise.
6426 * math/s_clog10l.c (__clog10l): Likewise.
6427 * math/s_clogf.c (__clogf): Likewise.
6428 * math/s_clogl.c (__clogl): Likewise.
6429 * math/libm-test.inc (clog_test): Add more tests.
6430 (clog10_test): Likewise.
6431 * sysdeps/i386/fpu/libm-test-ulps: Update.
6432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6433
261f4859
AS
64342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6435
0abaf3e4
AS
6436 [BZ #14283]
6437 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6438 by 7 not 8 to examine high bit of fractional part.
6439
261f4859
AS
6440 [BZ #14042]
6441 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6442 for call to __mcount_internal.
6443 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6444 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6445 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6446
f17ac40d
JM
64472012-07-06 Joseph Myers <joseph@codesourcery.com>
6448
9ad63c23
JM
6449 [BZ #14154]
6450 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6451 approximation for values within 0x1p-13f of an odd multiple of
6452 pi/4.
6453 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6454 exception. Add more tests.
6455 * sysdeps/i386/fpu/libm-test-ulps: Update.
6456
f17ac40d
JM
6457 [BZ #6778]
6458 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6459 inputs and return -1 for them. Do not check for +Inf in case not
6460 reachable for +Inf.
6461 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6462 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6463 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6464 and return -1 for them. Do not check for +Inf in case not
6465 reachable for +Inf.
6466 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6467 define.
6468 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6469 and return -1 for them. Do not check for +Inf in case not
6470 reachable for +Inf.
6471 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6472 spurious underflow.
6473 * sysdeps/i386/fpu/libm-test-ulps: Update.
6474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6475
fb21f89b
MF
64762012-07-06 Mike Frysinger <vapier@gentoo.org>
6477
6478 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6479
cdfe2c5e
JM
64802012-07-05 Joseph Myers <joseph@codesourcery.com>
6481
6482 [BZ #14157]
6483 [BZ #14331]
6484 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6485 could result in spurious underflow. Scale down values above
6486 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6487 * math/s_csqrtf.c (__csqrtf): Likewise.
6488 * math/s_csqrtl.c (__csqrtl): Likewise.
6489 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6490 spurious underflow.
6491 * sysdeps/i386/fpu/libm-test-ulps: Update.
6492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6493
70d35b67
AS
64942012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6495
704bc459
AS
6496 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6497 xopen-msg.sed.
6498 * catgets/xopen-msg.awk: New file.
6499 * catgets/xopen-msg.sed: Removed.
6500
70d35b67
AS
6501 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6502 po2text.sed.
6503 * intl/po2test.awk: New file.
6504 * intl/po2test.sed: Removed.
6505
ca61cf32
JM
65062012-07-04 Joseph Myers <joseph@codesourcery.com>
6507
6508 [BZ #14328]
6509 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6510 or multiply small sinh result by itself.
6511 * math/s_ctanf.c (__ctanf): Likewise.
6512 * math/s_ctanh.c (__ctanh): Likewise.
6513 * math/s_ctanhf.c (__ctanhf): Likewise.
6514 * math/s_ctanhl.c (__ctanhl): Likewise.
6515 * math/s_ctanl.c (__ctanl): Likewise.
6516 * math/libm-test.inc (ctan_test_tonearest): New function.
6517 (ctan_test_towardzero): Likewise.
6518 (ctan_test_downward): Likewise.
6519 (ctan_test_upward): Likewise.
6520 (ctanh_test_tonearest): Likewise.
6521 (ctanh_test_towardzero): Likewise.
6522 (ctanh_test_downward): Likewise.
6523 (ctanh_test_upward): Likewise.
6524 (main): Call these new functions.
6525 * sysdeps/i386/fpu/libm-test-ulps: Update.
6526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6527
ca48a46a
MF
65282012-07-03 Mike Frysinger <vapier@gentoo.org>
6529
6530 * .gitignore: Delete /ports entry.
6531
9d63d37d
AJ
65322012-07-03 Andreas Jaeger <aj@suse.de>
6533
6534 * po/bg.po: Update from translation team.
6535 * po/cs.po: Likewise.
6536 * po/de.po: Likewise.
6537 * po/hr.po: Likewise.
6538 * po/nl.pl: Likewise.
6539 * po/pl.po: Likewise.
6540 * po/vi.po: Likewise.
6541
370ca3d2
JM
65422012-07-03 Joseph Myers <joseph@codesourcery.com>
6543
95f5a9a8
JM
6544 * Makeconfig [!+link] (+link-before-libc): New variable.
6545 [!+link] (+link-after-libc): Likewise.
6546 [!+link] (+link-tests): Likewise.
6547 [!+link] (+link): Define in terms of $(+link-before-libc) and
6548 $(+link-after-libc).
6549 [!+link-static] (+link-static-before-libc): New variable.
6550 [!+link-static] (+link-static-after-libc): Likewise.
6551 [!+link-static] (+link-static-tests): Likewise.
6552 [!+link-static] (+link-static): Define in terms of
6553 $(+link-static-before-libc) and $(+link-static-after-libc).
6554 [build-shared] (link-libc-before-gnulib): New variable.
6555 [build-shared] (link-libc-tests): Likewise.
6556 [build-shared] (link-libc): Define in terms of
6557 $(link-libc-before-gnulib).
6558 [!build-shared] (link-libc-tests): New variable.
6559 (link-libc-static-tests): New variable.
6560 [!gnulib] (gnulib-arch): New variable.
6561 [!gnulib] (gnulib-tests): Likewise.
6562 [!gnulib] (static-gnulib-arch): Likewise.
6563 [!gnulib] (static-gnulib-tests): Likewise.
6564 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6565 Define with "=" instead of ":=".
6566 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6567 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6568 * Rules (binaries-all-notests): New variable.
6569 (binaries-all-tests): Likewise.
6570 (binaries-static-notests): Likewise.
6571 (binaries-static-tests): Likewise.
6572 (binaries-all): Define using $(binaries-all-notests) and
6573 $(binaries-all-tests).
6574 (binaries-static): Define using $(binaries-static-notests) and
6575 $(binaries-static-tests).
6576 (binaries-shared-tests): New variable.
6577 (binaries-shared-notests): Likewise.
6578 (binaries-shared): Remove variable.
6579 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6580 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6581 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6582 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6583 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6584 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6585 * elf/Makefile (sln-modules): New variable.
6586 (extra-objs): Add $(sln-modules:=.o).
6587 (ldconfig-modules): Add static-stubs.
6588 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6589 * elf/static-stubs.c: New file.
6590
7a845b2c
JM
6591 [BZ #14283]
6592 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6593 by 7 not 8 to examine high bit of fractional part. Use volatile
6594 variables when splitting into final array of floats if
6595 __FLT_EVAL_METHOD__ != 0.
6596 * math/libm-test.inc (cos_test): Add another test.
6597 (sin_test): Likewise.
6598 * sysdeps/i386/fpu/libm-test-ulps: Update.
6599
e2283f38
JM
6600 [BZ #14273]
6601 * math/libm-test.inc (cosh_test): Add more tests.
6602
370ca3d2
JM
6603 * version.h (RELEASE): Set to "development".
6604 (VERSION): Set to "2.16.90".
6605
ee9247c3
CD
66062012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6607
6608 * NEWS: Update copyright. Remove last-updated date.
6609 Mention math library bug fixes and timezone data changes.
6610 * README: Mention GNU/Hurd, x32, and HPPA support status.
6611
4648c381
TS
66122012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6613
6614 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6615
aac78a43
AJ
66162012-06-27 Andreas Jaeger <aj@suse.de>
6617
6618 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6619
ed3dbfad
AJ
66202012-06-25 Andreas Jaeger <aj@suse.de>
6621
6622 * sysdeps/s390/fpu/libm-test-ulps: Update.
6623
4d0ee855
AS
66242012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6625 Thomas Schwinge <thomas@codesourcery.com>
6626
6627 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6628 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6630 fanotify_mark.
6631
af1bce34
TS
66322012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6633
a9fa33ba
TS
6634 * sysdeps/mach/start.c: Remove file.
6635 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6636 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6637 * sysdeps/sh/init-first.c: Likewise.
6638
58f902b8
TS
6639 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6640 registers for frame unwinding purposes, add CFI directives.
6641 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6643 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6644 Likewise.
6645
1518f58b
TS
6646 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6647 __fortify_fail returning.
6648 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6649
db9b5059
TS
6650 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6651 sysdeps/sh/____longjmp_chk.S.
6652 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6653 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6654 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6655 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6656
967705fe
TS
6657 * sysdeps/sh/abort-instr.h: New file.
6658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6659 process in case exit returns.
6660
a9def8c4
TS
6661 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6662 initialize the GOT register before use.
6663
2a649725
TS
6664 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6665 calculation of ARGC > 4.
6666
af1bce34
TS
6667 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6668 meaningful names to some local labels.
6669
d230f50a
KK
66702012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6671 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6672
6673 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6674 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6675 (__arch_compare_and_exchange_val_16_acq): Likewise.
6676 (__arch_compare_and_exchange_val_32_acq): Likewise.
6677 (atomic_exchange_and_add): Fix gUSA sequence.
6678 (atomic_add): Likewise.
6679 (atomic_add_negative): Likewise.
6680 (atomic_add_zero): Likewise.
6681 (atomic_bit_test_set): Likewise.
6682
0479b305
AS
66832012-06-22 Andreas Schwab <schwab@redhat.com>
6684
6685 [BZ #13579]
6686 * include/link.h (struct link_map): Add l_free_initfini.
6687 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6688 l_initfini.
6689 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6690 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6691 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6692 set.
6693
0e3933b9
CD
66942012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6695
6696 * configure.in: Use AC_LANG_SOURCE.
6697 * configure: Regenerate.
6698
4248b1b1
RM
66992012-06-22 Roland McGrath <roland@hack.frob.com>
6700
6701 * configure.in (libc_cv_localstatedir): New substituted variable.
6702 * configure: Regenerated.
6703 * config.make.in (localstatedir): New variable, substituted from
6704 libc_cv_localstatedir.
6705 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6706 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6707 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6708 * sysdeps/gnu/configure: Regenerated.
6709
006dd861
JL
67102012-06-21 Jeff Law <law@redhat.com>
6711
6712 [BZ #14277]
6713 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6714 free. Simplify list management for _LIBC case.
6715
79662d42
JM
67162012-06-21 Joseph Myers <joseph@codesourcery.com>
6717
b7abb4bf
JM
6718 [BZ #14273]
6719 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6720 Clear sign bit of 64-bit integer value before comparing against
6721 overflow value.
6722
79662d42
JM
6723 * sysdeps/mach/configure: Regenerated.
6724
1f150908
L
67252012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6726
6727 [BZ #14278]
6728 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6729
28363bbf
JL
67302012-06-21 Jeff Law <law@redhat.com>
6731
6732 [BZ #13882]
6733 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6734 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6735 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6736 * elf/dl-open.c (dl_open_worker): Likewise.
6737
09615db4
CD
67382012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6739
6740 * scripts/list-sources.sh: Scan PORTS for translations.
6741 * po/libc.pot: Regenerated.
6742
2174c6dd
AJ
67432012-06-21 Andreas Jaeger <aj@suse.de>
6744
6745 [BZ #12194]
6746 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6747 warning.
6748 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6749 * bits/byteswap-16.h (__bswap_16): Likewise.
6750 * bits/byteswap.h (__bswap_constant_16): Likewise.
6751
3ee947b1
L
67522012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6753
6754 [BZ #14117]
a2f34833
L
6755 * sysdeps/i386/fpu_control.h: Removed.
6756 * sysdeps/x86_64/fpu_control.h: Moved to ...
6757 * sysdeps/x86/fpu_control.h: Here.
6758
3ee947b1
L
6759 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6760 (_FPU_SETCW): Likewise.
6761
ed1825f8
L
67622012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6763
25f1282a
L
6764 [BZ #14117]
6765 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6766 * sysdeps/x86/fpu/bits/mathinline.h: This.
6767 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6768
ed1825f8
L
6769 [BZ #14050]
6770 [BZ #14117]
6771 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6772 functions if __x86_64__ is defined.
6773
36d54b74
CLT
67742012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6775
6776 * string/endian.h: Add !__ASSEMBLER__ condition for including
6777 conversion interfaces.
6778
10285c21
JM
67792012-06-15 Joseph Myers <joseph@codesourcery.com>
6780
6781 [BZ #14241]
6782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6783 of ABS(x) in calculating zero to negative powers other than odd
6784 integers.
6785 * math/libm-test.inc (pow_test): Add more tests.
6786
06c5abbd
AJ
67872012-06-15 Andreas Jaeger <aj@suse.de>
6788
6789 * manual/contrib.texi (Contributors): Update entry of Liubov
6790 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6791 Machado Filho.
6792
a3aeac40
CH
67932012-06-15 Cyril Hrubis <metan@ucw.cz>
6794
6795 * string/string.h: Add __wur to GNU version of strerror_r.
6796
49bdf4c1
L
67972012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6798
6799 [BZ #14229]
6800 * string/Makefile (tests): Add tst-strtok_r.
6801 * string/tst-strtok_r.c: New file.
6802 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6803 RAX_LP/RDX_LP on SAVE_PTR.
6804
834f9b8d
RM
68052012-06-14 Roland McGrath <roland@hack.frob.com>
6806
6807 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6808
75fa1921
JM
68092012-06-14 Joseph Myers <joseph@codesourcery.com>
6810
6811 * libm_test.inc (csqrt_test): Allow more spurious underflow
6812 exceptions.
6813 (j0_test): Likewise.
6814 (j1_test): Likewise.
6815 (y0_test): Likewise.
6816 (y1_test): Likewise.
6817
771766df
CD
68182012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6819
6820 * po/Makefile (libc.pot): Use UTF-8 charset.
6821
ceb9e56b
PP
68222012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6823
6824 [BZ #14210]
6825 Suppress sign-conversion warning from FD_SET.
6826 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6827 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6828 not unsigned long int.
6829 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6830
ddb28975
L
68312012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6832
6833 [BZ #14050]
6834 [BZ #14117]
6835 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6836 __extern_always_inline instead of __extern_inline.
6837 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6838 (__signbit): Likewise.
6839 (__signbitl): Support C++ namespace.
6840 (lrintf): New inline function.
6841 (lrint): Likewise.
6842 (llrintf): Likewise.
6843 (llrint): Likewise.
6844 (fmaxf): Likewise.
6845 (fmax): Likewise.
6846 (fminf): Likewise.
6847 (fmin): Likewise.
6848 (rint): Likewise.
6849 (rintf): Likewise.
6850 (ceil): Likewise.
6851 (ceilf): Likewise.
6852 (floor): Likewise.
6853 (floorf): Likewise.
6854 (nearbyint): Likewise.
6855 (nearbyintf): Likewise.
6856
d7b4fb26
TS
68572012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6858
6859 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6860 non-default versions.
6861
eb55f5c2
RM
68622012-06-11 Roland McGrath <roland@hack.frob.com>
6863
6864 [BZ #14218]
6865 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6866
366af02c
TS
68672012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6868
99ff6e5c
TS
6869 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6870 (FE_UPWARD, FE_DOWNWARD): Don't define.
6871 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6872 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6873
366af02c
TS
6874 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6875 reading it.
6876 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6877 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6878
793ea851
KK
68792012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6880
6881 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6883 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6884 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6885
a728a38f
L
68862012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6887
6888 [BZ #14117]
c08010c7
L
6889 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6890 * sysdeps/i386/fpu/Implies: New file.
6891 * sysdeps/x86_64/fpu/Implies: Likewise.
6892 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6893 * sysdeps/x86/fpu/bits/fenv.h: This.
6894
a728a38f
L
6895 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6896 __SSE_MATH__.
6897
6e230d11
SP
68982012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6899
6900 [BZ #14134]
6901 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6902 character 0xffff that matches the last element of the
6903 conversion table.
6904
1b671feb
AZ
69052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6908 fmodl commit.
6909
6043738b
AZ
69102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6911
6912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6913 values higher than 25.6283.
6914
34ae0b32
AZ
69152012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6916
6917 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6918 subnormal exponent extraction and add some __builtin_expect.
6919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6920 Fix for subnormal mantissa calculation.
6921
1214ec8f
MF
69222012-06-04 Mike Frysinger <vapier@gentoo.org>
6923
6924 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6925 cpu2 is -1 and errno is not ENOSYS.
6926
f3d1f93c
L
69272012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6928
6929 [BZ #14117]
0e4a3cd7
L
6930 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6931 * sysdeps/x86/bits/string.h: This.
6932 * sysdeps/x86_64/bits/string.h: Removed.
6933
6704c645
L
6934 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6935 if not compiling for x86-64, but compiling for >= i486.
6936
48495318
L
6937 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6938 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6939
14adcbfc
L
6940 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6941 New macro from Linux kernel 3.4.0.
6942 (FP_XSTATE_MAGIC2): Likewise.
6943 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6944 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6945 (struct _fpx_sw_bytes): New struct.
6946 (struct _xsave_hdr): Likewise.
6947 (struct _ymmh_state): Likewise.
6948 (struct _xstate): Likewise.
6949
68e408ab
L
6950 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6951 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6952 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6953 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6954 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6955 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6956
f3d1f93c
L
6957 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6958 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6959 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6960 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6961 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6962 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6963
d9dc34cd
TMQMF
69642012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6965
6966 [BZ #13743]
6967 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6968 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6969 (sysdep_headers): Include sys/platform/ppc.h.
6970 * sysdeps/powerpc/test-gettimebase.c: Test for
6971 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6972 * manual/Makefile (appendices): Include platform.texi.
6973 * manual/contrib.texi (Contributors): Update @node pointers.
6974 * manual/maint.texi (Maintenance): Likewise.
6975 (Platform): New node.
6976 * manual/platform.texi: New file. Document the new features.
6977
4af3879c
SP
69782012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6979 Jakub Jelinek <jakub@redhat.com>
6980
6981 [BZ #14188]
6982 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6983 where __builtin_expect is unavailable.
6984
2fd6ff13
DM
69852012-06-03 David S. Miller <davem@davemloft.net>
6986
6987 * stdlib/longlong.h: Updated from GCC.
6988
173f7220
AS
69892012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6990
6991 [BZ #14042]
6992 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6993 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6994 __mcount_internal.
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6996 (GLIBC_2.16): Likewise.
6997
f34a1c6f
L
69982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6999
7000 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7001
88a4576f
JM
70022012-06-01 Joseph Myers <joseph@codesourcery.com>
7003
ea32bcdd
JM
7004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7005 (default-abi): New variable.
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7007 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7008 variable.
7009 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7010 Likewise.
7011 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7012 Likewise.
7013 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7014 Likewise.
7015
88a4576f
JM
7016 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7017 definition. Document in comment.
7018
402fe938
DM
70192012-06-01 David S. Miller <davem@davemloft.net>
7020
7021 * stdlib/longlong.h: Updated from GCC.
7022
3553723f
L
70232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7024
7025 [BZ #14117]
3bd872c4
L
7026 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7027 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7028 sys/debugreg.h sys/io.h here.
7029 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7030 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7031 sys/io.h.
7032 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7033 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7034 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7035 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7036 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7037 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7038
3553723f
L
7039 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7040 Define only if __x86_64__ is defined.
7041
4842e4fe
JM
70422012-06-01 Joseph Myers <joseph@codesourcery.com>
7043
c5bfe3d5
JM
7044 [BZ #14048]
7045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7046 Use int64_t for variable i.
7047 * math/libm-test.inc (fmod_test): Add more tests.
7048
4842e4fe
JM
7049 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7050 z computation is not scheduled after fetestexcept.
7051 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7052 Use math_force_eval instead of asm to ensure calculation scheduled
7053 before exception test.
7054 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7055 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7056
efb73488
AJ
70572012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7058
7059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7060 computation is not scheduled after fetestexcept.
7061
29bcce7c
L
70622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7063
7064 [BZ #14117]
7065 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7066 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7067
73a68f94
AZ
70682012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7069
7070 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7071 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7072
67b6df78
L
70732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7074
edf2933a 7075 [BZ #14117]
ebc64a18
L
7076 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7077 <bits/wordsize.h>.
7078 (__WCHAR_MIN): Support __WORDSIZE == 64.
7079 (__WCHAR_MAX): Likewise.
7080
edf2933a
L
7081 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7082 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7083
57c6cf40
L
7084 [BZ #14183]
7085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7086 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7087
67b6df78 7088 [BZ #14117]
8eb6281e
L
7089 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7090 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7091
aac639f4
L
7092 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7093 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7094
67b6df78
L
7095 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7096 Defined to 1 if __x86_64__ isn't defined.
7097 (_STAT_VER_LINUX_OLD): New.
7098 (st_atime): Remove duplicate.
7099 (st_mtime): Likewise.
7100 (st_ctime): Likewise.
7101
1c2cfe81
DM
71022012-05-31 David S. Miller <davem@davemloft.net>
7103
7104 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7105 entries.
7106
5be8418c
AS
71072012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7108
e7725326
AS
7109 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7110 gen-libm-test.pl.
7111
5be8418c
AS
7112 [BZ #14132]
7113 * elf/dl-reloc.c: Include <_itoa.h>.
7114 (_dl_reloc_bad_type): Remove use of INTUSE.
7115 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7116 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7117 * stdio-common/psiginfo.c (psiginfo): Likewise.
7118 * stdio-common/psignal.c (psignal): Likewise.
7119 * string/strsignal.c (strsignal): Likewise.
7120 * include/signal.h (_sys_siglist): Declare hidden proto.
7121 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7122 INTVARDEF with libc_hidden_data_def.
7123 * stdio-common/itoa-udigits.c: Likewise.
7124 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7125 (_itoa_lower_digits_internal): Remove declaration.
7126 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7127 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7128 (_sys_sigabbrev_internal): Remove aliases.
7129 (_sys_siglist): Define hidden alias.
7130
507352f1
MT
71312012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7132
7133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7134 bits/sysctl.h.
7135
42bbb1c3
L
71362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7137
7138 [BZ #14117]
6bd784b6
L
7139 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7140 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7141
8bca20f0
L
7142 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7143 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7144 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7145 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7146 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7147 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7148
f9e890a9
L
7149 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7150 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7151 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7152
471101a1
L
7153 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7154 with __addr.
7155 (insw): Likewise.
7156 (insl): Likewise.
7157 (outsb): Likewise.
7158 (outsw): Likewise.
7159 (outsl): Likewise.
7160
6451c862
L
7161 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7162 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7163 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7164
a254b8c9
L
7165 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7166 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7168 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7169 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7170 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7171
b8dfdd92
L
7172 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7173 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7174
578cd270
L
7175 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7176 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7177
de662f5f
L
7178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7179 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7180 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7181
25653439
L
7182 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7183 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7184 to ...
7185 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7186
6bad24a0
L
7187 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7188 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7189 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7190
42bbb1c3
L
7191 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7192 for x86-64.
7193 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7194
2d10d547
JM
71952012-05-31 Joseph Myers <joseph@codesourcery.com>
7196
7197 * math/math.h (M_El): Use two more decimal places.
7198 (M_LOG2El): Likewise.
7199 (M_LOG10El): Likewise.
7200 (M_LN2l): Likewise.
7201 (M_LN10l): Likewise.
7202 (M_PIl): Likewise.
7203 (M_PI_2l): Likewise.
7204 (M_PI_4l): Likewise.
7205 (M_1_PIl): Likewise.
7206 (M_2_PIl): Likewise.
7207 (M_2_SQRTPIl): Likewise.
7208 (M_SQRT2l): Likewise.
7209 (M_SQRT1_2l): Likewise.
7210
f230c29b
DM
72112012-05-31 David S. Miller <davem@davemloft.net>
7212
7213 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7214 values between float registers.
7215 * sysdeps/sparc/sparc64/memset.S: Likewise.
7216 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7217
fed806c3
MF
72182012-05-31 Mike Frysinger <vapier@gentoo.org>
7219
7220 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7221 -D_FORTIFY_SOURCE=1.
7222 (CPPFLAGS-tst-longjmp_chk.c): Define.
7223 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7224 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7225 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7226 CFLAGS-tst-wchar-h.c.
7227
30917259
MP
72282012-05-31 Marek Polacek <polacek@redhat.com>
7229
7230 [BZ #14132]
7231 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7232 __endmntent_internal): Remove declaration.
7233 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7234 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7235 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7236
1c58d5dc
DM
72372012-05-30 David S. Miller <davem@davemloft.net>
7238
7239 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7240 (___Q_simulate_exceptions): Use real FP ops rather than writing
7241 into the %fsr.
7242 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7243 Likewise.
7244
7dc00e0d
L
72452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7246
7247 [BZ #14117]
0bd53985
L
7248 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7249 * sysdeps/x86/bits/xtitypes.h: This.
7250
3a257e66
L
7251 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7252 * sysdeps/x86/bits/wordsize.h: This.
7253
62f62904
L
7254 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7255 * sysdeps/x86/bits/huge_vall.h: This.
7256
404fe9d9
L
7257 * sysdeps/i386/bits/select.h: Removed.
7258 * sysdeps/x86_64/bits/select.h: Renamed to ...
7259 * sysdeps/x86/bits/select.h: This.
7260
d48d0446
L
7261 * sysdeps/i386/bits/setjmp.h: Removed.
7262 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7263 * sysdeps/x86/bits/setjmp.h: This.
7264
7dc00e0d
L
7265 * sysdeps/i386/bits/mathdef.h: Removed.
7266 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7267 * sysdeps/x86/bits/mathdef.h: This.
7268
03277f8f
AS
72692012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7270
7271 [BZ #14132]
7272 * include/sys/socket.h (__connect_internal)
7273 (__libc_sa_len_internal): Remove declaration.
7274 (__connect, __libc_sa_len): Declare hidden_proto.
7275 (SA_LEN): Remove use of INTUSE.
7276 * socket/connect.c: Add libc_hidden_def.
7277 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7278 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7279 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7280 alias.
7281 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7282 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7283 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7284 of adding _internal alias.
7285
13764867
L
72862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7287
7288 [BZ #14117]
6bd97696
L
7289 * sysdeps/i386/bits/link.h: Removed.
7290 * sysdeps/i386/bits/linkmap.h: Likewise.
7291 * sysdeps/x86_64/bits/link.h: Renamed to ...
7292 * sysdeps/x86/bits/link.h: This.
7293 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7294 * sysdeps/x86/bits/linkmap.h: This.
7295
f726f0bb
L
7296 * sysdeps/i386/bits/endian.h: Removed.
7297 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7298 * sysdeps/x86/bits/endian.h: This.
7299
13764867
L
7300 * sysdeps/i386/bits/byteswap.h: Removed.
7301 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7302 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7303 * sysdeps/x86/bits/byteswap.h: This.
7304 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7305 * sysdeps/x86/bits/byteswap-16.h: This.
7306 * sysdeps/i386/Implies: Add x86.
7307 * sysdeps/x86_64/Implies: Likewise.
7308
ae251b0b
DM
73092012-05-30 David S. Miller <davem@davemloft.net>
7310
7311 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7312 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7314 (FP_TRAPPING_EXCEPTIONS): Define.
7315 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7316 (FP_TRAPPING_EXCEPTIONS): Define.
7317 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7318 subnormals only when inexact has been signalled or underflow
7319 exceptions are enabled.
7320 (_FP_PACK_CANONICAL): Likewise.
7321
d5c90867
L
73222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7323
7324 [BZ #14183]
7325 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7326 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7327
63f1549e
RH
73282012-05-30 Richard Henderson <rth@twiddle.net>
7329
8d8f2279
RH
7330 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7331 with #ifndef NOT_IN_libc.
7332
63f1549e
RH
7333 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7334 marked to avoid plt entry.
7335
0ab0291b
L
73362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7337
7338 [BZ #14112]
7339 * Makeconfig (default-abi): New macro.
7340 (abi-includes): Likewise.
7341 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7342 $(abi-$(default-abi)-lib-soname) for soname if defined.
7343 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7344 abi-variants.
7345 * Makefile (installed-stubs): Likewise.
7346 * include/stubs-biarch.h: Removed.
7347 * scripts/lib-names.awk: Only handle one library at a time.
7348 * scripts/soversions.awk: Remove WORDSIZE support.
7349 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7350 entries.
7351 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7352 Removed.
7353 (syscall-list-default-condition): Likewise.
7354 (syscall-list-default-condition): Likewise.
7355 (syscall-list-includes): Likewise.
7356 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7357 syscall-list-* with abi-*. Handle undefined abi-variants.
7358 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7359 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7360 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7361 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7362 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7363 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7364 Removed.
7365 (syscall-list-32-options): Likewise.
7366 (syscall-list-32-condition): Likewise.
7367 (syscall-list-64-options): Likewise.
7368 (syscall-list-64-condition): Likewise.
7369 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7370 macro.
7371 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7372 Renamed to ...
7373 (abi-*): This.
7374 (abi-64-ld-soname): New macro.
7375 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7376 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7377 Renamed to ...
7378 (abi-*): This.
7379 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7380 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7381
4da0431d
JM
73822012-05-30 Joseph Myers <joseph@codesourcery.com>
7383
3a85279c
JM
7384 * sysdeps/unix/sysv/linux/kernel-features.h
7385 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7386 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7405 include <kernel-features.h>.
7406 [!__NR_ftruncate64]: Remove conditional code.
7407 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7408 [__NR_ftruncate64]: Make code unconditional.
7409 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7410
4da0431d
JM
7411 * configure.in (libc_cv_fpie): Weaken to a compile test using
7412 LIBC_TRY_CC_OPTION.
7413 * configure: Regenerated.
7414
11ef492c
AK
74152012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7416
7417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7421 Refreshed.
7422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7428 Refreshed.
7429
d66ef399
DM
74302012-05-27 David S. Miller <davem@davemloft.net>
7431
7432 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7433 (___Q_zero): New.
7434 (__Q_simulate_exceptions): Return void. Change to simulate
7435 exceptions by writing into the %fsr.
7436 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7437 (__Qp_handle_exceptions): Likewise.
7438 (numbers): Delete.
7439 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7440 __Qp_handle_exceptions.
7441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7442 __Qp_handle_exceptions.
7443 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7444 as unused and give dummy FP_RND_NEAREST initializer.
7445 (FP_INHIBIT_RESULTS): Define.
7446 (___Q_simulate_exceptions): Update declaration.
7447 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7448 formatting.
7449 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7450 as unused and give dummy FP_RND_NEAREST initializer.
7451 (__Qp_handle_exceptions): Update declaration.
7452 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7453 formatting.
7454
04fb54b5
TS
74552012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7456
7457 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7458 the temporary FPU control word.
7459 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7460 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7461 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7462 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7463 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7464 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7465 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7466 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7467 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7468 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7469 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7470
3f99608f
KK
74712012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7472
7473 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7474 fields.
7475
65a4de4e
CLT
74762012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7477
7478 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7479 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7480 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7481 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7482 Likewise.
7483 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7484 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7485 Likewise.
7486
15749d40
UD
74872012-05-27 Ulrich Drepper <drepper@gmail.com>
7488
7489 * po/h.po: Update from translation team.
7490
25dbcb27
AS
74912012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7492
3d3f8e55
AS
7493 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7494
25dbcb27
AS
7495 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7496 handling of denormals.
7497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7498 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7499 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7500 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7504 Likewise.
7505
7ad47a80 75062012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7507
7508 [BZ #14152]
7509 * math/libm-test.inc (fma_test): Don't always expect underflow
7510 exception.
7511
9c6ea9fa
SP
75122012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7513
7514 [BZ #12416]
7515 * elf/tst-execstack.c: Include stackinfo.h.
7516 (do_test): Adjust test case to ensure that pthread_getattr_np
7517 behaviour remains the same after marking stack executable.
7518
a8239222
JM
75192012-05-25 Joseph Myers <joseph@codesourcery.com>
7520
7521 * sysdeps/unix/sysv/linux/kernel-features.h
7522 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7523 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7524 kernel-features.h.
7525 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7526 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7527 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7528 kernel-features.h.
7529 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7530 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7531
918b5606
L
75322012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7533
7534 * configure.in: Define the default includes to being none.
7535 * configure: Regenerated.
7536
3a097cc7
RM
75372012-05-25 Roland McGrath <roland@hack.frob.com>
7538
8422c9a5
RM
7539 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7540 * sysdeps/x86_64/setjmp.S: Likewise.
7541 * sysdeps/i386/bsd-setjmp.S: Likewise.
7542 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7543 * sysdeps/i386/setjmp.S: Likewise.
7544 * sysdeps/i386/__longjmp.S: Likewise.
7545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7546 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7547
3a097cc7
RM
7548 * include/stap-probe.h: New file.
7549 * configure.in: Handle --enable-systemtap.
7550 * configure: Regenerated.
7551 * config.h.in (USE_STAP_PROBE): New #undef.
7552 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7553 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7554 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7555
21708942
JM
75562012-05-25 Joseph Myers <joseph@codesourcery.com>
7557
7558 [BZ #13717]
7559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7560 to 2.4.0 where earlier.
7561 * sysdeps/unix/sysv/linux/configure: Regenerated.
7562 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7563 <kernel-features.h>.
7564 [__ASSUME_32BITUIDS]: Make code unconditional.
7565 [!__ASSUME_32BITUIDS]: Remove conditional code.
7566 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7567 <kernel-features.h>.
7568 [__ASSUME_32BITUIDS]: Make code unconditional.
7569 [!__ASSUME_32BITUIDS]: Remove conditional code.
7570 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7571 [__ASSUME_32BITUIDS]: Make code unconditional.
7572 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7573 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7574 <kernel-features.h>.
7575 [__ASSUME_32BITUIDS]: Make code unconditional.
7576 [!__ASSUME_32BITUIDS]: Remove conditional code.
7577 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7578 <kernel-features.h>.
7579 [__ASSUME_32BITUIDS]: Make code unconditional.
7580 [!__ASSUME_32BITUIDS]: Remove conditional code.
7581 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7582 <kernel-features.h>.
7583 [__ASSUME_32BITUIDS]: Make code unconditional.
7584 [!__ASSUME_32BITUIDS]: Remove conditional code.
7585 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7586 <kernel-features.h>.
7587 [__ASSUME_32BITUIDS]: Make code unconditional.
7588 [!__ASSUME_32BITUIDS]: Remove conditional code.
7589 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7590 <kernel-features.h>.
7591 [__ASSUME_32BITUIDS]: Make code unconditional.
7592 [!__ASSUME_32BITUIDS]: Remove conditional code.
7593 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7594 <kernel-features.h>.
7595 [__ASSUME_32BITUIDS]: Make code unconditional.
7596 [!__ASSUME_32BITUIDS]: Remove conditional code.
7597 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7598 <kernel-features.h>.
7599 [__ASSUME_32BITUIDS]: Make code unconditional.
7600 [!__ASSUME_32BITUIDS]: Remove conditional code.
7601 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7602 <kernel-features.h>.
7603 [__ASSUME_32BITUIDS]: Make code unconditional.
7604 [!__ASSUME_32BITUIDS]: Remove conditional code.
7605 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7606 <kernel-features.h>.
7607 [__ASSUME_32BITUIDS]: Make code unconditional.
7608 [!__ASSUME_32BITUIDS]: Remove conditional code.
7609 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7610 <kernel-features.h>.
7611 [__ASSUME_32BITUIDS]: Make code unconditional.
7612 [!__ASSUME_32BITUIDS]: Remove conditional code.
7613 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7614 <kernel-features.h>.
7615 [__NR_setresgid] (__setresgid): Do not declare.
7616 [__ASSUME_32BITUIDS]: Make code unconditional.
7617 [!__ASSUME_32BITUIDS]: Remove conditional code.
7618 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7619 <kernel-features.h>.
7620 [__NR_setresuid] (__setresuid): Do not declare.
7621 [__ASSUME_32BITUIDS]: Make code unconditional.
7622 [!__ASSUME_32BITUIDS]: Remove conditional code.
7623 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7624 <kernel-features.h>.
7625 [__ASSUME_32BITUIDS]: Make code unconditional.
7626 [!__ASSUME_32BITUIDS]: Remove conditional code.
7627 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7628 <kernel-features.h>.
7629 [__ASSUME_32BITUIDS]: Make code unconditional.
7630 [!__ASSUME_32BITUIDS]: Remove conditional code.
7631 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7632 <kernel-features.h>.
7633 [__ASSUME_32BITUIDS]: Make code unconditional.
7634 [!__ASSUME_32BITUIDS]: Remove conditional code.
7635 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7636 <kernel-features.h>.
7637 [__ASSUME_32BITUIDS]: Make code unconditional.
7638 [!__ASSUME_32BITUIDS]: Remove conditional code.
7639 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7640 <kernel-features.h>.
7641 [__ASSUME_32BITUIDS]: Make code unconditional.
7642 [!__ASSUME_32BITUIDS]: Remove conditional code.
7643 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7644 <kernel-features.h>.
7645 [__ASSUME_32BITUIDS]: Make code unconditional.
7646 [!__ASSUME_32BITUIDS]: Remove conditional code.
7647 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7648 <kernel-features.h>.
7649 [__ASSUME_32BITUIDS]: Make code unconditional.
7650 [!__ASSUME_32BITUIDS]: Remove conditional code.
7651 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7652 <kernel-features.h>.
7653 [__ASSUME_32BITUIDS]: Make code unconditional.
7654 [!__ASSUME_32BITUIDS]: Remove conditional code.
7655 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7656 <kernel-features.h>.
7657 [__ASSUME_32BITUIDS]: Make code unconditional.
7658 [!__ASSUME_32BITUIDS]: Remove conditional code.
7659 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7660 <kernel-features.h>.
7661 [__ASSUME_32BITUIDS]: Make code unconditional.
7662 [!__ASSUME_32BITUIDS]: Remove conditional code.
7663 * sysdeps/unix/sysv/linux/kernel-features.h
7664 (__ASSUME_SETRESUID_SYSCALL): Remove.
7665 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7666 (__ASSUME_32BITUIDS): Likewise.
7667 (__ASSUME_LDT_WORKS): Likewise.
7668 (__ASSUME_O_DIRECTORY): Likewise.
7669 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7670 architecture but not kernel version.
7671 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7672 (__ASSUME_MMAP2_SYSCALL): Likewise.
7673 (__ASSUME_STAT64_SYSCALL): Likewise.
7674 (__ASSUME_IPC64): Likewise.
7675 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7676 <kernel-features.h>.
7677 [__ASSUME_32BITUIDS]: Make code unconditional.
7678 [!__ASSUME_32BITUIDS]: Remove conditional code.
7679 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7680 <kernel-features.h>.
7681 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7682 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7683 132096]: Remove conditional code.
7684 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7685 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7686 <kernel-features.h>.
7687 [__ASSUME_32BITUIDS]: Make code unconditional.
7688 [!__ASSUME_32BITUIDS]: Remove conditional code.
7689 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7690 <kernel-features.h>.
7691 [__ASSUME_32BITUIDS]: Make code unconditional.
7692 [!__ASSUME_32BITUIDS]: Remove conditional code.
7693 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7694 <kernel-features.h>.
7695 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7696 unconditional.
7697 (__setresgid): Do not declare.
7698 [__ASSUME_32BITUIDS]: Make code unconditional.
7699 [!__ASSUME_32BITUIDS]: Remove conditional code.
7700 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7701 <kernel-features.h>.
7702 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7703 unconditional.
7704 (__setresuid): Do not declare.
7705 [__ASSUME_32BITUIDS]: Make code unconditional.
7706 [!__ASSUME_32BITUIDS]: Remove conditional code.
7707 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7708 <kernel-features.h>.
7709 [__ASSUME_32BITUIDS]: Make code unconditional.
7710 [!__ASSUME_32BITUIDS]: Remove conditional code.
7711 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7712 <kernel-features.h>.
7713 [__ASSUME_32BITUIDS]: Make code unconditional.
7714 [!__ASSUME_32BITUIDS]: Remove conditional code.
7715
a386f1cc
RH
77162012-05-25 Richard Henderson <rth@twiddle.net>
7717
7718 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7719 dl_hwcap to ifunc resolver.
7720 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7721 elf_ifunc_invoke.
7722 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7723 dl_hwcap to ifunc resolver.
7724 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7725
b6550497
JM
77262012-05-24 Joseph Myers <joseph@codesourcery.com>
7727
7728 [BZ #14153]
7729 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7730 for |x| <= 2**-26, not 2**-57.
7731 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7732 exception.
7733
b0bc23a1
JL
77342012-05-24 Jeff Law <law@redhat.com>
7735
7736 * stdio-common/Makefile (tests): Add bug25.
7737 * stdio-common/bug25.c: New test.
7738
347c92e9
L
77392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7740
7741 [BZ #13576]
7742 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7743 multiple of MALLOC_ALIGNMENT in size.
7744 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7745
6bcc8b3f
JM
77462012-05-24 Joseph Myers <joseph@codesourcery.com>
7747
7748 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7749 Require >= 256.
7750 (FILENAME_MAX): Use macro-int-constant.
7751 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7752 (_IOFBF): Use macro-int-constant.
7753 (_IOLBF): Likewise.
7754 (_IONBF): Likewise.
7755 (SEEK_CUR): Likewise.
7756 (SEEK_END): Likewise.
7757 (SEEK_SET): Likewise.
7758 (TMP_MAX): Likewise.
7759 (EOF): Use macro-int-constant. Require < 0.
7760 (NULL): Use macro-constant. Require == 0.
7761 (stdin): Require type to be FILE *.
7762 (stdout): Likewise.
7763 (stderr): Likewise.
7764 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7765 macro-int-constant.
7766 (EXIT_SUCCESS): Likewise.
7767 (NULL): Use macro-constant. Require == 0.
7768 (RAND_MAX): Use macro-int-constant.
7769 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7770 [C99-based standards] (strtof): Require function.
7771 [C99-based standards] (strtold): Likewise.
7772 [C99-based standards] (strtoll): Likewise.
7773 [C99-based standards] (strtoull): Likewise.
7774 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7775 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7776 [ISO || ISO99 || ISO11] (math.h): Likewise.
7777 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7778 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7780
d18ea0c5
AS
77812012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7782
7783 [BZ #14132]
56d25bb8
AS
7784 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7785 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7786 * intl/dgettext.c (DCGETTEXT): Likewise.
7787 * intl/gettext.c (DCGETTEXT): Likewise.
7788 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7789 * posix/regex_internal.h (gettext): Likewise.
7790 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7791 Remove declaration.
7792 * include/argz.h (__argz_count_internal)
7793 (__argz_stringify_internal): Remove declaration.
7794 (__argz_count, __argz_stringify): Declare hidden proto.
7795 * intl/dcgettext.c: Remove use of INTDEF.
7796 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7797 * string/argz-stringify.c: Likewise.
7798 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7799 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7800 Declare hidden proto.
d18ea0c5
AS
7801 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7802 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7803 Declare hidden proto.
7804 * include/stdio.h (__asprintf_internal): Don't declare.
7805 (__asprintf): Don't define as macro. Declare hidden proto.
7806 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7807 (__fsetlocking): Declare hidden proto.
7808 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7809 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7810 hidden proto.
7811 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7812 (_IO_setlinebuf): Remove use of INTUSE.
7813 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7814 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7815 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7816 Remove declaration.
7817 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7818 (_IO_do_flush): Remove use of INTUSE.
7819 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7820 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7821 (_IO_adjust_column, _IO_least_wmarker)
7822 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7823 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7824 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7825 (_IO_default_doallocate, _IO_wdefault_doallocate)
7826 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7827 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7828 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7829 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7830 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7831 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7832 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7833 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7834 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7835 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7836 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7837 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7838 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7839 proto.
7840 (_IO_flush_all_internal, _IO_adjust_column_internal)
7841 (_IO_default_uflow_internal, _IO_default_finish_internal)
7842 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7843 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7844 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7845 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7846 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7847 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7848 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7849 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7850 (_IO_file_close_internal, _IO_file_close_it_internal)
7851 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7852 (_IO_file_init_internal, _IO_file_attach_internal)
7853 (_IO_file_fopen_internal, _IO_file_read_internal)
7854 (_IO_file_sync_internal, _IO_file_seek_internal)
7855 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7856 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7857 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7858 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7859 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7860 (_IO_list_all_internal, _IO_link_in_internal)
7861 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7862 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7863 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7864 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7865 (_IO_do_write_internal, _IO_padn_internal)
7866 (_IO_getline_info_internal, _IO_getline_internal)
7867 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7868 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7869 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7870 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7871 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7872 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7873 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7874 with libc_hidden_ver, remove use of INTUSE.
7875 * libio/genops.c: Likewise.
7876 * libio/freopen.c: Likewise.
7877 * libio/freopen64.c: Likewise.
7878 * libio/iofclose.c: Likewise.
7879 * libio/iofdopen.c: Likewise.
7880 * libio/iofflush.c: Likewise.
7881 * libio/iofflush_u.c: Likewise.
7882 * libio/iofgets.c: Likewise.
7883 * libio/iofgets_u.c: Likewise.
7884 * libio/iofopen.c: Likewise.
7885 * libio/iofopncook.c: Likewise.
7886 * libio/iofread.c: Likewise.
7887 * libio/iofread_u.c: Likewise.
7888 * libio/ioftell.c: Likewise.
7889 * libio/iofwrite.c: Likewise.
7890 * libio/iogetline.c: Likewise.
7891 * libio/iogets.c: Likewise.
7892 * libio/iogetwline.c: Likewise.
7893 * libio/iopadn.c: Likewise.
7894 * libio/iopopen.c: Likewise.
7895 * libio/ioseekoff.c: Likewise.
7896 * libio/ioseekpos.c: Likewise.
7897 * libio/iosetbuffer.c: Likewise.
7898 * libio/iosetvbuf.c: Likewise.
7899 * libio/ioungetc.c: Likewise.
7900 * libio/ioungetwc.c: Likewise.
7901 * libio/iovdprintf.c: Likewise.
7902 * libio/iovsprintf.c: Likewise.
7903 * libio/iovsscanf.c: Likewise.
7904 * libio/memstream.c: Likewise.
7905 * libio/obprintf.c: Likewise.
7906 * libio/oldfileops.c: Likewise.
7907 * libio/oldiofclose.c: Likewise.
7908 * libio/oldiofdopen.c: Likewise.
7909 * libio/oldiofopen.c: Likewise.
7910 * libio/oldiopopen.c: Likewise.
7911 * libio/oldstdfiles.c: Likewise.
7912 * libio/putc.c: Likewise.
7913 * libio/setbuf.c: Likewise.
7914 * libio/setlinebuf.c: Likewise.
7915 * libio/stdfiles.c: Likewise.
7916 * libio/strops.c: Likewise.
7917 * libio/vasprintf.c: Likewise.
7918 * libio/vscanf.c: Likewise.
7919 * libio/vsnprintf.c: Likewise.
7920 * libio/vswprintf.c: Likewise.
7921 * libio/wfiledoalloc.c: Likewise.
7922 * libio/wfileops.c: Likewise.
7923 * libio/wgenops.c: Likewise.
7924 * libio/wmemstream.c: Likewise.
7925 * libio/wstrops.c: Likewise.
7926 * libio/__fpurge.c: Likewise.
7927 * libio/__fsetlocking.c: Likewise.
7928 * assert/assert.c: Likewise.
7929 * debug/fgets_chk.c: Likewise.
7930 * debug/fgets_u_chk.c: Likewise.
7931 * debug/fread_chk.c: Likewise.
7932 * debug/fread_u_chk.c: Likewise.
7933 * debug/gets_chk.c: Likewise.
7934 * debug/obprintf_chk.c: Likewise.
7935 * debug/vasprintf_chk.c: Likewise.
7936 * debug/vdprintf_chk.c: Likewise.
7937 * debug/vsnprintf_chk.c: Likewise.
7938 * debug/vsprintf_chk.c: Likewise.
7939 * malloc/mtrace.c: Likewise.
7940 * misc/error.c: Likewise.
7941 * misc/syslog.c: Likewise.
7942 * stdio-common/asprintf.c: Likewise.
7943 * stdio-common/fxprintf.c: Likewise.
7944 * stdio-common/getw.c: Likewise.
7945 * stdio-common/isoc99_fscanf.c: Likewise.
7946 * stdio-common/isoc99_scanf.c: Likewise.
7947 * stdio-common/isoc99_vfscanf.c: Likewise.
7948 * stdio-common/isoc99_vscanf.c: Likewise.
7949 * stdio-common/isoc99_vsscanf.c: Likewise.
7950 * stdio-common/printf-prs.c: Likewise.
7951 * stdio-common/printf_fp.c: Likewise.
7952 * stdio-common/printf_fphex.c: Likewise.
7953 * stdio-common/printf_size.c: Likewise.
7954 * stdio-common/putw.c: Likewise.
7955 * stdio-common/scanf.c: Likewise.
7956 * stdio-common/sprintf.c: Likewise.
7957 * stdio-common/tmpfile.c: Likewise.
7958 * stdio-common/vfprintf.c: Likewise.
7959 * stdio-common/vfscanf.c: Likewise.
7960 * stdlib/strfmon_l.c: Likewise.
7961 * sunrpc/openchild.c: Likewise.
7962 * sunrpc/xdr_stdio.c: Likewise.
7963 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7964 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7965
d6c33fda
RM
79662012-05-24 Roland McGrath <roland@hack.frob.com>
7967
c1487492
RM
7968 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7969
7970 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7971 in the third column, to generate for the shared library an IFUNC
7972 that uses _dl_vdso_vsym.
7973 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7974 * Makeconfig (object-suffixes-noshared): New variable.
7975
7976 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7977 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7978 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7979 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7980
d6c33fda
RM
7981 [BZ #14132]
7982 * include/sys/time.h (__gettimeofday): Remove macro.
7983 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7984 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7985 Remove INTDEF.
7986 (__gettimeofday): Add libc_hidden_def.
7987 (gettimeofday): Add libc_hidden_weak.
7988 * sysdeps/mach/gettimeofday.c: Likewise.
7989 * sysdeps/posix/gettimeofday.c: Likewise.
7990 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7991 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7993 (__gettimeofday_internal): Remove strong_alias.
7994 (__gettimeofday): Add libc_hidden_def.
7995 (gettimeofday): Add libc_hidden_weak.
7996 * sysdeps/unix/syscalls.list (gettimeofday):
7997 Remove __gettimeofday_internal alias.
7998
b5a2bbe6
L
79992012-05-24 Daniel Jacobowitz <drow@false.org>
8000 H.J. Lu <hongjiu.lu@intel.com>
8001
8002 [BZ #12495]
8003 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8004 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8005 (largebin_index_32_big): New.
8006 (largebin_index): Use it for 16-byte alignment.
8007 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8008 correction with front_misalign.
8009
cfba4fda
L
80102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8011
7f907421
L
8012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8014 Likewise.
8015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8016 Likewise.
8017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8018 Likewise.
8019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8020 Likewise.
8021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8022 Likewise.
8023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8024 Likewise.
8025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8026 Likewise.
8027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8028 Likewise.
8029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8030 Likewise.
8031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8032 Likewise.
8033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8034 Likewise.
8035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8036 Likewise.
8037
cfba4fda
L
8038 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8039 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8040
80bad0cc
JM
80412012-05-24 Joseph Myers <joseph@codesourcery.com>
8042
7a25eb06
JM
8043 [BZ #10846]
8044 [BZ #14036]
8045 * math/libm-test.inc (exp_test): Add test from bug 14036.
8046 (pow_test): Add test from bug 10846.
8047
795405f9
JM
8048 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8049 and other flags.
8050 (special_function): Do not include flags in test name.
8051 (parse_args): Likewise.
8052 * sysdeps/i386/fpu/libm-test-ulps: Update.
8053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8054 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8055 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8057
80bad0cc
JM
8058 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8059 exceptions.
8060 * math/libm-test.inc ("Philosophy"): Update comment about
8061 exception testing.
8062 (UNDERFLOW_EXCEPTION): New macro.
8063 (UNDERFLOW_EXCEPTION_OK): Likewise.
8064 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8065 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8066 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8067 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8068 (INVALID_EXCEPTION_OK): Update value.
8069 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8070 (OVERFLOW_EXCEPTION_OK): Likewise.
8071 (IGNORE_ZERO_INF_SIGN): Likewise.
8072 (test_exceptions): Handle underflow exceptions.
8073 (acos_test): Update for underflow exception expectations.
8074 (cexp_test): Likewise.
8075 (clog_test): Likewise.
8076 (clog10_test): Likewise.
8077 (csqrt_test): Likewise.
8078 (ctan_test): Likewise.
8079 (ctanh_test): Likewise.
8080 (exp_test): Likewise.
8081 (exp10_test): Likewise.
8082 (exp2_test): Likewise.
8083 (expm1_test): Likewise.
8084 (fma_test): Likewise.
8085 (j0_test): Likewise.
8086 (jn_test): Likewise.
8087 (nexttoward_test): Likewise.
8088 (pow_test): Likewise.
8089 (scalbn_test): Likewise.
8090 (scalbln_test): Likewise.
8091 (tan_test): Likewise.
8092 (y1_test): Likewise.
8093 * sysdeps/i386/fpu/libm-test-ulps: Update.
8094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8095
9e0e3d0b
DM
80962012-05-23 David S. Miller <davem@davemloft.net>
8097
8098 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8099 (__libc_sigaction): Remove unused local variables.
8100
ccd0a08f
L
81012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8102
8103 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8104
62bdf9a6
PE
81052012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8106
f8591f80
PE
8107 mktime: avoid signed integer overflow
8108 * time/mktime.c (__mktime_internal): Do not mishandle the case
8109 where diff == INT_MIN.
8110
94c7d826
PE
8111 mktime: simplify computation of average
8112 * time/mktime.c (ranged_convert): Use new time_t_avg function
8113 instead of rolling our own (probably-slower) code.
8114
ce73d683
PE
8115 mktime: do not assume signed right shift propagates sign bit
8116 * time/mktime.c (isdst_differ): New static function.
8117 (__mktime_internal): No need to normalize tm_isdst now.
8118 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8119 tm_isdst values.
8120
72a22e59
PE
8121 mktime: merge another wrapv change from gnulib
8122 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8123 from some compilers.
8124
68605433
PE
8125 mktime: remove incorrect attempt at unusual arithmetics
8126 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8127 The code didn't really work on such machines anyway.
8128 (TYPE_MINIMUM): Assume two's complement.
8129 (twos_complement_arithmetic): Verify that long_int and time_t
8130 are two's complement (or unsigned, in the latter case).
8131
03cf7fe3
PE
8132 mktime: check signed shifts on long_int and time_t, too
8133 * time/mktime.c (SHR): Check that shifts work as desired
8134 on the types long_int and time_t too, as SHR is used on
8135 such types.
8136
f04dfbc2
PE
8137 mktime: do not assume 'long' is wide enough
8138 * time/mktime.c (verify): Move decl up.
8139 (long_int): New type.
8140 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8141 to remove assumption in the code that 'long' is wide enough to
8142 store year values. This assumption is not true on x32 and on
8143 some non-glibc platforms.
8144
62bdf9a6
PE
8145 mktime: merge wrapv change from gnulib
8146 * time/mktime.c (WRAPV): New macro.
8147 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8148 (guess_time_tm, __mktime_internal): Do not assume that signed
8149 integer overflow wraps around; modern compilers generate code
8150 where this assumption is no longer valid.
8151
5e292e4f
L
81522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8153
8154 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8155 Replace "jmp L(pseudo_end)" with "ret".
8156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8157 Likewise.
8158
8caf8c87
AJ
81592012-05-23 Andreas Jaeger <aj@suse.de>
8160
8161 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8162 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8163
1a09dc56
AJ
81642012-05-23 Andreas Jaeger <aj@suse.de>
8165 Maximilian Attems <max@stro.at>
8166
8167 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8168 New macros.
8169
1c87aba0
L
81702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8171
8172 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8173 code so that pseudo_end is just ret and the stack pointer is
8174 correct also for static library in error case.
8175
40e45bd5
JM
81762012-05-23 Joseph Myers <joseph@codesourcery.com>
8177
c2670533
JM
8178 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8179 move to syscalls.list.
8180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8184
40e45bd5
JM
8185 * manual/install.texi (Running make install): Do not mention Linux
8186 kernel version for which pt_chown is not needed.
8187 (Linux): Do not mention problems with nscd with 2.0 kernels.
8188 * INSTALL: Regenerated.
8189
be08eda5
AJ
81902012-05-23 Andreas Jaeger <aj@suse.de>
8191
8192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8193 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8194 macro.
8195 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8196 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8197 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8198 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8199 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8200 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8202 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8203 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8204 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8205 * sysdeps/unix/sysv/linux/bits/in.h
8206 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8207
a6a056bb
RM
82082012-05-22 Roland McGrath <roland@hack.frob.com>
8209
8210 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8211 (PREPARE_VERSION): Just use assert instead, it will be elided
8212 under [NDEBUG] anyway.
8213
c9009328
L
82142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8215
8216 * sysdeps/unix/sysv/linux/Makefile: Include
8217 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8218 (sysdep_routines): Remove sysctl.
c9009328
L
8219 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8220 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8221 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8222 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8223 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8224
73338355
AJ
82252012-05-22 Andreas Jaeger <aj@suse.de>
8226
8227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8228 that pseudo_end is just ret and the stack pointer is correct also
8229 for static library in error case.
8230
d44638b0
PP
82312012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8232
8233 [BZ #14122]
8234 * nss/nsswitch.c (defconfig_entries): New variable.
8235 (__nss_database_lookup): Don't leak defconfig entries.
8236 (nss_parse_service_list): Don't leak on error paths.
8237 (free_database_entries): New function.
8238 (free_defconfig): New function.
8239 (free_mem): Move common code to free_database_entries.
8240
31a39bd8
L
82412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8242
da0331a8
L
8243 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8244 Add arch_prctl.
8245 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8246
31a39bd8
L
8247 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8248 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8250 New macro.
8251 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8252 (INTERNAL_SYSCALL_TYPES): Likewise.
8253 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8254 (LOAD_REGS_TYPES_[1-6]): Likewise.
8255 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8256 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8257
45470df3
AZ
82582012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8259
8260 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8261 copysignl for GLIBC_2_0.
8262 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8263 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8265 logbl for GLIBC_2_0.
8266 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8267 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8268
98a61bcb
L
82692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8270
a4f6e481
L
8271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8272 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8273
f63d5db6
L
8274 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8275 Use "neg %eax".
8276
98a61bcb
L
8277 * time/mktime.c: Update copyright years.
8278
95770f14
PE
82792012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8280
6226efbd
PE
8281 mktime: merge comment-quoting-style change from gnulib
8282 * time/mktime.c: Quote 'like this' in comments.
8283 The GNU coding standards suggest that we no longer quote `like this',
8284 as "`" and "'" are typically rendered asymmetrically nowadays.
8285 The typical gnulib style is to quote 'like this' when quoting
8286 code, and "like this" when quoting English.
8287
b99e4f78
PE
8288 * time/mktime.c (compile-command): Add "-I.".
8289
643e01e6
PE
8290 mktime: merge mktime-internal.h change from gnulib
8291 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8292
2554247d
PE
8293 mktime: merge time_r change from gnulib
8294 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8295
826dd0ab
PE
8296 mktime: merge DEBUG change from gnulib
8297 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8298 case system <time.h> has a #define.
8299
bd83aabe
PE
8300 mktime: merge <sys/types.h> change from gnulib
8301 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8302 since <time.t> is now guaranteed to define time_t.
8303
95770f14
PE
8304 mktime: merge HAVE_CONFIG_H change from gnulib
8305 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8306
5e1a27a9
L
83072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8308
0e44a77e
L
8309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8310 Use "neg %eax".
8311
5e1a27a9
L
8312 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8313 __rlim_t cast.
8314 (struct rusage): Use anonymous union to pad each field to
8315 __syscall_slong_t.
8316
46259bec
DM
83172012-05-21 David S. Miller <davem@davemloft.net>
8318
8319 * Makefules (o-iterator): Remove .s cases.
8320 (compile-command.s): Delete.
8321 (COMPILE.s): Delete.
8322 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8323
59f0c22e
JM
83242012-05-21 Joseph Myers <joseph@codesourcery.com>
8325
8326 * configure.in (libc_cv_predef_stack_protector): Only consider
8327 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8328 * configure: Regenerated.
8329
20c07380
L
83302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8331
bbb3154b
L
8332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8333 New macro. Use R*LP on int and pointer.
8334 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8335 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8336 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8337 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8338
20c07380
L
8339 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8340 [__WORDSIZE_TIME64_COMPAT32] instead of
8341 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8342 (struct utmp): Likewise.
8343 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8344 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8345 Renamed to ...
8346 (__WORDSIZE_TIME64_COMPAT32): This.
8347 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8348 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8349 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8350 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8351 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8352 (__WORDSIZE_TIME64_COMPAT32): New macro.
8353
d8d1017e
AJ
83542012-05-21 Andreas Jaeger <aj@suse.de>
8355
8356 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8357 only if [SHARED]. Add prototype for __wcschr_ia32.
8358
6c7fb145
RM
83592012-05-21 Roland McGrath <roland@hack.frob.com>
8360
8361 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8362 of %rbp unmolested in the jmp_buf while mangling the low bits.
8363 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8364 unmolested high bits of %rbp while demangling the low bits.
8365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8366
66274218
AJ
83672012-05-21 Andreas Jaeger <aj@suse.de>
8368
07c58f8f
AJ
8369 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8370 * sunrpc/svc_simple.c: Use it for registerrpc.
8371 * sunrpc/xcrypt.c: Use it for passwd2des.
8372
66274218
AJ
8373 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8374
61f65140
L
83752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8378 Don't define if [__SYSCALL_WORDSIZE != 32].
8379 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8380 New macro.
8381
5fefb436
AJ
83822012-05-21 Bruno Haible <bruno@clisp.org>
8383 Andreas Jaeger <aj@suse.de>
8384
8385 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8386 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8387 inptr and inend for must_buffer_ch.
8388 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8389 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8390 * stdio-common/Makefile (tests): Remove bug15.
8391 (bug15-ENV): Remove macro.
8392 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8393 anymore.
8394
d8e272ab
AJ
83952012-05-19 Andreas Jaeger <aj@suse.de>
8396 Roland McGrath <roland@hack.frob.com>
8397
8398 * manual/contrib.texi: Completely rewritten. It contains now an
8399 alphabetical list of contributors and their contributions.
8400
4a56a162
RH
84012012-05-21 Richard Henderson <rth@twiddle.net>
8402
8403 * misc/getauxval.c (__getauxval): Use unsigned long int.
8404 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8405 (getauxval): Use unsigned long int.
8406
d024d23c
L
84072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8408
8409 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8410
cbc00a03
RM
84112012-05-21 Roland McGrath <roland@hack.frob.com>
8412
8413 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8414 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8415 __alignof__ (long double).
8416
478143fa
AZ
84172012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8418
8419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8420
c7683a6d
RH
84212012-05-20 Richard Henderson <rth@twiddle.net>
8422
8423 * misc/getauxval.c: New file.
8424 * misc/sys/auxv.h: New file.
8425 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8426 (routines): Add getauxval.
8427 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8428 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8429 * elf/dl-sysdep.c (_dl_auxv): Remove.
8430 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8431 * elf/dl-support.c (_dl_auxv): New variable.
8432 (_dl_aux_init): Initialize it.
8433 * manual/startup.texi (Auxiliary Vector): New node.
8434 * sysdeps/generic/bits/hwcap.h: New file.
8435 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8436 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8437 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8438 * sysdeps/sparc/sysdep.h: ... here. Include it.
8439 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8442 Update.
c7683a6d
RH
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8451
a6f1845d
AZ
84522012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8453
8454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8455
cbcbe830
DM
84562012-05-19 David S. Miller <davem@davemloft.net>
8457
8458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8459
e0b16cc2
JM
84602012-05-19 Joseph Myers <joseph@codesourcery.com>
8461
8462 [BZ #14123]
8463 * math/s_ccosh.c: Include <float.h>
8464 (__ccosh): Avoid internal overflow calculating sinh and cosh
8465 values before multiplying by sin and cos values.
8466 * math/s_ccoshf.c: Likewise.
8467 * math/s_ccoshl.c: Likewise.
8468 * math/s_csin.c: Likewise.
8469 * math/s_csinf.c: Likewise.
8470 * math/s_csinl.c: Likewise.
8471 * math/s_csinh.c: Likewise.
8472 * math/s_csinhf.c: Likewise.
8473 * math/s_csinhl.c: Likewise.
8474 * math/libm-test.inc (ccos_test): Add more tests.
8475 (ccosh_test): Likewise.
8476 (csin_test): Likewise.
8477 (csinh_test): Likewise.
8478 * sysdeps/i386/fpu/libm-test-ulps: Update.
8479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8480
6ad13e08
L
84812012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8482
f66f0ce8
L
8483 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8484 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8485
6ad13e08
L
8486 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8487
b1d072a7
JM
84882012-05-19 Joseph Myers <joseph@codesourcery.com>
8489
8490 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8491 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8492 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8493 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8494 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8495 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8496 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8497 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8498 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8499 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8500 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8501 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8502 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8503 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8504 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8505 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8506 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8507 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8508 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8509 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8510 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8511 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8512 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8513 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8514 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8515 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8516 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8517 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8518 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8519 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8520 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8521
9eae47cb
AJ
85222012-05-18 Andreas Jaeger <aj@suse.de>
8523
8524 * csu/.gitignore: Delete.
8525
bb07f69f
L
85262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8527
8528 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8529 (timex): Use __syscall_slong_t.
8530
e6bdb741
AJ
85312012-05-18 Andreas Jaeger <aj@suse.de>
8532 Carlos O'Donell <carlos_odonell@mentor.com>
8533
8534 * manual/install.texi (Configuring and compiling): Update
8535 description about files modified in the source directory.
d6c33fda 8536 * INSTALL: Regenerated.
e6bdb741 8537
1b74487e
L
85382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8541 value. Use "or" to set return value to -1.
8542 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8543 negate return value.
8544
a88b64b9
TMQMF
85452012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8546
8547 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8548 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8549 failure if the compiler has Graphite support disabled.
8550 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8551 Likewise.
8552 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8553 CFLAGS-memmove.c): Likewise.
8554 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8555 Likewise.
8556
3707636e
L
85572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8558
610b8622
L
8559 * sysdeps/x86_64/x32/_itoa.h: New file.
8560
7cd195df
L
8561 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8562 getdents system call only if kernel and user dirents have the
8563 same d_ino and d_off.
8564
94b07d20
L
8565 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8566 LLONG_MAX != LONG_MAX.
8567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8568 (_fitoa_word): Likewise.
8569
18298070
L
8570 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8571 years.
8572 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8573 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8574 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8575
553c7ea4
L
8576 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8577 include <bits/wordsize.h>. Check __x86_64__ instead of
8578 __WORDSIZE.
8579 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8580 if __x86_64__ is defined. Use anonymous union on fpstate.
8581
3707636e
L
8582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8583 anonymous union.
8584
b53ef01a
AS
85852012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8586
37fb1dc0
AS
8587 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8588 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8589 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8590 Refer to _rtld_local_ro instead of _rtld_global_ro.
8591 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8592 Likewise.
8593 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8594 Likewise.
8595 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8596 Likewise.
8597 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8598 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8599 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8600
b53ef01a
AS
8601 * sysdeps/powerpc/powerpc32/dl-machine.c
8602 (__elf_machine_runtime_setup) [PROF]: Don't reference
8603 _dl_prof_resolve.
8604
7a185db2
AJ
86052012-05-18 Andreas Jaeger <aj@suse.de>
8606
8607 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8608 function only available for GCCs before 3.4 since GCC 3.4
8609 introduced a builtin.
8610 (lrint): Likewise.
8611 (llrintf): Likewise.
8612 (llrint): Likewise.
8613 (fmaxf): Likewise.
8614 (fmax): Likewise.
8615 (fminf): Likewise.
8616 (fmin): Likewise.
8617 (rint): Likewise.
8618 (rintf): Likewise.
8619 (nearbyint): Likewise.
8620 (nearbyintf): Likewise.
8621 (ceil): Likewise.
8622 (ceilf): Likewise.
8623 (floor): Likewise.
8624 (floorf): Likewise.
8625
3e5aef87
L
86262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8627
428bd707
L
8628 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8629 on both fields and cast pointer to __syscall_ulong_t.
8630
3e5aef87
L
8631 * bits/types.h (__fsword_t): New type.
8632 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8633 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8635 (__FSWORD_T_TYPE): Likewise.
8636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8637 (__FSWORD_T_TYPE): Likewise.
8638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8639 (__FSWORD_T_TYPE): Likewise.
8640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8641 (__FSWORD_T_TYPE): Likewise.
8642 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8643 __SWORD_TYPE with __fsword_t.
8644 (statfs64): Likewise.
8645
1ba7c3dc
DM
86462012-05-17 David S. Miller <davem@davemloft.net>
8647
8648 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8649
59910343
AJ
86502012-05-17 Andreas Jaeger <aj@suse.de>
8651
8652 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8653 warning.
8654
2e4c1e9e
L
86552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8658
de7f5ce7
AJ
86592012-05-17 Andreas Jaeger <aj@suse.de>
8660
8661 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8662 when it is used.
8663
286abc3d
CM
86642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8665
8666 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8667
477cc68e
L
86682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8669
8670 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8671 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8672
1a0994f5
CD
86732012-05-17 Andreas Jaeger <aj@suse.de>
8674 Carlos O'Donell <carlos_odonell@mentor.com>
8675
8676 [BZ #14059]
8677 * sysdeps/x86_64/multiarch/init-arch.h
8678 (bit_YMM_Usable): Rename to...
8679 (bit_AVX_Usable): ... this.
8680 (bit_FMA4_Usable): New macro.
8681 (bit_XMM_state): New macro.
8682 (bit_YMM_state): New macro.
8683 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8684 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8685 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8686 (CPUID_OSXSAVE): New macro.
8687 (CPUID_AVX): New macro.
8688 (CPUID_FMA4): New macro.
8689 (index_YMM_Usable): Rename to...
8690 (index_AVX_Usable): ... this.
8691 (HAS_AVX): Use HAS_ARCH_FEATURE.
8692 (HAS_FMA4): Likewise.
8693 (HAS_YMM_USABLE): Remove.
8694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8695 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8696 are present.
8697 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8698 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8699 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8700 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8701 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8702
0af797de
CM
87032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8704
8705 * math/libm-test.c: Support platforms without multiple rounding modes.
8706 * math/bug-nextafter.c: Support platforms without FP exceptions.
8707 * math/bug-nexttoward.c: Likewise.
8708 * math/test-fenv.c: Likewise.
8709 * math/test-misc.c: Likewise.
8710 * stdlib/bug-getcontext.c: Likewise.
8711
e39745ff
AJ
87122012-05-17 Andreas Jaeger <aj@suse.de>
8713
8714 * manual/examples/search.c (critter_cmp): Change signature to
8715 avoid warnings.
8716 * manual/string.texi (Collation Functions): Likewise.
8717
48970aba
L
87182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8719
8720 * bits/types.h: Fold copyright years.
8721 * bits/typesizes.h: Likewise.
8722 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8726 * time/time.h: Likewise.
8727
bedee953
PP
87282012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8729
8730 [BZ #208]
8731 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8732 in instead of returning them. Return void.
8733 (__libc_mallinfo): Accumulate over all arenas.
8734 (__malloc_stats): Adjust for change in int_mallinfo interface.
8735
61653dfb
RM
87362012-05-16 Roland McGrath <roland@hack.frob.com>
8737
30b99d79
RM
8738 [BZ #10375]
8739 * configure.in (NM): Add AC_CHECK_TOOL for it.
8740 (libc_extra_cflags): New substituted variable.
8741 Check for -fstack-protector being used implicitly.
8742 * configure: Regenerated.
8743 * config.make.in (config-extra-cflags): New variable,
8744 gets @libc_extra_cflags@.
8745 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8746
61653dfb
RM
8747 [BZ #10375]
8748 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8749 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8750 * configure: Regenerated.
8751 * config.make.in (CPPUNDEFS): New substituted variable.
8752 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8753 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8754 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8755
661768bb
L
87562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8757
8758 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8759 (mq_attr): Use __syscall_slong_t.
8760
d4261567
L
87612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8762
8763 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8764 Check __x86_64__ instead of __WORDSIZE.
8765 (_STAT_VER_LINUX): Likewise.
8766 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8767 __syscall_ulong_t and __syscall_slong_t.
8768 (stat64): Likewise.
8769
cf3ff365
L
87702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8771
8772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8773
76cf3e4d
L
87742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8775
8776 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8777
a637753a
L
87782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8779
8780 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8781 __syscall_ulong_t.
8782
d5e05119
L
8783 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8784 include <bits/wordsize.h>. Check __x86_64__ instead of
8785 __WORDSIZE.
8786 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8787 defined.
8788 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8789
f62ee380
L
8790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8791 include <bits/wordsize.h>. Check __x86_64__ instead of
8792 __WORDSIZE.
8793 (user_regs_struct): Use "__extension__ unsigned long long"
8794 instead of "unsigned long" if __x86_64__ is defined.
8795 (user): Likewise. Pad after pointer field if __ILP32__ is
8796 defined.
8797
4e124ced
JM
87982012-05-16 Joseph Myers <joseph@codesourcery.com>
8799
6a3951a0
JM
8800 * configure.in (makeinfo): Require version 4.5 or later. Allow
8801 versions 5 to 9.
8802 * configure: Regenerated.
8803 * manual/install.texi (texinfo): Increase version requirement to
8804 4.5 or later.
8805 * INSTALL: Regenerated.
8806
4e124ced
JM
8807 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8808
953ca31a
L
88092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8810
8811 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8812
617aca05
L
8813 * sysdeps/x86_64/x32/ffs.c: New file.
8814
5762f7ae
L
8815 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8816 __syscall_ulong_t.
8817 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8818 defined. Use __syscall_ulong_t.
8819 (shminfo): Use __syscall_ulong_t.
8820 (shm_info): Likewise.
8821
a26b6856
L
8822 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8823 __syscall_ulong_t.
8824
cb2b9ef7
L
8825 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8826 <bits/wordsize.h>.
8827 (msgqnum_t): Use __syscall_ulong_t.
8828 (msglen_t): Likewise.
8829 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8830 __syscall_ulong_t.
8831
34683bb0
L
8832 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8833 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8834
84a68786
L
8835 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8836
48baa5f1
L
8837 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8838 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8839
180be88b
L
8840 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8841 __syscall_slong_t.
8842
5e90c8ad
L
8843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8844 include <bits/wordsize.h>. Check __x86_64__ instead of
8845 __WORDSIZE.
8846
23dfb58b
L
8847 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8848 "unsigned long long int" if __x86_64__ is defined.
8849 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8850
ce5d54b0
L
8851 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8852 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8853 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8854
13dc9eac
L
8855 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8856 <stdint.h>.
8857 (GET_PC): Cast to uintptr_t first.
8858 (GET_FRAME): Likewise.
8859 (GET_STACK): Likewise.
8860
a7895d15
L
8861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8862 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8863 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8864 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8865 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8866 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8867 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8868 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8869 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8870 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8871 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8872 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8874 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8875 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8876 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8877 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8878 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8879 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8880 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8881 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8882 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8883 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8884 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8885 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8886 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8887 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8888 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8889 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8890
656416c9
AS
88912012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8892
5bd66283
AS
8893 * Makerules (+depfiles): Also collect depfiles from .oS in
8894 $(extra-objs).
8895 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8896 .oS, $(libnldbl-routines)).
8897
656416c9
AS
8898 * Makerules (native-compile-mkdep-flags): Define.
8899 * sunrpc/Makefile (extra-objs): Add $(addprefix
8900 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8901 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8902 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8903 calling $(make-target-directory).
8904
a46f2169
L
89052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8906
8907 * bits/types.h (__snseconds_t): Removed.
8908 * time/time.h (struct timespec): Replace __snseconds_t with
8909 __syscall_slong_t.
8910 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8911 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8912 Likewise.
8913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8914 (__SNSECONDS_T_TYPE): Likewise.
8915 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8916 (__SNSECONDS_T_TYPE): Likewise.
8917 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8918 (__SNSECONDS_T_TYPE): Likewise.
8919
6af6528b
L
89202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8921
8922 * sysdeps/mach/hurd/bits/typesizes.h
8923 (__SYSCALL_SLONG_TYPE): New macro.
8924 (__SYSCALL_ULONG_TYPE): Likewise.
8925
de986b56
L
89262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 * bits/types.h (__syscall_slong_t): New type.
8929 (__syscall_ulong_t): Likewise.
8930
8931 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8932 (__SYSCALL_ULONG_TYPE): Likewise.
8933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8934 (__SYSCALL_SLONG_TYPE): Likewise.
8935 (__SYSCALL_ULONG_TYPE): Likewise.
8936 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8937 (__SYSCALL_SLONG_TYPE): Likewise.
8938 (__SYSCALL_ULONG_TYPE): Likewise.
8939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8940 (__SYSCALL_SLONG_TYPE): Likewise.
8941 (__SYSCALL_ULONG_TYPE): Likewise.
8942
85736dc7
L
89432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8944
8945 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8946 Add sigaltstack-offsets.sym.
8947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8948 <sigaltstack-offsets.h>.
8949 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8950 longjmp_msg pointer.
8951 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8952 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8953 signal stack.
8954 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8955
cc03b296
JM
89562012-05-15 Joseph Myers <joseph@codesourcery.com>
8957
a9538892
JM
8958 * elf/stackguard-macros.h: Remove file.
8959 * sysdeps/generic/stackguard-macros.h: New file.
8960 * sysdeps/i386/stackguard-macros.h: Likewise.
8961 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8962 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8963 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8964 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8965 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8966 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8967 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8968 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8969 <elf/stackguard-macros.h>.
8970
cc03b296
JM
8971 [BZ #14109]
8972 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8973 __aligned__ in attribute.
8974 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8975 (gregset_t): Likewise.
8976
93171016
L
89772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8978
8979 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8980 * sysdeps/x86_64/64/Implies-after: Here. New file.
8981 * sysdeps/x86_64/x32/Implies-after: New file.
8982
d86813a0
L
89832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8984
8985 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8986 and access return value for _dl_profile_fixup. Use R10_LP to
8987 load frame size.
8988
2953ec75
L
89892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8990
8991 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8992
3b550e9e
L
89932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8994
8995 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8996 * sysdeps/x86_64/x32/sysdep.h: New file.
8997
eda41706
L
89982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8999
9000 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9001 * sysdeps/x86_64/setjmp.S: Likewise.
9002
9ea01d93
AZ
90032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9004
9005 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9006 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9007 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9008 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9009 remove unused global constant.
9010
02a91938
CM
90112012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9012
9013 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9014 include of <not-cancel.h>.
9015
6540185f
RM
90162012-05-15 Roland McGrath <roland@hack.frob.com>
9017
9018 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9019
509072a0
AJ
90202012-05-15 Jeff Law <law@redhat.com>
9021 Andreas Jaeger <aj@suse.de>
9022
9023 [BZ #13594]
9024 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9025 out from...
9026 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9027 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9028 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9029 code changing __hst_map_handle.map.
9030
ba75122d
RM
90312012-05-15 Roland McGrath <roland@hack.frob.com>
9032
9033 * configure.in (sysnames): Look for Implies-before and Implies-after
9034 files.
9035 * configure: Regenerated.
9036
890d8bd8
L
90372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9038
9039 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9040 8-byte data alignment with LP_SIZE alignment.
9041
f6ee6623
L
90422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9043
9044 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9045 into R10_LP.
9046
ea2626f6
L
90472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9048
9049 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9050
085f715e
L
90512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9052
9053 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9054 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9055 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9056 Likewise.
9057 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9058
be8498fc
L
90592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9060
9061 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9062 (stackinfo_sub_sp): Likewise.
9063
70bc83b9
L
90642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9065
9066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9067 RAX_LP.
9068
9bc0b730
L
90692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9070
9071 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9072 into R*_LP.
9073
6d2850e7
L
90742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9075
9076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9077 sizes into R*_LP.
9078
3cb84561
L
90792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9080
9081 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9082
54e2ed81
L
90832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9086 into R11_LP and load __x86_64_shared_cache_size_half into
9087 R8_LP.
9088
8a17f349
L
90892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9090
9091 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9092 R8_LP.
9093
777b1eea
AZ
90942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9095
9096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9097 logb for POWER7.
9098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9099 logbf for POWER7.
9100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9101 logbl for POWER7.
9102 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9103 powerpc32/power7/fpu/s_logb.c via #include.
9104 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9105 powerpc32/power7/fpu/s_logbf.c via #include.
9106 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9107 powerpc32/power7/fpu/s_logbl.c via #include.
9108
d20d4ac2
JM
91092012-05-15 Joseph Myers <joseph@codesourcery.com>
9110
9111 * README.libm: Remove file.
9112
6cdef1ab
L
91132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9114
9115 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9116 count for x32. Use R*_LP and omit operand-size suffix.
9117
0b254d8f
L
91182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9119
9120 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9121 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9122 * sysdeps/x86_64/x32/shlib-versions: New file.
9123
ceb809dc
RM
91242012-05-14 Roland McGrath <roland@hack.frob.com>
9125
9126 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9127 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9128 Use _dl_fatal_printf instead.
9129
37f1abd4
JM
91302012-05-14 Joseph Myers <joseph@codesourcery.com>
9131
9132 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9133 set if not set by the user. Do not allow for being unset.
9134 * sysdeps/unix/sysv/linux/configure: Regenerated.
9135
11de3a33
L
91362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9137
9138 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9139 the `q' suffix from lea and replace .quad with ASM_ADDR.
9140
e02f153a
L
91412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9142
9143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9144 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9145 instead of $17.
9146 (PTR_DEMANGLE): Likewise.
9147
520ae0fd
L
91482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9149
9150 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9151 (LP_OP): Likewise.
9152 (ASM_ADDR): Likewise.
9153 (RAX_LP): Likewise.
9154 (RBP_LP): Likewise.
9155 (RBX_LP): Likewise.
9156 (RCX_LP): Likewise.
9157 (RDI_LP): Likewise.
9158 (RSI_LP): Likewise.
9159 (RSP_LP): Likewise.
9160 (R8_LP): Likewise.
9161 (R9_LP): Likewise.
9162 (R10_LP): Likewise.
9163 (R10_LP): Likewise.
9164 (R11_LP): Likewise.
9165 (R12_LP): Likewise.
9166 (R13_LP): Likewise.
9167 (R14_LP): Likewise.
9168 (R15_LP): Likewise.
9169
b985be81
L
91702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 * sysdeps/x86_64/x32/dl-machine.h: New file.
9173
6a4888ff
AJ
91742012-05-14 Andreas Jaeger <aj@suse.de>
9175
9176 * manual/Makefile (subdir): Remove export of subdir.
9177 (all): Remove target.
9178 (.PHONY): Remove all from list.
9179 (mkinstalldirs): Remove.
9180 (.PHONY): Remove installdirs from list.
9181 ($(inst_infodir)/libc.info): Use make-target-directory.
9182 (installdirs): Remove.
9183 (subdir_%): Remove.
9184 (glibc-targets): Remove.
9185 (lib): Remove.
9186 (stubs): Remove.
9187 ($(objpfx)stubs ../po/manual.pot): Remove.
9188 ($(objpfx)stamp%): Remove.
9189 (make-target-directory): Remove.
9190 (subdir_install): Remove.
9191 (routines): Remove.
9192 (aux): Remove.
9193 (sources): Remove.
9194 (objects): Remove.
9195 (headers): Remove.
9196
9197 [BZ #13750]
9198 * manual/.gitignore: Remove, it's not needed anymore.
9199 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9200 all files in it.
9201 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9202 directory.
9203 (texis): Renamed to $(objpfx)texis.
9204 (texis-path): New, contains path to generated files.
9205 (chapters.%): Use texis-path for complete path, add extra argument
9206 libc-texinfo.sh.
9207 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9208 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9209 (summary,texi, stamp-summary): Use complete path of
9210 files. Generate files in build dir.
9211 (dir-add.texi): Build in build dir.
9212 (libm-err.texi,stamp-libm-err): Likewise.
9213 (version.texi, stamp-version): Likewise.
9214 (.%c.texi): Likewise.
9215 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9216 (mostlyclean): Remove target.
9217 (realclean): Remove target.
9218 (generated): Add new variable with contents from mostlyclean and
9219 realclean, remove entries duplicated in common-mostlyclean, add
9220 stamp-libm-err and stamp-version.
9221 (generated-dirs): Add libc directory.
9222 ($(inst_infodir)/libc.info): Install files from build dir.
9223
9224 * manual/install.texi (Configuring and compiling): Adjust since
9225 the info files are not part of the tar ball anymore.
9226
7ac77294
AJ
92272012-05-14 Andreas Jaeger <aj@suse.de>
9228
9229 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9230 variable.
9231
ffb7875d
JM
92322012-05-14 Joseph Myers <joseph@codesourcery.com>
9233
9234 [BZ #13717]
9235 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9236 to 2.2.0 where earlier.
9237 * sysdeps/unix/sysv/linux/configure: Regenerated.
9238 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9239 Remove conditional code.
9240 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9241 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9242 Remove conditional code.
9243 [!__NR_lchown]: Likewise.
9244 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9245 [__NR_lchown]: Likewise.
9246 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9247 comment referencing __ASSUME_LCHOWN_SYSCALL.
9248 * sysdeps/unix/sysv/linux/i386/sigaction.c
9249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9251 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9252 Remove conditional code.
9253 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9254 (__protocol_available): Remove #if 0 code.
9255 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9256 conditional code.
9257 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9258 * sysdeps/unix/sysv/linux/kernel-features.h
9259 (__ASSUME_GETCWD_SYSCALL): Don't define.
9260 (__ASSUME_REALTIME_SIGNALS): Likewise.
9261 (__ASSUME_PREAD_SYSCALL): Likewise.
9262 (__ASSUME_PWRITE_SYSCALL): Likewise.
9263 (__ASSUME_POLL_SYSCALL): Likewise.
9264 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9265 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9266 non-SPARC.
9267 (__ASSUME_SIOCGIFNAME): Don't define.
9268 (__ASSUME_MSG_NOSIGNAL): Likewise.
9269 (__ASSUME_SENDFILE): Define unconditionally.
9270 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9271 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9272 conditional code.
9273 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9274 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9275 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9276 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9277 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9278 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9279 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9281 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9284 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9287 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9290 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9304 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9305 Remove conditional code.
9306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9307 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9308 Remove conditional code.
9309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9310 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9311 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9312 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9313 Remove conditional code.
9314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9315 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9316 Remove conditional code.
9317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9318 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9319 Remove conditional code.
9320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9321 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9322 Remove conditional code.
9323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9324 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9325 Remove conditional code.
9326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9327 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9330 * sysdeps/unix/sysv/linux/sigaction.c
9331 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9332 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9333 * sysdeps/unix/sysv/linux/sigpending.c
9334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9336 * sysdeps/unix/sysv/linux/sigprocmask.c
9337 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9338 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9339 * sysdeps/unix/sysv/linux/sigsuspend.c
9340 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9341 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9342 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9343 (__libc_missing_rt_sigs): Remove.
9344 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9345 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9346 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9347 Remove conditional code.
9348 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9349 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9350 return 1.
9351 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9352 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9353 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9354 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9355
1bfb7291
AJ
93562012-05-14 Andreas Jaeger <aj@suse.de>
9357
caae5a81
AJ
9358 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9359 it's not used in glibc.
9360 (__coshm1): Likewise.
9361 (__acosh1p): Likewise.
9362 (__sgn): Likewise.
9363
1bfb7291
AJ
9364 * manual/string.texi (Copying and Concatenation): Add missing
9365 variable in concat example.
9366 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9367
c044d724
L
93682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9369
144c5467 9370 [BZ #14103]
c044d724
L
9371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9372 __builtin_clzl with __builtin_clzll.
9373
2523c62b
L
93742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9375
9376 [BZ #14104]
9377 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9378 libc_freeres_ptr.
9379
d7bb4c42
LD
93802012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9381
9382 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9383 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9384 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9385 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9386
9dc4e1fb
MF
93872012-05-14 Mike Frysinger <vapier@gentoo.org>
9388
9389 * NEWS: Update ia64 info.
9390
c7df0112
AS
93912012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9392
9393 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9394 used as bcopy.
9395
dc70356c
TS
93962012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9397
9398 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9399 * sysdeps/unix/syscalls.list (dup3): Likewise.
9400 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9401 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9402
9fb1a21f
L
94032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9404
9405 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9406 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9407
4822a2a5
L
94082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9409
9410 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9411 thread pointer.
9412 (TLS_IE): Use mov/add instead of movq/addq to load thread
9413 pointer.
9414 (TLS_GD_PREFIX): New.
9415 (TLS_GD): Use it.
9416
842b81d6
DM
94172012-05-11 David S. Miller <davem@davemloft.net>
9418
9419 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9420 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9421 (_FPU_SETCW): Likewise.
9422
1cf463cd
L
94232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9424
9425 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9426 is 32-byte aligned.
9427
60cc4a18
AS
94282012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9429
9430 [BZ #11837]
9431 * iconvdata/gb18030.c: Update tables.
9432 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9433 characters specially.
9434 (BODY for TO_LOOP): Add encoding of missing ranges.
9435
febb44a4
TS
94362012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9437
9438 [BZ #13673]
9439 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9440 * sysdeps/mach/hurd/dup3.c: Likewise.
9441 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9442 * sysdeps/powerpc/memmove.c:: Likewise.
9443
0a10fb9e
L
94442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9445
9446 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9447 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9448
df8a552f
L
94492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9450
9451 * elf/elf.h (R_X86_64_RELATIVE64): New.
9452 (R_X86_64_NUM): Updated.
9453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9454 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9455 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9456 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9457 tst-quad1pie tst-quad2pie
9458 (modules-names): Add tst-quadmod1 tst-quadmod2.
9459 ($(objpfx)tst-quad1): New dependency.
9460 ($(objpfx)tst-quad2): Likewise.
9461 ($(objpfx)tst-quad1pie): Likewise.
9462 ($(objpfx)tst-quad2pie): Likewise.
9463 * sysdeps/x86_64/tst-quad1.c: New file.
9464 * sysdeps/x86_64/tst-quad1pie.c: New file.
9465 * sysdeps/x86_64/tst-quad2.c: Likewise.
9466 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9467 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9468 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9469 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9470 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9471
f34d6f84
ST
94722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9473
f42d41d1
ST
9474 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9475 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9476 * streams/stropts.h (t_scalar_t): Define type.
9477
3c3571fc
ST
9478 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9479 (_PATH_PRESERVE): Set to "/var/lib".
9480 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9481
61f06bd3
ST
9482 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9483 instead of int.
9484
918d4d71
ST
9485 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9486 if __dir_mkfile succeeded.
9487
f34d6f84
ST
9488 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9489 checking for _hurd_dtablesize. Unlock it right after having
9490 finished _hurd_dtable allocation.
9491
10589b4a
TS
94922012-05-10 Thomas Schwinge <thomas@schwinge.name>
9493
674cdbc7
TS
9494 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9495 * sysdeps/mach/hurd/configure: Regenerated.
9496 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9497 special-casing to...
9498 * sysdeps/gnu/configure.in: ... this new file.
9499 * sysdeps/unix/sysv/linux/configure: Regenerated.
9500 * sysdeps/gnu/configure: New generated file.
9501
8e41b99f
TS
9502 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9503 for Linux: use nsec instead of usec, as well as:
9504 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9505 members of type struct timespec.
9506 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9507 New macros.
9508 (struct stat64): Likewise.
9509 (_STATBUF_ST_NSEC): New macro.
9510 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9511
10589b4a
TS
9512 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9513 __strtoul_internal rather than strtoul.
9514
63643c85
PT
95152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9516
9517 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9518 and reject them.
9519
3faebe6a
ST
95202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9521
9522 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9523 which preserves existing values.
9524 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9525
c6474b07
PT
95262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9527
9528 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9529 TIMEOUT values. Return EINVAL for NFDS values either negative or
9530 greater than FD_SETSIZE.
9531
1043890b
ST
95322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9533
9534 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9535 allocated, call __vm_protect to finish enabling the existing space, and
9536 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9537 allocate the remainder.
9538
37ed8b9b
PT
95392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9540
9541 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9542 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9543
db653660
ST
95442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9545
37ed8b9b
PT
9546 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9547 sysdeps/mach/hurd/readlink.c.
b29d4053 9548
db653660
ST
9549 * posix/tst-sysconf.c (posix_options): Only use
9550 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9551 _POSIX_SYNCHRONIZED_IO when they are defined
9552 * sysdeps/mach/hurd/bits/posix_opt.h:
9553 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9554 (_XOPEN_REALTIME): Undefine macro.
9555 (_XOPEN_REALTIME_THREADS): Undefine macro.
9556 (_XOPEN_SHM): Undefine macro.
9557 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9558 macro to -1.
9559 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9560 macro to -1.
9561 (_POSIX_ASYNC_IO): Undefine macro.
9562 (_POSIX_PRIORITIZED_IO): Undefine macro.
9563 (_POSIX_SPIN_LOCKS): Define macro to -1.
9564
ee16e894
ST
9565 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9566 SA_NODEFER, SA_RESETHAND.
9567 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9568 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9569 F_DUPFD_CLOEXEC.
9570
6103ae3b
TS
95712012-05-10 Thomas Schwinge <thomas@schwinge.name>
9572
9573 * elf/Makefile (pldd-modules): Define unconditionally.
9574
80b4e5f3
TS
95752012-05-10 Thomas Schwinge <thomas@schwinge.name>
9576
9577 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9578
edadcbd6
ST
95792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9580
9581 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9582 Return ENOENT when name is empty.
9583 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9584
80694780
TS
95852012-05-10 Thomas Schwinge <thomas@schwinge.name>
9586
1792c087
TS
9587 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9588
80694780
TS
9589 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9590
6b645f0d
ST
95912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9592
80694780
TS
9593 Fix mlock in all cases except non-readable pages.
9594 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9595 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9596
6b645f0d
ST
9597 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9598 (__mkdir): When path is `/', just fail with EEXIST.
9599 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9600
e468f8a3
TS
96012012-05-10 Thomas Schwinge <thomas@schwinge.name>
9602
9603 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9604 <sys/uio.h> (for writev).
9605 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9606 and <sys/param.h> (for MIN).
9607
a4186cff
PT
96082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9609
9610 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9611 REQUESTED_TIME. Properly set the remaining time and return EINTR
9612 if interrupted.
9613
510bbf14
TS
96142012-05-10 Thomas Schwinge <thomas@schwinge.name>
9615
9616 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9617 Depend on against $(link-rpcuserlibs).
9618
5d5722e8
ST
96192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9620
a4186cff
PT
9621 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9622 (__libc_stack_end): Do not use attribute_relro.
9623 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9624 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9625 to libthread-provided value.
a4186cff
PT
9626 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9627 attribute_relro.
5d5722e8 9628
37233df9
TS
96292012-05-10 Thomas Schwinge <thomas@schwinge.name>
9630
be971a2b
TS
9631 [BZ #3748]
9632 * bits/libc-lock.h (__libc_once_get): New macro.
9633 * sysdeps/mach/bits/libc-lock.h: Likewise.
9634 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9636 instead of using implementation details.
9637
37233df9
TS
9638 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9639 * libio/freopen.c: Likewise.
9640 * libio/freopen64.c: Likewise.
9641 * misc/syslog.c: Likewise.
9642 * nscd/connections.c: Likewise.
9643 * nscd/netgroupcache.c: Likewise.
9644 * sysdeps/posix/getcwd.c: Likewise.
9645
38de94a5
RM
96462012-05-10 Roland McGrath <roland@hack.frob.com>
9647
9648 * math/w_ilogbf.c: Add #include <limits.h>.
9649
67530489
ST
96502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9651
a4186cff 9652 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9653 path instead of returning without unlocking.
9654
67530489
ST
9655 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9656 immediate-write ioctls.
9657 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9658
5aa3a74a
TS
96592012-05-10 Thomas Schwinge <thomas@schwinge.name>
9660
18bad2ae
TS
9661 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9662 __builtin_frame_address instead of making assumptions about the
9663 location of the return address relative to DATA. Force early load of
9664 the return address.
9665 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9666 __builtin_frame_address.
9667
5aa3a74a
TS
9668 dup3 for GNU Hurd.
9669 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9670 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9671 implement dup3 and do some further code clean-ups.
9672 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9673 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9674
ecd0de9a
ST
96752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9676
cd9fa985
ST
9677 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9678
a4186cff
PT
9679 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9680 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9681 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9682 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9683 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9684 d->port.lock.
802ca5a5 9685
a4186cff
PT
9686 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9687 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9688 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9689
bcf55240
TS
96902012-05-10 Thomas Schwinge <thomas@schwinge.name>
9691
6960eb42
TS
9692 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9693 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9694 definitions.
9695
eb43375f
TS
9696 accept4 for GNU Hurd.
9697 * include/sys/socket.h (__libc_accept4): New prototype.
9698 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9699 to implement __libc_accept4.
9700 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9701 __libc_accept4.
9702 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9703
bcf55240
TS
9704 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9705 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9706 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9707 signal-defines.sym.
9708
6178c55b
ST
97092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9710
a4186cff 9711 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9712
6f080c2f
TS
97132012-05-10 Thomas Schwinge <thomas@schwinge.name>
9714
9715 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9716 assertion on O_CLOEXEC flag.
9717 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9718 * hurd/intern-fd.c: Likewise.
9719 * hurd/port2fd.c: Likewise.
9720
bcfe3a54
ST
97212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9722
9723 [BZ #3906]
9724 * bits/in.h (IPV6_PKTINFO): Define new macro.
9725 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9726
89c9aa49
AZ
97272012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9728
9729 [BZ #13954]
9730 [BZ #13955]
9731 [BZ #13956]
9732 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9734 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9735 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9737 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9738 * math/libm-test.inc (logb_test) : Additional logb tests.
9739
021db4be
AJ
97402012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9741 Andreas Jaeger <aj@suse.de>
9742
9743 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9744 * configure: Regenerated.
9745 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9746 * config.make.in (link-obsolete-rpc): New substituted variable.
9747 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9748 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9749 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9750 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9751 so that libc.a contains the symbols.
9752 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9753 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9754 * sunrpc/auth_none.c: Likewise.
9755 * sunrpc/auth_unix.c: Likewise.
9756 * sunrpc/authdes_prot.c: Likewise.
9757 * sunrpc/authuxprot.c: Likewise.
9758 * sunrpc/clnt_gen.c: Likewise.
9759 * sunrpc/clnt_perr.c: Likewise.
9760 * sunrpc/clnt_raw.c: Likewise.
9761 * sunrpc/clnt_simp.c: Likewise.
9762 * sunrpc/clnt_tcp.c: Likewise.
9763 * sunrpc/clnt_udp.c: Likewise.
9764 * sunrpc/clnt_unix.c: Likewise.
9765 * sunrpc/des_crypt.c: Likewise.
9766 * sunrpc/des_soft.c: Likewise.
9767 * sunrpc/get_myaddr.c: Likewise.
9768 * sunrpc/key_call.c: Likewise.
9769 * sunrpc/key_prot.c: Likewise.
9770 * sunrpc/netname.c: Likewise.
9771 * sunrpc/pm_getmaps.c: Likewise.
9772 * sunrpc/pm_getport.c: Likewise.
9773 * sunrpc/pmap_clnt.c: Likewise.
9774 * sunrpc/pmap_prot.c: Likewise.
9775 * sunrpc/pmap_prot2.c: Likewise.
9776 * sunrpc/pmap_rmt.c: Likewise.
9777 * sunrpc/publickey.c: Likewise.
9778 * sunrpc/rpc_cmsg.c: Likewise.
9779 * sunrpc/rpc_common.c: Likewise.
9780 * sunrpc/rpc_dtable.c: Likewise.
9781 * sunrpc/rpc_prot.c: Likewise.
9782 * sunrpc/rpc_thread.c: Likewise.
9783 * sunrpc/rtime.c: Likewise.
9784 * sunrpc/svc.c: Likewise.
9785 * sunrpc/svc_auth.c: Likewise.
9786 * sunrpc/svc_raw.c: Likewise.
9787 * sunrpc/svc_run.c: Likewise.
9788 * sunrpc/svc_tcp.c: Likewise.
9789 * sunrpc/svc_udp.c: Likewise.
9790 * sunrpc/svc_unix.c: Likewise.
9791 * sunrpc/svcauth_des.c: Likewise.
9792 * sunrpc/xcrypt.c: Likewise.
9793 * sunrpc/xdr.c: Likewise.
9794 * sunrpc/xdr_array.c: Likewise.
9795 * sunrpc/xdr_float.c: Likewise.
9796 * sunrpc/xdr_intXX_t.c: Likewise.
9797 * sunrpc/xdr_mem.c: Likewise.
9798 * sunrpc/xdr_rec.c: Likewise.
9799 * sunrpc/xdr_ref.c: Likewise.
9800 * sunrpc/xdr_sizeof.c: Likewise.
9801 * sunrpc/xdr_stdio.c: Likewise.
9802
b5c086a2
RM
98032012-05-10 Roland McGrath <roland@hack.frob.com>
9804
9805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9806 change. Update copyright years.
9807
6d74dd09
JM
98082012-05-10 Joseph Myers <joseph@codesourcery.com>
9809
9810 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9811
28e72501
MK
98122012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9813 Joseph Myers <joseph@codesourcery.com>
9814 Paul Pluzhnikov <ppluzhnikov@google.com>
9815
9816 [BZ #14012]
9817 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9818 requiring rpcgen.
9819 [cross-compiling] (extra-libs): Likewise.
9820 [cross-compiling] (extra-libs-others): Likewise.
9821 [cross-compiling] (librpcsvc-routines): Likewise.
9822 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9823 [cross-compiling] (omit-deps): Likewise.
9824 (sunrpc-CPPFLAGS): New variable.
9825 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9826 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9827 (cross-rpcgen-objs): New variable.
9828 (extra-objs): Append $(cross-rpcgen-objs).
9829 ($(cross-rpcgen-objs)): New rule.
9830 ($(objpfx)cross-rpcgen): Likewise.
9831 (rpcgen-cmd): Define to use $(built-program-file). Expand
9832 comment.
9833 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9834 ($(objpfx)x%.stmp): Likewise.
9835 * sunrpc/proto.h [IS_IN_build] (_): Define.
9836 [IS_IN_build] (_libc_intl_domainname): Likewise.
9837
c8c59454
L
98382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9839
9840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9841 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9842 and R_X86_64_TPOFF64.
9843
6f27cd16
JM
98442012-05-10 Joseph Myers <joseph@codesourcery.com>
9845
9846 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9847 sysdeps/unix/sysv/syscalls.list.
9848 (stime): Likewise.
9849 (utime): Likewise.
9850 * sysdeps/unix/sysv/syscalls.list: Remove file.
9851
02467e1c
PE
98522012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9853
9854 [BZ #3440]
9855 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9856 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9857 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9858 (__LC_IDENTIFICATION): Make these macros useful in #if
9859 expressions, as required by C99.
9860
da392631
AS
98612012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9862
9863 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9864 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9865 after this.
9866
8115f29b
L
98672012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9868
9869 * stdlib/longlong.h: Updated from GCC.
9870
bdd74070
AJ
98712012-05-09 Andreas Jaeger <aj@suse.de>
9872
edfe0dbe
AJ
9873 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9874 default is first entry.
9875 (run_mode): Set type.
9876 (main): Remove informal message about syslog.
9877 (options): Fix typo.
9878
bcfe3a54
ST
9879 [BZ #14053]
9880 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9881 to asm.
bcfe3a54
ST
9882 (lrint): Likewise.
9883 (llrintf): Likewise.
9884 (llrint): Likewise.
9885 (rint): Likewise.
9886 (rintf): Likewise.
9887 (nearbyint): Likewise.
9888 (nearbyintf): Likewise.
bdd74070 9889
91d8d69e
AJ
98902012-05-09 Andreas Jaeger <aj@suse.de>
9891 Pedro Alves <palves@redhat.com>
9892
9893 * nscd/nscd.c (run_mode): Use enum.
9894 (main): Cleanup coding style issue.
9895
bb90b80b
AJ
98962012-05-09 Alexandre Oliva <aoliva@redhat.com>
9897 Andreas Jaeger <aj@suse.de>
9898
bcfe3a54
ST
9899 * nscd/nscd.c (go_background): Replaced with...
9900 (run_mode): ... this.
bb90b80b 9901 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9902 (options): Add -F --foreground.
9903 (main): Implement it.
9904 (parse_opt): Parse it.
bb90b80b 9905
1a4b75a1
AJ
99062012-05-09 Andreas Jaeger <aj@suse.de>
9907
9908 [BZ #14083]
9909 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9910 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9911 -Wconversion warning.
9912 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9913 Likewise.
9914
b1cc2472
JM
99152012-05-09 Joseph Myers <joseph@codesourcery.com>
9916
9917 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9918 == 0.
9919 (LC_ALL): Use macro-int-constant.
9920 (LC_COLLATE): Likewise.
9921 (LC_CTYPE): Likewise.
9922 (LC_MESSAGES): Likewise.
9923 (LC_MONETARY): Likewise.
9924 (LC_NUMERIC): Likewise.
9925 (LC_TIME): Likewise.
9926 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9927 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9928 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9929 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9930 Specify type.
9931 [C99-based standards] (float_t): Expect type.
9932 [C99-based standards] (double_t): Expect type.
9933 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9934 type.
9935 [C99-based standards] (HUGE_VALL): Likewise.
9936 [C99-based standards] (INFINITY): Likewise.
9937 [C99-based standards] (NAN): Likewise.
9938 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9939 [C99-based standards] (FP_NAN): Likewise.
9940 [C99-based standards] (FP_NORMAL): Likewise.
9941 [C99-based standards] (FP_SUBNORMAL): Likewise.
9942 [C99-based standards] (FP_ZERO): Likewise.
9943 [C99-based standards] (FP_FAST_FMA): Use
9944 optional-macro-int-constant. Specify type. Require == 1.
9945 [C99-based standards] (FP_FAST_FMAF): Likewise.
9946 [C99-based standards] (FP_FAST_FMAL): Likewise.
9947 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9948 [C99-based standards] (FP_ILOGBNAN): Likewise.
9949 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9950 Specify type.
9951 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9952 [C99-based standards] (math_errhandling): Specify type.
9953 [ISO99 || ISO11] (signgam): Do not allow.
9954 [non-C99-based standards] (copysignf): Do not allow.
9955 [non-C99-based standards] (exp2f): Likewise.
9956 [non-C99-based standards] (log2f): Likewise.
9957 [non-C99-based standards] (modff): Allow.
9958 [non-C99-based standards] (erff): Do not allow.
9959 [non-C99-based standards] (erfcf): Likewise.
9960 [non-C99-based standards] (gammaf): Likewise.
9961 [non-C99-based standards] (hypotf): Likewise.
9962 [non-C99-based standards] (j0f): Likewise.
9963 [non-C99-based standards] (j1f): Likewise.
9964 [non-C99-based standards] (jnf): Likewise.
9965 [non-C99-based standards] (lgammaf): Likewise.
9966 [non-C99-based standards] (tgammaf): Likewise.
9967 [non-C99-based standards] (y0f): Likewise.
9968 [non-C99-based standards] (y1f): Likewise.
9969 [non-C99-based standards] (ynf): Likewise.
9970 [non-C99-based standards] (isnanf): Likewise.
9971 [non-C99-based standards] (acoshf): Likewise.
9972 [non-C99-based standards] (asinhf): Likewise.
9973 [non-C99-based standards] (atanhf): Likewise.
9974 [non-C99-based standards] (cbrtf): Likewise.
9975 [non-C99-based standards] (expm1f): Likewise.
9976 [non-C99-based standards] (ilogbf): Likewise.
9977 [non-C99-based standards] (log1pf): Likewise.
9978 [non-C99-based standards] (logbf): Likewise.
9979 [non-C99-based standards] (nextafterf): Likewise.
9980 [non-C99-based standards] (remainderf): Likewise.
9981 [non-C99-based standards] (rintf): Likewise.
9982 [non-C99-based standards] (scalbf): Likewise.
9983 [non-C99-based standards] (copysignl): Likewise.
9984 [non-C99-based standards] (exp2l): Likewise.
9985 [non-C99-based standards] (log2l): Likewise.
9986 [non-C99-based standards] (modfl): Allow.
9987 [non-C99-based standards] (erfl): Do not allow.
9988 [non-C99-based standards] (erfcl): Likewise.
9989 [non-C99-based standards] (gammal): Likewise.
9990 [non-C99-based standards] (hypotl): Likewise.
9991 [non-C99-based standards] (j0l): Likewise.
9992 [non-C99-based standards] (j1l): Likewise.
9993 [non-C99-based standards] (jnl): Likewise.
9994 [non-C99-based standards] (lgammal): Likewise.
9995 [non-C99-based standards] (tgammal): Likewise.
9996 [non-C99-based standards] (y0l): Likewise.
9997 [non-C99-based standards] (y1l): Likewise.
9998 [non-C99-based standards] (ynl): Likewise.
9999 [non-C99-based standards] (isnanl): Likewise.
10000 [non-C99-based standards] (acoshl): Likewise.
10001 [non-C99-based standards] (asinhl): Likewise.
10002 [non-C99-based standards] (atanhl): Likewise.
10003 [non-C99-based standards] (cbrtl): Likewise.
10004 [non-C99-based standards] (expm1l): Likewise.
10005 [non-C99-based standards] (ilogbl): Likewise.
10006 [non-C99-based standards] (log1pl): Likewise.
10007 [non-C99-based standards] (logbl): Likewise.
10008 [non-C99-based standards] (nextafterl): Likewise.
10009 [non-C99-based standards] (remainderl): Likewise.
10010 [non-C99-based standards] (rintl): Likewise.
10011 [non-C99-based standards] (scalbl): Likewise.
10012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10013 [non-C99-based standards] (FP_*): Do not allow.
10014 [C99-based standards] (FP_*): Change to
10015 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10016 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10017 allow.
10018 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10019 (SIG_ERR): Likewise.
10020 [X/Open-based standards] (SIG_HOLD): Likewise.
10021 (SIG_IGN): Likewise.
10022 (SIGABRT): Use macro-int-constant. Specify type. Require
10023 positive value.
10024 (SIGFPE): Likewise.
10025 (SIGILL): Likewise.
10026 (SIGINT): Likewise.
10027 (SIGSEGV): Likewise.
10028 (SIGTER): Likewise.
10029 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10030 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10031 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10032 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10033 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10034 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10035 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10036 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10037 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10038 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10039 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10040 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10041 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10042 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10043 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10044 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10045 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10046 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10047 [X/Open-based standards] (SIGTRAP): Likewise.
10048 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10049 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10050 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10051 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10052 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10053 allow.
10054
b9f1922d
IW
100552012-05-08 Ian Wienand <ianw@vmware.com>
10056
10057 [BZ #14080]
10058 * time/tzset.c (__tzset_parse_tz): Update default rules for
10059 daylight time changes in the Energy Policy Act of 2005.
10060
1db86e88
AJ
100612012-05-09 Andreas Jaeger <aj@suse.de>
10062
10063 [BZ #13983]
10064 * elf/ldconfig.c (parse_conf): Change string to make clear that
10065 ldconfig only issued a warning if ld.so.conf does not exist.
10066
dee4a4e3
DM
100672012-05-08 David S. Miller <davem@davemloft.net>
10068
ee0db190
DM
10069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10070 movxtod instead of popping the value on the stack.
10071
dee4a4e3
DM
10072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10073
6a43ec98
CD
100742012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10075
10076 * config.h.in: Add HAVE_ARM_PCS_VFP.
10077
05c2c961
RMG
100782012-05-08 Roland Mc Grath <roland@hack.frob.com>
10079
bcfe3a54
ST
10080 [BZ #13979]
10081 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10082 checking but the checks are disabled for any reason.
05c2c961 10083
4b30f61a
L
100842012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10085
10086 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10087 and ELF64_R_TYPE with ELFW(R_TYPE).
10088
eee2bc67
JM
100892012-05-08 Joseph Myers <joseph@codesourcery.com>
10090
7ea5391a
JM
10091 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10092 (ulimit): Likewise.
10093
eee2bc67
JM
10094 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10095 (settimeofday): Likewise.
10096
abb66a67
MF
100972012-05-08 Mike Frysinger <vapier@gentoo.org>
10098
10099 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10100 a struct th_u2 inside the union, and move tu_block/tu_code into
10101 a new th_u3 union of tu_block/tu_code inside of that. Move
10102 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10103 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10104 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10105 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10106 (th_stuff): Change to th_u1.tu_stuff.
10107 (th_data): Define.
10108 (th_msg): Change to th_u1.th_u2.tu_data.
10109
7f18b530
DM
101102012-05-07 David S. Miller <davem@davemloft.net>
10111
05760585
DM
10112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10113
7f18b530
DM
10114 [BZ #14074]
10115 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10116 (SETUP_PIC_REG): Use it.
10117 (SETUP_PIC_REG_LEAF): Use it.
10118
495fd99f
JM
101192012-05-07 Joseph Myers <joseph@codesourcery.com>
10120
10121 [BZ #13885]
10122 [BZ #13923]
10123 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10124 USE_AS_EXPM1L.
10125 (EXPL_FINITE): Likewise.
10126 (FLDLOG): Likewise.
10127 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10128 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10129 e_expl.S.
10130 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10131 USE_AS_EXPM1L.
10132 (EXPL_FINITE): Likewise.
10133 (FLDLOG): Likewise.
10134 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10135 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10136 e_expl.S.
10137 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10138 test of -max_value argument for long double.
10139 * sysdeps/i386/fpu/libm-test-ulps: Update.
10140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10141
6693d694
DM
101422012-05-06 David S. Miller <davem@davemloft.net>
10143
10144 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10145 quad soft-float symbols whose references which are compiler
10146 generated.
10147 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10148
6c23e11c
JM
101492012-05-06 Joseph Myers <joseph@codesourcery.com>
10150
d8b82cad
JM
10151 [BZ #13884]
10152 [BZ #13914]
10153 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10154 USE_AS_EXP10L.
10155 (EXPL_FINITE): Likewise.
10156 (FLDLOG): Likewise.
10157 (c0): Likewise.
10158 (c1): Likewise.
10159 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10160 Adjust comments for base varying.
10161 (__expl_finite): Change alias to EXPL_FINITE.
10162 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10163 e_expl.S.
10164 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10165 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10167 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10168 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10169 USE_AS_EXP10L.
10170 (EXPL_FINITE): Likewise.
10171 (FLDLOG): Likewise.
10172 (c0): Likewise.
10173 (c1): Likewise.
10174 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10175 Adjust comments for base varying.
10176 (__expl_finite): Change alias to EXPL_FINITE.
10177 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10178 tests for bugs.
10179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10180
6c23e11c
JM
10181 [BZ #14064]
10182 * math/libm-test.inc (check_float_internal): Correct ulp
10183 calculation for subnormal expected results.
10184
29ba805c
AJ
101852012-05-06 Andreas Jaeger <aj@suse.de>
10186
10187 * Makeconfig (+math-flags): New, set to -frounding-math.
10188 (+cflags): Add +math-flags so that all of glibc gets compiled with
10189 it.
10190
10191 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10192
7b17aeda
JM
101932012-05-05 Joseph Myers <joseph@codesourcery.com>
10194
5779f134
JM
10195 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10196 Disable one test.
10197
41498f4d
JM
10198 [BZ #13787]
10199 [BZ #13922]
10200 [BZ #14036]
10201 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10202 (__ieee754_expl): Allow for and saturate large arguments.
10203 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10204 (u_threshold): Likewise.
10205 (__exp): Call __ieee754_exp before checking for overflow and
10206 underflow.
10207 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10208 (u_threshold): Likewise.
10209 (__expf): Call __ieee754_expf before checking for overflow and
10210 underflow.
10211 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10212 (u_threshold): Likewise.
10213 (__expl): Call __ieee754_expl before checking for overflow and
10214 underflow.
10215 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10216 (__ieee754_expl): Allow for and saturate large arguments.
10217 * math/libm-test.inc (exp_test): Add another test. Do not allow
10218 missing overflow exception on overflow.
10219 (expm1_test): Do not allow missing overflow exception on overflow.
10220
6698b8bf
JM
10221 * sysdeps/i386/fpu/e_expl.c: Move to ...
10222 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10223 rather than using inline asm.
10224 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10225 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10226 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10227
7b17aeda
JM
10228 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10229 (nice): Likewise.
10230 (poll): Likewise.
10231 (signal): Likewise.
10232 (time): Likewise.
10233 (times): Likewise.
10234
f7c85819
JM
102352012-05-04 Joseph Myers <joseph@codesourcery.com>
10236
10237 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10238 sysdeps/unix/common/syscalls.list.
10239 (fchmod): Likewise.
10240 (fchown): Likewise.
10241 (ftruncate): Likewise.
10242 (getrusage): Likewise.
10243 (gettimeofday): Likewise.
10244 (setpgid): Likewise.
10245 (setregid): Likewise.
10246 (setreuid): Likewise.
10247 (sigaction): Likewise.
10248 (truncate): Likewise.
10249 (vhangup): Likewise.
10250 * sysdeps/unix/common/syscalls.list: Remove file.
10251 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10252 * sysdeps/unix/sysv/linux/Implies: Likewise.
10253
336270d0
L
102542012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10255
10256 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10258 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10259 Moved to ...
10260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10261 Here.
10262 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10263 to ...
10264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10265 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10266 to ...
10267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10268 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10269 to ...
10270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10271 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10272 to ...
10273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10274 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10275 to ...
10276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10277 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10278 to ...
10279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10280 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10281 to ...
10282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10283 Here.
10284 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10285 to ...
10286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10287 Here.
10288 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10289 to ...
10290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10291 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10292 Moved to ...
10293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10294 Here.
10295 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10296 to ...
10297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10298
d128e450
JM
102992012-05-04 Joseph Myers <joseph@codesourcery.com>
10300
fa8ee516
JM
10301 * sysdeps/unix/common/bits/dirent.h: Remove file.
10302 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10303
d128e450
JM
10304 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10305 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10306 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10307 * sysdeps/unix/bsd/isatty.c: Likewise.
10308 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10309 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10310 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10311
ff8faaf0 103122012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10313
62881be4 10314 [BZ #13563]
31dc8730
AZ
10315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10316 long double comparison inaccuracies.
10317 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10319
6fef930c
AS
103202012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10321
10322 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10324
8f203e6c
JM
103252012-05-04 Joseph Myers <joseph@codesourcery.com>
10326
10327 [BZ #14049]
10328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10329 nonzero digits before rounding a hex value.
10330 * stdlib/tst-strtod.c (tests): Add another test.
10331
5197d9c2
AK
103322012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10333
10334 * sysdeps/s390/fpu/libm-test-ulps: Update.
10335
f0c1dedf
AJ
103362012-05-03 Andreas Jaeger <aj@suse.de>
10337
10338 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10339 does not get optimized out.
10340 (malloc_opt_barrier): New.
10341
a65ef2ae 103422012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10343 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10344
2b942cb7 10345 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10346 intermediate file deletion.
2b942cb7 10347 (generated): Add .symlist files.
a65ef2ae 10348
54b71e02
JM
103492012-05-03 Joseph Myers <joseph@codesourcery.com>
10350
10351 [BZ #13775]
10352 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10353 Redirect under this condition.
10354 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10355 [__USE_GNU] (__dprintf_chk): Not under this condition.
10356 [__USE_GNU] (__vdprintf_chk): Likewise.
10357 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10358 under this condition.
10359 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10360 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10361 [__USE_XOPEN2K8] (vdprintf): Likewise.
10362 [__USE_GNU] (__dprintf_chk): Not under this condition.
10363 [__USE_GNU] (__vdprintf_chk): Likewise.
10364 [__USE_GNU] (dprintf): Likewise.
10365 [__USE_GNU] (vdprintf): Likewise.
10366
d3dfcc41
RM
103672012-05-03 Roland McGrath <roland@hack.frob.com>
10368
10369 * elf/Makefile (common-generated): Set this instead of generated for
10370 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10371 $(all-built-dso)-derived lists.
10372
7ac30cc5
AJ
103732012-05-03 Andreas Jaeger <aj@suse.de>
10374
0c51e550
AJ
10375 * sysdeps/i386/fpu/libm-test-ulps: Update.
10376
7ac30cc5
AJ
10377 * FAQ: Removed.
10378 * FAQ.in: Likewise.
10379 * scripts/gen-FAQ.pl: Likewise.
10380 * manual/install.texi (Installation): Point to online location of
10381 FAQ.
10382 * Makefile (files-for-dist): Remove FAQ.
10383 (FAQ): Remove.
10384
d4c2917f
AM
103852012-05-02 Allan McRae <allan@archlinux.org>
10386
10387 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10388 (LDFLAGS-reldepmod5.so): Likewise.
10389 (LDFLAGS-reldep6mod1.so): Likewise.
10390 (LDFLAGS-reldep6mod4.so): Likewise.
10391 (LDFLAGS-reldep8mod3.so): Likewise.
10392 (LDFLAGS-unload4mod1.so): Likewise.
10393 (LDFLAGS-unload4mod2.so): Likewise.
10394 (LDFLAGS-tst-initorder): Likewise.
10395 (LDFLAGS-tst-initordera2.so): Likewise.
10396 (LDFLAGS-tst-initordera3.so): Likewise.
10397 (LDFLAGS-tst-initordera4.so): Likewise.
10398 (LDFLAGS-tst-initorderb2.so): Likewise.
10399 (LDFLAGS-noload): Likewise.
10400 (LDFLAGS-next): Likewise.
10401 (LDFLAGS-order2mod1.so): Likewise.
10402 (LDFLAGS-order2mod2.so): Likewise.
10403 (LDFLAGS-tst-initorder2): Likewise.
10404 (LDFLAGS-tst-initorder2a.so): Likewise.
10405 (LDFLAGS-tst-initorder2b.so): Likewise.
10406 (LDFLAGS-tst-initorder2c.so): Likewise.
10407 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10408
d77f993f
DM
104092012-05-02 David S. Miller <davem@davemloft.net>
10410
10411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10412
171a70b4
PP
104132012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10414
10415 [BZ #14055]
10416 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10417
0be196ad
AJ
104182012-05-02 Andreas Jaeger <aj@suse.de>
10419
10420 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10421 since we manipulate rounding mode.
10422 (CPPFLAGS-test-idouble.c): Likewise.
10423 (CPPFLAGS-test-ifloat.c): Likewise.
10424 (CFLAGS-test-ldouble.c): Likewise.
10425 (CFLAGS-test-double.c): Likewise.
10426 (CFLAGS-test-float.c): Likewise.
10427 (CFLAGS-test-misc.c): Likewise.
10428 (CFLAGS-test-test-fenv.c): Likewise.
10429
4f9d04aa
AZ
104302012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10431
2b942cb7
RM
10432 [BZ #2550]
10433 [BZ #2570]
10434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10435 comparisons to determine direction to adjust input.
4f9d04aa 10436
82a79e7d
RM
104372012-05-01 Roland McGrath <roland@hack.frob.com>
10438
f5a01ca9
RM
10439 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10440 output to the target.
10441
90fe4186
RM
10442 * scripts/localplt.awk: New file.
10443 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10444 (check-localplt-CFLAGS): Variable removed.
10445 ($(all-built-dso:=.jmprel)): New static pattern rule.
10446 (generated): Add those targets.
10447 (localplt-built-dso): New variable.
10448 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10449
10450 * elf/check-localplt.c: File removed.
10451
82397ed6
RM
10452 * scripts/check-execstack.awk: New file.
10453 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10454 (check-execstack-CFLAGS): Variable removed.
10455 ($(objpfx)check-execstack.h): Target removed.
10456 ($(objpfx)execstack-default): New target.
10457 (generated): Add that instead of check-execstack.h.
10458 ($(all-built-dso:=.phdr)): New static pattern rule.
10459 (generated): Add those targets.
10460 * elf/check-execstack.c: File removed.
10461
82a79e7d
RM
10462 * scripts/check-textrel.awk: New file.
10463 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10464 (check-textrel-CFLAGS): Variable removed.
10465 (all-built-dso): Use := to define.o
10466 ($(all-built-dso:=.dyn)): New static pattern rule.
10467 (generated): Add those targets.
10468 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10469 * config.make.in (READELF): New substituted variable.
10470 * elf/check-textrel.c: File removed.
10471
62fde54f 104722012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10473
615605c9
JM
10474 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10475 allow.
10476 * conform/data/ctype.h-data [C99-based standards] (isblank):
10477 Expect function.
10478 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10479 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10481 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10482 Specify type. Require positive value.
10483 (EILSEQ): Likewise.
10484 (ERANGE): Likewise.
10485 [ISO || POSIX] (EILSEQ): Do not expect.
10486 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10487 Specify type. Require positive value.
10488 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10490 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10492 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10493 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10496 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10497 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10499 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10500 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10501 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10502 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10503 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10504 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10505 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10506 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10507 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10524 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10537 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10538 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10539 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10540 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10541 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10542 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10543 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10544 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10545 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10546 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10547 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10548 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10549 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10550 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10551 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10552 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10553 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10554 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10555 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10556 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10557 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10558 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10559 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10560 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10561 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10562 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10563 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10564 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10565 Require >= 2.
10566 (FLT_ROUNDS): Expect as macro, not constant.
10567 (FLT_MANT_DIG): Use macro-int-constant.
10568 (DBL_MANT_DIG): Likewise.
10569 (LDBL_MANT_DIG): Likewise.
10570 (FLT_DIG): Likewise.
10571 (DBL_DIG): Likewise.
10572 (LDBL_DIG): Likewise.
10573 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10574 (DBL_MIN_EXP): Likewise.
10575 (LDBL_MIN_EXP): Likewise.
10576 (FLT_MAX_EXP): Use macro-int-constant.
10577 (DBL_MAX_EXP): Likewise.
10578 (LDBL_MAX_EXP): Likewise.
10579 (FLT_MAX_10_EXP): Likewise.
10580 (DBL_MAX_10_EXP): Likewise.
10581 (LDBL_MAX_10_EXP): Likewise.
10582 (FLT_MAX): Use macro-constant.
10583 (DBL_MAX): Likewise.
10584 (LDBL_MAX): Likewise.
10585 (FLT_EPSILON): Use macro-constant. Give upper bound.
10586 (DBL_EPSILON): Likewise.
10587 (LDBL_EPSILON): Likewise.
10588 (FLT_MIN): Likewise.
10589 (DBL_MIN): Likewise.
10590 (LDBL_MIN): Likewise.
10591 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10592 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10593 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10594 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10595 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10596 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10597 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10598 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10599 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10600 [ISO11] (FLT_TRUE_MIN): Likewise.
10601 [ISO11] (LDBL_TRUE_MIN): Likewise.
10602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10603 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10604 (SCHAR_MIN): Use macro-int-constant. Specify type.
10605 (SCHAR_MAX): Likewise.
10606 (UCHAR_MAX): Likewise.
10607 (CHAR_MIN): Likewise.
10608 (CHAR_MAX): Likewise.
10609 (MB_LEN_MAX): Use macro-int-constant.
10610 (SHRT_MIN): Use macro-int-constant. Specify type.
10611 (SHRT_MAX): Likewise.
10612 (USHRT_MAX): Likewise.
10613 (INT_MAX): Likewise.
10614 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10615 bound negative.
10616 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10617 bound with "U".
10618 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10619 bound with "L".
10620 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10621 bound negative. Suffix upper bound with "L".
10622 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10623 bound with "UL".
10624 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10625 Specify type.
10626 [C99-based standards] (LLONG_MAX): Likewise.
10627 [C99-based standards] (ULLONG_MAX): Likewise.
10628 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10629 == 0.
10630 [ISO11] (max_align_t): Require type.
10631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10632
c9140a62
JM
10633 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10634 from $CFLAGS, without defining away __attribute__ calls.
10635 (checknamespace): Use $CFLAGS_namespace.
10636
9af0bf29
JM
10637 * conform/conformtest.pl (@keywords): Only include C99 keywords
10638 for standards based on C99 or C11.
10639
343222a2
JM
10640 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10641 Disable tests.
10642 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10643 UNIX98]: Likewise.
10644
661f8cf0
JM
10645 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10646 usability of symbols in #if.
10647
ee74b9cb
JM
10648 * conform/conformtest.pl: If macro or constant types start
10649 "promoted:", expect the symbol to be of the following type
10650 promoted by the integer promotions.
62fde54f 10651
aafc49b3
JM
10652 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10653 in one place. Also handle "macro-constant".
10654
fefdf574
JM
10655 * conform/conformtest.pl: Only accept expected macro values with
10656 "==". Parse all "macro" lines in one place.
10657 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10658
f2d922fe
JM
10659 * conform/conformtest.pl: Handle braced types on "constant" lines
10660 instead of handling "typed-constant".
10661 * conform/data/signal.h-data: Use "constant" instead of
10662 "typed-constant".
10663
d22956c9
JM
10664 * conform/conformtest.pl: Handle "optional-" at start of lines in
10665 one place rather than duplicating several cases. Handle each
10666 format of "macro" line with initial "optional-".
10667
028e2e38
JM
10668 * conform/conformtest.pl: Only accept expected constant or
10669 optional-constant values with "==". Parse all "constant" lines in
10670 one place. Parse all "optional-constant" lines in one place.
10671 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10672 * conform/data/fmtmsg.h-data: Likewise.
10673 * conform/data/netinet/in.h-data: Likewise.
10674 * conform/data/tar.h-data: Likewise.
10675 * conform/data/limits.h-data: Use "==" form on "constant" and
10676 "optional-constant" lines.
10677
1b8f2850
JM
10678 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10679 Use -std=c99 for XOPEN2K.
10680 (@knownproblems): Remove.
10681 (newtoken): Don't check %isknown.
10682
a05a144b
JM
10683 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10684 Do not expect macro.
10685 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10697 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10698 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10715 [XPG3] (acosh): Likewise.
10716 [XPG3] (asinh): Likewise.
10717 [XPG3] (atanh): Likewise.
10718 [XPG3] (cbrt): Likewise.
10719 [XPG3] (expm1): Likewise.
10720 [XPG3] (ilogb): Likewise.
10721 [XPG3] (log1p): Likewise.
10722 [XPG3] (logb): Likewise.
10723 [XPG3] (nextafter): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10726 [XPG3] (remainder): Likewise.
10727 [XPG3] (rint): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10735 [UNIX98 || XOPEN2K] (scalb): Expect.
10736 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10737 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10831 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10832 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10840 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10867 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10868 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10869 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10870 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10871 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10872 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10873
73c5ebe3
JM
10874 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10875 _XOPEN_SOURCE_EXTENDED for XPG4.
10876
39c33b6c
JM
10877 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10878
62fde54f
JM
10879 * Makeconfig (localtime): Remove variable.
10880 (inst_localtime-file): Likewise.
10881
0741d64c
AS
108822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10883
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10885 Update.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10887 Update.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10889 Update.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10891 Update.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10893 Update.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10895 Update.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10897 Update.
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10899 Update.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10901 Update.
10902
7cb029ee
JM
109032012-05-01 Joseph Myers <joseph@codesourcery.com>
10904
10905 [BZ #2550]
10906 [BZ #2570]
10907 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10908 comparisons to determine direction to adjust input.
10909 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10910 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10911 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10912 Likewise.
10913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10914 Likewise.
10915 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10916 Likewise.
10917 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10918 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10919 Likewise.
10920 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10921 Likewise.
10922 * math/libm-test.inc (nexttoward_test): Add more tests.
10923
412bd966
AS
109242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10925
10926 [BZ #14040]
10927 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10928 in version GLIBC_2.1, not GLIBC_2.0.
10929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10930 Likewise.
10931
9568c0c2
JM
109322012-04-30 Joseph Myers <joseph@codesourcery.com>
10933
adfbc8ac
JM
10934 [BZ #13942]
10935 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10936 (1 - x) * (1 + x).
10937 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10938 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10939 * math/libm-test.inc (acos_test): Add more tests.
10940 (asin_test): Likewise.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10943
5ba3cc69
JM
10944 [BZ #14034]
10945 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10946 of square root.
10947 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10948 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10949 * math/libm-test.inc (acos_test_tonearest): New function.
10950 (acos_test_towardzero): Likewise.
10951 (acos_test_downward): Likewise.
10952 (acos_test_upward): Likewise.
10953 (asin_test_tonearest): Likewise.
10954 (asin_test_towardzero): Likewise.
10955 (asin_test_downward): Likewise.
10956 (asin_test_upward): Likewise.
10957 (main): Call the new functions.
10958 * sysdeps/i386/fpu/libm-test-ulps: Update.
10959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10960
9568c0c2
JM
10961 [BZ #13884]
10962 [BZ #13924]
10963 * math/e_exp10.c: Include <float.h>.
10964 (__ieee754_exp10): Handle underflow here rather than multiplying
10965 large negative argument by M_LN10.
10966 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10967 of __ieee754_expf.
10968 * math/e_exp10l.c: Include <float.h>.
10969 (__ieee754_exp10l): Handle underflow here rather than multiplying
10970 large negative argument by M_LN10l.
10971 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10972 spurious overflow exception on underflow.
10973
5ac3ea17
MP
109742012-04-29 Marek Polacek <polacek@redhat.com>
10975
10976 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10977 (__fortify_function): New macro.
10978 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10979 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10980 __extern_always_inline.
10981 * libio/bits/stdio2.h: Likewise.
10982 * libio/bits/stdio.h: Likewise.
10983 * string/string.h: Likewise.
10984 * string/bits/string3.h: Likewise.
10985 * include/stdio.h: Likewise.
10986 * stdlib/bits/stdlib.h: Likewise.
10987 * stdlib/stdlib.h: Likewise.
10988 * rt/bits/mqueue2.h: Likewise.
10989 * rt/mqueue.h: Likewise.
10990 * posix/bits/unistd.h: Likewise.
10991 * posix/unistd.h: Likewise.
10992 * io/bits/poll2.h: Likewise.
10993 * io/bits/fcntl2.h: Likewise.
10994 * io/fcntl.h: Likewise.
10995 * io/sys/poll.h: Likewise.
10996 * misc/bits/syslog.h: Likewise.
10997 * misc/bits/syslog-ldbl.h: Likewise.
10998 * misc/sys/syslog.h: Likewise.
10999 * socket/bits/socket2.h: Likewise.
11000 * socket/sys/socket.h: Likewise.
11001 * debug/tst-chk1.c: Likewise.
11002 * wcsmbs/bits/wchar2.h: Likewise.
11003 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11004 * wcsmbs/wchar.h: Likewise.
11005
ecf0ebfb
AJ
110062012-04-29 Andreas Jaeger <aj@suse.de>
11007
11008 * Makerules (tests): Remove enable-check-abi protection.
11009 (check-abi-warn): Remove.
11010 (check-abi-%): Remove check-abi-warn usage.
11011
11012 * configure.in: Remove check-abi configure option.
11013 * configure: Regenerated.
11014 * config.make.in (enable-check-abi): Remove.
11015
6d5c57fa
AS
110162012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11017
24c5d07e 11018 [BZ #14033]
ded5180a
AS
11019 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11020 double functions to double *_finite functions.
11021
7e0d315d
AS
11022 [BZ #13941]
11023 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11024 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11025 LDBL_MIN_EXP.
11026 * stdio-common/Makefile (tests): Add tst-sprintf3.
11027 * stdio-common/tst-sprintf3.c: New file.
11028
6d5c57fa
AS
11029 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11030 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11031
0749ff8b
JM
110322012-04-28 Joseph Myers <joseph@codesourcery.com>
11033
11034 * conform/conformtest.pl: Remove duplicate typed-constant
11035 handling.
11036
8dbd5d7b
DM
110372012-04-28 David S. Miller <davem@davemloft.net>
11038
11039 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11040 (check-abi-%): Remove AWK script prerequisite and explicit
11041 abilist directory.
11042 (check-abi): Rewrite to just diff the symlist with the abilist.
11043 (config-tls, config-abi-config): Delete, no longer used.
11044 (update-abi-%): Remove AWK script and explicit abilist directory.
11045 (update-abi): Rewrite to simply compare and conditionally copy the
11046 symlist and the sysdep abilist file. Remove update-abi-config
11047 checks.
11048 * abilist/ld.abilist: Remove.
11049 * abilist/libBrokenLocale.abilist: Remove.
11050 * abilist/libanl.abilist: Remove.
11051 * abilist/libcrypt.abilist: Remove.
11052 * abilist/libdl.abilist: Remove.
11053 * abilist/librt.abilist: Remove.
11054 * abilist/libthread_db.abilist: Remove.
11055 * abilist/libutil.abilist: Remove.
11056 * scripts/extract-abilist.awk: Remove.
11057 * scripts/merge-abilist.awk: Remove.
11058 * sysdeps/generic/libcidn.abilist: New file.
11059 * sysdeps/generic/libnss_compat.abilist: New file.
11060 * sysdeps/generic/libnss_db.abilist: New file.
11061 * sysdeps/generic/libnss_dns.abilist: New file.
11062 * sysdeps/generic/libnss_files.abilist: New file.
11063 * sysdeps/generic/libnss_hesiod.abilist: New file.
11064 * sysdeps/generic/libnss_nis.abilist: New file.
11065 * sysdeps/generic/libnss_nisplus.abilist: New file.
11066 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11067 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11068 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11069 file.
11070 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11071 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11072 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11073 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11074 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11075 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11076 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11077 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11078 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11079 file.
11080 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11081 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11082 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11083 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11084 file.
11085 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11086 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11087 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11088 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11089 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11090 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11091 file.
11092 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11093 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11094 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11095 file.
11096 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11098 New file.
11099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11100 New file.
11101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11102 New file.
11103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11104 New file.
11105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11106 New file.
11107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11108 New file.
11109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11110 New file.
11111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11112 New file.
11113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11114 New file.
11115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11116 New file.
11117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11118 New file.
11119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11120 New file.
11121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11122 New file.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11124 file.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11126 New file.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11128 New file.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11130 file.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11132 New file.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11134 New file.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11136 file.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11138 New file.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11140 New file.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11142 New file.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11144 New file.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11146 New file.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11148 New file.
11149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11151 file.
11152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11153 New file.
11154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11155 file.
11156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11157 file.
11158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11159 file.
11160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11161 file.
11162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11163 file.
11164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11165 New file.
11166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11167 file.
11168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11169 file.
11170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11171 New file.
11172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11173 file.
11174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11176 file.
11177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11178 New file.
11179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11180 file.
11181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11182 file.
11183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11184 file.
11185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11186 file.
11187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11188 file.
11189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11190 New file.
11191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11192 file.
11193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11194 file.
11195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11196 New file.
11197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11198 file.
11199 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11200 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11201 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11202 file.
11203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11204 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11205 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11206 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11207 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11208 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11209 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11210 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11211 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11212 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11215 file.
11216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11217 New file.
11218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11219 file.
11220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11221 file.
11222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11223 file.
11224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11225 file.
11226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11227 file.
11228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11229 New file.
11230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11231 New file.
11232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11233 file.
11234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11235 New file.
11236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11237 file.
11238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11240 file.
11241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11242 New file.
11243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11244 file.
11245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11246 file.
11247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11248 file.
11249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11250 file.
11251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11252 file.
11253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11254 New file.
11255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11256 New file.
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11258 file.
11259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11260 New file.
11261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11262 file.
11263
41d73a1b
JM
112642012-04-28 Joseph Myers <joseph@codesourcery.com>
11265
11266 * conform/conformtest.pl: Fix typo in handling typed-constant from
11267 allow-header.
11268
28aeeda4
JM
112692012-04-27 Joseph Myers <joseph@codesourcery.com>
11270
adae8f5e
JM
11271 * README: Cut down references to pre-2.6 Linux kernels and
11272 Linuxthreads. Update lists of configurations in libc and ports
11273 and sort alphabetically. Say "or newer" with Linux kernel version
11274 requirements.
11275
28aeeda4
JM
11276 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11277
a462cb63
RA
112782012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11279
11280 [BZ #887]
11281 * math/libm-test.inc (logb_test_downward): New test to expose
11282 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11283 rounding mode.
11284
6ad3493e
JM
112852012-04-27 Joseph Myers <joseph@codesourcery.com>
11286
11287 [BZ #14027]
11288 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11289 to be done.
11290 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11291 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11292
2ce4f015
JM
112932012-04-26 Joseph Myers <joseph@codesourcery.com>
11294
5aeb141a
JM
11295 * sysdeps/unix/i386/brk.S: Remove file.
11296 * sysdeps/unix/i386/dl-brk.S: Likewise.
11297 * sysdeps/unix/i386/pipe.S: Likewise.
11298 * sysdeps/unix/i386/sigreturn.S: Likewise.
11299 * sysdeps/unix/i386/syscall.S: Likewise.
11300 * sysdeps/unix/i386/vfork.S: Likewise.
11301 * sysdeps/unix/i386/wait.S: Likewise.
11302
7143acae
JM
11303 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11304 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11305
2ce4f015
JM
11306 * configure.in (arm*-none*): Do not allow without
11307 --enable-hacker-mode.
11308 (netbsd*): Remove case setting base_os.
11309 (386bsd*): Likewise.
11310 (freebsd*): Likewise.
11311 (bsdi*): Likewise.
11312 (osf*): Likewise.
11313 (sunos*): Likewise.
11314 (ultrix*): Likewise.
11315 (newsos*): Likewise.
11316 (dynix*): Likewise.
11317 (*bsd*): Likewise.
11318 (sysv*): Likewise.
11319 (isc*): Likewise.
11320 (esix*): Likewise.
11321 (sco*): Likewise.
11322 (minix*): Likewise.
11323 (irix4*): Likewise.
11324 (irix6*): Likewise.
11325 (solaris[2-9]*): Likewise.
11326 (none): Likewise.
11327 * configure: Regenerated.
11328
0ac229c8
AZ
113292012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11330
11331 [BZ #11521]
11332 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11333 overflow or cancellation in calculating denominator.
11334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11336 down expression to avoid unexpected rounding in newer GCCs.
11337 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11338
33f244f4
DM
113392012-04-26 David S. Miller <davem@davemloft.net>
11340
11341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11342 long-double compat symbols.
11343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11356
cfa1f3e8
DM
113572012-04-25 David S. Miller <davem@davemloft.net>
11358
11359 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11360 HWCAP_* values only after the memory barriers have been defined.
11361 (atomic_full_barrier): Define.
11362 (atomic_read_barrier): Define.
11363 (atomic_write_barrier): Define.
11364
6e236b92
SP
113652012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11366
11367 * shlib-versions: Add libgcc_s version information.
11368 * sysdeps/generic/libgcc_s.h: Remove.
11369 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11370 libgcc_s.h.
11371 * sysdeps/gnu/unwind-resume.c: Likewise.
11372 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11373
aab39a09
DM
113742012-04-25 David S. Miller <davem@davemloft.net>
11375
11376 * sysdeps/unix/sparc/brk.S: Delete.
11377 * sysdeps/unix/sparc/dl-brk.S: Delete.
11378 * sysdeps/unix/sparc/pipe.S: Delete.
11379 * sysdeps/unix/sparc/sysdep.S: Delete.
11380 * sysdeps/unix/sparc/sysdep.h: Delete.
11381 * sysdeps/unix/sparc/vfork.S: Delete.
11382 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11383 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11385 ret_ERRVAL, r0, r1, MOVE): Define.
11386 (JUMPTARGET): Remove.
11387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11388 sysdeps/unix/sparc/sysdep.h
11389 (ENTRY, END): Remove.
11390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11391
a3cc4f48
JM
113922012-04-25 Joseph Myers <joseph@codesourcery.com>
11393
2ed8cda2
JM
11394 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11395 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11396 -DIS_IN_build.
11397
35d76d59
JM
11398 * timezone/README: Update upstream location and email address for
11399 tzcode and tzdata.
11400 * timezone/zdump.c: Update from tzcode 2012b.
11401 * timezone/zic.c: Likewise.
11402
a3cc4f48
JM
11403 * configure.in (libc_cv_as_needed): Remove test.
11404 * configure: Regenerated.
11405 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11406 conditional definition.
11407 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11408 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11409 * config.make.in (have-as-needed): Remove variable.
11410
ceab42c3
SP
114112012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11412 Paul Pluzhnikov <ppluzhnikov@google.com>
11413
11414 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11415 strings correctly.
11416
3ce2865f
CLT
114172012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11418
11419 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11420 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11421 * sysdeps/sh/strlen.S: Likewise.
11422
f37e0d68
JM
114232012-04-24 Joseph Myers <joseph@codesourcery.com>
11424
ae186e9a
JM
11425 * sysdeps/unix/fork.S: Remove file.
11426 * sysdeps/unix/i386/fork.S: Likewise.
11427 * sysdeps/unix/sparc/fork.S: Likewise.
11428
b96914af
JM
11429 * sysdeps/unix/system.c: Remove file.
11430 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11431
f37e0d68
JM
11432 * sysdeps/unix/getegid.S: Remove file.
11433 * sysdeps/unix/geteuid.S: Likewise.
11434
87ef29ca
RM
114352012-04-24 Roland McGrath <roland@hack.frob.com>
11436
83bcd236
RM
11437 * scripts/check-localplt.awk: New file.
11438 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11439 of diff.
11440 * scripts/data/localplt-generic.data: Add a comment.
11441
87ef29ca
RM
11442 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11443 NODE when __dir_mkfile failed.
11444 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11445 Reported by Ludovic Courtès <ludo@gnu.org>.
11446
e5a6e567
AJ
114472012-04-24 Andreas Jaeger <aj@suse.de>
11448
11449 * Makerules (common-clean): Also remove gen-as-const-headers
11450 files.
11451
c1820385
JM
114522012-04-24 Joseph Myers <joseph@codesourcery.com>
11453
11454 * Makerules (native-compile): Do not change working directory for
11455 build. Use $(OUTPUT_OPTION) in command.
11456 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11457
94e02fc4
AZ
114582012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11459
11460 [BZ #13886]
11461 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11462 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11463 * math/libm-test.inc (floor_test): Add more tests.
11464 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11465
3a533ca3
JM
114662012-04-24 Joseph Myers <joseph@codesourcery.com>
11467
940ab4b3
JM
11468 * sysdeps/unix/getdents.c: Remove file.
11469 * sysdeps/unix/sysv/getdents.c: Likewise.
11470 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11471
90e037bd
JM
11472 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11473 sysdeps/unix/mman/syscalls.list.
11474 (mmap): Likewise.
11475 (mprotect): Likewise.
11476 (msync): Likewise.
11477 (munmap): Likewise.
11478 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11479 * sysdeps/unix/mman/syscalls.list: Remove.
11480 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11481
3a533ca3
JM
11482 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11483 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11484 * configure: Regenerated.
11485 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11486 $(libgcc_s_suffix).
11487 * config.make.in (libgcc_s_suffix): Remove variable.
11488
1ad743de
JM
114892012-04-23 Joseph Myers <joseph@codesourcery.com>
11490
4ad451e2
JM
11491 * sysdeps/unix/sysv/gethostname.c: Move to ...
11492 * sysdeps/posix/gethostname.c: ... here.
11493
5e37ce39
JM
11494 * sysdeps/unix/execve.S: Remove file.
11495
1ad743de
JM
11496 * sysdeps/unix/_exit.S: Remove file.
11497
4e681b5b
AJ
114982012-04-23 Andreas Jaeger <aj@suse.de>
11499
11500 [BZ #13739]
11501 * manual/Makefile: Remove make dist support, there's no
11502 need for a stand-alone documentation tar ball.
11503 (TEXI2DVI): Define always, it's not in Makeconfig.
11504 (dist): Removed.
11505 (tar-it): Removed.
11506 (edition): Removed.
11507 (glibc-doc-$(edition).tar): Removed
11508 (%.Z): Removed.
11509 (%.gz): Removed.
11510 (%.uu): Removed.
11511 (ETAGS): Remove, it's in Makeconfig.
11512 (move-if-change): Remove, it's in Makeconfig.
11513
c0baea34
PE
115142013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11515
11516 [BZ #13970]
11517 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11518 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11519 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11520 (strtod_l, strtof_l, strtold_l): Remove __wur.
11521 It is not necessarily an error to ignore strtol's return value.
11522 One can reliably look at the stored endptr to decide whether
11523 the number had valid syntax.
11524
7c0616fa
AJ
115252012-04-21 Andreas Jaeger <aj@suse.de>
11526
803cb6b7 11527 [BZ #13739]
7c0616fa
AJ
11528 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11529
b0fe253f
JM
115302012-04-21 Joseph Myers <joseph@codesourcery.com>
11531
11532 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11533 * sysdeps/unix/sysv/Versions: Remove file.
11534
8280f22d
MT
115352012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11536
11537 [BZ #13927]
11538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11539
75ce411f 115402012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11541
11542 [BZ #7064]
11543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11544 version from __vm86.
11545
097d59fa
JM
115462012-04-20 Joseph Myers <joseph@codesourcery.com>
11547
a90f3bcb
JM
11548 * sysdeps/unix/common/lxstat.c: Remove file.
11549 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11550
edc7ea78
JM
11551 * sysdeps/unix/sysv/Makefile: Remove file.
11552
cb78c221
JM
11553 * sysdeps/unix/sysv/direct.h: Remove file.
11554
efa6a45f
JM
11555 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11556 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11557 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11558 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11559 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11560 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11561 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11562
9c9f2d0c
JM
11563 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11564
4541c83b
JM
11565 * sysdeps/unix/xmknod.c: Remove file.
11566 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11567
f5d153a0
JM
11568 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11569
aa746595
JM
11570 * sysdeps/unix/sysv/i386/time.S: Remove file.
11571
cce5905e
JM
11572 * sysdeps/unix/fxstat.c: Remove file.
11573 * sysdeps/unix/xstat.c: Likewise.
11574 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11575
37fa3841
JM
11576 * sysdeps/unix/sysv/sigaction.c: Remove file.
11577
ff1962a3
JM
11578 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11579 (sysdep_headers): Remove variable.
11580 [termio.h not in sysdep_headers] (generated): Likewise.
11581 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11582 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11583 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11584 * sysdeps/unix/sysv/tcflow.c: Likewise.
11585 * sysdeps/unix/sysv/tcflush.c: Likewise.
11586 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11587 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11588 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11589 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11590 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11591
e7740d31
JM
11592 * sysdeps/unix/siglist.c: Remove file.
11593
ee06f18b
JM
11594 * sysdeps/unix/getppid.S: Remove file.
11595
097d59fa
JM
11596 * sysdeps/unix/mkdir.c: Remove file.
11597 * sysdeps/unix/rmdir.c: Likewise.
11598
ff3d51ec
AS
115992012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11600
11601 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11602 ERR_MAX value.
11603 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11604 errlist-compat value.
11605
50f81fd7
DM
116062012-04-18 David S. Miller <davem@davemloft.net>
11607
11608 * sysdeps/generic/memcopy.h (reg_char): Delete.
11609 * debug/strcat_chk.c: Use char, not reg_char.
11610 * debug/strcpy_chk.c: Likewise.
11611 * debug/strncat_chk.c: Likewise.
11612 * debug/strncpy_chk.c: Likewise.
11613 * string/memchr.c: Likewise.
11614 * string/memrchr.c: Likewise.
11615 * string/rawmemchr.c: Likewise.
11616 * string/strcat.c: Likewise.
11617 * string/strchr.c: Likewise.
11618 * string/strchrnul.c: Likewise.
11619 * string/strcmp.c: Likewise.
11620 * string/strcpy.c: Likewise.
11621 * string/strncat.c: Likewise.
11622 * string/strncmp.c: Likewise.
11623 * string/strncpy.c: Likewise.
11624
8ff41c46
WS
116252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11626
11627 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11628 __builtin_memcopy is called when src and dest ranges are known to not
11629 overlap.
11630
6b652f46
WS
116312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11632
11633 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11634 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11635 fwd_align_merge macro call.
11636 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11637 bwd_align_merge macro call.
11638 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11639
b282631e
WS
116402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11641
11642 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11643 bwd_align_merge macros.
11644 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11645 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11647
95aa737c
DM
116482012-04-18 David S. Miller <davem@davemloft.net>
11649
11650 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11651
7a99a614
AJ
116522012-04-18 Andreas Jaeger <aj@suse.de>
11653
11654 [BZ# 6794]
11655 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11656 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11657 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11658
11659 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11660 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11661 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11662
11663 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11664 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11665 Adjust for changed ldbl-128 files.
11666
11667 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11668 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11670
e5270c23
DM
116712012-04-17 David S. Miller <davem@davemloft.net>
11672
11673 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11674
fb5e92c9
AS
116752012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11676
11677 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11678 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11679 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11680 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11681 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11682 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11683
76da7265
AZ
116842012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11685
11686 [BZ #6794]
11687 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11688 * math/libm-test.inc: Add ilogb errno and exception tests.
11689 * math/w_ilogb.c: New file: ilogb wrapper.
11690 * math/w_ilogbf.c: New file: ilogbf wrapper.
11691 * math/w_ilogbl.c: New file: ilogbl wrapper.
11692 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11693 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11694 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11695 exception being thrown with 0.0 as argument.
11696 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11697 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11698 exception being thrown with 0.0 as argument.
11699 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11700 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11701 exception being thrown with 0.0 as argument.
11702 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11703 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11704 exception being thrown with 0.0 as argument.
11705 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11706 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11707 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11708 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11709 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11710 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11711 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11712 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11713 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11714
0396e69d
PB
117152012-04-17 Petr Baudis <pasky@ucw.cz>
11716
11717 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11718 with altivec.
11719
750b5926
MP
117202012-04-16 Marek Polacek <polacek@redhat.com>
11721
11722 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11723
751728a1
MP
117242012-04-16 Marek Polacek <polacek@redhat.com>
11725
11726 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11727 operands of fdivp instruction.
11728
34a27407
L
117292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11730
11731 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11732 * elf/tst-auditmod3b.c: Likewise.
11733 * elf/tst-auditmod4b.c: Likewise.
11734 * elf/tst-auditmod5b.c: Likewise.
11735 * elf/tst-auditmod6b.c: Likewise.
11736 * elf/tst-auditmod6c.c: Likewise.
11737 * elf/tst-auditmod7b.c: Likewise.
11738 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11739 * sysdeps/x86_64/preconfigure.in: Likewise.
11740 * sysdeps/x86_64/preconfigure: Regenerated.
11741
7e73e17d
L
117422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11743
11744 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11745 __ILP32__.
11746
c7a6ab72
AB
117472012-04-13 Antoine Balestrat <merkil33@gmail.com>
11748
11749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11750 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11751
a9e8e0e0
CL
117522012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11753
11754 [BZ #13973]
11755 * locale/iso-639.def: Fix gl language name. Spotted by
11756 Yaron Shahrabani.
11757
ec98af7d
RM
117582012-04-12 Roland McGrath <roland@hack.frob.com>
11759
11760 [BZ #2074]
11761 * libio/libio.h (__io_write_fn): Update comment.
11762
247c3ede
PB
117632012-04-12 Petr Baudis <pasky@ucw.cz>
11764
11765 [BZ #2074]
11766 * stdio.texi (Hook Functions): The user provided writer function
11767 is not allowed to return -1.
11768
55939d6d
DM
117692012-04-11 David S. Miller <davem@davemloft.net>
11770
11771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11772
90020f5a
MF
117732012-04-11 Mike Frysinger <vapier@gentoo.org>
11774
11775 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11776 Add a leading slash to rtkaio.
11777
288f9098
JM
117782012-04-11 Jim Meyering <meyering@redhat.com>
11779
90020f5a
MF
11780 [BZ #11959]
11781 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11782 It is not necessarily an error to ignore fwrite's return
11783 value. One can reliably use ferror to test for errors after
11784 the fact.
288f9098 11785
4be2b570
L
117862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11787
11788 * bits/types.h (__snseconds_t): New type.
11789 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11790
11791 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11792 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11793 (__SNSECONDS_T_TYPE): Likewise.
11794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11795 (__SNSECONDS_T_TYPE): Likewise.
11796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11797 (__SNSECONDS_T_TYPE): Likewise.
11798
288f9098 117992012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11800
11801 [BZ #2636]
11802 * manual/time.texi (Processor Time): Return type of times is
11803 elapsed real time since an arbitrary point in the past.
11804 (CPU Time): Move CLK_TCK from here...
11805 (Processor Time): ...to here. Correct description.
11806 * manual/conf.texi (Constants for Sysconf): Correct description of
11807 _SC_CLK_TCK.
11808
d7dd4413
DM
118092012-04-10 David S. Miller <davem@davemloft.net>
11810
11811 [BZ #13967]
11812 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11813 where the is a gap between DT_REL(A) and DT_JMPREL.
11814
b46068fc
L
118152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11816
11817 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11818 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11819 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11820
73d65cc3
SP
118212012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11822
11823 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11824 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11825 (dl_main): Handle --inhibit-cache.
11826 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11827 _dl_inhibit_cache.
11828 * elf/dl-load.c (_dl_map_object): Use it.
11829 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11830
bcc8d661
JM
118312012-04-09 Joseph Myers <joseph@codesourcery.com>
11832
8f9a2fae
JM
11833 [BZ #13872]
11834 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11835 (__ieee754_powl): Saturate large exponents rather than testing for
11836 overflow of y*log2(x).
11837 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11838 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11839 exceptions.
11840
bcc8d661
JM
11841 [BZ #11521]
11842 * math/s_ctan.c: Include <float.h>.
11843 (__ctan): Avoid internal overflow or cancellation in calculating
11844 denominator.
11845 * math/s_ctanf.c: Likewise.
11846 * math/s_ctanl.c: Likewise.
11847 * math/s_ctanh.c: Likewise.
11848 * math/s_ctanhf.c: Likewise.
11849 * math/s_ctanhl.c: Likewise.
11850 * math/libm-test.inc (ctan_test): Add more tests.
11851 (ctanh_test): Likewise.
11852 * sysdeps/i386/fpu/libm-test-ulps: Update.
11853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11854
823fbbb4
AJ
118552012-04-09 Andreas Jaeger <aj@suse.de>
11856
03879793
AJ
11857 [BZ #6894]
11858 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11859 is an optional BSD extension.
11860
823fbbb4
AJ
11861 [BZ #10254]
11862 * manual/stdio.texi (Opening Streams): Document additional fopen
11863 parameters.
11864
8de131cb
RM
118652012-04-09 Roland McGrath <roland@hack.frob.com>
11866
11867 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11868 %eax without telling the compiler.
11869
c0ed9d7d
CD
118702012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11871
11872 [BZ # 13963]
11873 * manual/install.texi: Use sourceware.org.
11874
c483f6b4
JM
118752012-04-09 Joseph Myers <joseph@codesourcery.com>
11876
d7dd9453
JM
11877 [BZ #13873]
11878 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11879 (__ieee754_pow): Generate overflow and underflow using huge*huge
11880 and tiny*tiny rather than just returning constant infinity or zero
11881 for large exponents.
11882 * math/libm-test.inc (pow_test): Require overflow exceptions for
11883 applicable cases of large exponents.
11884
c483f6b4
JM
11885 [BZ #706]
11886 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11887 (__ieee754_pow): Use iterative multiplication algorithm only for
11888 integer exponents with absolute value below 1024. Check for odd
11889 integer exponents when using algorithm for real exponents.
11890 * math/libm-test.inc (pow_test): Add more tests.
11891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11892
d2de7579
JM
118932012-04-08 Joseph Myers <joseph@codesourcery.com>
11894
11895 [BZ #13705]
11896 * math/libm-test.inc (exp_test): Do not allow overflow exception
11897 on underflow test.
11898
f77f1232
AJ
118992012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11900
11901 [BZ #13705]
11902 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11903 instead of __kernel_standard_f.
11904
3884932b
MF
119052012-04-08 Mike Frysinger <vapier@gentoo.org>
11906
11907 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11908 * sysdeps/x86_64/memset_chk.S: Likewise.
11909
54472e9c
AJ
119102012-04-08 Andreas Jaeger <aj@suse.de>
11911
6ab0fbfc
AJ
11912 [BZ #10153]
11913 * manual/startup.texi (Environment Access): Describe return value
11914 for putenv and setenv.
11915
61efba8c
AJ
11916 [BZ #6895]
11917 * manual/filesys.texi (Directory Entries): Add description for
11918 DT_LNK.
11919
95c3f29a
AJ
11920 [BZ #6890]
11921 * manual/filesys.texi (Directory Entries): Clarify that it's file
11922 system not operating system in the description of DT_UNKNOWN.
11923
54472e9c
AJ
11924 [BZ #6578]
11925 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11926
624254b1
SC
119272012-04-08 Stephen Compall <s11@member.fsf.org>
11928
11929 [BZ #6649]
11930 * manual/llio.texi (Opening and Closing Files): Add cross
11931 reference to explain mode argument.
11932
1e4920e0
MF
119332012-04-07 Mike Frysinger <vapier@gentoo.org>
11934
11935 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11936 * sysdeps/x86_64/memset_chk.S: Likewise.
11937
5ed848f3
DM
119382012-04-07 David S. Miller <davem@davemloft.net>
11939
11940 * elf/elf.h (R_SPARC_WDISP10): Define.
11941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11942 R_SPARC_SIZE32.
11943 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11944 R_SPARC_SIZE64 and R_SPARC_H34.
11945
96154cd8
CD
119462012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11947
11948 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11949 conditions and remove no longer applicable assertion.
11950
9904dc47
L
119512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11952
11953 * bits/byteswap.h: Include <features.h>.
11954 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11955 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11956
f8887d0a
L
119572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11958
11959 * bits/byteswap.h (__bswap_16): Removed.
11960 Include <bits/byteswap-16.h> to get __bswap_16.
11961 * sysdeps/i386/bits/byteswap.h: Likewise.
11962 * sysdeps/s390/bits/byteswap.h: Likewise.
11963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11964 * bits/byteswap-16.h: New file.
11965 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11966 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11967 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11968 * string/Makefile (headers): Add bits/byteswap-16.h.
11969
62470f60
PP
119702012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11971
11972 [BZ #13895]
11973 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11974 extra indirection.
11975 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11976 * nss/tst-nss-static.c: New.
11977
4dad7bab
RM
119782012-04-06 Robert Millan <rmh@gnu.org>
11979
11980 [BZ #6486]
11981 * manual/llio.texi (File Position Primitive): lseek
11982 refers to WHENCE when it really means OFFSET.
11983
e9142a17
AJ
119842012-04-06 Andreas Jaeger <aj@suse.de>
11985
2c040eff
AJ
11986 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11987 strncmp declarations.
11988
e9142a17
AJ
11989 * abilist/libc.abilist: Add __poll and __ppoll.
11990
ff9f1c5f
DM
119912012-04-05 David S. Miller <davem@davemloft.net>
11992
dcd2ae90
DM
11993 * scripts/check-local-headers.sh: Accept a host triplet in the
11994 path matched by the exclude regexp.
11995
993eb054
DM
11996 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11997 definition.
11998 * sysdeps/powerpc/powerpc32/dl-machine.h
11999 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12000 * sysdeps/s390/s390-32/dl-machine.h
12001 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12002 * sysdeps/sparc/sparc32/dl-machine.h
12003 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12004 * sysdeps/sparc/sparc64/dl-machine.h
12005 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12006
ff9f1c5f
DM
12007 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12008 lazy binding.
48e2e132 12009 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12010 undefined symbol errors.
12011
48e2e132 12012 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12013 DT_NEEDED entries.
12014
e80d6f94
MM
120152012-04-05 Michael Matz <matz@suse.de>
12016
12017 [BZ #13592]
12018 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12019
349fa79f
AJ
120202012-04-05 Andreas Jaeger <aj@suse.de>
12021
12022 [BZ #13908]
12023 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12024 comment.
12025
f402708f
KK
120262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12027
12028 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12029 which ROUND is no valid rounding mode.
12030
2ecccfc9
KK
120312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12032
12033 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12034 read again.
12035 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12036
8a53f50f
KK
120372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12038
12039 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12040 an exception using FPU order intentionally.
12041
120422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12043
12044 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12045 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12046 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12047 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12048
d653abb7
SJ
120492012-04-05 Simon Josefsson <simon@josefsson.org>
12050
12051 [BZ #12340]
12052 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12053 EINVAL when BUFLEN is too smal.
12054
c3b1bf7d
TS
120552012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12056
12057 [BZ #13553]
12058 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12059 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12060
b1aa60f3
AJ
120612012-04-03 Andreas Jaeger <aj@suse.de>
12062
c3b1bf7d 12063 [BZ #13938]
67f60a26
AJ
12064 * manual/setjmp.texi (System V contexts): Fix sentence.
12065
b1aa60f3
AJ
12066 [BZ #13926]
12067 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12068 New macro for this case.
12069 [!__GNUC__] (__bswap_64): New inline function for this case.
12070 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12071 * bits/byteswap.h: Likewise.
12072 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12073 ull, guard with __GLIBC_HAVE_LONG_LONG.
12074
12075 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12076 __GLIBC_HAVE_LONG_LONG.
12077
12078 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12079 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12080
39c59c35
TMQMF
120812012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12082
12083 [BZ #13691]
12084 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12085 inptr and inend, rather than using last_ch.
12086
135ffda8
DM
120872012-04-02 David S. Miller <davem@davemloft.net>
12088
12089 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12090 * stdio-common/printf-parse.h (read_int): Change return type to
12091 'int', return -1 on INT_MAX overflow.
12092 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12093 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12094 overflows INT_MAX. Check for overflow of in-format-string precision
12095 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12096 SIZE_MAX not INT_MAX for integer overflow test.
12097 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12098 skip the construct in the format string but do not record anything.
12099 * stdio-common/bug22.c: Adjust to test both width/prevision
12100 INT_MAX overflow as well as total length INT_MAX overflow. Check
12101 explicitly for proper errno values.
12102
228c019e
TS
121032012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12104
302cadd3
TS
12105 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12106 CHAR_MAX.
12107 * string/test-strcmp.c [! WIDE]: Likewise.
12108 * time/tst-mktime2.c: Likewise for INT_MAX.
12109 * string/test-string.h: #include <sys/param.h> for MIN.
12110
228c019e
TS
12111 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12112 * sysdeps/i386/init-first.c (init): Likewise.
12113 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12114 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12115 * sysdeps/sh/init-first.c (init): Likewise.
12116
cfa633f5
UD
121172012-04-01 Ulrich Drepper <drepper@gmail.com>
12118
12119 * po/ru.po: Update from translation team.
d1635ef8 12120 * po/vi.po: Likewise.
cfa633f5 12121
6cd0a5ea
SP
121222012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12123
12124 * resolv/nss_dns/dns-host.c: Merge copyright years.
12125
4b43400f
LD
121262012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12127
12128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12129 Optimize memcpy with prefetch if
12130 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12131 src, dst pointers have unequal 16 byte alignments.
12132
48c41d04
SP
121332012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12134
12135 [BZ #13928]
12136 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12137 from a CNAME entry and return the minimum ttl for the query.
12138 (gaih_getanswer_slice): Likewise.
12139
b8dc394d
JL
121402012-03-30 Jeff Law <law@redhat.com>
12141
12142 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12143 due to long keys.
12144 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12145 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12146
2f5a5ed0
JL
12147 * resolv/nss_dns/dns-host.c: Update copyright year.
12148
1d39e359
UD
121492012-03-30 Ulrich Drepper <drepper@gmail.com>
12150
c030f70c 12151 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12152 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12153
1d39e359
UD
12154 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12155 comments for sendmmsg.
12156
121572012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12158
12159 [BZ #13691]
12160 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12161 with only 1 character between 0x0041 and 0x01b0.
12162 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12163 * wcsmbs/tst-mbsnrtowcs.c: New file.
12164
20fde227
DM
121652012-03-29 David S. Miller <davem@davemloft.net>
12166
12167 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12168 small copies by hand.
12169
984a4237
JL
121702012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12171
12172 [BZ #13761]
12173 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12174 _nss_compat_initgroups_dyn): Fall back to malloc/free
12175 for large group memberships.
12176
18c9d62b
DM
121772012-03-28 David S. Miller <davem@davemloft.net>
12178
88d85d4f
DM
12179 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12180 that branches into memcpy.
12181 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12184 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12186 bits.
12187 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12188 implementation too.
12189 * sysdeps/sparc/mempcpy.S: New file.
12190
e5aa83e1
DM
12191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12192 the IFUNC routine in the libc case.
12193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12194
88570753
DM
12195 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12196 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12197 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12198 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12199 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12200 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12201 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12202 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12203
249d7567
DM
12204 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12205 loop to 256 bytes instead of 64 bytes and fix test signedness.
12206
18c9d62b
DM
12207 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12208 * sysdeps/sparc/sparc32/Makefile: rather than here...
12209 * sysdeps/sparc/sparc64/Makefile: and here.
12210
05f3d1f6
UD
122112012-03-28 Ulrich Drepper <drepper@gmail.com>
12212
12213 * malloc/mallocbug.c: Avoid warnings about unused variables.
12214
86ae07a8
JL
122152012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12216
12217 [BZ #13760]
12218 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12219 in the right place. Discard and retry query if response is
12220 larger than input buffer size.
12221
41bf21a1
JM
122222012-03-28 Joseph Myers <joseph@codesourcery.com>
12223
d6270972
JM
12224 [BZ #369]
12225 [BZ #2678]
12226 [BZ #3866]
12227 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12228 x for large integer exponent.
12229 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12230 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12231 sign of result as needed afterwards.
12232 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12233 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12234 result for underflowing pow the same as for overflow.
12235 (__kernel_standard_l): Handle powl overflow and underflow here
12236 rather than calling __kernel_standard.
12237 * math/libm-test.inc (pow_test): Add more tests.
12238
414fca03 12239 [BZ #3868]
41bf21a1
JM
12240 [BZ #13879]
12241 [BZ #13910]
12242 [BZ #13911]
12243 [BZ #13912]
12244 [BZ #13913]
12245 [BZ #13915]
12246 [BZ #13916]
12247 [BZ #13917]
12248 [BZ #13918]
12249 [BZ #13919]
12250 [BZ #13920]
12251 [BZ #13921]
12252 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12253 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12254 (__kernel_standard_l): New function.
12255 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12256 __kernel_standard.
12257 * math/w_acosl.c (__acosl): Likewise.
12258 * math/w_asinl.c (__asinl): Likewise.
12259 * math/w_atan2l.c (__atan2l): Likewise.
12260 * math/w_atanhl.c (__atanhl): Likewise.
12261 * math/w_coshl.c (__coshl): Likewise.
12262 * math/w_exp10l.c (__exp10l): Likewise.
12263 * math/w_exp2l.c (__exp2l): Likewise.
12264 * math/w_fmodl.c (__fmodl): Likewise.
12265 * math/w_hypotl.c (__hypotl): Likewise.
12266 * math/w_j0l.c (__j0l, __y0l): Likewise.
12267 * math/w_j1l.c (__j1l, __y1l): Likewise.
12268 * math/w_jnl.c (__jnl, __ynl): Likewise.
12269 * math/w_lgammal.c (__lgammal): Likewise.
12270 * math/w_log10l.c (__log10l): Likewise.
12271 * math/w_log2l.c (__log2l): Likewise.
12272 * math/w_logl.c (__logl): Likewise.
12273 * math/w_powl.c (__powl): Likewise.
12274 * math/w_remainderl.c (__remainderl): Likewise.
12275 * math/w_scalbl.c (sysv_scalbl): Likewise.
12276 * math/w_sinhl.c (__sinhl): Likewise.
12277 * math/w_sqrtl.c (__sqrtl): Likewise.
12278 * math/w_tgammal.c (__tgammal): Likewise.
12279 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12280 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12281 * math/libm-test.inc (acos_test): Add more tests.
12282 (acosh_test): Likewise.
12283 (asin_test): Likewise.
12284 (atanh_test): Likewise.
12285 (exp_test): Likewise.
12286 (exp10_test): Likewise.
12287 (exp2_test): Likewise.
12288 (expm1_test): Likewise.
12289 (lgamma_test): Likewise.
12290 (log_test): Likewise.
12291 (log10_test): Likewise.
12292 (log1p_test): Likewise.
12293 (log2_test): Likewise.
12294 (pow_test): Do not allow some spurious overflow exceptions.
12295 (sqrt_test): Add more tests.
12296 (tgamma_test): Likewise.
12297 (y0_test): Likewise.
12298 (y1_test): Likewise.
12299 (yn_test): Likewise.
12300
dd62fda6
AB
123012012-03-27 Anton Blanchard <anton@samba.org>
12302
12303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12304 MAP_HUGETLB.
12305 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12306 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12307 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12308
1e3cdfda
AJ
123092012-03-27 David S. Miller <davem@davemloft.net>
12310
b855ab85
DM
12311 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12312
1e3cdfda
AJ
12313 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12314 have-as-vis3 check.
12315
123162012-03-27 Andreas Jaeger <aj@suse.de>
12317
12318 * sysdeps/x86_64/elf/configure.in: Moved to ...
12319 * sysdeps/x86_64/configure.in: ... here.
12320 * sysdeps/x86_64/elf/start.S: Moved to ...
12321 * sysdeps/x86_64/start.S: ... here.
12322 * sysdeps/x86_64/elf/configure: Delete.
12323
12324 * sysdeps/x86_64/configure.in: Merge contents from
12325 sysdeps/i386/configure.in (without i686 check).
12326
12327 * sysdeps/i386/elf/Versions: Merge into ...
12328 * sysdeps/i386/Versions: ... this.
12329 * sysdeps/i386/elf/Versions: Delete file.
12330 * sysdeps/i386/elf/start.S: Moved to ...
12331 * sysdeps/i386/start.S: ...here.
12332 * sysdeps/i386/elf/configure.in: Merge into...
12333 * sysdeps/i386/configure.in: ...here.
12334 * sysdeps/i386/elf/configure.in: Delete file.
12335 * sysdeps/i386/elf/configure: Delete file.
12336
12337 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12338 * debug/backtracesyms.c: ... here.
12339 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12340 * debug/backtracesymsfd.c: ... here.
12341 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12342 * sysdeps/generic/ifunc-sel.h: ... here.
12343
12344 * sysdeps/unix/i386/start.c: Delete file.
12345 * sysdeps/unix/sparc/start.c: Delete file.
12346 * sysdeps/unix/start.c: Delete file.
12347
12348 * sysdeps/sh/elf/configure.in: Moved to ...
12349 * sysdeps/sh/configure.in: ... here.
12350 * sysdeps/sh/elf/start.S: Moved to ...
12351 * sysdeps/sh/start.S: ... here.
12352 * sysdeps/sh/elf/configure: Delete file.
12353
12354 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12355 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12356 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12357 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12358 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12359 * sysdeps/powerpc/powerpc64/start.S: here.
12360 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12361 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12362 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12363 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12364 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12365
12366 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12367 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12368 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12369 * sysdeps/powerpc/powerpc32/start.S: ... here.
12370 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12371 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12372 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12373
12374 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12375 * sysdeps/powerpc/ifunc-sel.h: ... here.
12376 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12377 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12378
12379 * sysdeps/sparc/elf/configure.in: Moved to ...
12380 * sysdeps/sparc/configure.in: ... here.
12381 * sysdeps/sparc/elf/configure: Delete file.
12382 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12383 * sysdeps/sparc/sparc32/start.S: ... here.
12384 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12385 * sysdeps/sparc/sparc64/start.S: ... here.
12386 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12387 * sysdeps/sparc/sparc32/Makefile: ... this.
12388 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12389 * sysdeps/sparc/sparc64/Makefile: ... this.
12390
12391 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12392 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12393 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12394 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12395 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12396 * sysdeps/s390/s390-32/setjmp.S: ... here.
12397 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12398 * sysdeps/s390/s390-32/configure.in: ... here.
12399 * sysdeps/s390/s390-32/elf/configure: Delete file.
12400 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12401 * sysdeps/s390/s390-32/start.S: ... here.
12402
12403 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12404 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12405 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12406 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12407 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12408 * sysdeps/s390/s390-64/setjmp.S: ... here.
12409 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12410 * sysdeps/s390/s390-64/configure.in: ... here
12411 * sysdeps/s390/s390-64/elf/configure: Delete file.
12412 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12413 * sysdeps/s390/s390-64/start.S: ... here.
12414 * sysdeps/s390/s390-64/elf/configure: Delete.
12415
12416 * configure.in: Remove support for elf directories in sysdeps.
12417
12418 * configure: Regenerated.
12419 * sysdeps/i386/configure: Regenerated.
12420 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12421 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12422 * sysdeps/s390/s390-32/configure: Regenerated.
12423 * sysdeps/s390/s390-64/configure: Regenerated.
12424 * sysdeps/sh/configure: Regenerated.
12425 * sysdeps/sparc/configure: Regenerated.
12426 * sysdeps/x86_64/configure: Regenerated.
12427
a3f61311
AS
124282012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12429
c876e002
AS
12430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12431
a3f61311
AS
12432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12433 denormal result into account.
12434
ac4c54f0
RM
124352012-03-25 Roland McGrath <roland@hack.frob.com>
12436
12437 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12438 Reported by Allan McRae <allan@archlinux.org>.
12439
6a9b9c02
JL
124402012-03-23 Jeff Law <law@redhat.com>
12441
12442 * nss/getnssent.c (__nss_getent): Fix typo.
12443
4c42a0c1
DM
124442012-03-23 David S. Miller <davem@davemloft.net>
12445
12446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12447
1532c7ac
L
124482012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12449
12450 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12451 to pad to uint64_t for each field.
12452 (dl_tls_index): Replace unsigned long with uint64_t.
12453
3ff42526
PP
124542012-03-23 Daniel Jacobowitz <dmj@google.com>
12455 Paul Pluzhnikov <ppluzhnikov@google.com>
12456
12457 [BZ #6528]
12458 * grp/Makefile (otherlibs): Don't set it.
12459 * inet/Makefile (otherlibs): Likewise.
12460 * login/Makefile (otherlibs): Likewise.
12461 * nscd/Makefile (otherlibs): Likewise.
12462 * posix/Makefile (otherlibs): Likewise.
12463 * pwd/Makefile (otherlibs): Likewise.
12464 * rt/Makefile (otherlibs): Likewise.
12465 * sunrpc/Makefile (otherlibs): Likewise.
12466 * nss/Makefile (otherlibs): Likewise.
12467 Add libnss_files to routines and static-only-routines.
12468 ($(objpfx)getent): Remove rule.
12469 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12470 static-only-routines.
12471
7c69cd14
JM
124722012-03-22 Joseph Myers <joseph@codesourcery.com>
12473
12474 [BZ #13892]
12475 * math/s_cexp.c: Include <float.h>.
12476 (__cexp): Handle exp result overflowing not necessarily
12477 overflowing both real and imaginary parts of result.
12478 * math/s_cexpf.c: Likewise.
12479 * math/s_cexpl.c: Likewise.
12480 * math/libm-test.inc (cexp_test): Add more tests.
12481 * sysdeps/i386/fpu/libm-test-ulps: Update.
12482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12483
81b035fe
L
124842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 * include/link.h (ELFW): New macro.
12487 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12488 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12489
1da7940c
L
124902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12491
12492 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12493 with uint64_t.
12494
b749dbb9
L
124952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12496
12497 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12498 declaration.
12499 (struct La_x32_retval): Likewise.
12500
2ff87f3f
L
125012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12502
12503 * sysdeps/x86_64/preconfigure.in: New file.
12504 * sysdeps/x86_64/preconfigure: New generated file.
12505
c0df8e69
JM
125062012-03-22 Joseph Myers <joseph@codesourcery.com>
12507
48e44791
JM
12508 [BZ #13824]
12509 * math/e_exp2l.c: Include <float.h>.
12510 (__ieee754_exp2l): Handle overflow and underflow cases
12511 separately. Only pass fractional part of argument to
12512 __ieee754_expl.
12513 * math/libm-test.inc (exp2_test): Add more tests.
12514
c0df8e69
JM
12515 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12516 negating x to take absolute value.
12517 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12518 Likewise.
12519 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12520 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12521 Likewise.
12522 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12523 computing low part if x was negated.
12524 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12525
c8e43ba7
L
125262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12527
12528 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12529 la_x32_gnu_pltexit.
12530 (pltexit): Cast int_retval to ptrdiff_t.
12531 * elf/tst-auditmod3b.c: Likewise.
12532 * elf/tst-auditmod4b.c: Likewise.
12533 * elf/tst-auditmod5b.c: Likewise.
12534 * elf/tst-auditmod6b.c: Likewise.
12535 * elf/tst-auditmod6c.c: Likewise.
12536 * elf/tst-auditmod7b.c: Likewise.
12537
12538 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12539 and x32_gnu_pltexit.
12540
12541 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12542 __ELF_NATIVE_CLASS.
12543 (La_x32_regs): New macro.
12544 (La_x32_retval): Likewise.
12545 (la_x32_gnu_pltenter): New function prototype.
12546 (la_x32_gnu_pltexit): Likewise.
12547
7998fa78
AS
125482012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12549
dcb33988
AS
12550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12551 exponent.
12552
233fc563
AS
12553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12554
7998fa78
AS
12555 * configure.in (libc_cv_cc_nofma): Check for option to disable
12556 generation of FMA instructions.
12557 * configure: Regenerate.
12558 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12559 * sysdeps/ieee754/dbl-64/Makefile: New file.
12560 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12561 Remove brandred-fma4.
12562 (CFLAGS-brandred-fma4.c): Remove.
12563 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12564 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12565 define.
12566 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12567 define.
12568
8e95c99a
L
125692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12570
12571 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12572 LLONG_MAX != LONG_MAX.
12573 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12574 (_fitoa_word): Likewise.
12575 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12576 LLONG_MAX != LONG_MAX.
12577 * stdio-common/_itowa.h: Include <_itoa.h>.
12578 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12579 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12580 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12581 only if not defined.
12582 (_ITOA_WORD_TYPE): Likewise.
12583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12584 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12585
6f4db457
DM
125862012-03-21 David S. Miller <davem@davemloft.net>
12587
12588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12589
7785fe5a
L
125902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12591
12592 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12593 of x86_64 when setting libc_cv_slibdir, libdir and
12594 libc_cv_localedir.
12595 * sysdeps/unix/sysv/linux/configure: Regenerated.
12596
4535cd55
JM
125972012-03-21 Joseph Myers <joseph@codesourcery.com>
12598
12599 * manual/lang.texi (Old Varargs): Remove section.
12600 (How Variadic): Update menu.
12601 (va_start): Do not mention varargs.h.
12602
17228132
TS
126032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12604 Joseph Myers <joseph@codesourcery.com>
12605
12606 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12607 link test.
12608 * configure: Regenerated.
12609
8149f976
TS
126102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12611
05f3d1f6
UD
12612 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12613 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12614 conformtest.pl
8149f976 12615
1a4ac776
JM
126162012-03-21 Joseph Myers <joseph@codesourcery.com>
12617
be22ce65
JM
12618 * NOTES: Remove.
12619 * Makefile (files-for-dist): Remove NOTES.
12620 (NOTES): Remove rule.
12621 * README: Don't refer to NOTES.
12622 * manual/creature.texi: Don't include macros.texi.
12623 * manual/intro.texi (creature.texi): Remove comment referring to
12624 NOTES.
12625
40b601fb
JM
12626 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12627 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12628 * configure: Regenerated.
12629 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12630 LIBC_TRY_CC_OPTION.
12631 (libc_cv_as_i686): Likewise.
12632 (libc_cv_cc_avx): Likewise.
12633 (libc_cv_cc_sse2avx): Likewise.
12634 (libc_cv_cc_fma4): Likewise.
12635 (libc_cv_cc_novzeroupper): Likewise.
12636 * sysdeps/i386/configure: Regenerated.
12637
1a4ac776
JM
12638 [BZ #13883]
12639 * sysdeps/i386/fpu/s_cexp.S: Remove.
12640 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12641 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12642 * math/libm-test.inc (cexp_test): Add more tests.
12643 * sysdeps/i386/fpu/libm-test-ulps: Update.
12644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12645
a458e7fe
AM
126462012-03-21 Allan McRae <allan@archlinux.org>
12647
12648 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12649
0cb7efc5
JM
126502012-03-21 Joseph Myers <joseph@codesourcery.com>
12651
12652 [BZ #13871]
12653 * math/w_exp2.c: Do not include <float.h>.
12654 (o_threshold, u_threshold): Remove.
12655 (__exp2): Calculate result before checking finiteness and calling
12656 __kernel_standard.
12657 * math/w_exp2f.c: Likewise.
12658 * math/w_exp2l.c: Likewise.
12659 * math/libm-test.inc (exp2_test): Require overflow exception for
12660 1e6 input.
2460d3aa
JM
12661
12662 [BZ #3866]
12663 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12664 range of signed 64-bit integers before using fistpll. Remove
12665 checks for whether integers fit in mantissa bits.
12666 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12667 the range of signed 32-bit integers before using fistpl. Remove
12668 checks for whether integers fit in mantissa bits.
12669 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12674 divide-by-zero is raised for zero to large negative powers.
12675 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12676 (__ieee754_powl): Test for y outside the range of signed 64-bit
12677 integers before using fistpll. Reduce 64-bit values to 63-bit
12678 ones as needed.
12679 * math/libm-test.inc (pow_test): Add more tests.
12680
eb96ffb0
L
126812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12682
12683 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12684 <stdio-common/_itoa.h>.
12685 * debug/segfault.c: Likewise.
12686 * elf/dl-cache.c: Likewise.
12687 * elf/dl-minimal.c: Likewise.
12688 * elf/dl-misc.c: Likewise.
12689 * elf/dl-sysdep.c: Likewise.
12690 * elf/dl-version.c: Likewise.
12691 * elf/rtld.c: Likewise.
12692 * hurd/hurdsock.c: Likewise.
12693 * hurd/lookup-retry.c: Likewise.
12694 * malloc/malloc.c: Likewise.
12695 * malloc/mtrace.c: Likewise.
12696 * nscd/nscd_getgr_r.c: Likewise.
12697 * nscd/nscd_getpw_r.c: Likewise.
12698 * nscd/nscd_getserv_r.c: Likewise.
12699 * posix/getopt_init.c: Likewise.
12700 * posix/wordexp.c: Likewise.
12701 * stdio-common/_itoa.c: Likewise.
12702 * stdio-common/printf_fphex.c: Likewise.
12703 * stdio-common/vfprintf.c: Likewise.
12704 * string/_strerror.c: Likewise.
12705 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12706 * sysdeps/i386/i686/hp-timing.h: Likewise.
12707 * sysdeps/mach/_strerror.c: Likewise.
12708 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12709 * sysdeps/mach/hurd/sethostid.c: Likewise.
12710 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12711 * sysdeps/mach/xpg-strerror.c: Likewise.
12712 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12713 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12714 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12715 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12716 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12717 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12718 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12719 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12720 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12721 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12722 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12723 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12724 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12725 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12726 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12727 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12728 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12729 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12730 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12731 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12732 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12733
12734 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12735
12736 * stdio-common/_itoa.h: Moved to ...
12737 * sysdeps/generic/_itoa.h: Here.
12738
12739 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12740
12741 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12742 instead of "_itoa.h" and "_itowa.h".
12743 * stdio-common/vfprintf.: Likewise.
12744
d1af992d
L
127452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12748 <bits/wordsize.h>.
12749 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12750 (__signbit): Likwise.
12751 (llrintf): Likwise.
12752 (llrint): Likwise.
12753
114883e0
L
127542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12755
12756 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12757 __WORDSIZE != 64.
12758
c135cc1b
JM
127592012-03-20 Joseph Myers <joseph@codesourcery.com>
12760
12761 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12762 OVERFLOW_EXCEPTION_OK.
12763 * math/libm-test.inc ("Philosophy"): Update comment about
12764 exception testing.
12765 (OVERFLOW_EXCEPTION): Define.
12766 (OVERFLOW_EXCEPTION_OK): Likewise.
12767 (INVALID_EXCEPTION_OK): Renumber.
12768 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12769 (IGNORE_ZERO_INF_SIGN): Likewise.
12770 (test_exceptions): Handle FE_OVERFLOW.
12771 (exp10_test): Expect overflow exceptions.
12772 (exp2_test): Likewise.
12773 (expm1_test): Likewise.
12774 (nextafter_test): Likewise.
12775 (pow_test): Likewise.
12776 (scalbn_test): Likewise.
12777 (scalbln_test): Likewise.
12778
95443d88
L
127792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12780
12781 * sysdeps/x86_64/bits/atomic.h
12782 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12783 64bit integer.
12784 (atomic_exchange_acq): Likewise.
12785 (__arch_exchange_and_add_body): Likewise.
12786 (__arch_add_body): Likewise.
12787 (atomic_add_negative): Likewise.
12788 (atomic_add_zero): Likewise.
12789
490df6c4
L
127902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12791
c2722551 12792 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12793 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12794
5e52b189
L
127952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12796
12797 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12798 Check __x86_64__ instead of __WORDSIZE.
12799
a9879d4c
L
128002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12801
12802 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12803
5df98260
DM
128042012-03-19 David S. Miller <davem@davemloft.net>
12805
e1497744
DM
12806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12807
5df98260
DM
12808 * sysdeps/sparc/fpu/fenv_private.h: New file.
12809 * sysdeps/sparc/fpu/math_private.h: Use it.
12810 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12811 Remove.
12812 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12813 (libc_feholdexcept_setroundl): Remove.
12814 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12815 Remove.
12816 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12817 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12818
b4c35121
L
128192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12820
12821 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12822 int64_t instead of long int.
12823 (INSERT_WORDS64): Likwise.
12824
56965fd7
L
128252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12828 _Unwind_GetCFA return to _Unwind_Ptr first.
12829
83d1aec8
JM
128302012-03-19 Joseph Myers <joseph@codesourcery.com>
12831
1897ad44
JM
12832 [BZ #13629]
12833 * math/s_clog.c: Include <float.h>.
12834 (__clog): Scale large or subnormal inputs.
12835 * math/s_clogf.c: Likewise.
12836 * math/s_clogl.c: Likewise.
12837 * math/s_clog10.c: Include <float.h>.
12838 (M_LOG10_2): Define.
12839 (__clog10): Scale large or subnormal inputs.
12840 * math/s_clog10f.c: Likewise.
12841 * math/s_clog10l.c: Likewise.
12842 * math/libm-test.inc (clog_test): Add more tests.
12843 (clog10_test): Likewise.
12844 * sysdeps/i386/fpu/libm-test-ulps: Update.
12845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12846
7726d6a9
JM
12847 [BZ #11451]
12848 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12849 x and y.
12850 * math/libm-test.inc (atan2_test): Add another test.
12851
83d1aec8
JM
12852 * Makerules (common-objdir-compile): Remove.
12853 * sysdeps/unix/Makefile (config-generated): Do not add
12854 $(unix-generated) to variable.
12855 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12856 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12857 Remove rule.
12858 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12859 Likewise.
12860 [generic bits/local_lim.h] (before-compile): Do not append to
12861 variable.
12862 [generic bits/local_lim.h] (common-generated): Likewise.
12863 [generic sys/param.h] (before-compile): Do not append to variable.
12864 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12865 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12866 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12867 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12868 include.
12869 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12870 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12871 [generic sys/param.h] ($(addprefix
12872 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12873 [generic sys/param.h] (common-generated): Do not append to
12874 variable.
12875 [generic sys/param.h] (sysdep_headers): Likewise.
12876 [generic bits/errno.h] (before-compile): Do not append to
12877 variable.
12878 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12879 rule.
12880 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12881 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12882 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12883 [generic bits/errno.h] (common-generated): Do not append to
12884 variable.
12885 [generic bits/ioctls.h] (before-compile): Do not append to
12886 variable.
12887 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12888 rule.
12889 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12890 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12891 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12892 rule.
12893 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12894 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12895 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12896 [generic bits/ioctls.h] (common-generated): Do not append to
12897 variable.
12898 [generic sys/syscall.h] (syscall.h): Remove variable.
12899 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12900 rule.
12901 [generic sys/syscall.h] (before-compile): Do not append to
12902 variable.
12903 [generic sys/syscall.h] (common-generated): Likewise.
12904 * sysdeps/unix/errnos-tmpl.c: Remove file.
12905 * sysdeps/unix/errnos.awk: Likewise.
12906 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12907 * sysdeps/unix/ioctls.awk: Likewise.
12908 * sysdeps/unix/mk-local_lim.c: Likewise.
12909 * sysdeps/unix/snarf-ioctls: Likewise.
12910
4851a949
RH
129112012-03-19 Richard Henderson <rth@twiddle.net>
12912
bd37f2ee
RH
12913 * sysdeps/i386/fpu/fenv_private.h: New file.
12914 * sysdeps/i386/fpu/math_private.h: Use it.
12915 (math_opt_barrier, math_force_eval): Remove.
12916 (libc_feholdexcept_setround_53bit): Remove.
12917 (libc_feupdateenv_53bit): Remove.
12918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12919 (math_opt_barrier, math_force_eval): Remove.
12920 (libc_feholdexcept): Remove.
12921 (libc_feholdexcept_setround): Remove.
12922 (libc_fetestexcept, libc_fesetenv): Remove.
12923 (libc_feupdateenv_test): Remove.
12924 (libc_feupdateenv, libc_feholdsetround): Remove.
12925 (libc_feresetround): Remove.
12926
d0adc922
RH
12927 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12928 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12929
0fe0f1f8
RH
12930 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12931 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12932 (libc_feupdateenv_testl): New.
12933 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12934 (libc_feupdateenv_testf): New.
12935 (libc_feupdateenv): Use libc_feupdateenv_test.
12936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12937 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12938
eb92c487
RH
12939 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12940 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12941 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12942 (libc_feresetround_noex): New.
12943 (libc_feresetround_noexf): New.
12944 (libc_feresetround_noexl): New.
12945 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12946 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12947 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12948 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12949 SET_RESTORE_ROUND.
12950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12951 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12952 (__cos): Likewise.
12953 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12954 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12955 SET_RESTORE_ROUND_NOEX.
12956 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12957 SET_RESTORE_ROUND_NOEXF.
12958 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12959 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12960 (libc_feholdsetroundf): New.
12961 (libc_feresetround, libc_feresetroundf): New.
12962
7d2e8012
RH
12963 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12964 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12965 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12966
b4dabbb4
RH
12967 * sysdeps/generic/math_private.h: Include <fenv.h>.
12968 (default_libc_feholdexcept): New.
12969 (default_libc_feholdexcept_setround): New.
12970 (default_libc_fesetenv, default_libc_feupdateenv): New.
12971 (libc_feholdexcept): Only define if undefined.
12972 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12973 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12974 (libc_feholdexcept_setroundl): Likewise.
12975 (libc_feholdexcept_setround_53bit): Likewise.
12976 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12977 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12978 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12979 (libc_feupdateenv_53bit): Likewise.
12980 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12981 (libc_feholdexcept): Convert from macro to inline function.
12982 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12983 (libc_fesetenv, libc_feupdateenv): Likewise.
12984
4851a949
RH
12985 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12986 not previously defined.
12987 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12988 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12989 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12990 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12991 * sysdeps/ieee754/flt-32/math_private.h: New file.
12992 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12993 math_private.h below SET_FLOAT_WORD.
12994 (__isnan, __isinf_ns, __finite): Remove.
12995 (__isnanf, __isinf_nsf, __finitef): Remove.
12996
e79d442e
AS
129972012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12998
12999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13000
90b80344
DM
130012012-03-17 David S. Miller <davem@davemloft.net>
13002
13003 [BZ #6471]
13004 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13005 for 2.16.
13006
edc21804
DM
130072012-03-16 David S. Miller <davem@davemloft.net>
13008
77e927af
DM
13009 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13010 warnings.
13011
374976dd
DM
13012 [BZ #6471]
13013 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13014 properly.
13015 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13016 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13017 sysdep_routines when subdir is sysvipc.
13018 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13019 __getshmlba helper.
13020
edc21804
DM
13021 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13022
473c3ef3
L
130232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13024
13025 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13026 [__LP64__].
13027
eb0f39b6
L
130282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13029
13030 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13031 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13032 (__lround): Renamed to ...
13033 (__llround): This. Replace long int with long long int.
13034 Define lround functions as aliases of llround functions.
13035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13036
6b6cd74b
L
130372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13038
13039 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13040 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13041 adresses to uintptr_t. Replace "long int" and "unsigned long
13042 int" with "greg_t" on va_arg.
13043
f1a77b01
L
130442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13045
13046 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13047 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13048
13049 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13050 Move e_machine check before EI_CLASS check. Handle x32
13051 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13052 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13053 SKIP_EM_IA_64 and include
13054 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13055
13056 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13057 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13058 (add_system_dir): New macro.
13059
13060 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13061 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13062
11b90b9f
JM
130632012-03-16 Joseph Myers <joseph@codesourcery.com>
13064
c36e1d23
JM
13065 [BZ #2551]
13066 [BZ #2552]
13067 [BZ #2553]
13068 [BZ #2554]
13069 [BZ #2562]
13070 [BZ #2563]
13071 [BZ #2565]
13072 [BZ #2566]
13073 [BZ #2576]
13074 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13075 (y0): Likewise.
13076 * math/w_j0f.c (j0f): Likewise.
13077 (y0f): Likewise.
13078 * math/w_j0l.c (__j0l): Likewise.
13079 (__y0l): Likewise.
13080 * math/w_j1.c (j1): Likewise.
13081 (y1): Likewise.
13082 * math/w_j1f.c (j1f): Likewise.
13083 (y1f): Likewise.
13084 * math/w_j1l.c (__j1l): Likewise.
13085 (__y1l): Likewise.
13086 * math/w_jn.c (jn): Likewise.
13087 (yn): Likewise.
13088 * math/w_jnf.c (jnf): Likewise.
13089 (ynf): Likewise.
13090 * math/w_jnl.c (__jnl): Likewise.
13091 (__ynl): Likewise.
13092 * math/libm-test.inc (j0_test): Add more tests.
13093 (j1_test): Likewise.
13094 (jn_test): Likewise. Add trailing semicolon to existing test.
13095 (y0_test): Likewise.
13096 (y1_test): Likewise.
13097 * sysdeps/i386/fpu/libm-test-ulps: Update.
13098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13099
11b90b9f
JM
13100 [BZ #13851]
13101 [BZ #13854]
13102 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13103 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13104 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13105 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13106 (__tanl): Set errno for infinite argument.
13107 * sysdeps/i386/fpu/mptan.c: Remove.
13108 * sysdeps/i386/fpu/s_tan.S: Likewise.
13109 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13110 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13111 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13112 * math/libm-test.inc (tan_test): Add more tests and enable more
13113 tests for double and long double.
13114 * sysdeps/i386/fpu/libm-test-ulps: Update.
13115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13116
6a1bd2a1
JK
131172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13118
13119 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13120 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13121
10a803e0
RM
131222012-03-16 Roland McGrath <roland@hack.frob.com>
13123
13124 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13125 * configure.in: Use it for both main tree and add-ons.
13126 * configure: Regenerated.
13127
f196c7f7
L
131282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13129
13130 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13131
8848d99d
JM
131322012-03-16 Joseph Myers <joseph@codesourcery.com>
13133
96cbe7f4
JM
13134 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13135 in comment.
13136
8848d99d
JM
13137 [BZ #13851]
13138 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13139 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13143 infinite argument.
13144 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13146 != 0 for prec == 2.
13147 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13148 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13149 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13150 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13151 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13152 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13153 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13154 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13155 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13156 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13157 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13158 * math/libm-test.inc (cos_test): Add more tests and enable more
13159 tests for long double.
13160 (sin_test): Likewise.
13161 (sincos_test): Likewise.
13162 * sysdeps/i386/fpu/libm-test-ulps: Update.
13163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13164
dd7f4703
DM
131652012-03-16 David S. Miller <davem@davemloft.net>
13166
13167 * sysdeps/sparc/fpu/math_private.h: New file.
13168
006f1daa
DM
131692012-03-15 David S. Miller <davem@davemloft.net>
13170
c0c83bc8
DM
13171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13172 file.
e6a62e18 13173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13175 file.
e6a62e18
DM
13176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13181 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13182 sysdep routines.
13183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13184
88cb87d9
DM
13185 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13186 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13187
006f1daa 13188 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13190 sparc-ifunc.h
006f1daa 13191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13193 Likewise.
13194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13195 Likewise.
006f1daa
DM
13196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13200 Likewise.
006f1daa
DM
13201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13206 Likewise.
13207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13208 Likewise.
006f1daa
DM
13209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13233
11e0098e
AS
132342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13235
13236 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13237 scaling.
13238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13239
e85b09d0
AJ
132402012-03-15 Andreas Jaeger <aj@suse.de>
13241
13242 [BZ #13852]
13243 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13244 ieee754/flt-32 implementation for sin, cos and sincos.
13245 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13246 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13247 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13248 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13249 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13250 ieee754/flt-32 implementation for tan.
13251
13252 * math/libm-test.inc (cos_test): Enable some large input tests for
13253 float as well
13254 (sin_test): Likewise.
13255 (sincos_test): Likewise.
13256 (tan_test): Add tests for large input.
13257
13258 * sysdeps/i386/fpu/libm-test-ulps: Update.
13259
81c64153
AJ
132602012-03-15 Andreas Jaeger <aj@suse.de>
13261
13262 [BZ #13658]
13263 * math/libm-test.inc (cos_test): Add more test cases.
13264 (sin_test): Likewise.
13265 (sincos_test): Likewise.
13266
7bbfa5c6
AJ
132672012-03-15 Andreas Jaeger <aj@suse.de>
13268
13269 [BZ #13837]
13270 * math/libm-test.inc (cos_test): Add a test case for large input
13271 value.
13272 (sin_test): Likewise.
13273 (sincos_test): Likewise.
13274
132752012-03-15 Andreas Jaeger <aj@suse.de>,
13276 Joseph Myers <joseph@codesourcery.com>
13277
13278 [BZ #13658]
0671f479 13279 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13280 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13281 * sysdeps/i386/fpu/branred.c: Likewise.
13282 * sysdeps/i386/fpu/dosincos.c: Likewise.
13283 * sysdeps/i386/fpu/mpa.c: Likewise.
13284 * sysdeps/i386/fpu/s_cos.S: Likewise.
13285 * sysdeps/i386/fpu/s_sin.S: Likewise.
13286 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13287 * sysdeps/i386/fpu/sincos32.c: Likewise.
13288
13289 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13290 Define.
13291 (libc_feupdateenv_53bit): Define.
13292 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13293 Define.
13294 (libc_feupdateenv_53bit): Define.
13295
13296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13297 53 bit (without extend i386 double precision).
13298
13299 * math/libm-test.inc (sincos_test): Add tests for large input.
13300 (sin): Likewise.
13301 (cos): Likewise.
13302
13303 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13304
9cad04ea
AS
133052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13306
13307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13308
f7062b9a
DM
133092012-03-15 David S. Miller <davem@davemloft.net>
13310
13311 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13312 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13313 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13314 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13327 file.
f7062b9a 13328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13330 file.
f7062b9a 13331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13333 file.
f7062b9a 13334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13336 file.
f7062b9a
DM
13337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13339 fmin/fmax sysdep routines.
13340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13341
7bd951ff
DM
133422012-03-14 David S. Miller <davem@davemloft.net>
13343
559398ab
DM
13344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13364 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13371 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13373 routines.
13374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13375 file.
559398ab 13376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13378 file.
559398ab 13379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13381 file.
559398ab 13382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13384 file.
559398ab 13385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13387 file.
559398ab 13388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13390 file.
13391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13392 file.
13393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13394 file.
13395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13396 file.
13397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13398 New file.
13399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13400 file.
13401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13402 file.
559398ab 13403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13405 file.
559398ab 13406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13408 file.
559398ab 13409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13411 file.
559398ab 13412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13414 VIS3 routines.
559398ab
DM
13415
13416 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13417 New file.
13418
5a1c1e32
DM
13419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13420
eae47a36
DM
13421 * sysdeps/sparc/configure.in: New file.
13422 * sysdeps/sparc/configure: Generate.
13423 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13424 * configure: Regenerate.
13425 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13426 * config.make.in (have-as-vis3): New.
13427 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13428 available use -Av9d instead of -Av9a.
13429 * sysdeps/sparc/sparc64/Makefile: Likewise.
13430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13432 New file.
13433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13434 file.
13435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13436 New file.
13437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13438 file.
eae47a36
DM
13439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13444
c0c83bc8
DM
13445 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13446 fzeros/fnegs to load 0x80000000 into a float register instead of
13447 using the stack.
7bd951ff
DM
13448 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13449
bd951ccb
JM
134502012-03-14 Joseph Myers <joseph@codesourcery.com>
13451
13452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13453 bits/syscall.h.
13454 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13455 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13456 ($(inst_includedir)/bits/syscall.h): Remove rule.
13457 ($(objpfx)bits/syscall.d): Include instead of
13458 $(objpfx)syscall-list.d.
13459 (generated): Change syscall-list.h and syscall-list.d to
13460 bits/syscall.h and bits/syscall.d.
13461
bb4e6db2
RM
134622012-03-14 Roland McGrath <roland@hack.frob.com>
13463
13464 [BZ #13846]
13465 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13466
aa4a2ae1
JM
134672012-03-14 Joseph Myers <joseph@codesourcery.com>
13468
e456826d
JM
13469 [BZ #13841]
13470 * math/s_csqrt.c: Include <float.h>.
13471 (__csqrt): Scale large or subnormal inputs.
13472 * math/s_csqrtf.c: Likewise.
13473 * math/s_csqrtl.c: Likewise.
13474 * math/libm-test.inc (csqrt_test): Add more tests.
13475 * sysdeps/i386/fpu/libm-test-ulps: Update.
13476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13477
aa4a2ae1
JM
13478 [BZ #13840]
13479 * math/libm-test.inc (hypot_test): Add more tests.
13480
7c10fd35
DM
134812012-03-13 David S. Miller <davem@davemloft.net>
13482
13483 [BZ #13840]
13484 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13485 double-precision for the calculation instead of scaling.
13486
f453b98b
JM
134872012-03-13 Joseph Myers <joseph@codesourcery.com>
13488
13489 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13490 manipulate bits before adding and subtracting TWO52[sx].
13491 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13492 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13493 Likewise.
13494 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13495
09a3453f
DM
134962012-03-13 David S. Miller <davem@davemloft.net>
13497
8e59da90
DM
13498 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13499 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13501 rtld-global-offsets.h
13502 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13503
2a8ab7f2
DM
13504 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13505 large parameters.
13506
10f62770
DM
13507 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13508
5f0bdb18
DM
13509 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13510 'err' in the ifdef scope in which it is actually used.
13511
09a3453f
DM
13512 * nss/nss_db/db-init.c: Include string.h
13513
b4b2eb5e
DM
135142012-03-12 David S. Miller <davem@davemloft.net>
13515
98bb2f1c
DM
13516 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13517 masking out of the most significant byte of random value used.
13518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13519 Fix coding style in previous change.
13520
b4b2eb5e
DM
13521 * sysdeps/unix/sysv/linux/kernel-features.h
13522 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13523 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13524 expression.
13525 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13526 later.
13527
6e226b09
DM
135282012-03-11 David S. Miller <davem@davemloft.net>
13529
a1bcbd40
DM
13530 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13531 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13532 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13533 for 'resultvar' otherwise things get truncated on 64-bit.
13534
cb9d6174
DM
13535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13536 Fix masking out of the most significant byte of random value used.
13537
6e226b09
DM
13538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13539
058c132d
AS
135402012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13541
13542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13543
2d2cd515
DM
135442012-03-09 David S. Miller <davem@davemloft.net>
13545
13546 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13547 variables with appropriate CPP guards.
13548 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13549 frame pointer, not the stack pointer. Correct layout comments. Fix test
13550 on resulting framesize and the management of the outregs buffer for pltexit.
13551 Preserve floating point return values across _dl_call_pltexit call.
13552 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13553 framesize and the management of the outregs buffer for pltexit.
13554 Preserve floating point return values across _dl_call_pltexit
13555 call.
13556 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13557 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13558 (print_exit): Fix format string for return register value.
13559
9a07f9d0
JM
135602012-03-10 Joseph Myers <joseph@codesourcery.com>
13561
13562 * sunrpc/Makefile (others): Add rpcgen.
13563 ($(objpfx)rpcgen): Remove special build rule and dependency on
13564 libc.
13565 * sunrpc/rpcgen.c: New file.
13566
547b5e30
PE
135672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13568
c524201a
PE
13569 [BZ #13673]
13570 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13571 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13572 * sysdeps/i386/crti.S: Likewise.
13573 * sysdeps/i386/crtn.S: Likewise.
13574 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13575 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13576 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13577 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13578 * sysdeps/sh/crti.S: Likewise.
13579 * sysdeps/sh/crtn.S: Likewise.
13580 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13581
7b6235f2
PE
13582 [BZ #13673]
13583 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13584 with URL.
13585 * locale/programs/locfile-kw.gperf: Likewise.
13586 * locale/programs/charmap-kw.h: Regenerated.
13587 * locale/programs/locfile-kw.h: Likewise.
13588
547b5e30
PE
13589 [BZ #13673]
13590 * intl/plural.y: Replace FSF snail mail address with URL.
13591 * intl/plural.c: Regenerated.
13592
5f0a5dae
RH
135932012-03-09 Richard Henderson <rth@twiddle.net>
13594
13595 * include/math_private.h: Remove file.
13596 * math/math_private.h: Move file ...
13597 * sysdeps/generic/math_private.h: ... here.
13598
b8c03620
RH
13599 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13600 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13601 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13602
4e234f5d 13603 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13604 and <math_private.h>.
13605 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13606 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13607 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13608 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13609 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13646 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13647 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13648 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13661 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13692 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13693 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13694 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13695 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13696 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13697 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13698 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13699 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13700 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13701 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13702 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13703 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13705 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13706 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13707 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13708 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13709 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13710 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13712 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13713 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13714 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13715 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13716 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13717 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13718 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13719 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13720 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13721 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13722 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13723 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13724 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13725 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13726 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13727 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13728 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13729 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13730 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13731 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13732 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13733 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13734 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13735 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13736 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13737 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13738 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13739 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13740 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13741 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13742 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13743 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13744 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13745 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13746 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13747 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13748 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13749 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13750 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13751 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13752 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13753 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13754 * sysdeps/ieee754/k_standard.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13864 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13865 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13870 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13874 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13875 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13877 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13882 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13887 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13893 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13903 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13904 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13905 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13915 * sysdeps/ieee754/s_lib_version.c: Likewise.
13916 * sysdeps/ieee754/s_matherr.c: Likewise.
13917 * sysdeps/ieee754/s_signgam.c: Likewise.
13918 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13919 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13920 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13921 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13922 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13923 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13924 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13925 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13926 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13927 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13928 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13929 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13930 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13931 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13932 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13933 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13934 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13935 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13936 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13939
1991fa03
JM
139402012-03-09 Joseph Myers <joseph@codesourcery.com>
13941
13942 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13943 * sunrpc/rpc_main.c: Likewise.
13944 * sunrpc/rpc_svcout.c: Likewise.
13945
60d6f5a6
DM
139462012-03-09 David S. Miller <davem@davemloft.net>
13947
13948 * include/math_private.h: New file.
13949
4962050e
JM
139502012-03-09 Joseph Myers <joseph@codesourcery.com>
13951
02a6f887
JM
13952 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13953 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13954 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13955 from <bits/socket_type.h>.
13956 (enum __socket_type): Don't define here.
13957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13959 bits/socket_type.h.
13960
c6e013c1
JM
13961 [BZ #13566]
13962 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13963 checking __USE_GNU.
13964
4962050e
JM
13965 * Makerules ($(inst_includedir)/%.h): New rule.
13966 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13967 (install-others): Remove variable setting.
13968 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13969
38842f45
RH
139702012-03-08 Richard Henderson <rth@twiddle.net>
13971
67bb6da6
RH
13972 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13973 from macro to inline function; merge with the
13974 !__LIBC_INTERNAL_MATH_INLINES version.
13975 (__ieee754_sqrtf): Likewise.
13976
15194b4b
RH
13977 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13978 to inline function.
13979 (__rintf, __floor, __floorf): Likewise.
13980
64e21ede
RH
13981 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13982 macro to inline function.
13983 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13984
38842f45
RH
13985 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13986 not <math/math_private.h>.
13987
c64bf5fe
DM
139882012-03-08 David S. Miller <davem@davemloft.net>
13989
13990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13991 copyright year.
13992 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13993
82d86f28
TS
139942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13995
13996 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13997 normalization.
13998 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13999 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14000
aea5d727
UD
140012012-03-08 Ulrich Drepper <drepper@gmail.com>
14002
14003 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14004 be defined individually, they must be defined as a block. Define
14005 S for printing a string instead of hidint the different by using a
14006 macro for adding the 'l'.
14007 * stdio-common/tst-fphex-wide.c: Adjust.
14008
70bca0a3
MP
140092012-03-07 Marek Polacek <polacek@redhat.com>
14010
14011 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14012
65b81130
MP
140132012-03-08 Marek Polacek <polacek@redhat.com>
14014
14015 [BZ #13806]
14016 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14017 * stdio-common/tst-fphex.c: Define a few macros to make the
14018 test reusable. Use them.
14019 * stdio-common/tst-fphex-wide.c: New file.
14020
07037eeb
JM
140212012-03-08 Joseph Myers <joseph@codesourcery.com>
14022
a7a93d50
JM
14023 [BZ #6911]
14024 * manual/macros.texi (gnusystems): New macro.
14025 (nongnusystems): Likewise.
14026 (gnulinuxhurdsystems): Likewise.
14027 (gnuhurdsystems): Likewise..
14028 (gnulinuxsystems): Likewise.
14029 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14030 variants of the GNU system, not "GNU system".
14031 * manual/conf.texi: Likewise.
14032 * manual/errno.texi: Likewise. Update example of errno macro
14033 expansion.
14034 * manual/filesys.texi: Likewise.
14035 (getumask): Document as specific to GNU/Hurd.
14036 * manual/install.texi: Likewise. Reword some references to
14037 GNU/Linux.
14038 * manual/intro.texi: Likewise.
14039 * manual/io.texi: Likewise.
14040 (File Name Portability): Detail which constraints are inapplicable
14041 to all GNU systems and which are only inapplicable to GNU/Hurd.
14042 * manual/job.texi: Likewise.
14043 * manual/llio.texi: Likewise.
14044 (O_NOCTTY): Document as present on GNU/Linux.
14045 * manual/maint.texi: Likewise.
14046 * manual/memory.texi: Likewise.
14047 * manual/pattern.texi: Likewise.
14048 * manual/pipe.texi: Likewise.
14049 * manual/process.texi: Likewise.
14050 * manual/resource.texi: Likewise.
14051 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14052 child on GNU/Hurd.
14053 * manual/setjmp.texi: Likewise.
14054 * manual/signal.texi: Likewise.
14055 * manual/startup.texi: Likewise.
14056 * manual/stdio.texi: Likewise.
14057 * manual/terminal.texi: Likewise.
14058 (ONLCR): Document as POSIX.
14059 (OXTABS): Document availability on GNU/Linux as XTABS.
14060 (ONOEOT): Document availability separately from other bits.
14061 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14062 * manual/time.texi: Likewise.
14063 * manual/users.texi: Likewise.
14064 * INSTALL: Regenerated.
14065 * sysdeps/gnu/errlist.c: Regenerated.
14066
07037eeb
JM
14067 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14068 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14069 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14070 puts.
14071 * configure: Regenerated.
14072
d1d3431a
JM
140732012-03-07 Joseph Myers <joseph@codesourcery.com>
14074
af6a1e37
JM
14075 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14076 default includes instead of AC_HEADER_CHECK.
14077 * sysdeps/i386/configure: Regenerated.
14078
d1d3431a
JM
14079 [BZ #10716]
14080 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14081 * math/s_cacoshf.c (__cacoshf): Likewise.
14082 * math/s_cacoshl.c (__cacoshl): Likewise.
14083 * math/s_casinh.c (__casinh): Set signs of result from argument.
14084 * math/s_casinhf.c (__casinhf): Likewise.
14085 * math/s_casinhl.c (__casinhl): Likewise.
14086 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14087 (casinh_test): Add more tests.
14088 * sysdeps/i386/fpu/libm-test-ulps: Update.
14089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14090
482ff4da
UD
140912012-03-07 Ulrich Drepper <drepper@gmail.com>
14092
872fda05
UD
14093 * po/zh_TW.po: Update from translation team.
14094
a4300c7a
UD
14095 * login/Makefile (distribute): Remove variable.
14096 * catgets/Makefile: Likewise.
14097 * mach/Makefile: Likewise.
14098 * malloc/Makefile: Likewise.
14099 * misc/Makefile: Likewise.
14100 * iconv/Makefile: Likewise.
14101 * nscd/Makefile: Likewise.
14102 * hurd/Makefile: Likewise.
14103 * manual/Makefile: Likewise.
14104 * locale/Makefile: Likewise.
14105 * intl/Makefile: Likewise.
14106 * conform/Makefile: Likewise.
14107 * nss/Makefile: Likewise.
14108 * time/Makefile: Likewise.
14109 * soft-fp/Makefile: Likewise.
14110 * dirent/Makefile: Likewise.
14111 * gmon/Makefile: Likewise.
14112 * po/Makefile: Likewise.
14113 * rt/Makefile: Likewise.
14114 * socket/Makefile: Likewise.
14115 * math/Makefile: Likewise.
14116 * signal/Makefile: Likewise.
14117 * debug/Makefile: Likewise.
14118 * elf/Makefile: Likewise.
14119 * timezone/Makefile: Likewise.
14120 * stdlib/Makefile: Likewise.
14121 * iconvdata/Makefile: Likewise.
14122 * sunrpc/Makefile: Likewise.
14123 * io/Makefile: Likewise.
14124 * argp/Makefile: Likewise.
14125 * inet/Makefile: Likewise.
14126 * hesiod/Makefile: Likewise.
14127 * grp/Makefile: Likewise.
14128 * csu/Makefile: Likewise.
14129 * wctype/Makefile: Likewise.
14130 * crypt/Makefile: Likewise.
14131 * libio/Makefile: Likewise.
14132 * string/Makefile: Likewise.
14133 * nis/Makefile: Likewise.
14134 * resolv/Makefile: Likewise.
14135 * stdio-common/Makefile: Likewise.
14136 * wcsmbs/Makefile: Likewise.
14137 * dlfcn/Makefile: Likewise.
14138 * posix/Makefile: Likewise.
14139
3b7c4e74 14140 [BZ #6959]
482ff4da
UD
14141 * timezone/Makefile: Don't install timezone files, just the programs
14142 and scripts.
14143
f72ed77d
UD
141442012-03-06 Ulrich Drepper <drepper@gmail.com>
14145
a000466f
UD
14146 * nss/databases.def: Add missing gshadow entry.
14147
f72ed77d
UD
14148 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14149
a53b7a4e
MP
141502012-03-06 Marek Polacek <polacek@redhat.com>
14151
14152 [BZ #13726]
14153 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14154 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14155 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14156 * stdio-common/tst-long-dbl-fphex.c: New file.
14157
e9258400
DM
141582012-03-06 David S. Miller <davem@davemloft.net>
14159
14160 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14161 (set_obp_int): New function.
14162 (get_obp_int): New function.
14163 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14164 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14165 Avoid unused variable warnings on 'val' and use builtin_expect.
14166 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14167 __builtin_expect.
e9258400
DM
14168 (INLINE_CLONE_SYSCALL): Likewise.
14169
3bd2c723
DM
141702012-03-05 David S. Miller <davem@davemloft.net>
14171
14172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14173
bbb78d03
AS
141742012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14175
884c5db4
AS
14176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14177
bbb78d03
AS
14178 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14179 only for |x| >= 40.
14180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14181
1c9f702a 141822012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14183
14184 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14185 Replace gettimeofday with __vdso_gettimeofday.
14186
7be16f82
RM
14187 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14188 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14189 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14190
14191 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14192 time with __vdso_time.
14193
ed58a00f
JM
141942012-03-05 Joseph Myers <joseph@codesourcery.com>
14195
14196 * manual/lang.texi (size_t): Note types to which size_t may be
14197 equivalent with the GNU C Library, but do not describe when
14198 differences between them are significant.
14199
30ee4ced
AJ
142002012-03-05 Andreas Jaeger <aj@suse.de>
14201
14202 * sysdeps/i386/fpu/libm-test-ulps: Update.
14203
b7cd39e8
JM
142042012-03-05 Joseph Myers <joseph@codesourcery.com>
14205
14206 [BZ #3976]
14207 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14208 (__ieee754_pow): Save and restore rounding mode and use
14209 round-to-nearest for main computations.
14210 * math/libm-test.inc (pow_test_tonearest): New function.
14211 (pow_test_towardzero): Likewise.
14212 (pow_test_downward): Likewise.
14213 (pow_test_upward): Likewise.
14214 (main): Call the new functions.
14215 * sysdeps/i386/fpu/libm-test-ulps: Update.
14216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14217
14218 [BZ #3976]
14219 * math/libm-test.inc (cosh_test_tonearest): New function.
14220 (cosh_test_towardzero): Likewise.
14221 (cosh_test_downward): Likewise.
14222 (cosh_test_upward): Likewise.
14223 (sinh_test_tonearest): Likewise.
14224 (sinh_test_towardzero): Likewise.
14225 (sinh_test_downward): Likewise.
14226 (sinh_test_upward): Likewise.
14227 (main): Call the new functions.
14228 * sysdeps/i386/fpu/libm-test-ulps: Update.
14229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14230
6c6a98c9
TV
142312012-03-05 Tom de Vries <tom@codesourcery.com>
14232
14233 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14234 default stack guard is set in last bytes.
14235 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14236
21bb2d2e 142372012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14238
21bb2d2e 14239 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14240
21bb2d2e
AJ
14241 [BZ #13656]
14242 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14243 possibly allocate from heap instead of stack.
14244 * stdio-common/bug-vfprintf-nargs.c: New file.
14245 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14246
c6922934
AS
142472012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14248
14249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14250
bc957d53
MP
142512012-03-03 Marek Polacek <polacek@redhat.com>
14252
14253 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14254 * math/math_private.h: Likewise.
14255 * stdlib/tst-strtod.c: Likewise.
14256 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14257 * sysdeps/x86_64/bits/atomic.h: Likewise.
14258
6358490d
DM
142592012-03-02 David S. Miller <davem@davemloft.net>
14260
14261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14265 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14266 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14267 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14268 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14269
01ae168d
RM
142702012-03-02 Roland McGrath <roland@hack.frob.com>
14271
d9a17c07
RM
14272 [BZ #13792]
14273 * manual/examples/README: New file, says the example source files
14274 can be used under GPL>=2.
14275 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14276 line containing just "*/".
14277 * manual/examples/add.c: Add copyright header (GPL>=2).
14278 * manual/examples/argp-ex1.c: Likewise.
14279 * manual/examples/argp-ex2.c: Likewise.
14280 * manual/examples/argp-ex3.c: Likewise.
14281 * manual/examples/argp-ex4.c: Likewise.
14282 * manual/examples/atexit.c: Likewise.
14283 * manual/examples/db.c: Likewise.
14284 * manual/examples/dir.c: Likewise.
14285 * manual/examples/dir2.c: Likewise.
14286 * manual/examples/execinfo.c: Likewise.
14287 * manual/examples/filecli.c: Likewise.
14288 * manual/examples/filesrv.c: Likewise.
14289 * manual/examples/fmtmsgexpl.c: Likewise.
14290 * manual/examples/genpass.c: Likewise.
14291 * manual/examples/inetcli.c: Likewise.
14292 * manual/examples/inetsrv.c: Likewise.
14293 * manual/examples/isockad.c: Likewise.
14294 * manual/examples/longopt.c: Likewise.
14295 * manual/examples/memopen.c: Likewise.
14296 * manual/examples/memstrm.c: Likewise.
14297 * manual/examples/mkfsock.c: Likewise.
14298 * manual/examples/mkisock.c: Likewise.
14299 * manual/examples/mygetpass.c: Likewise.
14300 * manual/examples/pipe.c: Likewise.
14301 * manual/examples/popen.c: Likewise.
14302 * manual/examples/rprintf.c: Likewise.
14303 * manual/examples/search.c: Likewise.
14304 * manual/examples/select.c: Likewise.
14305 * manual/examples/setjmp.c: Likewise.
14306 * manual/examples/sigh1.c: Likewise.
14307 * manual/examples/sigusr.c: Likewise.
14308 * manual/examples/stpcpy.c: Likewise.
14309 * manual/examples/strdupa.c: Likewise.
14310 * manual/examples/strftim.c: Likewise.
14311 * manual/examples/strncat.c: Likewise.
14312 * manual/examples/subopt.c: Likewise.
14313 * manual/examples/swapcontext.c: Likewise.
14314 * manual/examples/termios.c: Likewise.
14315 * manual/examples/testopt.c: Likewise.
14316 * manual/examples/testpass.c: Likewise.
14317 * manual/examples/timeval_subtract.c: Likewise.
14318
01ae168d
RM
14319 [BZ #13792]
14320 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14321 function to ...
14322 * manual/timeval_subtract.c.texi: ... here, new file.
14323
49efa33d
DM
143242012-03-02 David S. Miller <davem@davemloft.net>
14325
14326 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14327
28afd92d
JM
143282012-03-02 Joseph Myers <joseph@codesourcery.com>
14329
804360ed
JM
14330 [BZ #3976]
14331 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14332 (__sin): Save and restore rounding mode and use round-to-nearest
14333 for all computations.
14334 (__cos): Save and restore rounding mode and use round-to-nearest
14335 for all computations.
14336 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14337 <fenv.h>.
14338 (tan): Save and restore rounding mode and use round-to-nearest for
14339 all computations.
14340 * math/libm-test.inc (cos_test_tonearest): New function.
14341 (cos_test_towardzero): Likewise.
14342 (cos_test_downward): Likewise.
14343 (cos_test_upward): Likewise.
14344 (sin_test_tonearest): Likewise.
14345 (sin_test_towardzero): Likewise.
14346 (sin_test_downward): Likewise.
14347 (sin_test_upward): Likewise.
14348 (tan_test_tonearest): Likewise.
14349 (tan_test_towardzero): Likewise.
14350 (tan_test_downward): Likewise.
14351 (tan_test_upward): Likewise.
14352 (main): Call the new functions.
14353 * sysdeps/i386/fpu/libm-test-ulps: Update.
14354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14355
a6d06d7b
JM
14356 [BZ #10135]
14357 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14358 small n, then large n, before computing and testing k+n.
14359 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14361 Likewise.
14362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14363 Likewise.
14364 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14365 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14368 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14369 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14370 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14371 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14372 * math/libm-test.inc (scalbn_test): Add more tests.
14373 (scalbln_test): Likewise.
14374
07e12bb3
JM
14375 * manual/filesys.texi (mode_t): Describe constraints on size and
14376 signedness, not exact equivalence to a particular type.
14377 (ino_t): Likewise.
14378 (ino64_t): Likewise.
14379 (dev_t): Likewise.
14380 (nlink_t): Likewise.
14381 (blkcnt_t): Likewise.
14382 (blkcnt64_t): Likewise.
14383 * manual/llio.texi (off_t): Likewise.
14384
28afd92d
JM
14385 [BZ #3976]
14386 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14387 (__ieee754_exp): Save and restore rounding mode and use
14388 round-to-nearest for all computations.
14389 * math/libm-test.inc (exp_test_tonearest): New function.
14390 (exp_test_towardzero): Likewise.
14391 (exp_test_downward): Likewise.
14392 (exp_test_upward): Likewise.
14393 (main): Call the new functions.
14394 * sysdeps/i386/fpu/libm-test-ulps: Update.
14395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14396
b1eeb65d
CD
143972012-03-01 Chris Demetriou <cgd@google.com>
14398
14399 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14400 have predictable order.
14401
53362a4b
DM
144022012-03-01 David S. Miller <davem@davemloft.net>
14403
3c969083
DM
14404 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14405
759707de
DM
14406 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14407 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14408 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14409 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14410
dfdb8ff2
DM
14411 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14412 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14413 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14415 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14416 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14417 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14418 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14419 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14420
ead89f96
DM
14421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14422
7f66bd07
DM
14423 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14424 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14425 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14426
53362a4b
DM
14427 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14428 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14429 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14430 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14431 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14432 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14433 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14434 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14435 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14436 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14437 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14438 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14440 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14441 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14443 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14444 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14445 * sysdeps/sparc/elf/configure: Regenerated.
14446
7b1902cb
JM
144472012-03-01 Joseph Myers <joseph@codesourcery.com>
14448
bec039bc
JM
14449 * configure.in (AS, LD): Require binutils 2.20 or later.
14450 * configure: Regenerated.
14451 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14452 as required minimum version.
14453 * INSTALL: Regenerated.
14454
7b1902cb
JM
14455 [BZ #2541]
14456 [BZ #4108]
14457 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14458 before squaring exponent.
14459 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14460 bottom long double and 27 bits of top long double before squaring
14461 exponent.
14462 * math/libm-test.inc (erfc_test): Add more tests.
14463 * sysdeps/i386/fpu/libm-test-ulps: Update.
14464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14466
f775c276
KT
144672012-03-01 Kai Tietz <ktietz@redhat.com>
14468
14469 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14470 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14471 containing bit-fields.
14472 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14473 * soft-fp/single.h (_FP_UNION_S): Likewise.
14474 * soft-fp/double.h (_FP_UNION_D): Likewise.
14475
5b8a4d4a
JM
144762012-02-29 Joseph Myers <joseph@codesourcery.com>
14477
0bab47b6
JM
14478 [BZ #13786]
14479 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14480 not include ../strcmp.S.
14481 [USE_AS_STRNCASECMP_L]: Likewise.
14482 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14483 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14484 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14485 (__strncasecmp_l_ia32): Define as alias to
14486 __strncasecmp_l_nonascii.
14487
0fcad3e2
JM
14488 [BZ #5794]
14489 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14490 * sysdeps/i386/fpu/libm-test-ulps: Update.
14491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14492
5b8a4d4a
JM
14493 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14495
8fdceb2e
JL
144962012-02-29 Jeff Law <law@redhat.com>
14497
14498 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14499 out of bounds read.
14500
1f393a11
MP
145012012-02-29 Marek Polacek <polacek@redhat.com>
14502
14503 [BZ #13706]
14504 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14505 * elf/Makefile: Add rules to run tst-unused-dep.out.
14506
8847f037
DM
145072012-02-28 David S. Miller <davem@davemloft.net>
14508
14509 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14510 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14511 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14513 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14514 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14515
169d7f11
JM
145162012-02-29 Joseph Myers <joseph@codesourcery.com>
14517
14518 * math/libm-test.inc (llround_test): Move one test from
14519 lround_test. Use TEST_f_L in moved test.
14520 (lround_test): Move misplaced test to llround_test. Add testcase
14521 from bug 2561.
14522
39adf059
UD
145232012-02-28 Ulrich Drepper <drepper@gmail.com>
14524
14525 * sysdeps/x86_64/fpu/e_expf.S: New file.
14526 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14527
71b5d1c5
SB
145282012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14529
14530 [BZ #13637]
14531 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14532 of remain_len that may cause incomplete multi-byte character and
14533 false match.
14534 * posix/bug-regex33.c: New file.
14535 * posix/Makefile (tests): Add bug-regex33.
14536
1f77f049
JM
145372012-02-28 Joseph Myers <joseph@codesourcery.com>
14538
14539 * manual/macros.texi: New file.
14540 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14541 * manual/libc.texinfo: Include macros.texi.
14542 * manual/creatute.texi: Likewise.
14543 * manual/install.texi: Likewise.
14544 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14545 @glibcadj{} in references to the GNU C Library.
14546 * manual/charset.texi: Likewise.
14547 * manual/conf.texi: Likewise.
14548 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14549 when not using those macros.
14550 * manual/creature.texi: Likewise.
14551 * manual/crypt.texi: Likewise.
14552 * manual/errno.texi: Likewise.
14553 * manual/filesys.texi: Likewise.
14554 * manual/header.texi: Likewise.
14555 * manual/install.texi: Likewise.
14556 * manual/intro.texi: Likewise.
14557 * manual/io.texi: Likewise.
14558 * manual/job.texi: Likewise.
14559 * manual/lang.texi: Likewise.
14560 * manual/libc.texiinfo: Likewise.
14561 * manual/llio.texi: Likewise.
14562 * manual/locale.texi: Likewise.
14563 * manual/maint.texi: Likewise.
14564 * manual/math.texi: Likewise.
14565 * manual/memory.texi: Likewise.
14566 * manual/message.texi: Likewise.
14567 * manual/nss.texi: Likewise.
14568 * manual/pattern.texi: Likewise.
14569 * manual/process.texi: Likewise.
14570 * manual/resource.texi: Likewise.
14571 * manual/search.texi: Likewise.
14572 * manual/setjmp.texi: Likewise.
14573 * manual/signal.texi: Likewise.
14574 * manual/socket.texi: Likewise.
14575 * manual/startup.texi: Likewise.
14576 * manual/stdio.texi: Likewise.
14577 * manual/string.texi: Likewise.
14578 * manual/sysinfo.texi: Likewise.
14579 * manual/syslog.texi: Likewise.
14580 * manual/terminal.texi: Likewise.
14581 * manual/time.texi: Likewise.
14582 * manual/users.texi: Likewise.
14583 * INSTALL: Regenerated.
14584 * NOTES: Regenerated.
d40c5d54 14585 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14586
450bf206
AS
145872012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14588
14589 * include/dirent.h: Include <dirstream.h> before
14590 <dirent/dirent.h>.
14591
741a235b
DM
145922012-02-28 David S. Miller <davem@davemloft.net>
14593
14594 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14595 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14596 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14597 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14598
d6b5aa58
DM
145992012-02-27 David S. Miller <davem@davemloft.net>
14600
1aff59a3
DM
14601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14603 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14604 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14605
d6b5aa58
DM
14606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14607 frame pointer instead of stack pointer relative arg slot.
14608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14609 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14610 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14611
433f48bf
CD
146122012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14613
14614 [BZ #3992]
14615 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14616
d674b76d
DM
146172012-02-27 David S. Miller <davem@davemloft.net>
14618
14619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14623 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14624 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14625 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14626 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14627
0e7727f7
JM
146282012-02-27 Joseph Myers <joseph@codesourcery.com>
14629
14630 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14631 later. Allow versions 5-9.
43be4ca2 14632 * configure: Regenerated.
0e7727f7
JM
14633 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14634 required minimum version and 4.6 as recommended version. Do not
14635 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14636 * INSTALL: Regenerated.
0e7727f7 14637
a78bc654
DM
146382012-02-27 David S. Miller <davem@davemloft.net>
14639
428d5830
DM
14640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14644 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14645 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14646 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14647 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14648
a78bc654
DM
14649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14650 manipulate bits before adding and subtracting TWO112[sx].
14651 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14652
4579f81c
RM
146532012-02-27 Roland McGrath <roland@hack.frob.com>
14654
36c8acb4
RM
14655 [BZ #13775]
14656 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14657 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14658 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14659 being in POSIX, because they are in 1003.1-2008.
14660
84ad622b
RM
14661 * rt/tst-aio.c: Include <fcntl.h>.
14662 * rt/tst-aio7.c: Likewise.
14663 * rt/tst-aio64.c: Likewise.
14664
4579f81c
RM
14665 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14666
abd923db
JM
146672012-02-27 Joseph Myers <joseph@codesourcery.com>
14668
14669 * manual/install.texi (--with-headers): Describe headers as
14670 interface headers, not private headers.
14671 (Specific advice for GNU/Linux systems): Describe use of headers
14672 from "make headers_install", not private headers from older
14673 kernels.
43be4ca2 14674 * INSTALL: Regenerated.
abd923db
JM
14675 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14676 Change to 2.6.19.
14677 * sysdeps/unix/sysv/linux/configure: Regenerated.
14678
6664049b
JM
14679 * manual/llio.texi (fclean): Remove documentation.
14680
bb8b6697
JM
14681 * manual/Makefile (libc-texi-generated): New variable. Include
14682 version.texi.
14683 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14684 $(libc-texi-generated), not duplicated list of files.
14685 (version.texi, stamp-version): New rules.
14686 (realclean): Remove $(libc-texi-generated), not individual files
14687 from that list. Do not remove dir-add.texinfo.
14688 * manual/libc.texinfo: Comment out uses of edition numbers and
14689 references to printed manual. Remove last-updated dates.
14690 (EDITION): Comment out.
14691 (ISBN): Likewise.
14692 (VERSION, UPDATED): Remove.
14693 (version.texi): Include.
14694
12e5c3b9
AS
146952012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14696
14697 * sysdeps/posix/spawni.c: Include <signal.h>.
14698 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14699 * sysdeps/pthread/aio_fsync.c: Likewise.
14700
4efeffc1 147012012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14702
ba63ba08
UD
14703 * conform/Makefile (tests): Run only when not cross-compiling and
14704 when fast-check is not defined.
14705
d94a4670
UD
14706 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14707 * conform/data/limits.h-data: Fixes for POSIX2008.
14708 * conform/run-conformtest.sh: Run all tests.
14709 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14710 headers.
14711 * include/bits/dlfcn.h: Likewise.
14712 * include/langinfo.h: Likewise.
14713 * include/monetary.h: Likewise.
14714 * include/sys/poll.h: Likewise.
14715
14716 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14717 for __USE_GNU.
14718 * posix/spawn.h: Define __need_sigset_t.
14719 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14720 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14721 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14722 to get sigevent_t only.
14723 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14724 only for __USE_GNU.
14725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14726 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14727 process_vm_writev only for __USE_GNU.
14728 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14729
14730 * conform/Makefile: For now ignore errors from run-conformtest.
14731 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14732 POSIX to avoid namespace pollution. Don't prepend headers.
14733 * conform/data/aio.h-data: Fixes for POSIX testing.
14734 * conform/data/fcntl.h-data: Likewise.
14735 * conform/data/glob.h-data: Likewise.
14736 * conform/data/grp.h-data: Likewise.
14737 * conform/data/pthread.h-data: Likewise.
14738 * conform/data/pwd.h-data: Likewise.
14739 * conform/data/signal.h-data: Likewise.
14740 * conform/data/spawn.h-data: Likewise.
14741 * conform/data/stdio.h-data: Likewise.
14742 * conform/data/stdlib.h-data: Likewise.
14743 * conform/data/stropts.h-data: Likewise.
14744 * conform/data/sys/mman.h-data: Likewise.
14745 * conform/data/sys/stat.h-data: Likewise.
14746 * conform/data/sys/types.h-data: Likewise.
14747 * conform/data/sys/wait.h-data: Likewise.
14748 * conform/data/time.h-data: Likewise.
14749 * conform/data/unistd.h-data: Likewise.
14750 * conform/data/utime.h-data: Likewise.
14751
14752 * io/sys/stat.h: fchmod was always in POSIX.
14753 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14754 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14755 * rt/aio.h: Define __need_timespec before including <time.h>.
14756 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14757 struct. Add forward declaration of pthread_attr_t and use it in
14758 sigevent.
14759 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14760 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14761 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14762 always remove CLK_TCK definition.
14763
c20105c3
AS
147642012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14765
14766 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14767
7a270350
UD
147682012-02-25 Ulrich Drepper <drepper@gmail.com>
14769
31341567
UD
14770 * conform/run-conformtest.sh: New file.
14771 * conform/Makefile: Run run-conformtest for tests.
14772 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14773 support.
14774
14775 * conform/data/uchar.h-data: New file.
14776 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14777 * conform/data/arpa/inet.h-data: Likewise.
14778 * conform/data/assert.h-data: Likewise.
14779 * conform/data/complex.h-data: Likewise.
14780 * conform/data/cpio.h-data: Likewise.
14781 * conform/data/ctype.h-data: Likewise.
14782 * conform/data/dirent.h-data: Likewise.
14783 * conform/data/dlfcn.h-data: Likewise.
14784 * conform/data/errno.h-data: Likewise.
14785 * conform/data/fcntl.h-data: Likewise.
14786 * conform/data/float.h-data: Likewise.
14787 * conform/data/fmtmsg.h-data: Likewise.
14788 * conform/data/fnmatch.h-data: Likewise.
14789 * conform/data/ftw.h-data: Likewise.
14790 * conform/data/glob.h-data: Likewise.
14791 * conform/data/grp.h-data: Likewise.
14792 * conform/data/iconv.h-data: Likewise.
14793 * conform/data/inttypes.h-data: Likewise.
14794 * conform/data/langinfo.h-data: Likewise.
14795 * conform/data/libgen.h-data: Likewise.
14796 * conform/data/limits.h-data: Likewise.
14797 * conform/data/locale.h-data: Likewise.
14798 * conform/data/math.h-data: Likewise.
14799 * conform/data/monetary.h-data: Likewise.
14800 * conform/data/mqueue.h-data: Likewise.
14801 * conform/data/ndbm.h-data: Likewise.
14802 * conform/data/net/if.h-data: Likewise.
14803 * conform/data/netdb.h-data: Likewise.
14804 * conform/data/netinet/in.h-data: Likewise.
14805 * conform/data/nl_types.h-data: Likewise.
14806 * conform/data/poll.h-data: Likewise.
14807 * conform/data/pthread.h-data: Likewise.
14808 * conform/data/pwd.h-data: Likewise.
14809 * conform/data/regex.h-data: Likewise.
14810 * conform/data/sched.h-data: Likewise.
14811 * conform/data/search.h-data: Likewise.
14812 * conform/data/semaphore.h-data: Likewise.
14813 * conform/data/setjmp.h-data: Likewise.
14814 * conform/data/signal.h-data: Likewise.
14815 * conform/data/spawn.h-data: Likewise.
14816 * conform/data/stdarg.h-data: Likewise.
14817 * conform/data/stdio.h-data: Likewise.
14818 * conform/data/stdlib.h-data: Likewise.
14819 * conform/data/string.h-data: Likewise.
14820 * conform/data/strings.h-data: Likewise.
14821 * conform/data/stropts.h-data: Likewise.
14822 * conform/data/sys/ipc.h-data: Likewise.
14823 * conform/data/sys/mman.h-data: Likewise.
14824 * conform/data/sys/msg.h-data: Likewise.
14825 * conform/data/sys/resource.h-data: Likewise.
14826 * conform/data/sys/select.h-data: Likewise.
14827 * conform/data/sys/sem.h-data: Likewise.
14828 * conform/data/sys/shm.h-data: Likewise.
14829 * conform/data/sys/socket.h-data: Likewise.
14830 * conform/data/sys/stat.h-data: Likewise.
14831 * conform/data/sys/statvfs.h-data: Likewise.
14832 * conform/data/sys/time.h-data: Likewise.
14833 * conform/data/sys/timeb.h-data: Likewise.
14834 * conform/data/sys/times.h-data: Likewise.
14835 * conform/data/sys/types.h-data: Likewise.
14836 * conform/data/sys/uio.h-data: Likewise.
14837 * conform/data/sys/un.h-data: Likewise.
14838 * conform/data/sys/utsname.h-data: Likewise.
14839 * conform/data/sys/wait.h-data: Likewise.
14840 * conform/data/syslog.h-data: Likewise.
14841 * conform/data/tar.h-data: Likewise.
14842 * conform/data/termios.h-data: Likewise.
14843 * conform/data/utime.h-data: Likewise.
14844 * conform/data/utmpx.h-data: Likewise.
14845 * conform/data/varargs.h-data: Likewise.
14846 * conform/data/wchar.h-data: Likewise.
14847 * conform/data/wctype.h-data: Likewise.
14848 * conform/data/wordexp.h-data: Likewise.
14849
14850 * include/stropts.h: New file.
14851 * include/uchar.h: New file.
14852 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14853 * include/assert.h: Likewise.
14854 * include/ctype.h: Likewise.
14855 * include/dirent.h: Likewise.
14856 * include/dlfcn.h: Likewise.
14857 * include/fcntl.h: Likewise.
14858 * include/fnmatch.h: Likewise.
14859 * include/glob.h: Likewise.
14860 * include/grp.h: Likewise.
14861 * include/libio.h: Likewise.
14862 * include/locale.h: Likewise.
14863 * include/math.h: Likewise.
14864 * include/net/if.h: Likewise.
14865 * include/netdb.h: Likewise.
14866 * include/netinet/in.h: Likewise.
14867 * include/pthread.h: Likewise.
14868 * include/pwd.h: Likewise.
14869 * include/regex.h: Likewise.
14870 * include/sched.h: Likewise.
14871 * include/search.h: Likewise.
14872 * include/setjmp.h: Likewise.
14873 * include/signal.h: Likewise.
14874 * include/stdio.h: Likewise.
14875 * include/stdlib.h: Likewise.
14876 * include/string.h: Likewise.
14877 * include/sys/cdefs.h: Likewise.
14878 * include/sys/mman.h: Likewise.
14879 * include/sys/msg.h: Likewise.
14880 * include/sys/resource.h: Likewise.
14881 * include/sys/select.h: Likewise.
14882 * include/sys/socket.h: Likewise.
14883 * include/sys/stat.h: Likewise.
14884 * include/sys/statvfs.h: Likewise.
14885 * include/sys/time.h: Likewise.
14886 * include/sys/times.h: Likewise.
14887 * include/sys/uio.h: Likewise.
14888 * include/sys/utsname.h: Likewise.
14889 * include/sys/wait.h: Likewise.
14890 * include/termios.h: Likewise.
14891 * include/time.h: Likewise.
14892 * include/ulimit.h: Likewise.
14893 * include/unistd.h: Likewise.
14894 * include/utime.h: Likewise.
14895 * include/wchar.h: Likewise.
14896 * include/wctype.h: Likewise.
14897 * include/wordexp.h: Likewise.
14898
14899 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14900
7a270350
UD
14901 * time/time.h: TIME_UTC must be a macro.
14902 Make timespec_get available for ISO C11 only as well.
14903
7724defc
UD
149042012-02-24 Ulrich Drepper <drepper@gmail.com>
14905
14906 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14907 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14908
6b1d1d46
JM
149092012-02-24 Joseph Myers <joseph@codesourcery.com>
14910
14911 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14912
0f8bbd69
JM
149132012-02-24 Joseph Myers <joseph@codesourcery.com>
14914
14915 * manual/texinfo.tex: Update to version 2012-01-19.16.
14916
66ab80bc
JM
149172012-02-24 Joseph Myers <joseph@codesourcery.com>
14918
14919 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14920
74981cc5
RM
149212012-02-24 Roland McGrath <roland@hack.frob.com>
14922
ee968201
RM
14923 [BZ #13738]
14924 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14925 * manual/fdl-1.3.texi: New file.
14926 * manual/fdl-1.1.texi: File removed.
14927
74981cc5
RM
14928 [BZ #13738]
14929 * manual/libc.texinfo (FDL_VERSION): New @set.
14930 Use it for mention of FDL in cover text.
14931 (Documentation License): Use it in @include file name.
14932
7bb764bc
JM
149332012-02-22 Joseph Myers <joseph@codesourcery.com>
14934 Roland McGrath <roland@hack.frob.com>
14935
14936 [BZ #5461]
14937 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14938 not LONG_LONG_MAX and LONG_LONG_MIN.
14939 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14940 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14941 name.
14942 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14943
6cbeae47
JM
149442012-02-22 Joseph Myers <joseph@codesourcery.com>
14945
14946 [BZ #2547]
14947 [BZ #11365]
14948 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14949 manipulate bits before adding and subtracting TWO23[sx].
14950 * math/libm-test.inc (nearbyint_test): Add more tests.
14951
fe45ce09
JM
149522012-02-22 Joseph Myers <joseph@codesourcery.com>
14953
14954 [BZ #2548]
14955 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14956 bits before adding and subtracting TWO23[sx].
14957 * math/libm-test.inc (rint_test): Add more tests.
14958 (rint_test_tonearest): Likewise.
14959 (rint_test_towardzero): Likewise.
14960 (rint_test_downward): Likewise.
14961 (rint_test_upward: Likewise.
14962
ff3b3d82
JM
149632012-02-22 Joseph Myers <joseph@codesourcery.com>
14964
14965 [BZ #10110]
14966 * include/stdc-predef.h: New file. Extracted from features.h.
14967 * include/features.h: Include stdc-predef.h.
14968 * Makefile (headers): Add stdc-predef.h.
14969 * CONFORMANCE (Compiler limitations): Update.
14970
ef0aab35
JM
149712012-02-22 Joseph Myers <joseph@codesourcery.com>
14972
14973 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14974
58639409
DM
149752012-02-21 David S. Miller <davem@davemloft.net>
14976
14977 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14978 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14979
c0e70b25
DM
149802012-02-20 David S. Miller <davem@davemloft.net>
14981
14982 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14983 using a normal save/restore sequence, rather than allocating a
14984 dummy stack frame just to store a frame pointer and restore.
14985 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14986
fb06851d
JM
149872012-02-21 Joseph Myers <joseph@codesourcery.com>
14988
14989 * manual/install.texi: Fix stray word in line-wrapped comment.
14990
7a8b71c3
DM
149912012-02-20 David S. Miller <davem@davemloft.net>
14992
d510c123
DM
14993 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14994 both binutils and gcc support GOTDATA.
14995
0722d7c2
DM
14996 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14997 "rd %pc" in the PIC register setup sequences.
14998
3d2b3019
DM
14999 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15000 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15001 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15002 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15003 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15007 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15008 (SYSCALL_ERROR_HANDLER): Likewise.
15009 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15010 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15011 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15012 (SYSCALL_ERROR_HANDLER): Likewise.
15013
c80098a9
DM
15014 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15015 (HAVE_GCC_GOTDATA): New.
15016 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15017 relocation support in both binutils and gcc.
15018 * sysdeps/sparc/elf/configure: Regenerate.
15019
3a2545a0
DM
15020 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15021 * sysdeps/sparc/sparc32/elf/configure: Delete.
15022 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15023 * sysdeps/sparc/sparc64/elf/configure: Delete.
15024 * sysdeps/sparc/elf/configure.in: New file.
15025 * sysdeps/sparc/elf/configure: Generate.
15026
7a8b71c3
DM
15027 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15028 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15029 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15030 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15031 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15032
f1e86fca
JM
150332012-02-21 Joseph Myers <joseph@codesourcery.com>
15034
15035 * manual/install.texi: Do not mention specific glibc version
15036 numbers.
15037 * manual/libc.texinfo (VERSION, UPDATED): Update.
15038 (@copying): Use @copyright{} and range of years.
15039
0e7dfaef
JM
150402012-02-21 Joseph Myers <joseph@codesourcery.com>
15041
15042 [BZ #13695]
15043 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15044 [crti.S not in sysdirs] (generated): Do not append.
15045 [crti.S not in sysdirs] (omit-deps): Likewise.
15046 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15047 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15048 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15049 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15050 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15051 Likewise.
15052 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15053 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15054 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15055 * csu/defs.awk: Remove file.
15056 * sysdeps/generic/initfini.c: Likewise.
15057 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15058 variable.
15059 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15060 Likewise.
15061
599af3ca
JM
150622012-02-20 Joseph Myers <joseph@codesourcery.com>
15063
15064 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15065 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15066 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15067 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15068 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15069 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15070 <bits/epoll.h>.
15071 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15072 (__EPOLL_PACKED): Define to empty if not defined by
15073 <bits/epoll.h>.
15074 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15076 bits/epoll.h.
15077
0e499750
JM
150782012-02-20 Joseph Myers <joseph@codesourcery.com>
15079
15080 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15081 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15082 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15083 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15084 <bits/timerfd.h>.
15085 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15087 bits/timerfd.h.
15088
5ad91f6e
JM
150892012-02-20 Joseph Myers <joseph@codesourcery.com>
15090
15091 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15092 in C locale.
15093 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15094 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15095 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15097
06b99b02
AJ
150982012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15099
15100 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15101 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15102
7638c0fd
AS
151032012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15104
15105 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15106 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15107 defined.
15108 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15109 Likewise.
15110 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15111 entry for 2.16.
15112
92221550
AJ
151132012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15114
15115 * math/w_acos.c: Use non-signaling floating-point comparisons.
15116 * math/w_acosf.c: Likewise.
15117 * math/w_acosh.c: Likewise.
15118 * math/w_acoshf.c: Likewise.
15119 * math/w_acoshl.c: Likewise.
15120 * math/w_acosl.c: Likewise.
15121 * math/w_asin.c: Likewise.
15122 * math/w_asinf.c: Likewise.
15123 * math/w_asinl.c: Likewise.
15124 * math/w_atanh.c: Likewise.
15125 * math/w_atanhf.c: Likewise.
15126 * math/w_atanhl.c: Likewise.
15127 * math/w_exp2.c: Likewise.
15128 * math/w_exp2f.c: Likewise.
15129 * math/w_exp2l.c: Likewise.
15130 * math/w_j0.c: Likewise.
15131 * math/w_j0f.c: Likewise.
15132 * math/w_j0l.c: Likewise.
15133 * math/w_j1.c: Likewise.
15134 * math/w_j1f.c: Likewise.
15135 * math/w_j1l.c: Likewise.
15136 * math/w_jn.c: Likewise.
15137 * math/w_jnf.c: Likewise.
15138 * math/w_log.c: Likewise.
15139 * math/w_log10.c: Likewise.
15140 * math/w_log10f.c: Likewise.
15141 * math/w_log10l.c: Likewise.
15142 * math/w_log2.c: Likewise.
15143 * math/w_log2f.c: Likewise.
15144 * math/w_log2l.c: Likewise.
15145 * math/w_logf.c: Likewise.
15146 * math/w_logl.c: Likewise.
15147 * math/w_sqrt.c: Likewise.
15148 * math/w_sqrtf.c: Likewise.
15149 * math/w_sqrtl.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15152 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15153 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15154 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15155
ebaf36eb
JM
151562012-02-19 Joseph Myers <joseph@codesourcery.com>
15157
15158 [BZ #9739]
15159 * manual/string.texi (strnlen): Use correct parameter name in
15160 equivalent expression.
15161
71c254a6
JM
151622012-02-19 Joseph Myers <joseph@codesourcery.com>
15163
15164 [BZ #11174]
15165 * manual/users.texi (seteuid): Consistently use neweuid for
15166 argument name.
15167
16d2c631
JM
151682012-02-19 Joseph Myers <joseph@codesourcery.com>
15169
15170 [BZ #13704]
15171 * manual/nss.texi (Services in the NSS configuration): Correct
15172 list of services in example configuration file.
15173
cd837b09
NB
151742012-02-19 Nick Bowler <nbowler@draconx.ca>
15175
15176 [BZ #11322]
15177 * manual/arith.texi: Remove statements about negative zero
15178 behaving identically to zero.
15179
02c4bbad
JM
151802012-02-18 Joseph Myers <joseph@codesourcery.com>
15181
15182 [BZ #5993]
15183 * manual/install.texi: Do not document upgrading from libc5.
15184
366842e7
JM
151852012-02-18 Joseph Myers <joseph@codesourcery.com>
15186
15187 [BZ #4596]
15188 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15189
dd54084d
DM
151902012-02-18 David S. Miller <davem@davemloft.net>
15191
15192 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15193 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15194 %o7 across the call.
15195 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15196 instead.
15197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15198 SETUP_PIC_REG_LEAF.
15199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15200 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15201 * sysdeps/sparc/crtn.S: Likewise.
15202
2bcc53a3
UD
152032012-02-17 Ulrich Drepper <drepper@gmail.com>
15204
15205 * aout/Makefile: Remove.
15206
09c093b5
RK
152072012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15208
15209 [BZ #13058]
15210 * manual/examples/argp-ex1.c (main): Format definition in GNU
15211 style.
15212 * manual/examples/argp-ex2.c (main): Likewise.
15213 * manual/examples/argp-ex3.c (main): Likewise.
15214 * manual/examples/argp-ex4.c (main): Likewise.
15215 * manual/examples/longopt.c (main): Use new-style prototype
15216 definition.
15217 * manual/examples/strncat.c (main): Specify return type and use
15218 (void) for arguments.
15219 * manual/examples/subopt.c (main): Use char **argv argument.
15220
2ee633a2
JM
152212012-02-17 Joseph Myers <joseph@codesourcery.com>
15222
15223 [BZ #5077]
15224 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15225 rounding modes.
15226
0520adde
FB
152272012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15228
15229 [BZ #6907]
15230 * manual/string.texi (strchr): Change when strchrnul is
15231 recommended.
15232
3f4081cd
DGM
152332012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15234
15235 [BZ #174]
15236 * manual/locale.texi (setlocale): Document LOCPATH.
15237
d1b10e78
JM
152382012-02-17 Joseph Myers <joseph@codesourcery.com>
15239
15240 [BZ #10210]
15241 * manual/process.texi (execle): Move @dots{} before last argument.
15242
79c6869c
PB
152432012-02-17 Paul Bolle <pebolle@tiscali.nl>
15244
15245 [BZ #12047]
15246 * manual/charset.texi (Generic Charset Conversion): Fix typo
15247 (LC_TYPE -> LC_CTYPE).
15248
cc6e48bc
NB
152492012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15250
15251 [BZ #5805]
15252 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15253 (scalbnf): Likewise.
15254 (scalbnl): Likewise.
15255 (scalbln): Likewise.
15256 (scalblnf): Likewise.
15257 (scalblnl): Likewise.
15258 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15259 (vwarnx): Likewise.
15260 (verr): Likewise.
15261 (verrx): Likewise.
15262 * manual/filesys.texi (telldir): Use braces around return type.
15263 * manual/llio.texi (mmap): Add space after comma.
15264 (mmap64): Likewise.
15265 * manual/math.texi (jn): Use @var{} on parameter names.
15266 (jnf): Likewise.
15267 (jnl): Likewise.
15268 (yn): Likewise.
15269 (ynf): Likewise.
15270 (ynl): Likewise.
15271 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15272 line.
15273 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15274 "...".
15275 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15276 (sched_get_priority_max): Likewise.
15277 * manual/signal.texi (sigvec): Add space after comma.
15278 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15279 names.
15280 (if_indextoname): Likewise.
15281 (if_freenameindex): Likewise.
15282 (sendto): Use ',' instead of '.' in prototype.
15283 * manual/startup.texi (syscall): Use @dots{} instead of literal
15284 "...".
15285 * manual/stdio.texi (__fpending): Separate initial words of
15286 paragraph from @deftypefun line.
15287 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15288 "...".
15289 (vsyslog): Use @var{} on parameter names.
15290 * manual/terminal.texi (stty): Use @var{} on parameter names.
15291 * manual/users.texi (getutmp): Use @var{} on parameter names.
15292 (getutmpx): Likewise.
15293
5b23062f
JM
152942012-02-17 Joseph Myers <joseph@codesourcery.com>
15295
15296 [BZ #6884]
15297 * manual/stdio.texi (fopen): Fix typos in description of
15298 ",ccs=STRING".
15299
8dee4833
AJ
153002012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15301
15302 [BZ #4026]
15303 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15304 get clock_id definition.
15305
9078ce93
TS
153062012-02-17 Thomas Schwinge <thomas@schwinge.name>
15307
15308 [BZ #4822]
15309 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15310 (madvise): Cast every argument to void on its own.
15311
3835c55f
JM
153122012-02-17 Joseph Myers <joseph@codesourcery.com>
15313
15314 [BZ #9902]
15315 * manual/startup.texi (Exit Status): Fix typo.
15316
35c47e37
JM
153172012-02-17 Joseph Myers <joseph@codesourcery.com>
15318
15319 [BZ #10140]
15320 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15321 * manual/examples/argp-ex2.c: Likewise.
15322 * manual/examples/argp-ex3.c: Likewise.
15323
e3b69ca7
RH
153242012-02-16 Richard Henderson <rth@redhat.com>
15325
15326 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15327 * sysdeps/s390/s390-32/initfini.c: Remove.
15328 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15329 * sysdeps/s390/s390-64/initfini.c: Remove.
15330
df83af67
KK
153312012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15332
15333 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15334 compiler output for sysdeps/generic/initfini.c.
15335 * sysdeps/sh/elf/initfini.c: Remove file.
15336
f63f3380
DM
153372012-02-16 David S. Miller <davem@davemloft.net>
15338
fb59b3a4
DM
15339 [BZ #11494]
15340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15341
f63f3380
DM
15342 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15343 * sysdeps/sparc/crti.S: New file.
15344 * sysdeps/sparc/crtn.S: New file.
15345 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15346 * sysdeps/sparc/sparc64/Makefile: Likewise.
15347
df6a4a4a
MF
153482012-02-15 Mike Frysinger <vapier@gentoo.org>
15349
6dd8f3dc 15350 [BZ #3335]
df6a4a4a
MF
15351 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15352
1cac7236
RM
153532012-02-15 Roland McGrath <roland@hack.frob.com>
15354
d2c736f8
RM
15355 [BZ #4822]
15356 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15357
1cac7236
RM
15358 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15359 (write, read, close): Likewise.
15360 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15361
8e475601
JM
153622012-02-15 Joseph Myers <joseph@codesourcery.com>
15363
15364 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15365 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15366 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15367 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15368 <bits/signalfd.h>.
15369 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15371 bits/signalfd.h.
15372
ed656b40
MP
153732012-02-14 Marek Polacek <polacek@redhat.com>
15374
15375 * sysdeps/x86_64/crti.S: New file.
15376 * sysdeps/x86_64/crtn.S: New file.
15377 * sysdeps/x86_64/elf/initfini.c: Remove file.
15378
2a979d3a
JM
153792012-02-13 Joseph Myers <joseph@codesourcery.com>
15380
15381 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15382 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15383 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15384 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15385 <bits/inotify.h>.
15386 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15388 bits/inotify.h.
15389
2a418ac3
JM
153902012-02-13 Joseph Myers <joseph@codesourcery.com>
15391
15392 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15393 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15394 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15395 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15396 <bits/eventfd.h>.
15397 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15399 bits/eventfd.h.
15400
fb779be7
TS
154012012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15402
e19e83c5
RM
15403 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15404 __feraiseexcept instead of feraiseexcept.
7c35ffed 15405
fb779be7
TS
15406 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15407 nanosleep invocations.
15408 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15409 strings, and add error checking for a nanosleep invocations.
15410
59ba27a6
PE
154112012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15412
15413 Replace FSF snail mail address with URLs, as per GNU coding standards.
15414 Most of the snail mail addresses were wrong anyway, and omitting
15415 them makes the source code easier to maintain. Almost all of the
15416 changes are to license notices and to locale LC_IDENTIFICATION
15417 addresses, except for this one:
15418 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15419 not its snail mail address.
15420
57b957eb
RH
154212012-02-09 Richard Henderson <rth@twiddle.net>
15422
af850b1c
RH
15423 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15424 of kernel-features.h.
15425
57b957eb
RH
15426 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15427
6b73181a
MP
154282012-02-08 Marek Polacek <polacek@redhat.com>
15429
15430 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15431 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15432 * sysdeps/gnu/_G_config.h: Likewise.
15433 * sysdeps/generic/_G_config.h: Likewise.
15434
26ecc33a
AS
154352012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15436
6c6dbc63
AS
15437 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15438 tests.
15439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15440
e216c012
AS
15441 * sysdeps/powerpc/powerpc32/crti.S: New file.
15442 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15443 * sysdeps/powerpc/powerpc64/crti.S: New file.
15444 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15445
26ecc33a
AS
15446 * Makeconfig (have-initfini): Don't set.
15447 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15448 * configure.in (nopic_initfini): Don't substitute.
15449 * config.h.in (HAVE_INITFINI): Don't #undef.
15450 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15451 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15452
3add8e13
JM
154532012-02-08 Joseph Myers <joseph@codesourcery.com>
15454
15455 Support crti.S and crtn.S provided directly by architectures.
15456 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15457 [crti.S in sysdirs] (omit-deps): Likewise.
15458 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15459 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15460 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15461 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15462 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15463 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15464 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15465 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15466 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15467 compiler output for sysdeps/generic/initfini.c.
15468 * sysdeps/i386/elf/Makefile: Remove file.
15469 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15470
a22f12b4
MP
154712012-02-07 Marek Polacek <polacek@redhat.com>
15472
15473 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15474 * sysdeps/gnu/_G_config.h: Likewise.
15475 * sysdeps/mach/hurd/_G_config.h: Likewise.
15476
148cf100
MP
154772012-02-07 Marek Polacek <polacek@redhat.com>
15478
15479 * math/Makefile (tests): Add tst-CMPLX2.
15480 * math/tst-CMPLX2.c: New file.
15481
cfdc0dd7
AS
154822012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15483
84ba42c4
AS
15484 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15485
cfdc0dd7
AS
15486 * math/libm-test.inc (jn_test): Add missing L suffix.
15487
622c86f4
MP
154882012-02-06 Marek Polacek <polacek@redhat.com>
15489
15490 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15491 * sysdeps/i386/fpu/e_powf.S: Likewise.
15492 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15493 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15494 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15495 * sysdeps/i386/fpu/e_pow.S: Likewise.
15496 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15497 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15498 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15499 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15500 * sysdeps/i386/fpu/e_log2.S: Likewise.
15501 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15502 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15503 * sysdeps/i386/fpu/e_powl.S: Likewise.
15504 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15505 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15506 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15507 * sysdeps/i386/fpu/e_logl.S: Likewise.
15508 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15509 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15510 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15511 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15512 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15513 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15514 * sysdeps/i386/fpu/e_log.S: Likewise.
15515 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15516 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15517 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15518 * sysdeps/i386/fpu/e_logf.S: Likewise.
15519 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15520 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15521 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15522 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15523 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15524 * sysdeps/i386/fpu/e_log10.S: Likewise.
15525 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15526 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15527 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15528 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15529 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15530 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15531 * sysdeps/i386/asm-syntax.h: Likewise.
15532 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15533 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15534 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15535 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15536 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15537 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15538 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15539 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15540 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15541 * sysdeps/powerpc/sysdep.h: Likewise.
15542 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15543 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15544
d4a54ac6
JM
155452012-02-06 Joseph Myers <joseph@codesourcery.com>
15546
15547 [BZ #411]
15548 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15549
314054ea
JM
155502012-02-06 Joseph Myers <joseph@codesourcery.com>
15551
15552 * sysdeps/i386/sysdep.h: Include <features.h>.
15553 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15554 version.
15555
d8e0ca50
JM
155562012-02-05 Joseph Myers <joseph@codesourcery.com>
15557
15558 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15559 Define.
15560 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15561 LOAD_PIC_REG_STR.
15562
b1da7dd9
JM
155632012-02-03 Joseph Myers <joseph@codesourcery.com>
15564
15565 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15566 (SETUP_PIC_REG): Use GET_PC_THUNK.
15567 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15568 macro.
15569
9a1d9254
JM
155702012-02-03 Joseph Myers <joseph@codesourcery.com>
15571
15572 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15573 for non-PIC compilation.
15574 (SETUP_PIC_REG): Add .p2align directive.
15575 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15576 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15580 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15581 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15594 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15595 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15607 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15608 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15610 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15611 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15612 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15613 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15614 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15615 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15616
65dc3b75
JM
156172012-02-03 Joseph Myers <joseph@codesourcery.com>
15618
15619 * math/tst-CMPLX.c: Include <stdio.h>.
15620
d55bf177
JM
156212012-01-31 Joseph Myers <joseph@codesourcery.com>
15622
15623 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15624 float.
15625 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15626 * sysdeps/sparc/bits/mathdef.h: Likewise.
15627
69db4f8f
MP
156282012-01-31 Marek Polacek <polacek@redhat.com>
15629
15630 * libio/libio.h: Don't define _PARAMS.
15631 * locale/programs/config.h: Don't define PARAMS.
15632 * stdlib/strtol_l.c: Likewise.
15633 (__strtol_l): Remove PARAMS from the prototype.
15634
41b81892
UD
156352012-01-31 Ulrich Drepper <drepper@gmail.com>
15636
3b49edc0
UD
15637 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15638 names. Just use the correct names. Remove unnecessary wrapper
15639 functions.
15640 * malloc/arena.c: Likewise.
15641 * malloc/hooks.c: Likewise.
15642
41b81892
UD
15643 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15644 ARENA_TEST says not to. Simplify test for creation of a new arena.
15645 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15646
27a25b6e
UD
156472012-01-30 Ulrich Drepper <drepper@gmail.com>
15648
15649 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15650 into tail calls.
15651 (update_get_addr): New function.
15652 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15653 GET_ADDR_MODULE parameter.
15654
c8a89e7d
JM
156552012-01-30 Joseph Myers <joseph@codesourcery.com>
15656
15657 * crypt/cert.c: Remove __STDC__ conditionals.
15658 * crypt/crypt-entry.c: Likewise.
15659 * crypt/crypt_util.c: Likewise.
15660 * libio/filedoalloc.c: Likewise.
15661 * libio/fileops.c: Likewise.
15662 * libio/genops.c: Likewise.
15663 * libio/iofclose.c: Likewise.
15664 * libio/iofdopen.c: Likewise.
15665 * libio/iofopen.c: Likewise.
15666 * libio/iofopen64.c: Likewise.
15667 * libio/iogetdelim.c: Likewise.
15668 * libio/iopopen.c: Likewise.
15669 * libio/obprintf.c: Likewise.
15670 * libio/oldfileops.c: Likewise.
15671 * libio/oldiofclose.c: Likewise.
15672 * libio/oldiofdopen.c: Likewise.
15673 * libio/oldiofopen.c: Likewise.
15674 * libio/oldiopopen.c: Likewise.
15675 * libio/wfiledoalloc.c: Likewise.
15676 * libio/wgenops.c: Likewise.
15677 * locale/programs/xmalloc.c: Likewise.
15678 * misc/syslog.c: Likewise.
15679 * stdio-common/xbug.c: Likewise.
15680 * string/memchr.c: Likewise.
15681 * string/memcmp.c: Likewise.
15682 * string/memrchr.c: Likewise.
15683 * string/rawmemchr.c: Likewise.
15684 * sysdeps/posix/getcwd.c: Likewise.
15685 * time/strftime_l.c: Likewise.
15686
3b100462
JM
156872012-01-30 Joseph Myers <joseph@codesourcery.com>
15688
15689 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15690 * config.make.in (config-cflags-sse2avx): Define.
15691 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15692 Fix typo.
15693
607998af
CM
156942012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15695
15696 * scripts/config.guess: Update from upstream config git repository.
15697 * scripts/config.sub: Likewise.
15698
3601428f
CM
156992012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15700
3ac8b282
CM
15701 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15702 (EM_NUM): Update.
15703 (R_TILEPRO_*, R_TILEGX_*): New macros.
15704
e034841e
CM
15705 * scripts/firstversions.awk: Fix bug in version range handling.
15706
540d7568
CM
15707 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15708
3601428f
CM
15709 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15710
463de862
CM
15711 * include/sys/epoll.h: New file.
15712 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15713 libc_hidden_def.
15714
73139a76
UD
157152012-01-28 Ulrich Drepper <drepper@gmail.com>
15716
96bc5b45
UD
15717 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15718 Avoid unnecessary __WORDSIZE == 64 test.
15719 (fmaxf): Use VEX format if possible.
15720 (fmax): Likewise.
15721 (fminf): Likewise.
15722 (fmin): Likewise.
15723
56f6f6a2
UD
15724 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15725 * math/math_private.h: Remove libc_fegetround* and
15726 libc_fesetround*.
15727 * sysdeps/i386/configure.in: Check for -msse2avx.
15728 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15729 also if SSE2AVX is defined.
15730 Remove libc_fegetround* and libc_fesetround*.
15731 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15732 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15733 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15734 of HAS_YMM_USABLE.
15735 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15736 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15737 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15738 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15739 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15740
73139a76
UD
15741 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15742
d73f93a4
AZ
157432012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15744
15745 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15746 size is not set.
15747 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15748
6ee65ed6
UD
157492012-01-27 Ulrich Drepper <drepper@gmail.com>
15750
15751 [BZ #13618]
15752 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15753 relocation.
15754 * Makeconfig (libm): Define.
15755 * elf/Makefile: Add rules to build and run tst-relsort1.
15756 * elf/tst-relsort1.c: New file.
15757 * elf/tst-relsort1mod1.c: New file.
15758 * elf/tst-relsort1mod2.c: New file.
15759
8db21882
JM
157602012-01-27 Joseph Myers <joseph@codesourcery.com>
15761
15762 * math/s_ldexp.c: Remove __STDC__ conditionals.
15763 * math/s_ldexpf.c: Likewise.
15764 * math/s_ldexpl.c: Likewise.
15765 * math/s_nextafter.c: Likewise.
15766 * math/s_nexttowardf.c: Likewise.
15767 * math/s_significand.c: Likewise.
15768 * math/s_significandf.c: Likewise.
15769 * math/s_significandl.c: Likewise.
15770 * math/w_jnl.c: Likewise.
15771 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15772 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15773 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15774 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15775 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15776 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15778 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15779 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15780 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15781 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15782 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15783 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15784 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15785 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15786 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15787 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15788 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15789 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15790 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15791 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15792 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15793 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15794 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15795 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15796 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15797 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15798 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15799 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15800 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15801 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15802 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15803 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15804 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15805 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15806 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15807 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15808 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15809 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15810 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15811 * sysdeps/ieee754/k_standard.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15824 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15825 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15826 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15827 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15828 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15829 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15830 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15831 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15834 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15835 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15836 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15837 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15838 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15839 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15842 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15844 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15845 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15847 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15849 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15850 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15851 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15852 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15854 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15855 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15860 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15861 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15862 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15867 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15868 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15870 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15871 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15872 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15873 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15874 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15876 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15878 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15881 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15886 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15887 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15890 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15891 * sysdeps/ieee754/s_matherr.c: Likewise.
15892 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15893 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15896
965a54a4
JM
158972012-01-26 Joseph Myers <joseph@codesourcery.com>
15898
15899 * crypt/md5.h: Remove __STDC__ conditionals.
15900 * libio/libioP.h: Likewise.
15901 * locale/programs/config.h: Likewise.
15902 * sysdeps/generic/sysdep.h: Likewise.
15903 * sysdeps/i386/asm-syntax.h: Likewise.
15904 * sysdeps/s390/asm-syntax.h: Likewise.
15905 * sysdeps/unix/sysdep.h: Likewise.
15906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15908
7071ad79
JM
159092012-01-26 Joseph Myers <joseph@codesourcery.com>
15910
15911 * libio/libio.h: Remove __STDC__ conditionals.
15912 * malloc/obstack.h: Likewise.
15913 * math/complex.h: Likewise.
15914 * math/math.h: Likewise.
15915 * sysdeps/generic/_G_config.h: Likewise.
15916 * sysdeps/gnu/_G_config.h: Likewise.
15917 * sysdeps/mach/hurd/_G_config.h: Likewise.
15918 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15919 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15920 * sysdeps/sparc/bits/mathdef.h: Likewise.
15921
afc5ed09
UD
159222012-01-26 Ulrich Drepper <drepper@gmail.com>
15923
15924 [BZ #13583]
15925 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15926 Clean up HAS_* macros.
afc5ed09 15927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15928 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15929 possible.
15930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15931 HAS_AVX.
15932 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15933 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15935 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15936 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15937
bdb6de1d
JM
159382012-01-25 Joseph Myers <joseph@codesourcery.com>
15939
15940 * elf/tst-unique3.cc (gets): Remove declaration.
15941 * elf/tst-unique3lib.cc (gets): Likewise.
15942 * elf/tst-unique3lib2.cc (gets): Likewise.
15943 * elf/tst-unique4.cc (gets): Likewise.
15944
b15549e6
UD
159452012-01-24 Ulrich Drepper <drepper@gmail.com>
15946
15947 * include/stdio.h: Add C++ protection. Add gets declarations and
15948 definitions.
15949 * debug/tst-chk1.c: Don't declare gets here.
15950 * stdio-common/tst-gets.c: Likewise.
15951
a037381f
JM
159522012-01-24 Joseph Myers <joseph@codesourcery.com>
15953
15954 * posix/glob: Remove directory.
15955
f1d4aa75
JM
159562012-01-24 Joseph Myers <joseph@codesourcery.com>
15957
15958 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15959
81c0c964
PT
159602012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15961
15962 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15963 of the non-standard EPFNOSUPPORT.
15964
0ea698ae
ST
159652011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15966
15967 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15968 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15969 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15970
d220b117
UD
159712012-01-21 Ulrich Drepper <drepper@gmail.com>
15972
15973 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15974
3e1aa84e
UD
159752012-01-20 Ulrich Drepper <drepper@gmail.com>
15976
15977 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15978 transient errors.
15979 * nscd/grpcache.c (cache_addgr): Likewise.
15980 * nscd/hstcache.c (cache_addhst): Likewise.
15981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15982 * nscd/pwdcache.c (cache_addpw): Likewise.
15983 * nscd/servicescache.c (cache_addserv): Likewise.
15984
400aa020
UD
159852012-01-16 Ulrich Drepper <drepper@gmail.com>
15986
d77e7869
UD
15987 * malloc/malloc.c: Various cleanups.
15988 * malloc/hooks.c: Likewise.
15989
400aa020
UD
15990 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15991 * stdlib/bug-fmtmsg1.c: New file.
15992
15993 * stdlib/fmtmsg.c (init): Add missing unlock.
15994 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15995
e0a309cf
MP
159962012-01-12 Marek Polacek <polacek@redhat.com>
15997
15998 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15999 and _GNU_SOURCE.
16000
929d11c7
WS
160012012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16002
16003 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16004 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16005 macro to ensure uniqueness of label name.
16006 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16007 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16008
41d0e869
UD
160092012-01-11 Ulrich Drepper <drepper@gmail.com>
16010
0cc5ed3b
UD
16011 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16012
41d0e869
UD
16013 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16014 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16015 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16017
a47a831a
UD
160182012-01-10 Ulrich Drepper <drepper@gmail.com>
16019
daa891c0
UD
16020 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16021
16022 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16023 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16024 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16025
e58ef0f2
UD
16026 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16027
a47a831a 16028 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16029 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16030 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16031 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16032
16033 * math/bits/math-finite.h: Add ldexp support.
16034
a0bfc9c7
MP
160352012-01-10 Marek Polacek <polacek@redhat.com>
16036
16037 * locale/programs/localedef.h (show_archive_content): Add noreturn
16038 attribute.
16039
d6e97a1d
UD
160402012-01-09 Ulrich Drepper <drepper@gmail.com>
16041
16042 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16043
d5835c26
UD
160442012-01-08 Ulrich Drepper <drepper@gmail.com>
16045
e5f484c6
UD
16046 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16047
d5835c26
UD
16048 * io/Makefile (headers): Add bits/poll2.h.
16049
d1f741e9
WS
160502011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16051
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16053 typo #include statement.
16054
ec09c1c4
UD
160552012-01-08 Ulrich Drepper <drepper@gmail.com>
16056
16057 * include/sys/cdefs.h: Define __attribute_alloc_size.
16058 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16059 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16060 * elf/pldd.c: Likewise.
16061 * iconv/iconv_charmap.c: Likewise.
16062 * iconv/iconvconfig.c: Likewise.
16063 * iconv/strtab.c: Likewise.
16064 * locale/programs/locale.c: Likewise.
16065 * locale/programs/localedef.h: Likewise.
16066 * locale/programs/simple-hash.c: Likewise.
16067 * nscd/nscd.h: Likewise.
16068 * nss/makedb.c: Likewise.
16069 * sysdeps/generic/ldconfig.h: Likewise.
16070 * locale/programs/localedef.c: Remove xmalloc prototype.
16071 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16072
20b38e03
PP
160732012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16074
16075 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16076 appropriate.
16077
a0da5fe1
UD
160782012-01-08 Ulrich Drepper <drepper@gmail.com>
16079
1d5a644a 16080 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16081 * math/tst-CMPLX.c: New file.
1d5a644a 16082
8784a6db
UD
16083 * math/complex.h (CMPLXL): Fix typo.
16084
d9a216c0
UD
16085 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16086 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16087 GLIBC_2.16.
16088 * debug/tst-chk1.c: Add poll and ppoll tests.
16089 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16090 * include/sys/poll.h: Add hidden proto for ppoll.
16091 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16092 * sysdeps/mach/hurd/ppoll.c: Likewise.
16093 * io/ppoll.c: Likewise.
16094 * debug/poll_chk.c: New file.
16095 * debug/ppoll_chk.c: New file.
16096 * include/bits/poll2.h: New file.
16097 * io/bits/poll2.h: New file.
16098
ac097f5c
UD
16099 [BZ #1350]
16100 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16101
2119dcfa
UD
16102 * configure.in: static is always set to yes. Remove.
16103 * config.make.in: Don't set build-static.
16104 * Makeconfig: Remove use of build-static.
16105 * dlfcn/Makefile: Likewise.
16106 * elf/Makefile: Likewise.
16107 * math/Makefile: Likewise.
16108 * misc/Makefile: Likewise.
16109 * nptl/Makefile: Likewise.
16110 * sysdeps/mach/hurd/Makefile: Likewise.
16111
121766a9
UD
16112 * configure.in: PWD_P is not used anymore.
16113 * config.make.in: Remove PWD_P entry.
16114
51a1d39c 16115 * configure.in: Remove last remnants of RANLIB.
8720d066 16116 No need to check for signed size_t anymore.
215f4bdc
UD
16117 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16118 and IA-64.
3857022a 16119 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16120 * aclocal.m4: Likewise.
16121
d3ed7225
UD
16122 * wcsmbs/mbrtoc16.c: Implement using towc function.
16123 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16124 * wcsmbs/wcsmbsload.c: Likewise.
16125 * iconv/gconv_simple.c: Likewise.
16126 * iconv/gconv_int.h: Likewise.
16127 * iconv/gconv_builtin.h: Likewise.
16128 * iconv/iconv_prog.c: Remove CHAR16 handling.
16129
16130 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16131
16132 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16133
a0da5fe1
UD
16134 * configure.in: Remove --with-elf and --enable-bounded options.
16135 Dont set base_machine for ia64. More non-ELF conditions removed.
16136 Remove testing and setting of leading underscore information.
16137 * config.make.in (build-bounded): Set to no.
16138 * config.h.in: Remove NO_UNDERSCORES entry.
16139 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16140 them.
16141 * csu/start.c: Remove !NO_UNDERSCORE code.
16142 * locale/localeinfo.h: Likewise.
16143 * sysdeps/generic/machine-gmon.h: Likewise.
16144 * sysdeps/generic/sysdep.h: Likewise.
16145 * sysdeps/i386/sysdep.h: Likewise.
16146 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16147 * sysdeps/mach/sysdep.h: Likewise.
16148 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16149 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16150 * sysdeps/sh/sysdep.h: Likewise.
16151 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16152 * sysdeps/unix/i386/sysdep.S: Likewise.
16153 * sysdeps/unix/sparc/start.c: Likewise.
16154 * sysdeps/unix/sparc/sysdep.S: Likewise.
16155 * sysdeps/unix/sparc/sysdep.h: Likewise.
16156 * sysdeps/unix/start.c: Likewise.
16157 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16158 * sysdeps/x86_64/sysdep.h: Likewise.
16159
df78418a
UD
161602012-01-07 Ulrich Drepper <drepper@gmail.com>
16161
a784e502
UD
16162 [BZ #13553]
16163 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16164 for non-gcc.
16165 * argp/argp-fmtstream.h: Use const instead __const.
16166 * argp/argp.h: Likewise.
16167 * assert/assert.h: Likewise.
16168 * bits/fenv.h: Likewise.
16169 * bits/sched.h: Likewise.
16170 * bits/sigset.h: Likewise.
16171 * bits/sigthread.h: Likewise.
16172 * catgets/nl_types.h: Likewise.
16173 * conform/data/pthread.h-data: Likewise.
16174 * crypt/crypt-private.h: Likewise.
16175 * crypt/crypt.h: Likewise.
16176 * crypt/crypt_util.c: Likewise.
16177 * ctype/ctype.h: Likewise.
16178 * debug/execinfo.h: Likewise.
16179 * debug/mbsnrtowcs_chk.c: Likewise.
16180 * debug/mbsrtowcs_chk.c: Likewise.
16181 * debug/wcsnrtombs_chk.c: Likewise.
16182 * debug/wcsrtombs_chk.c: Likewise.
16183 * debug/wcstombs_chk.c: Likewise.
16184 * dirent/dirent.h: Likewise.
16185 * dlfcn/dlfcn.h: Likewise.
16186 * elf/neededtest4.c: Likewise.
16187 * grp/grp.h: Likewise.
16188 * gshadow/gshadow.h: Likewise.
16189 * iconv/gconv.h: Likewise.
16190 * iconv/gconv_int.h: Likewise.
16191 * iconv/gconv_simple.c: Likewise.
16192 * iconv/iconv.h: Likewise.
16193 * iconv/loop.c: Likewise.
16194 * iconv/skeleton.c: Likewise.
16195 * include/aio.h: Likewise.
16196 * include/aliases.h: Likewise.
16197 * include/argz.h: Likewise.
16198 * include/arpa/inet.h: Likewise.
16199 * include/assert.h: Likewise.
16200 * include/dirent.h: Likewise.
16201 * include/dlfcn.h: Likewise.
16202 * include/execinfo.h: Likewise.
16203 * include/fcntl.h: Likewise.
16204 * include/fenv.h: Likewise.
16205 * include/glob.h: Likewise.
16206 * include/grp.h: Likewise.
16207 * include/libintl.h: Likewise.
16208 * include/mntent.h: Likewise.
16209 * include/netdb.h: Likewise.
16210 * include/pwd.h: Likewise.
16211 * include/rpc/netdb.h: Likewise.
16212 * include/sched.h: Likewise.
16213 * include/search.h: Likewise.
16214 * include/shadow.h: Likewise.
16215 * include/signal.h: Likewise.
16216 * include/stdio.h: Likewise.
16217 * include/stdlib.h: Likewise.
16218 * include/string.h: Likewise.
16219 * include/sys/socket.h: Likewise.
16220 * include/sys/stat.h: Likewise.
16221 * include/sys/statfs.h: Likewise.
16222 * include/sys/statvfs.h: Likewise.
16223 * include/sys/syslog.h: Likewise.
16224 * include/sys/time.h: Likewise.
16225 * include/sys/uio.h: Likewise.
16226 * include/time.h: Likewise.
16227 * include/unistd.h: Likewise.
16228 * include/utmp.h: Likewise.
16229 * include/wchar.h: Likewise.
16230 * include/wctype.h: Likewise.
16231 * inet/aliases.h: Likewise.
16232 * inet/arpa/inet.h: Likewise.
16233 * inet/netinet/ether.h: Likewise.
16234 * inet/netinet/in.h: Likewise.
16235 * intl/libintl.h: Likewise.
16236 * io/bits/fcntl2.h: Likewise.
16237 * io/fcntl.h: Likewise.
16238 * io/ftw.h: Likewise.
16239 * io/sys/poll.h: Likewise.
16240 * io/sys/stat.h: Likewise.
16241 * io/sys/statfs.h: Likewise.
16242 * io/sys/statvfs.h: Likewise.
16243 * io/utime.h: Likewise.
16244 * libio/bits/stdio.h: Likewise.
16245 * libio/bits/stdio2.h: Likewise.
16246 * libio/libio.h: Likewise.
16247 * libio/libioP.h: Likewise.
16248 * libio/stdio.h: Likewise.
16249 * locale/lc-ctype.c: Likewise.
16250 * locale/locale.h: Likewise.
16251 * login/utmp.h: Likewise.
16252 * malloc/arena.c: Likewise.
16253 * malloc/malloc.c: Likewise.
16254 * malloc/malloc.h: Likewise.
16255 * malloc/mcheck.c: Likewise.
16256 * malloc/mtrace.c: Likewise.
16257 * math/bits/mathcalls.h: Likewise.
16258 * math/fenv.h: Likewise.
16259 * math/math_private.h: Likewise.
16260 * misc/bits/error.h: Likewise.
16261 * misc/bits/syslog.h: Likewise.
16262 * misc/err.h: Likewise.
16263 * misc/error.h: Likewise.
16264 * misc/fstab.h: Likewise.
16265 * misc/mntent.h: Likewise.
16266 * misc/regexp.h: Likewise.
16267 * misc/search.h: Likewise.
16268 * misc/sgtty.h: Likewise.
16269 * misc/sys/mman.h: Likewise.
16270 * misc/sys/syslog.h: Likewise.
16271 * misc/sys/uio.h: Likewise.
16272 * misc/sys/xattr.h: Likewise.
16273 * misc/ttyent.h: Likewise.
16274 * nis/rpcsvc/ypclnt.h: Likewise.
16275 * nss/nss.h: Likewise.
16276 * posix/bits/unistd.h: Likewise.
16277 * posix/fnmatch.h: Likewise.
16278 * posix/glob.h: Likewise.
16279 * posix/sched.h: Likewise.
16280 * posix/spawn.h: Likewise.
16281 * posix/sys/wait.h: Likewise.
16282 * posix/unistd.h: Likewise.
16283 * posix/wordexp.h: Likewise.
16284 * pwd/pwd.h: Likewise.
16285 * resolv/netdb.h: Likewise.
16286 * resource/sys/resource.h: Likewise.
16287 * rt/aio.h: Likewise.
16288 * rt/bits/mqueue2.h: Likewise.
16289 * rt/mqueue.h: Likewise.
16290 * shadow/shadow.h: Likewise.
16291 * signal/signal.h: Likewise.
16292 * socket/send.c: Likewise.
16293 * socket/sendto.c: Likewise.
16294 * socket/sys/socket.h: Likewise.
16295 * stdio-common/printf.h: Likewise.
16296 * stdlib/bits/stdlib.h: Likewise.
16297 * stdlib/fmtmsg.h: Likewise.
16298 * stdlib/monetary.h: Likewise.
16299 * stdlib/stdlib.h: Likewise.
16300 * stdlib/ucontext.h: Likewise.
16301 * streams/stropts.h: Likewise.
16302 * string/argz.h: Likewise.
16303 * string/bits/string2.h: Likewise.
16304 * string/string.h: Likewise.
16305 * string/strings.h: Likewise.
16306 * sunrpc/rpc/auth.h: Likewise.
16307 * sunrpc/rpc/auth_des.h: Likewise.
16308 * sunrpc/rpc/clnt.h: Likewise.
16309 * sunrpc/rpc/netdb.h: Likewise.
16310 * sunrpc/rpc/pmap_clnt.h: Likewise.
16311 * sunrpc/rpc/xdr.h: Likewise.
16312 * sysdeps/generic/inttypes.h: Likewise.
16313 * sysdeps/generic/net/if.h: Likewise.
16314 * sysdeps/generic/sys/swap.h: Likewise.
16315 * sysdeps/gnu/net/if.h: Likewise.
16316 * sysdeps/gnu/utmpx.h: Likewise.
16317 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16318 * sysdeps/i386/i486/bits/string.h: Likewise.
16319 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16320 * sysdeps/s390/bits/string.h: Likewise.
16321 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16322 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16323 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16324 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16325 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16326 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16327 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16328 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16329 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16330 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16331 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16332 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16333 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16334 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16335 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16336 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16337 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16338 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16339 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16340 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16341 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16342 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16343 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16344 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16345 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16346 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16347 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16348 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16349 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16350 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16351 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16352 * sysvipc/sys/ipc.h: Likewise.
16353 * sysvipc/sys/msg.h: Likewise.
16354 * sysvipc/sys/sem.h: Likewise.
16355 * sysvipc/sys/shm.h: Likewise.
16356 * termios/termios.h: Likewise.
16357 * time/sys/time.h: Likewise.
16358 * time/time.h: Likewise.
16359 * wcsmbs/bits/wchar2.h: Likewise.
16360 * wcsmbs/uchar.h: Likewise.
16361 * wcsmbs/wchar.h: Likewise.
16362 * wctype/wctype.h: Likewise.
16363
0269750c
UD
16364 [BZ #13551]
16365 * Makeconfig: Remove all but ELF support including AIX support.
16366 * Makerules: Likewise.
16367 * config.h.in: Likewise.
16368 * config.make.in: Likewise.
16369 * configure: Likewise.
16370 * configure.in: Likewise.
16371 * csu/Makefile: Likewise.
16372 * csu/version.c: Likewise.
16373 * debug/Makefile: Likewise.
16374 * dlfcn/Makefile: Likewise.
16375 * elf/Makefile: Likewise.
16376 * extra-lib.mk: Likewise.
16377 * iconv/Makefile: Likewise.
16378 * include/libc-symbols.h: Likewise.
16379 * include/shlib-compat.h: Likewise.
16380 * resolv/Makefile: Likewise.
16381 * resolv/res_libc.c: Likewise.
16382 * rt/Makefile: Likewise.
16383 * sysdeps/i386/asm-syntax.h: Likewise.
16384 * sysdeps/i386/sysdep.h: Likewise.
16385 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16386 * sysdeps/mach/sysdep.h: Likewise.
16387 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16388 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16389 * sysdeps/s390/asm-syntax.h: Likewise.
16390 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16391 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16392 * sysdeps/sh/sysdep.h: Likewise.
16393 * sysdeps/unix/sparc/sysdep.h: Likewise.
16394 * sysdeps/wordsize-32/divdi3.c: Likewise.
16395 * sysdeps/x86_64/sysdep.h: Likewise.
16396
00bbd29b
UD
16397 * argp/Versions: Remove _argp_unlock_xxx.
16398
16399 [BZ #13559]
16400 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16401 * abilist/libBrokenLocale.abilist: Likewise.
16402 * abilist/libanl.abilist: Likewise.
16403 * abilist/libc.abilist: Likewise.
16404 * abilist/libcrypt.abilist: Likewise.
16405 * abilist/libdl.abilist: Likewise.
16406 * abilist/libm.abilist: Likewise.
16407 * abilist/libnsl.abilist: Likewise.
16408 * abilist/libpthread.abilist: Likewise.
16409 * abilist/libresolv.abilist: Likewise.
16410 * abilist/librt.abilist: Likewise.
16411 * abilist/libthread_db.abilist: Likewise.
16412 * abilist/libutil.abilist: Likewise.
16413 * abilist/libnss_db.abilist: New file.
16414
16415 * scripts/abilist.awk: Add support for indirect functions.
16416
a2693a0e
UD
16417 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16418
3f05895f
UD
16419 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16420
ecb6fb48
UD
16421 * shlib-versions: Remove entries for ports architectures.
16422
664f8cb9
UD
16423 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16424 files in ports.
16425 * elf/stackguard-macros.h: Remove support for IA-64.
16426 * elf/tst-auditmod1.c: Likewise.
16427 * sysdeps/generic/ldsodefs.h: Likewise.
16428
7ae81d88
UD
16429 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16430 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16431 configure files.
16432
bdeba135
UD
16433 [BZ #13552]
16434 * configure.in: Remove --enable-omitfp support.
16435 * FAQ.in: Adjust.
16436 * config.make.in: Likewise.
16437 * Makeconfig: Likewise.
16438 * manual/install.texi: Likewise.
16439
d75a0a62
UD
16440 In case anyone cares, the IA-64 architecture could move to ports.
16441 * sysdeps/ia64/*: Removed.
16442 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16443 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16444
dcc9756b
UD
16445 [BZ #13555]
16446 * configure.in: Remove entries for unsupported architectures.
16447
d3761ebc 16448 [BZ #13533]
9954432e
UD
16449 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16450 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16451 routines.
16452 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16453 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16454 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16455 fall back to using wcrtomb.
16456 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16457 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16458 renaming.
16459 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16460 * wcsmbs/tst-c16c32-1.c: New file.
16461
16462 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16463 local variable.
16464
c3a87236
UD
16465 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16466
28926a1b
UD
16467 * elf/tst-unique3.cc: Add explicit declaration of gets.
16468 * elf/tst-unique3lib.cc: Likewise.
16469 * elf/tst-unique3lib2.cc: Likewise.
16470 * elf/tst-unique4.cc: Likewise.
16471
df78418a
UD
16472 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16473
8ecd6b2a
JM
164742012-01-06 Joseph Myers <joseph@codesourcery.com>
16475
16476 [BZ #13566]
16477 * assert/assert.h (static_assert): Don't define for C++.
16478 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16479 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16480
9f115170
UD
164812012-01-03 Ulrich Drepper <drepper@gmail.com>
16482
5e0d0300
UD
16483 * iconv/loop.c (single loop): Fix assertion in storing of
16484 remaining bytes.
16485
9f115170
UD
16486 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16487
81fb02b0
UD
164882012-01-01 Ulrich Drepper <drepper@gmail.com>
16489
16490 * posix/getconf.c: Update copyright year.
16491 * nss/getent.c: Likewise.
a316c1f6 16492 * nss/makedb.c: Likewise.
81fb02b0
UD
16493 * iconv/iconvconfig.c: Likewise.
16494 * iconv/iconv_prog.c: Likewise.
16495 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16496 * elf/pldd.c: Likewise.
16497 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16498 * catgets/gencat.c: Likewise.
16499 * csu/version.c: Likewise.
16500 * elf/ldd.bash.in: Likewise.
16501 * elf/sprof.c (print_version): Likewise.
16502 * locale/programs/locale.c: Likewise.
16503 * locale/programs/localedef.c: Likewise.
a316c1f6 16504 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16505 * nscd/nscd.c (print_version): Likewise.
16506 * debug/xtrace.sh: Likewise.
16507 * malloc/memusage.sh: Likewise.
16508 * malloc/mtrace.pl: Likewise.
16509 * debug/catchsegv.sh: Likewise.
16510
2ba92745
JJ
165112011-12-30 Jakub Jelinek <jakub@redhat.com>
16512
16513 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16514 pure attribute.
16515
dadebdae
UD
165162011-12-24 Ulrich Drepper <drepper@gmail.com>
16517
d3761ebc 16518 [BZ #13533]
db6af3eb
UD
16519 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16520 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16521 transformations.
16522 * iconv/gconv_int.h: Likewise.
16523 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16524 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16525 from libc for GLIBC_2.16.
16526 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16527 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16528 * wcsmbs/uchar.h: Really define mbstate_t.
16529 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16530 * wcsmbs/c16rtomb.c: New file.
16531 * wcsmbs/mbrtoc16.c: New file.
16532 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16533 for C/POSIX locale.
16534 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16535 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16536
dadebdae
UD
16537 * wcsmbs/wchar.h: Add missing __restrict.
16538
67371b56
UD
165392011-12-23 Ulrich Drepper <drepper@gmail.com>
16540
74033a25
UD
16541 [BZ #13532]
16542 * time/Makefile (routines): Add timespec_get.
16543 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16544 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16545 timespec for ISO C11.
16546 * time/timespec_get.c: New file.
16547 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16548 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16549
380d7e87
UD
16550 [BZ #13531]
16551 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16552 * stdlib/stdlib.h: Declare aligned_alloc.
16553 * Versions.def: Add GLIBC_2.16 for libc.
16554 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16555
4e9e7a35
UD
16556 [BZ 13527]
16557 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16558 ISO C11.
16559
380d7e87 16560 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16561 code.
16562
03a71829
UD
16563 [BZ #13528]
16564 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16565
839e283e
UD
16566 [BZ #13529]
16567 * assert/assert.h (static_assert): Define.
16568
ce5294e2 16569 * version.h: Update for 2.16 development version.
90fa7312 16570
8d44e150 16571 [BZ #13526]
d7809905
UD
16572 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16573 _ISOC11_SOURCE.
16574
c0da14cd
UD
16575 * version.h (RELEASE): Bump for 2.15 release.
16576 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16577
530a3249
MP
16578 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16579 Patch by Marek Polacek <mpolacek@redhat.com>.
16580
67371b56
UD
16581 * bits/byteswap.h: Protect long long constants with __extension__.
16582 * sysdeps/i386/bits/byteswap.h: Likewise.
16583 * sysdeps/ia64/bits/byteswap.h: Likewise.
16584 * sysdeps/s390/bits/byteswap.h: Likewise.
16585 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16586
15db4de1
LD
165872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16588
16589 [BZ #13540]
bbe315ea
LD
16590 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16591 destination buffer.
15db4de1
LD
16592 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16593
2b2596b1
MP
165942011-12-23 Marek Polacek <polacek@redhat.com>
16595
16596 * elf/dl-addr.c (determine_info): Add inline keyword.
16597 * elf/tst-auditmod4b.c (check_avx): Likewise.
16598 * elf/tst-auditmod6b.c (check_avx): Likewise.
16599 * elf/tst-auditmod6c.c (check_avx): Likewise.
16600 * elf/tst-auditmod7b.c (check_avx): Likewise.
16601
70c6c246
UD
166022011-12-23 Ulrich Drepper <drepper@gmail.com>
16603
16604 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16605 !__SSE_MATH__.
16606
c044cf14
LD
166072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16608
15db4de1 16609 [BZ #13540]
c044cf14
LD
16610 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16611 processing for last bytes.
16612
6b13d9d9
BH
166132011-08-06 Bruno Haible <bruno@clisp.org>
16614
d455f537
BH
16615 [BZ #13061]
16616 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16617 U+0385, not to U+1FEE.
16618
6b13d9d9
BH
16619 [BZ #13062]
16620 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16621 entry for U+00A5 U+0301.
16622
db910efd
UD
166232011-12-22 Ulrich Drepper <drepper@gmail.com>
16624
27deeafc
UD
16625 [BZ #13166]
16626 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16627 buffer for the output is too small.
16628
aed9d171
UD
16629 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16630 optimization.
16631
db910efd
UD
16632 [BZ #13185]
16633 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16634 SSE flags if possible.
16635
2bd779ae
LD
166362011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16637
e7f9dac3 16638 [BZ #13540]
2bd779ae
LD
16639 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16640 processing for last bytes.
16641
154bfc16
JM
166422011-12-22 Joseph Myers <joseph@codesourcery.com>
16643
16644 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16645 (syscall-list-default-options, syscall-list-default-condition)
16646 (syscall-list-includes): Define.
16647 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16648 list of ABIs and options and #if conditions for each ABI. Do not
16649 handle common syscalls between ABIs specially.
16650 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16651 Remove.
16652 (syscall-list-variants, syscall-list-32bit-options)
16653 (syscall-list-32bit-condition, syscall-list-64bit-options)
16654 (syscall-list-64bit-condition): Define.
16655 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16656 (syscall-list-variants, syscall-list-32bit-options)
16657 (syscall-list-32bit-condition, syscall-list-64bit-options)
16658 (syscall-list-64bit-condition): Define.
16659 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16660 Remove.
16661 (syscall-list-variants, syscall-list-32bit-options)
16662 (syscall-list-32bit-condition, syscall-list-64bit-options)
16663 (syscall-list-64bit-condition): Define.
16664 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16665 Remove.
16666 (syscall-list-variants, syscall-list-32bit-options)
16667 (syscall-list-32bit-condition, syscall-list-64bit-options)
16668 (syscall-list-64bit-condition): Define.
16669
21eaf3a5
UD
166702011-12-22 Ulrich Drepper <drepper@gmail.com>
16671
16c6f992
UD
16672 * locale/iso-639.def: Add brx entry.
16673
41043168
UD
16674 [BZ #13328]
16675 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16676 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16677
21eaf3a5
UD
16678 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16679 __feraiseexcept_renamed.
16680
e3a851a2
UD
166812011-12-21 Ulrich Drepper <drepper@gmail.com>
16682
4920765e
UD
16683 [BZ #13538]
16684 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16685 EPOLLET with unsigned values.
16686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16687 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16688
e3a851a2
UD
16689 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16690 to large cancellation.
16691 * math/s_cacoshf.c: Likewise.
16692 * math/s_cacoshl.c: Likewise.
16693
b27e24b8
RK
166942011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16695
16696 [BZ #13305]
aebefeee 16697 [BZ #12786]
b27e24b8
RK
16698 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16699 * math/s_cacoshf.c: Likewise.
16700 * math/s_cacoshl.c: Likewise.
16701
ee190f67
UD
167022011-12-21 Ulrich Drepper <drepper@gmail.com>
16703
16704 [BZ #13439]
16705 * iconv/gconv.h: Define __GCONV_SWAP.
16706 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16707 * iconvdata/utf-16.c: Likewise.
16708 * iconvdata/utf-32.c: Likewise.
16709
707f25df
AS
167102011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16711
16712 [BZ #13524]
16713 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16714 numerator after shifting it by one limb.
16715
d2daaa1e
RÁE
167162011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16717
16718 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16719 under [__USE_EXTERN_INLINES].
16720
a4647e72
UD
167212011-12-17 Ulrich Drepper <drepper@gmail.com>
16722
16723 [BZ #13446]
16724 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16725
f0b264f1
AZ
167262011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16727
16728 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16729 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16730 optimized code.
16731 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16732 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16733 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16734 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16735 for strncasecmp/strncasecmp_l compilation.
16736 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16737 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16738
8ef4f244
MP
167392011-12-08 Marek Polacek <mpolacek@redhat.com>
16740
16741 [BZ #13484]
16742 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16743 of __asm__.
16744
97ac2654
UD
167452011-12-17 Ulrich Drepper <drepper@gmail.com>
16746
16747 [BZ #13506]
16748 * time/tzfile.c (__tzfile_read): Check values from file header.
16749
91d2a845
WS
167502011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16751
16752 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16753 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16754 * powerpc/powerpc32/dl-start.S: Likewise.
16755 * powerpc/powerpc32/elf/start.S: Likewise.
16756 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16757 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16758 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16759 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16760 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16761 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16762 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16763 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16764 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16765 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16766 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16767 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16768 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16769 * powerpc/powerpc32/memset.S: Likewise.
16770 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16771 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16772 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16773 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16774 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16775 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16776 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16777 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16778 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16779 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16780 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16781 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16782 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16783
a1267ba1
AZ
167842011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16785
16786 * math/libm-test.inc: Added more nearbyint tests.
16787 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16788 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16789 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16790 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16791
ad8ac1bd
RL
167922011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16793
16794 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16795 FD_CLOEXEC.
16796
1d3e4b61
UD
167972011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16798
16799 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16800 Add wcscpy-ssse3 wcscpy-c.
16801 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16802 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16803 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16804 * sysdeps/x86_64/wcschr.S: New file.
16805 * sysdeps/x86_64/wcsrchr.S: New file.
16806 * string/test-strcmp.c: Remove checking of wcscmp function for
16807 wrong alignments.
16808 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16809 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16810 wcsrchr-sse2 wcsrchr-c.
16811 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16812 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16813 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16814 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16815 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16816 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16817 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16818 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16819 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16820 * wcsmbc/wcschr.c (WCSCHR): New macro.
16821
5b330a2d
UD
168222011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16823
16824 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16825 * wcsmbs/test-wcsrchr.c: New file.
16826 * string/test-strrchr.c: Add wcsrchr support.
16827 (WIDE): New macro.
16828 * wcsmbs/test-wcscpy.c: New file.
16829 * string/test-strcpy.c: Add wcscpy support.
16830 (WIDE): New macro.
26428b7c 16831
f039c043
UD
168322011-12-10 Ulrich Drepper <drepper@gmail.com>
16833
16834 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16835 the inner loop.
16836
850fb039
AS
168372011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16838
16839 [BZ #13472]
16840 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16841
4efbd5cb
UD
168422011-12-04 Ulrich Drepper <drepper@gmail.com>
16843
52ff5dd0 16844 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16845 Minor optimizations.
52ff5dd0 16846
4efbd5cb
UD
16847 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16848 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16849 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16850
8a426e12
UD
168512011-12-03 Ulrich Drepper <drepper@gmail.com>
16852
aff2453d
UD
16853 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16854 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16855 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16856 for gcc to avoid warnings.
16857 * inet/Makefile (tests): Add tst-checks.
16858 * inet/tst-checks.c: New file.
16859
16860 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16861 warning.
16862
16863 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16864 __wmemcmp_sse2.
16865
16866 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16867 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16868
8a426e12
UD
16869 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16870
9bea3473
UD
168712011-12-02 Ulrich Drepper <drepper@gmail.com>
16872
3a965496
UD
16873 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16874 problem.
16875
9bea3473
UD
16876 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16877
f101631b
UD
168782011-11-29 Joseph Myers <joseph@codesourcery.com>
16879
16880 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16881 conditional on GCC version.
16882 (__arch_compare_and_exchange_val_8_acq)
16883 (__arch_compare_and_exchange_val_16_acq)
16884 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16885 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16886 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16887
a98275aa
UD
168882011-12-02 Joseph Myers <joseph@codesourcery.com>
16889
16890 * sysdeps/sh/backtrace.c: New file.
16891
d4cc29a2
AS
168922011-12-02 Andreas Schwab <schwab@redhat.com>
16893
16894 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16895 parenthesis.
16896
6257af2d
AS
168972011-12-01 Andreas Schwab <schwab@redhat.com>
16898
16899 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16900 falling back to utime.
16901
b5f44c1a
AS
169022011-11-30 Andreas Schwab <schwab@redhat.com>
16903
16904 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16905 expectations for float.
16906
f3a6cc0a
AS
169072011-11-29 Andreas Schwab <schwab@redhat.com>
16908
16909 * locale/weight.h (findidx): Add parameter len.
16910 * locale/weightwc.h (findidx): Likewise.
16911 * posix/fnmatch_loop.c (FCT): Adjust caller.
16912 * posix/regcomp.c (build_equiv_class): Likewise.
16913 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16914 * posix/regexec.c (check_node_accept_bytes): Likewise.
16915 * string/strcoll_l.c (STRCOLL): Likewise.
16916 * string/strxfrm_l.c (STRXFRM): Likewise.
16917
9d65ea3a
UD
169182011-11-17 Ulrich Drepper <drepper@gmail.com>
16919
16920 * Makefile.in: Remove CVSOPT handling.
16921 * configure.in: Remove use of AC_REVISION.
16922 * iconvdata/Makefile (distribute): No need to filter out CVS.
16923 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16924 handling.
16925
5583a086
AS
169262011-11-16 Andreas Schwab <schwab@redhat.com>
16927
16928 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16929 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16930 [USE_AS_STRNCASECMP_L]: Likewise.
16931 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16932 NO_TLS_DIRECT_SEG_REFS.
16933 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16934 Fix argument offsets for non-PIC.
16935 [USE_AS_STRNCASECMP_L]: Likewise.
16936 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16937 NO_TLS_DIRECT_SEG_REFS.
16938
d62a8200
UD
169392011-11-15 Ulrich Drepper <drepper@gmail.com>
16940
9d65ea3a 16941 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16942 O_CLOEXEC.
16943 * locale/loadlocale.c (_nl_load_locale): Likewise.
16944
09f93bd3
AS
169452011-11-15 Andreas Schwab <schwab@redhat.com>
16946
446514f9
AS
16947 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16948 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16949 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16950 (SYSCALL_GETTIME): Set errno on error.
16951
09f93bd3
AS
16952 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16953 count references to noai6ai_cached.
16954
312be3f9
UD
169552011-11-15 Ulrich Drepper <drepper@gmail.com>
16956
16957 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16958
16959 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16960 FD_CLOEXEC for /proc/self/maps.
16961
16962 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16963 FD_CLOEXEC for /proc/meminfo.
16964
16965 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16966 gai.conf.
16967
16968 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16969 FD_CLOEXEC for given file.
16970
16971 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16972
16973 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16974 FD_CLOEXEC for /etc/hosts.
16975 (_gethtent): Likewise.
16976
16977 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16978
16979 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16980 cancellation and set FD_CLOEXEC for /etc/netgroup.
16981
16982 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16983 reading /etc/publickey.
16984
16985 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16986 allow cancellation when reading /etc/group.
16987
16988 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16989 cancellation.
16990 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16991
16992 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16993 when using data file.
16994
16995 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16996
16997 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16998 (write_nis_obj): Use "c" and "e" in fopen.
16999
17000 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17001
17002 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17003
17004 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17005
17006 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17007
17008 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17009 locale.alias.
17010
17011 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17012
17013 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17014
17015 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17016
17017 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17018 file parsing and set FD_CLOEXEC.
17019
82af0fa8
UD
170202011-11-14 Ulrich Drepper <drepper@gmail.com>
17021
17022 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17023
a5fb313c
AS
170242011-11-14 Andreas Schwab <schwab@redhat.com>
17025
17026 * malloc/arena.c (arena_get2): Don't call reused_arena when
17027 _int_new_arena failed.
17028
6abf3465
UD
170292011-11-14 Ulrich Drepper <drepper@gmail.com>
17030
17031 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17032 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17033 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17034 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17035 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17036 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17037 to compile strcasecmp and strncasecmp.
17038 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17039 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17040
17041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17042
76e3966e
UD
170432011-11-13 Ulrich Drepper <drepper@gmail.com>
17044
17045 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17046 locale-defines.sym to gen-as-const-headers.
17047 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17048 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17050 to compile strcasecmp and strncasecmp.
17051 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17052 strcasecmp_l and strncasecmp_l.
17053 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17054 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17055 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17056 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17057 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17058 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17059 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17060 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17061 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17062 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17063 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17064
ab26144e
UD
170652011-11-12 Ulrich Drepper <drepper@gmail.com>
17066
7edb22ef
UD
17067 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17068 result of SYSDEP_GETTIME_CPU to retval.
17069 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17070 parameter list to macro. Remove trailing semicolon. Adjust users.
17071
9694fc44
UD
17072 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17073 variable.
17074
8ad89ef8
UD
17075 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17076 mantissa words.
17077 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17078
0c822ef9
UD
17079 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17080 from unused variable.
17081
874e0564
UD
17082 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17083 DWARF definitions.
17084 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17085 for assembling.
17086
3a2edc79
UD
17087 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17088 over namespaces.
17089
f3c2577f
UD
17090 * sunrpc/rpc_prot.c (rejected): Fix case value.
17091
294ce126
UD
17092 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17093 unsigned long long int to avoid warnings in shift.
17094
5e2b63c6
UD
17095 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17096 of use of trans.
17097 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17098 variable tmp.
17099
e7f4b08e
UD
17100 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17101 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17102 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17103
ab26144e
UD
17104 * nis/nis_table.c (nis_list): Use variable of correct type for
17105 result of __follow_path call.
17106
8a6d5255
AZ
171072011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17108
17109 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17110 of math functions ceil, trunc, floor, round, and sqrt, when
17111 avaliable on the platform.
17112 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17113 name clash.
17114 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17115 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17116 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17117
aaddc98c
MP
171182011-10-30 Marek Polacek <mpolacek@redhat.com>
17119
17120 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17121 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17122
95b7042b
RM
171232011-11-11 Roland McGrath <roland@hack.frob.com>
17124
17125 * include/unistd.h: Fix __readlink return type.
17126 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17127
57769839
UD
171282011-11-11 Ulrich Drepper <drepper@gmail.com>
17129
17130 * stdlib/ucontext.h: Undo last change for makecontext.
17131
edc5984d
AS
171322011-11-11 Andreas Schwab <schwab@redhat.com>
17133
98591e58
AS
17134 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17135
edc5984d
AS
17136 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17137 * setjmp/setjmp.h: Mark functions as non-leaf.
17138 * setjmp/bits/setjmp2.h: Likewise.
17139 * stdlib/ucontext.h: Likewise.
17140
77cdc054
AS
171412011-11-10 Andreas Schwab <schwab@redhat.com>
17142
17143 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17144 (reused_arena): Don't check arena limit.
17145 (arena_get2): Atomically check arena limit.
17146
fe72eebd
UD
171472011-11-08 Ulrich Drepper <drepper@gmail.com>
17148
5f078c32
UD
17149 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17150 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17151
fe72eebd
UD
17152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17153 instructions.
17154
ae1bc2fa
AS
171552011-11-07 Andreas Schwab <schwab@redhat.com>
17156
7583a88d
AS
17157 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17158 handler when locking.
17159
ae1bc2fa
AS
17160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17161 Fix size of allocated buffer.
17162
10fb0bfa
AS
171632011-11-04 Andreas Schwab <schwab@redhat.com>
17164
998832a4
AS
17165 [BZ #10103]
17166 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17167 declarations for long double functions.
17168 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17169
10fb0bfa
AS
17170 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17171
3d7ba52b
AS
171722011-11-03 Andreas Schwab <schwab@redhat.com>
17173
a9ae54a1
AS
17174 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17175 installed.
17176
3d7ba52b
AS
17177 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17178 is disabled.
17179
bc8db248
ST
171802011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17181
17182 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17183
45b96dd6
AS
171842011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17185
647776f6
AS
17186 * include/alloca.h (stackinfo_alloca_round): Define.
17187 (extend_alloca): Use it.
17188 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17189 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17190 here.
17191
d91a8b93
AS
17192 * scripts/check-local-headers.sh: Ignore libaudit.h.
17193
45b96dd6
AS
17194 * nscd/Makefile (extra-objs): Make recursively expanded.
17195
432d41ce
UD
171962011-11-01 Ulrich Drepper <drepper@gmail.com>
17197
34372fc6
UD
17198 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17199 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17200
fadb59f8
UD
17201 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17202 * posix/tst-rfc3484-2.c: Likewise.
17203 * posix/tst-rfc3484-3.c: Likewise.
17204
78239589
UD
17205 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17206 process_vm_writev.
17207 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17208 process_vm_writev.
17209 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17210 process_vm_writev from libc using GLIBC_2.15 version.
17211
432d41ce
UD
17212 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17213
02f9c6cf
PP
172142011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17215
17216 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17217 stack usage.
17218
3a2c0242
UD
172192011-10-31 Ulrich Drepper <drepper@gmail.com>
17220
f4ec4833
UD
17221 [BZ #13367]
17222 * nss/getent.c (initgroups_keys): Show error message in case no group
17223 names are given.
17224
3a2c0242
UD
17225 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17226 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17227 __bump_nl_timestamp.
17228 * nscd/connections (nscd_init): When host database is served open
17229 netlink socket and request notification about configuration changes.
17230 (main_loop_poll): Track netlink file descriptor and bump timestamp
17231 in case data becomes available.
17232 (main_loop_epoll): Likewise.
17233 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17234 (database_pers_head): Add extra_data fileds.
17235 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17236 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17237 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17238 Adjust caller.
17239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17240 in6ai data, call __free_in6ai.
17241 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17242 Add -DHAVE_NETLINK.
17243 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17244 interface information. Reuse previous data if netlink timestamp
17245 is not changed.
17246 (__bump_nl_timestamp): New function.
17247 (__free_in6ai): New function.
17248
636064eb
UD
172492011-10-30 Ulrich Drepper <drepper@gmail.com>
17250
17251 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17252 close_not_cancel_no_status here.
17253 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17254
9beb2334
UD
172552011-10-29 Ulrich Drepper <drepper@gmail.com>
17256
6ef76f3b
UD
17257 [BZ #13276]
17258 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17259 return value.
17260
0ffc4f3e 17261 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17262 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17263 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17264
cb95113e
UD
172652011-07-03 Andreas Jaeger <aj@suse.de>
17266
17267 [BZ #10709]
17268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17269 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17270 * math/libm-test.inc (sin_test): Add test case.
17271
a1b560ff
UD
172722011-10-29 Ulrich Drepper <drepper@gmail.com>
17273
c9aaface
UD
17274 [BZ #13337]
17275 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17276 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17277
d272e7f1
UD
17278 * elf/chroot_canon.c (chroot_canon): Cleanups.
17279
1bc33071
UD
17280 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17281
1760874d
TJ
17282 [BZ #13335]
17283 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17284 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17285
51d91b18
UD
17286 * string/test-strchr.c: Make usable for strchrnul testing.
17287 * string/test-strchrnul.c: New file.
17288 * string/Makefile (strop-tests): Add strchrnul.
17289
a1b560ff 17290 * po/it.po: Update from translation team.
b611fb81 17291 * po/es.po: Likewise.
a1b560ff 17292
a5b81e1f
UD
172932011-10-28 Ulrich Drepper <drepper@gmail.com>
17294
fd52bc6d
UD
17295 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17296 the three constants needed as parameters. Drop the others.
17297 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17298 __m128i_strloadu_tolower.
52e4b9eb
UD
17299 Create and initialize variable zero and use it in all the places
17300 where _mm_setzero_si128 was used.
fd52bc6d 17301
a5b81e1f
UD
17302 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17303 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17304 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17305 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17306 anymore.
17307 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17308 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17309 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17310 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17311 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17312 __mpranred, __mptan.
17313 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17314 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17315 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17316 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17317 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17318 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17319 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17320 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17321 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17322
b4343346
AS
173232011-10-28 Andreas Schwab <schwab@redhat.com>
17324
0c92d8a8
AS
17325 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17326 redefine if SHARED.
17327 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17328
b4343346
AS
17329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17330 wide char related routines to wcsmbs subdir.
17331
3871f58f
AS
173322011-10-27 Andreas Schwab <schwab@redhat.com>
17333
17334 [BZ #13344]
17335 * misc/sys/cdefs.h (__THROWNL): Define.
17336 * posix/unistd.h: Use __THREADNL instead of __THREAD
17337 for memory synchronization functions.
17338
94d44d9f
RM
173392011-10-26 Roland McGrath <roland@hack.frob.com>
17340
21b64b15 17341 [BZ #13349]
94d44d9f
RM
17342 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17343 doesn't exist.
17344 * manual/stdio.texi (Obstack Streams): Node removed.
17345
f6ce9294
AS
173462011-10-26 Andreas Schwab <schwab@redhat.com>
17347
80479147
AS
17348 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17349 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17350 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17351
f6ce9294
AS
17352 * math/math_private.h (math_force_eval): Allow non-addressable
17353 arguments.
17354 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17355
618280a1
UD
173562011-10-25 Ulrich Drepper <drepper@gmail.com>
17357
e0016b11
UD
17358 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17359 file is not needed.
17360
17361 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17362 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17363 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17364 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17365 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17366 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17368 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17369 Add AVX variants.
17370 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17371 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17372 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17373 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17374 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17375 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17376 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17377 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17378 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17379 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17380 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17381 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17382 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17383 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17384 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17385 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17386 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17387 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17388 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17389
17390 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17391 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17392
618280a1
UD
17393 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17394 place. Use VEX encoding when compiling for AVX.
17395
37822576
AS
173962011-10-25 Andreas Schwab <schwab@redhat.com>
17397
1f1e1947
AS
17398 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17399 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17400
37822576
AS
17401 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17402
31ea014d
UD
174032011-10-25 Ulrich Drepper <drepper@gmail.com>
17404
d7826aa1 17405 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17406 useless if() expression.
d7826aa1
UD
17407 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17409 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17411 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17416 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17417 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17418 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17419 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17420 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17421 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17422 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17423 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17425 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17426
31ea014d
UD
17427 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17428
16437fec
AS
174292011-10-25 Andreas Schwab <schwab@redhat.com>
17430
17431 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17432 condition.
17433 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17434
31d3cc00
UD
174352011-10-25 Ulrich Drepper <drepper@gmail.com>
17436
17437 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17438 .text section. Avoid duplicate constants.
17439 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17441 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17443 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17447 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17448 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17449 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17450 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17451 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17452 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17453 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17454 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17455 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17456 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17457 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17459 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17460 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17461 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17462 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17463 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17464 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17465 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17466 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17467 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17468 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17469 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17470 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17471 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17472 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17473 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17474 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17475 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17476 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17477 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17478 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17480 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17481 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17482 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17483 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17484
58985aa9
UD
174852011-10-24 Ulrich Drepper <drepper@gmail.com>
17486
202c9deb
UD
17487 * sysdeps/x86_64/dla.h: Move to ...
17488 * sysdeps/x86_64/fpu/dla.h: ...here.
17489 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17490 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17491
af968f62
UD
17492 * config.make.in: Add have-mfma4 entry.
17493 * configure.in: Substitute libc_cv_cc_fma4.
17494 * math/Makefile (dbl-only-routines): Add sincostab.
17495 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17496 Use __sincostab not sincos.
17497 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17498 name is a macro.
17499 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17500 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17501 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17503 using __copysign.
17504 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17505 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17506 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17507 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17508 and __inv.
17509 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17510 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17511 __copysign.
17512 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17513 define aliases when function name is a macro.
17514 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17515 sysdeps/ieee754/dbl-64/sincos.tbl.
17516 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17517 fma4-enabled routines.
17518 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17519 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17520 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17521 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17523 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17524 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17525 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17526 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17527 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17528 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17529 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17530 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17531 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17532 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17533 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17534 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17535 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17536 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17537 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17538 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17539 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17540 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17541 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17542 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17543 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17544 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17545 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17546 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17547 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17548
58985aa9
UD
17549 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17550 rename.
17551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17559
a201fbcf
AS
175602011-10-24 Andreas Schwab <schwab@redhat.com>
17561
17562 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17563
fc2ee42a
LD
175642011-10-23 Ulrich Drepper <drepper@gmail.com>
17565
bb3129bd
UD
17566 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17567
0275fff8
UD
17568 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17569 prediction.
17570 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17571
2fa2ae85
UD
17572 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17573 Remove unused variable magic_bits.
17574 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17575
fc2ee42a
LD
17576 * string/strnlen.c: Define and use STRNLEN macro.
17577 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17578 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17579 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17580 * wcsmbs/wcslen.c: Define and use WCSLEN.
17581 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17582 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17583 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17584 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17585 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17586 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17587 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17588
ce7dd29f
LD
175892011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17590
17591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17592 strnlen-sse2-no-bsf.
17593 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17594 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17595 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17596 Add strnlen support.
17597 (USE_AS_STRNLEN): New macro.
17598 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17599 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17600 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17601 * sysdeps/x86_64/wcslen.S: New file.
17602
979c70a3
MZ
176032011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17604
17605 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17606 XMM-moves are used for copying on small sizes.
17607
2d09f82f
LD
176082011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17609
17610 * wcsmbs/Makefile (strop-tests): Add wcschr.
17611 * wcsmbs/test-wcschr.c: New file.
17612 * string/test-strchr.c: Update.
17613 Add wcschr support.
17614 (WIDE): New macro.
17615
619fccca
LD
176162011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17617
2d09f82f 17618 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17619 * wcsmbs/test-wcslen.c: New file.
17620 * string/test-strlen.c: Update.
17621 Add wcslen support.
17622 (WIDE): New macro.
17623
09f699ea
UD
176242011-10-23 Ulrich Drepper <drepper@gmail.com>
17625
17626 * po/it.po: Update from translation team.
17627
95584d3b
LD
176282011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17629
17630 * sysdeps/x86_64/wcscmp.S: Update.
17631 Fix wrong comparison semantics.
17632 wcscmp shall use signed comparison not unsigned.
17633 Don't use substraction to avoid overflow bug.
17634 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17635 * wcsmbc/wcscmp.c: Likewise.
17636 * string/test-strcmp.c: Likewise.
17637 Add new tests to check cases with negative values.
17638
c8b3296b
UD
176392011-10-23 Ulrich Drepper <drepper@gmail.com>
17640
17641 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17642 * sysdeps/x86_64/dla.h: ...here. New file.
17643 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17646 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17651 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17652
246ad57a
AS
176532011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17654
17655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17656 __ynl_finite aliases.
17657
a1a87169
UD
176582011-10-22 Ulrich Drepper <drepper@gmail.com>
17659
0d355eb7
UD
17660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17661
a1a87169
UD
17662 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17663 define DLA_FMA.
17664 [DLA_FMA] (EMULV): Use DLA_FMA.
17665 [DLA_FMA] (MUL12): Use EMULV.
17666 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17667 that are not needed.
17668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17675
ee2aafe0
AS
176762011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17677
17678 * math/s_nan.c: Undef __nan.
17679 * math/s_nanf.c: Undef __nanf.
17680 * math/s_nanl.c: Undef __nanl.
17681 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17682 "math_private.h".
17683
bc62c2fb
UD
176842011-10-22 Ulrich Drepper <drepper@gmail.com>
17685
77425c63
UD
17686 * math/s_catan.c: Add branch predictions.
17687 * math/s_catanf.c: Likewise.
17688 * math/s_catanh.c: Likewise.
17689 * math/s_catanhf.c: Likewise.
17690 * math/s_catanhl.c: Likewise.
17691 * math/s_catanl.c: Likewise.
17692 * math/s_cexp.c: Likewise.
17693 * math/s_cexpf.c: Likewise.
17694 * math/s_cexpl.c: Likewise.
17695 * math/s_clog.c: Likewise.
17696 * math/s_clog10.c: Likewise.
17697 * math/s_clog10f.c: Likewise.
17698 * math/s_clog10l.c: Likewise.
17699 * math/s_clogf.c: Likewise.
17700 * math/s_clogl.c: Likewise.
17701 * math/s_csqrt.c: Likewise.
17702 * math/s_csqrtf.c: Likewise.
17703 * math/s_csqrtl.c: Likewise.
17704 * math/s_ctanf.c: Likewise.
17705 * math/s_ctanh.c: Likewise.
17706 * math/s_ctanhf.c: Likewise.
17707 * math/s_ctanhl.c: Likewise.
17708 * math/s_ctanl.c: Likewise.
17709
bc62c2fb
UD
17710 * math/math_private.h: Define __nan, __nanf, __nanl.
17711 * math/s_cacosh.c: Include <math_private.h>.
17712 * math/s_cacoshl.c: Likewise.
17713 * math/s_casinh.c: Likewise.
17714 * math/s_casinhf.c: Likewise.
17715 * math/s_casinhl.c: Likewise.
17716 * math/s_ccos.c: Rely entire on ccosh.
17717 * math/s_ccosf.c: Rely entire on ccoshf.
17718 * math/s_ccosl.c: Rely entirely on ccoshl.
17719 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17720 Remove tests for FE_INVALID.
17721 * math/s_ccoshf.c: Likewise.
17722 * math/s_ccoshl.c: Likewise.
17723 * math/s_csin.c: Likewise.
17724 * math/s_csinf.c: Likewise.
17725 * math/s_csinh.c Likewise.
17726 * math/s_csinhf.c: Likewise.
17727 * math/s_csinhl.c: Likewise.
17728 * math/s_csinl.c: Likewise.
17729 * math/s_ctan.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17731 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17732 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17733
8ec250a4
UD
177342011-10-21 Ulrich Drepper <drepper@gmail.com>
17735
c196fed8
UD
17736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17737 compilation problems.
17738
8ec250a4
UD
17739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17740 __builtin_expect.
17741
8d4f46c6
UD
177422011-10-20 Ulrich Drepper <drepper@gmail.com>
17743
ed72b654
UD
17744 * sysdeps/i386/configure.in: Test for -mfma4 option.
17745 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17746 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17747 COMMON_CPUID_INDEX_80000001.
17748 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17749 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17750 use it if FMA3 is not supported.
17751 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17752
8d4f46c6
UD
17753 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17754 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17755
d45c60c2
AS
177562011-10-20 Andreas Schwab <schwab@redhat.com>
17757
17758 [BZ #12892]
17759 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17760 it would create a cycle with a link time dependency.
17761
d9a4d2ab
UD
177622011-10-19 Ulrich Drepper <drepper@gmail.com>
17763
855d1560
UD
17764 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17765 instruction.
17766 * string/Makefile (strop-tests): Add rawmemchr.
17767 * string/test-rawmemchr.c: New file.
17768
d9a4d2ab
UD
17769 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17770 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17771 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17772 when compiling str{,n}casecmp and when AVX is available. Hook up
17773 new optimized code in initializers.
17774
8f3b1ffe
AS
177752011-10-19 Andreas Schwab <schwab@redhat.com>
17776
17777 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17778 __feraiseexcept instead of feraiseexcept.
17779
d38f1dba
UD
177802011-10-18 Ulrich Drepper <drepper@gmail.com>
17781
d9a8d0ab
UD
17782 * math/math_private.h: Define defaults for libc_fetestexcept and
17783 libc_feupdateenv.
17784 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17785 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17786 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17787 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17788 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17789 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17790 libc_fetestexcept and libc_feupdateenv.
17791
4855e3dd
UD
17792 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17793 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17794 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17795 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17796 libc_feholdexcept_setround.
17797
581d30e3
UD
17798 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17799 Add s_nearbyint-c and s_nearbyintf-c.
17800 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17801 nearbyintf inlines.
17802 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17803 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17804 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17805 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17806
d38f1dba
UD
17807 * math/math_private.h: Define defaults for libc_fegetround,
17808 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17809 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17810 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17811 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17812 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17813 standard functions.
17814 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17815 Remove comments and hacks for old compiler versions.
17816 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17817 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17818 libc_feholdexceptl.
17819
caa6c9d8
AS
178202011-10-18 Andreas Schwab <schwab@redhat.com>
17821
17822 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17823 (__feraiseexcept_renamed): Add __NTH.
17824 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17825 namespace violations.
17826
97c066e6
UD
178272011-10-17 Ulrich Drepper <drepper@gmail.com>
17828
99ce7b04
UD
17829 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17830
1004d182
UD
17831 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17832
228a984d
UD
17833 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17834 recently added interfaces.
17835 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17836
c8553a6a
UD
17837 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17838 about macro parameter expansion.
17839
ed22dcf6
UD
17840 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17841 __NO_MATH_INLINES is defined. Cleanups.
17842
17843 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17844 and __floorf is target has SSE4.1.
17845 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17846 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17847 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17848 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17849
b171c137
UD
17850 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17851 name.
17852 (floorf): Likewise.
17853
97c066e6
UD
17854 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17855
629f62ef
AS
178562011-10-17 Andreas Schwab <schwab@redhat.com>
17857
49a43d80
AS
17858 * misc/sys/cdefs.h: Fix last change.
17859
629f62ef
AS
17860 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17861 database lookup.
17862
e453f6cd
UD
178632011-10-16 Ulrich Drepper <drepper@gmail.com>
17864
aa78043a
UD
17865 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17866
ad0f5cad
UD
17867 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17868 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17869 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17870 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17871 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17872 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17873 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17874 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17875 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17876 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17877 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17878 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17879 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17880 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17881 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17882 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17883 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17884 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17885 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17886 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17887 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17888 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17889
17890 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17891 ceil, ceilf, floor, floorf.
17892
17893 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17894 Perform IRELATIVE relocations last.
17895
e453f6cd
UD
17896 * elf/do-rel.h: Add another parameter nrelative, replacing the
17897 local variable with the same name. Change name of the function
17898 to end in Rel or Rela (uppercase).
17899 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17900 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17901 elf_dynamic_do_##reloc function.
17902
fd5bdc09
UD
179032011-10-15 Ulrich Drepper <drepper@gmail.com>
17904
79b195b5
UD
17905 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17906 is sufficient, at least on modern CPUs.
17907
d4a28569
UD
17908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17909
b61099b5
UD
17910 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17911 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17912
bcf01e6d
UD
17913 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17914 __expl_finite.
17915 * math/bits/math-finite.h: Add entries for exp.
17916 * math/e_expl.c: Add __*_finite alias.
17917 * sysdeps/i386/fpu/e_exp.S: Likewise.
17918 * sysdeps/i386/fpu/e_expf.S: Likewise.
17919 * sysdeps/i386/fpu/e_expl.c: Likewise.
17920 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17921 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17922 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17924 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17925 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17926 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17927
ba1a0d59
UD
17928 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17929 is sufficient, at least on modern CPUs.
17930
fd5bdc09
UD
17931 * ctype/ctype-info.c (__ctype_init): Define.
17932 * include/ctype.h (__ctype_init): Declare.
17933 (__ctype_b_loc): The variable is always initialized.
17934 (__ctype_toupper_loc): Likewise.
17935 (__ctype_tolower_loc): Likewise.
17936 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17937 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17938
7872cfb0
AS
179392011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17940
b468825a
AS
17941 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17942
7872cfb0
AS
17943 * configure.in: Also look in $cxxmachine/include for C++ system
17944 headers.
17945
be13f7bf
LD
179462011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17947
17948 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17949 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17950 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17951 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17952 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17953 (USE_AS_WMEMCMP): New macro.
17954 Fixing indents.
17955 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17956 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17957 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17958 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17960 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17961 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17962 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17963 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17964 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17965 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17966 (USE_AS_WMEMCMP): New macro.
17967 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17968 * sysdeps/string/test-memcmp.c: Update.
17969 Fix simple_wmemcmp.
17970 Add new tests.
17971 * wcsmbs/wmemcmp.c: Update.
17972 (WMEMCMP): New macro.
17973 Fix overflow bug.
17974
556a2007
AJ
179752011-10-12 Andreas Jaeger <aj@suse.de>
17976
17977 [BZ #13268]
17978 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17979
538faaa7
UD
179802011-10-15 Ulrich Drepper <drepper@gmail.com>
17981
ab6737ff
UD
17982 * libio/iofwide.c (do_length): Avoid warning.
17983
538faaa7
UD
17984 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17985
396a21b1
UD
179862011-10-14 Ulrich Drepper <drepper@gmail.com>
17987
cdf2901f
UD
17988 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17989
38ad40ce
UD
17990 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17991 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17992 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17993 * sysdeps/i386/i686/fpu/e_log.S: New file.
17994 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17995 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17996
396a21b1
UD
17997 * ctype/ctype.h: Add support for inlined isXXX functions when
17998 compiling C++ code.
17999
6b1f68c9
AS
180002011-10-14 Andreas Schwab <schwab@redhat.com>
18001
349290c0
AS
18002 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18003
6b1f68c9
AS
18004 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18005
f2282d42
RM
180062011-10-13 Roland McGrath <roland@hack.frob.com>
18007
18008 [BZ #13291]
18009 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18010
5298ffa8
AS
180112011-10-13 Andreas Schwab <schwab@redhat.com>
18012
714fad23
AS
18013 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18014 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18015 feraiseexcept.
18016
81dcc7fb
AS
18017 * sysdeps/x86_64/memrchr.S: Check for zero size.
18018
5298ffa8
AS
18019 * string/stratcliff.c: Add memrchr tests.
18020
951fbcec
LD
180212011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18022
18023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18024 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18025 rawmemchr-sse2 rawmemchr-sse2-bsf.
18026 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18027 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18028 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18029 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18030 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18031 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18032 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18033 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18034 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18035 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18036 * string/memrchr.c (MEMRCHR): New macro.
18037
0ac5ae23
UD
180382011-10-12 Ulrich Drepper <drepper@gmail.com>
18039
18040 Add integration with gcc's -ffinite-math-only and optimize wrapper
18041 functions in libm.
18042 * Versions.def: Define GLIBC_2.15 version for libm.
18043 * math/Makefile (headers): Add bits/math-finite.h.
18044 * math/bits/math-finite.h: New file.
18045 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18046 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18047 * math/e_acoshl.c: Add __*_finite alias.
18048 * math/e_acosl.c: Likewise.
18049 * math/e_asinl.c: Likewise.
18050 * math/e_atan2l.c: Likewise.
18051 * math/e_atanhl.c: Likewise.
18052 * math/e_coshl.c: Likewise.
18053 * math/e_exp10.c: Likewise.
18054 * math/e_exp10f.c: Likewise.
18055 * math/e_exp10l.c: Likewise.
18056 * math/e_exp2l.c: Likewise.
18057 * math/e_fmodl.c: Likewise.
18058 * math/e_gammal_r.c: Likewise.
18059 * math/e_hypotl.c: Likewise.
18060 * math/e_j0l.c: Likewise.
18061 * math/e_j1l.c: Likewise.
18062 * math/e_jnl.c: Likewise.
18063 * math/e_lgammal_r.c: Likewise.
18064 * math/e_log10l.c: Likewise.
18065 * math/e_log2l.c: Likewise.
18066 * math/e_logl.c: Likewise.
18067 * math/e_powl.c: Likewise.
18068 * math/e_sinhl.c: Likewise.
18069 * math/e_sqrtl.c: Likewise.
18070 * math/e_scalb.c: Completely rewritten and optimized.
18071 * math/e_scalbf.c: Likewise.
18072 * math/e_scalbl.c: Likewise.
18073 * math/w_acos.c: Likewise.
18074 * math/w_acosf.c: Likewise.
18075 * math/w_acosl.c: Likewise.
18076 * math/w_acosh.c: Likewise.
18077 * math/w_acoshf.c: Likewise.
18078 * math/w_acoshl.c: Likewise.
18079 * math/w_asin.c: Likewise.
18080 * math/w_asinf.c: Likewise.
18081 * math/w_asinl.c: Likewise.
18082 * math/w_atan2.c: Likewise.
18083 * math/w_atan2f.c: Likewise.
18084 * math/w_atan2l.c: Likewise.
18085 * math/w_atanh.c: Likewise.
18086 * math/w_atanhf.c: Likewise.
18087 * math/w_atanhl.c: Likewise.
18088 * math/w_exp10.c: Likewise.
18089 * math/w_exp10f.c: Likewise.
18090 * math/w_exp10l.c: Likewise.
18091 * math/w_fmod.c: Likewise.
18092 * math/w_fmodf.c: Likewise.
18093 * math/w_fmodl.c: Likewise.
18094 * math/w_j0.c: Likewise.
18095 * math/w_j0f.c: Likewise.
18096 * math/w_j0l.c: Likewise.
18097 * math/w_j1.c: Likewise.
18098 * math/w_j1f.c: Likewise.
18099 * math/w_j1l.c: Likewise.
18100 * math/w_jn.c: Likewise.
18101 * math/w_jnf.c: Likewise.
18102 * math/w_log.c: Likewise.
18103 * math/w_logf.c: Likewise.
18104 * math/w_logl.c: Likewise.
18105 * math/w_log10.c: Likewise.
18106 * math/w_log10f.c: Likewise.
18107 * math/w_log10l.c: Likewise.
18108 * math/w_log2.c: Likewise.
18109 * math/w_log2f.c: Likewise.
18110 * math/w_log2l.c: Likewise.
18111 * math/w_pow.c: Likewise.
18112 * math/w_powf.c: Likewise.
18113 * math/w_powl.c: Likewise.
18114 * math/w_remainder.c: Likewise.
18115 * math/w_remainderf.c: Likewise.
18116 * math/w_remainderl.c: Likewise.
18117 * math/w_scalb.c: Likewise.
18118 * math/w_scalbf.c: Likewise.
18119 * math/w_scalbl.c: Likewise.
18120 * math/w_sqrt.c: Likewise.
18121 * math/w_sqrtf.c: Likewise.
18122 * math/w_sqrtl.c: Likewise.
18123 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18124 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18125 used.
18126 * math/math_private.h: Declare __kernel_standard_f.
18127 * math/w_cosh.c: Remove cruft and optimize a bit.
18128 * math/w_coshf.c: Likewise.
18129 * math/w_coshl.c: Likewise.
18130 * math/w_exp2.c: Likewise.
18131 * math/w_exp2f.c: Likewise.
18132 * math/w_exp2l.c: Likewise.
18133 * math/w_hypot.c: Likewise.
18134 * math/w_hypotf.c: Likewise.
18135 * math/w_hypotl.c: Likewise.
18136 * math/w_lgamma.c: Likewise.
18137 * math/w_lgamma_r.c: Likewise.
18138 * math/w_lgammaf.c: Likewise.
18139 * math/w_lgammaf_r.c: Likewise.
18140 * math/w_lgammal.c: Likewise.
18141 * math/w_lgammal_r.c: Likewise.
18142 * math/w_sinh.c: Likewise.
18143 * math/w_sinhf.c: Likewise.
18144 * math/w_sinhl.c: Likewise.
18145 * math/w_tgamma.c: Likewise.
18146 * math/w_tgammaf.c: Likewise.
18147 * math/w_tgammal.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18149 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18150 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18151 Minor optimizations. Pretty printing. Remove cruft.
18152 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18153 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18154 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18155 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18156 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18157 * sysdeps/i386/fpu/e_asin.S: Likewise.
18158 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18159 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18160 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18161 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18162 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18163 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18164 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18165 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18166 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18167 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18168 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18169 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18170 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18171 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18172 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18173 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18174 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18175 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18176 * sysdeps/i386/fpu/e_log.S: Likewise.
18177 * sysdeps/i386/fpu/e_log10.S: Likewise.
18178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18179 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18180 * sysdeps/i386/fpu/e_log2.S: Likewise.
18181 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18182 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18183 * sysdeps/i386/fpu/e_logf.S: Likewise.
18184 * sysdeps/i386/fpu/e_logl.S: Likewise.
18185 * sysdeps/i386/fpu/e_pow.S: Likewise.
18186 * sysdeps/i386/fpu/e_powf.S: Likewise.
18187 * sysdeps/i386/fpu/e_powl.S: Likewise.
18188 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18189 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18190 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18191 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18192 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18193 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18194 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18195 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18196 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18205 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18206 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18208 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18209 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18210 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18211 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18213 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18215 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18216 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18218 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18219 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18220 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18221 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18222 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18223 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18224 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18225 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18226 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18227 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18228 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18229 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18230 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18231 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18232 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18233 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18234 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18235 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18236 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18237 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18238 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18280 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18282 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18283 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18285 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18288 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18289 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18290 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18291 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18292 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18293 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18294 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18295 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18296 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18297 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18298 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18299 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18300 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18301 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18302 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18303 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18304 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18305 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18306 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18307 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18308 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18309 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18310 (__isnanf): Likewise.
18311 (__isinf_ns): Likewise.
18312 (__isinf_nsf): Likewise.
18313 (__finite): Likewise.
18314 (__finitef): Likewise.
18315 (__ieee754_sqrt): Define as macro.
18316 (__ieee754_sqrtf): Define as macro.
18317 (__ieee754_sqrtl): Define as macro.
18318 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18319 inlined copy.
18320 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18321 __FINITE_MATH_ONLY__ consistent.
18322 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18323
12cc2fcd
AS
183242011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18325
a843a204
AS
18326 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18327 of rawmemchr.
18328
12cc2fcd
AS
18329 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18330
c853acd5
UD
183312011-10-09 Ulrich Drepper <drepper@gmail.com>
18332
18333 * po/ja.po: Update from translation team.
18334
c658d255
RM
183352011-10-08 Roland McGrath <roland@hack.frob.com>
18336
110946e4
RM
18337 * locale/programs/locarchive.c (prepare_address_space): New function.
18338 (create_archive, enlarge_archive, open_archive): Use it.
18339
50604220
RM
18340 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18341 inside [SHARED], where it is used.
18342
c658d255
RM
18343 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18344
18345 * nss/getent.c (netgroup_keys): Remove unused variable.
18346 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18347
6a621eb7
UD
183482011-10-08 Ulrich Drepper <drepper@gmail.com>
18349
7edb55ce
UD
18350 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18351 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18353 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18354 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18355 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18356 * math/Makefile (libm-calls): Add s_isinf_ns.
18357 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18358 * math/multc3.c: Likewise.
18359 * math/s_casin.c: Likewise.
18360 * math/s_casinf.c: Likewise.
18361 * math/s_casinl.c: Likewise.
18362 * math/s_ccos.c: Likewise.
18363 * math/s_ccosf.c: Likewise.
18364 * math/s_ccosl.c: Likewise.
18365 * math/s_ctan.c: Likewise.
18366 * math/s_ctanf.c: Likewise.
18367 * math/s_ctanh.c: Likewise.
18368 * math/s_ctanhf.c: Likewise.
18369 * math/s_ctanhl.c: Likewise.
18370 * math/s_ctanl.c: Likewise.
18371 * math/w_fmod.c: Likewise.
18372 * math/w_fmodf.c: Likewise.
18373 * math/w_fmodl.c: Likewise.
18374 * math/w_remainder.c: Likewise.
18375 * math/w_remainderf.c: Likewise.
18376 * math/w_remainderl.c: Likewise.
18377 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18378 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18379 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18381 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18382 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18383 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18384 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18385
187da0ae
UD
18386 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18387 of the number.
18388 * stdio-common/printf_fphex.c: Likewise.
18389 * stdio-common/printf_size.c: Likewise.
18390
9277c064
UD
18391 * math/e_exp10.c: Include math_private.h using <...> not "...".
18392 * math/e_exp10f.c: Likewise.
18393 * math/e_exp10l.c: Likewise.
18394 * math/e_exp2l.c: Likewise.
18395 * math/e_j0l.c: Likewise.
18396 * math/e_j1l.c: Likewise.
18397 * math/e_jnl.c: Likewise.
18398 * math/e_lgammal_r.c: Likewise.
18399 * math/e_rem_pio2l.c: Likewise.
18400 * math/e_scalb.c: Likewise.
18401 * math/e_scalbf.c: Likewise.
18402 * math/e_scalbl.c: Likewise.
18403 * math/k_cosl.c: Likewise.
18404 * math/k_sinl.c: Likewise.
18405 * math/k_tanl.c: Likewise.
18406 * math/s_cacoshf.c: Likewise.
18407 * math/s_catan.c: Likewise.
18408 * math/s_catanf.c: Likewise.
18409 * math/s_catanh.c: Likewise.
18410 * math/s_catanhf.c: Likewise.
18411 * math/s_catanhl.c: Likewise.
18412 * math/s_catanl.c: Likewise.
18413 * math/s_ccosh.c: Likewise.
18414 * math/s_ccoshf.c: Likewise.
18415 * math/s_ccoshl.c: Likewise.
18416 * math/s_cexp.c: Likewise.
18417 * math/s_cexpf.c: Likewise.
18418 * math/s_cexpl.c: Likewise.
18419 * math/s_clog.c: Likewise.
18420 * math/s_clog10.c: Likewise.
18421 * math/s_clog10f.c: Likewise.
18422 * math/s_clog10l.c: Likewise.
18423 * math/s_clogf.c: Likewise.
18424 * math/s_clogl.c: Likewise.
18425 * math/s_csin.c: Likewise.
18426 * math/s_csinf.c: Likewise.
18427 * math/s_csinh.c: Likewise.
18428 * math/s_csinhf.c: Likewise.
18429 * math/s_csinhl.c: Likewise.
18430 * math/s_csinl.c: Likewise.
18431 * math/s_csqrt.c: Likewise.
18432 * math/s_csqrtf.c: Likewise.
18433 * math/s_csqrtl.c: Likewise.
18434 * math/s_ctan.c: Likewise.
18435 * math/s_ctanf.c: Likewise.
18436 * math/s_ctanh.c: Likewise.
18437 * math/s_ctanhf.c: Likewise.
18438 * math/s_ctanhl.c: Likewise.
18439 * math/s_ctanl.c: Likewise.
18440 * math/s_ldexp.c: Likewise.
18441 * math/s_ldexpf.c: Likewise.
18442 * math/s_ldexpl.c: Likewise.
18443 * math/s_significand.c: Likewise.
18444 * math/s_significandf.c: Likewise.
18445 * math/s_significandl.c: Likewise.
18446 * math/w_acos.c: Likewise.
18447 * math/w_acosf.c: Likewise.
18448 * math/w_acosh.c: Likewise.
18449 * math/w_acoshf.c: Likewise.
18450 * math/w_acoshl.c: Likewise.
18451 * math/w_acosl.c: Likewise.
18452 * math/w_asin.c: Likewise.
18453 * math/w_asinf.c: Likewise.
18454 * math/w_asinl.c: Likewise.
18455 * math/w_atan2.c: Likewise.
18456 * math/w_atan2f.c: Likewise.
18457 * math/w_atan2l.c: Likewise.
18458 * math/w_atanh.c: Likewise.
18459 * math/w_atanhf.c: Likewise.
18460 * math/w_atanhl.c: Likewise.
18461 * math/w_cosh.c: Likewise.
18462 * math/w_coshf.c: Likewise.
18463 * math/w_coshl.c: Likewise.
18464 * math/w_dremf.c: Likewise.
18465 * math/w_exp10.c: Likewise.
18466 * math/w_exp10f.c: Likewise.
18467 * math/w_exp10l.c: Likewise.
18468 * math/w_exp2.c: Likewise.
18469 * math/w_exp2f.c: Likewise.
18470 * math/w_fmod.c: Likewise.
18471 * math/w_fmodf.c: Likewise.
18472 * math/w_fmodl.c: Likewise.
18473 * math/w_hypot.c: Likewise.
18474 * math/w_hypotf.c: Likewise.
18475 * math/w_hypotl.c: Likewise.
18476 * math/w_j0.c: Likewise.
18477 * math/w_j0f.c: Likewise.
18478 * math/w_j0l.c: Likewise.
18479 * math/w_j1.c: Likewise.
18480 * math/w_j1f.c: Likewise.
18481 * math/w_j1l.c: Likewise.
18482 * math/w_jn.c: Likewise.
18483 * math/w_jnf.c: Likewise.
18484 * math/w_jnl.c: Likewise.
18485 * math/w_lgamma.c: Likewise.
18486 * math/w_lgamma_r.c: Likewise.
18487 * math/w_lgammaf.c: Likewise.
18488 * math/w_lgammaf_r.c: Likewise.
18489 * math/w_lgammal.c: Likewise.
18490 * math/w_lgammal_r.c: Likewise.
18491 * math/w_log.c: Likewise.
18492 * math/w_log10.c: Likewise.
18493 * math/w_log10f.c: Likewise.
18494 * math/w_log10l.c: Likewise.
18495 * math/w_log2.c: Likewise.
18496 * math/w_log2f.c: Likewise.
18497 * math/w_log2l.c: Likewise.
18498 * math/w_logf.c: Likewise.
18499 * math/w_logl.c: Likewise.
18500 * math/w_pow.c: Likewise.
18501 * math/w_powf.c: Likewise.
18502 * math/w_powl.c: Likewise.
18503 * math/w_remainder.c: Likewise.
18504 * math/w_remainderf.c: Likewise.
18505 * math/w_remainderl.c: Likewise.
18506 * math/w_scalb.c: Likewise.
18507 * math/w_scalbf.c: Likewise.
18508 * math/w_scalbl.c: Likewise.
18509 * math/w_sinh.c: Likewise.
18510 * math/w_sinhf.c: Likewise.
18511 * math/w_sinhl.c: Likewise.
18512 * math/w_sqrt.c: Likewise.
18513 * math/w_sqrtf.c: Likewise.
18514 * math/w_sqrtl.c: Likewise.
18515 * math/w_tgamma.c: Likewise.
18516 * math/w_tgammaf.c: Likewise.
18517 * math/w_tgammal.c: Likewise.
18518
6a621eb7
UD
18519 * po/ja.po: Update from translation team.
18520
bf582445
AJ
185212011-09-29 Andreas Jaeger <aj@suse.de>
18522
f9efbf3a
AJ
18523 [BZ #13179]
18524 * sunrpc/netname.c (netname2host): Fix logic.
18525
bf582445
AJ
18526 [BZ #6779]
18527 [BZ #6783]
18528 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18529 correctly.
18530 * math/w_remainder.c (__remainder): Likewise.
18531 * math/w_remainderf.c (__remainderf): Likewise.
18532 * math/libm-test.inc (remainder_test): Add test cases.
18533
48693bea
AK
185342011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18535
18536 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18537 sdiv_qrnnd.
18538
42622229
LD
185392011-10-07 Ulrich Drepper <drepper@gmail.com>
18540
18541 * string/test-memcmp.c: Avoid unncessary #defines.
18542 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18543
093ecf92
LD
185442011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18545
18546 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18547 Use new sse2 version for core i3 - i7 as it's faster
18548 than sse42 version.
18549 (bit_Prefer_PMINUB_for_stringop): New.
18550 * sysdeps/x86_64/rawmemchr.S: Update.
18551 Replace with faster SSE2 version.
18552 * sysdeps/x86_64/memrchr.S: New file.
18553 * sysdeps/x86_64/memchr.S: Update.
18554 Replace with faster SSE2 version.
18555
fde56e5c
MP
185562011-09-12 Marek Polacek <mpolacek@redhat.com>
18557
18558 * elf/dl-load.c (lose): Add cast to avoid warning.
18559
21fd49a9
UD
185602011-10-07 Ulrich Drepper <drepper@gmail.com>
18561
5a06e643
UD
18562 * po/ca.po: Update from translation team.
18563
684ae515
UD
18564 * inet/getnetgrent_r.c: Hook up nscd.
18565 * nscd/Makefile (routines): Add nscd_netgroup.
18566 (nscd-modules): Add netgroupcache.
18567 (CFLAGS-netgroupcache.c): Define.
18568 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18569 (cache_search): Add const to second parameter.
18570 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18571 INNETGR.
18572 (dbs): Add netgrdb entry.
18573 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18574 (verify_persistent_db): Handle netgrdb.
18575 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18576 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18577 GETFDNETGR.
18578 (netgroup_response_header): Define.
18579 (innetgroup_response_header): Define.
18580 (datahead): Add netgroup_response_header and innetgroup_response_header
18581 elements.
18582 * nscd/nscd.conf: Add entries for netgroup cache.
18583 * nscd/nscd.h (dbtype): Add netgrdb.
18584 (_PATH_NSCD_NETGROUP_DB): Define.
18585 (netgroup_iov_disabled): Declare.
18586 (xmalloc, xcalloc, xrealloc): Move declarations here.
18587 (cache_search): Adjust prototype.
18588 Add netgroup-related prototypes.
18589 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18590 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18591 (__nscd_innetgr): Declare.
18592 * nscd/selinux.c (perms): Use access_vector_t as element type and
18593 add netgroup-related initializers.
18594 * nscd/netgroupcache.c: New file.
18595 * nscd/nscd_netgroup.c: New file.
18596 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18597 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18598 For four parameters use innetgr.
18599 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18600 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18601 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18602 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18603
21fd49a9
UD
18604 * nscd/connections.c (register_traced_file): Don't register file
18605 for disabled databases.
18606
054c0457
UD
186072011-10-06 Ulrich Drepper <drepper@gmail.com>
18608
32b63198
UD
18609 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18610
054c0457
UD
18611 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18612 from tree and freeing node.
18613
64031225
JO
186142011-09-25 Jiri Olsa <jolsa@redhat.com>
18615
18616 * nss/nsswitch.c (__nss_database_lookup): Handle
18617 nss_parse_service_list out of memory case.
18618
0490345c
JO
186192011-09-15 Jiri Olsa <jolsa@redhat.com>
18620
18621 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18622 out of memory case.
18623
3a62d00d
AS
186242011-10-04 Andreas Schwab <schwab@redhat.com>
18625
18626 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18627 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18628 pass it down.
18629 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18630 elf_machine_rela, elf_machine_lazy_rel.
18631 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18632 (ELF_DYNAMIC_DO_REL): Likewise.
18633 (ELF_DYNAMIC_DO_RELA): Likewise.
18634 (ELF_DYNAMIC_RELOCATE): Likewise.
18635 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18636 to ELF_DYNAMIC_DO_REL.
18637 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18638 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18639 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18640 elf_machine_rela.
18641 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18642 skip_ifunc, don't call ifunc function if non-zero.
18643 (elf_machine_rela): Likewise.
18644 (elf_machine_lazy_rel): Likewise.
18645 (elf_machine_lazy_rela): Likewise.
18646 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18647 (elf_machine_lazy_rel): Likewise.
18648 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18649 Likewise.
18650 (elf_machine_lazy_rel): Likewise.
18651 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18652 Likewise.
18653 (elf_machine_lazy_rel): Likewise.
18654 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18655 (elf_machine_lazy_rel): Likewise.
18656 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18657 (elf_machine_lazy_rel): Likewise.
18658 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18659 (elf_machine_lazy_rel): Likewise.
18660 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18661 (elf_machine_lazy_rel): Likewise.
18662 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18663 (elf_machine_lazy_rel): Likewise.
18664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18665 (elf_machine_lazy_rel): Likewise.
18666
68577918
UD
186672011-09-28 Ulrich Drepper <drepper@gmail.com>
18668
18669 * nss/nss_files/files-init.c (_nss_files_init): Use static
18670 initialization for all the *_traced_file variables.
18671
68822d74
AS
186722011-09-28 Andreas Schwab <schwab@redhat.com>
18673
18674 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18675
2056100b
RM
186762011-09-27 Roland McGrath <roland@hack.frob.com>
18677
18678 [BZ #13226]
18679 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18680
32c76b63
AS
186812011-09-27 Andreas Schwab <schwab@redhat.com>
18682
18683 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18684 Reread the line before reparsing it.
18685
bf972c9d
AS
186862011-09-26 Andreas Schwab <schwab@redhat.com>
18687
18688 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18689
e057a1b5
JM
186902011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18691 Maxim Kuvyrkov <maxim@codesourcery.com>
18692 Joseph Myers <joseph@codesourcery.com>
18693
18694 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18695 if needed for __stack_chk_guard.
18696
bc7e1c36
RM
186972011-09-19 Roland McGrath <roland@hack.frob.com>
18698
ecb1482f
RM
18699 * sysdeps/posix/spawni.c (script_execute): Always define it.
18700 It will be optimized away if unused.
18701 (maybe_script_execute): New function.
18702 (__spawni): Call it.
18703
bc7e1c36
RM
18704 * Makerules: Don't include tls.make.
18705 (config-tls): Always set to thread.
18706 * tls.make.c: File removed.
18707
1c3b002b
MF
187082011-09-19 Mike Frysinger <vapier@gentoo.org>
18709
18710 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18711 * config.make.in (CPPFLAGS-config): New substituted variable.
18712
2840865d
UD
187132011-09-15 Ulrich Drepper <drepper@gmail.com>
18714
88738eb6
UD
18715 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18716
cbf645a6 18717 [BZ #13192]
2840865d
UD
18718 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18719 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18720
b402e91a
RM
187212011-09-15 Roland McGrath <roland@hack.frob.com>
18722
18723 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18724 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18726 (CALL_FAIL): Likewise.
18727 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18728 (CALL_FAIL): Macro removed.
18729 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18730
4c1a1f71
UD
187312011-09-15 Ulrich Drepper <drepper@gmail.com>
18732
18733 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18734 for __FINITE_MATH_ONLY__ == 1.
18735
edc121be
AS
187362011-09-15 Andreas Schwab <schwab@redhat.com>
18737
18738 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18739 __ieee754_sqrt instead of sqrt.
18740 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18741 __ieee754_sqrtf instead of sqrtf.
18742 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18743 __floorf instead of floorf.
18744 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18745 __floorf, __truncf instead of floorf, truncf.
18746
cd205654
UD
187472011-09-14 Ulrich Drepper <drepper@gmail.com>
18748
ee4d0315
UD
18749 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18750
cd205654
UD
18751 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18752 __extern_always_inline.
18753 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18754 32-bit.
18755
48b67d71
AS
187562011-09-14 Andreas Schwab <schwab@redhat.com>
18757
18758 * elf/rtld.c (dl_main): Also relocate in dependency order when
18759 doing symbol dependency testing.
18760
1ae12c75
AS
187612011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18762
18763 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18764 Always define `refsym'.
18765
995a80df
AS
187662011-09-13 Andreas Schwab <schwab@redhat.com>
18767
e529793b
AS
18768 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18769 (__FD_ELT): Renamed from __FDELT.
18770 * misc/bits/select2.h (__FD_ELT): Likewise.
18771 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18772 __FD_MASK instead of __FDELT, __FDMASK.
18773 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18774 Likewise.
18775 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18776 Likewise.
18777
52d4fef8
AS
18778 * elf/Makefile (gen-ldd): Fix pattern.
18779
995a80df
AS
18780 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18781 (init_tls): Likewise.
18782
8682f8b0
UD
187832011-09-12 Ulrich Drepper <drepper@gmail.com>
18784
18785 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18786
de82006d
AS
187872011-09-12 Andreas Schwab <schwab@redhat.com>
18788
a7c8e6a1
AS
18789 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18790 `struct cmsghdr *' instead of `void *'.
18791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18792 Likewise.
18793
0f31fe77
AS
187942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18795
18796 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18797 if non-absolute.
18798 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18799 ldd_rewrite_script.
0f31fe77 18800
32b4c839
UD
188012011-09-11 Ulrich Drepper <drepper@gmail.com>
18802
83cd1420
UD
18803 * configure.in: Remove --with-tls option.
18804 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18805 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18806 out in case it is missing.
18807 * sysdeps/ia64/elf/configure.in: Likewise.
18808 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18809 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18810 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18811 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18812 * sysdeps/sh/elf/configure.in: Likewise.
18813 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18814 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18815 * sysdeps/x86_64/elf/configure.in: Likewise.
18816 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18817 * sysdeps/mach/hurd/tls.h: Likewise.
18818
633f745d
UD
18819 [BZ #13067]
18820 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18821
f318beb8
UD
18822 [BZ #13090]
18823 * configure.in: Fix use of AC_INIT.
18824
32b4c839
UD
18825 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18826
3ce1f295
UD
188272011-09-10 Ulrich Drepper <drepper@gmail.com>
18828
bb016596
UD
18829 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18830 __set_errno.
8e58439c
UD
18831 * malloc/hooks.c: Likewise.
18832
aebae053 18833 [BZ #11929]
02d46fc4
UD
18834 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18835 variables statically.
18836 (narenas): Initialize.
18837 (list_lock): Initialize.
bb016596
UD
18838 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18839 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18840 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18841 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18842 Add initializers to main_arena and mp_.
18843 (malloc_state): Remove pagesize member. Change all users to use
18844 GLRO(dl_pagesize).
18845
18846 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18847 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18848 is always initialized.
18849
22a89187
UD
18850 * malloc/malloc.c: Removed unused configurations and dead code.
18851 * malloc/arena.c: Likewise.
18852 * malloc/hooks.c: Likewise.
02d46fc4 18853 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18854
d063d164
UD
18855 * include/tls.h: Removed. USE___THREAD must always be defined.
18856 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18857 * elf/dl-libc.c: Likewise.
18858 * elf/dl-tsd.c: Likewise.
18859 * include/errno.h: Likewise.
18860 * include/netdb.h: Likewise.
18861 * include/resolv.h: Likewise.
18862 * inet/herrno-loc.c: Likewise.
18863 * inet/herrno.c: Likewise.
18864 * malloc/arena.c: Likewise.
18865 * malloc/hooks.c: Likewise.
18866 * malloc/malloc.c: Likewise.
18867 * resolv/res-state.c: Likewise.
18868 * resolv/res_libc.c: Likewise.
18869 * sysdeps/i386/dl-machine.h: Likewise.
18870 * sysdeps/ia64/dl-machine.h: Likewise.
18871 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18872 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18873 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18874 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18875 * sysdeps/sh/dl-machine.h: Likewise.
18876 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18877 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18878 * sysdeps/unix/i386/sysdep.S: Likewise.
18879 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18880 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18885 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18887 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18889 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18890 * sysdeps/x86_64/dl-machine.h: Likewise.
18891 * tls.make.c: Likewise.
18892
3ce1f295
UD
18893 * configure.in: Remove --with-__thread option. Make tests for
18894 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18895 tls_model attribute fail if no support is available. Remove
18896 USE_IN_LIBIO.
18897 * Makeconfig: Adjust for dropped configure option. All features are
18898 now mandatory.
18899 * Makerules: Likewise.
18900 * Versions.def: Likewise.
18901 * argp/argp-fmtstream.c: Likewise.
18902 * argp/argp-fmtstream.h: Likewise.
18903 * argp/argp-help.c: Likewise.
18904 * assert/assert.c: Likewise.
18905 * config.h.in: Likewise.
18906 * config.make.in: Likewise.
18907 * configure: Likewise.
18908 * configure.in: Likewise.
18909 * csu/Versions: Likewise.
18910 * csu/init.c: Likewise.
18911 * elf/tst-audit2.c: Likewise.
18912 * elf/tst-tls10.c: Likewise.
18913 * elf/tst-tls10.h: Likewise.
18914 * elf/tst-tls11.c: Likewise.
18915 * elf/tst-tls12.c: Likewise.
18916 * elf/tst-tls14.c: Likewise.
18917 * elf/tst-tlsmod11.c: Likewise.
18918 * elf/tst-tlsmod12.c: Likewise.
18919 * elf/tst-tlsmod13.c: Likewise.
18920 * elf/tst-tlsmod13a.c: Likewise.
18921 * elf/tst-tlsmod14a.c: Likewise.
18922 * elf/tst-tlsmod15b.c: Likewise.
18923 * elf/tst-tlsmod16a.c: Likewise.
18924 * elf/tst-tlsmod16b.c: Likewise.
18925 * elf/tst-tlsmod7.c: Likewise.
18926 * elf/tst-tlsmod8.c: Likewise.
18927 * elf/tst-tlsmod9.c: Likewise.
18928 * gmon/gmon.c: Likewise.
18929 * grp/fgetgrent_r.c: Likewise.
18930 * grp/putgrent.c: Likewise.
18931 * hurd/fopenport.c: Likewise.
18932 * include/libc-symbols.h: Likewise.
18933 * include/tls.h: Likewise.
18934 * intl/gettextP.h: Likewise.
18935 * intl/loadinfo.h: Likewise.
18936 * locale/global-locale.c: Likewise.
18937 * locale/localeinfo.h: Likewise.
18938 * mach/devstream.c: Likewise.
18939 * malloc/arena.c: Likewise.
18940 * malloc/set-freeres.c: Likewise.
18941 * misc/err.c: Likewise.
18942 * misc/getttyent.c: Likewise.
18943 * misc/mntent_r.c: Likewise.
18944 * posix/getopt.c: Likewise.
18945 * posix/wordexp.c: Likewise.
18946 * pwd/fgetpwent_r.c: Likewise.
18947 * resolv/Versions: Likewise.
18948 * resolv/res_hconf.c: Likewise.
18949 * shadow/fgetspent_r.c: Likewise.
18950 * shadow/putspent.c: Likewise.
18951 * stdio-common/printf_fphex.c: Likewise.
18952 * stdio-common/tmpfile.c: Likewise.
18953 * stdlib/abort.c: Likewise.
18954 * stdlib/fmtmsg.c: Likewise.
18955 * sunrpc/auth_unix.c: Likewise.
18956 * sunrpc/clnt_perr.c: Likewise.
18957 * sunrpc/clnt_tcp.c: Likewise.
18958 * sunrpc/clnt_udp.c: Likewise.
18959 * sunrpc/clnt_unix.c: Likewise.
18960 * sunrpc/openchild.c: Likewise.
18961 * sunrpc/svc_simple.c: Likewise.
18962 * sunrpc/svc_tcp.c: Likewise.
18963 * sunrpc/svc_udp.c: Likewise.
18964 * sunrpc/svc_unix.c: Likewise.
18965 * sunrpc/xdr.c: Likewise.
18966 * sunrpc/xdr_array.c: Likewise.
18967 * sunrpc/xdr_rec.c: Likewise.
18968 * sunrpc/xdr_ref.c: Likewise.
18969 * sunrpc/xdr_stdio.c: Likewise.
18970
1248c1c4
PB
189712011-09-09 Ulrich Drepper <drepper@gmail.com>
18972
18973 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18974
189752011-07-03 Andreas Jaeger <aj@suse.de>
18976
18977 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18978 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18979 regenerate with gen-libm-tests.pl.
18980
189812010-05-12 Petr Baudis <pasky@suse.cz>
18982
18983 [BZ #11589]
18984 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18985 around j0() zero points by switching to j1().
18986 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18988 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18989 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18990
f22e1074
UD
189912011-09-09 Ulrich Drepper <drepper@gmail.com>
18992
f19009c1
UD
18993 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18994 instead of 0.
18995 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18996 instead of 0. .
18997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18998 Patch in part by Pavel Roskin <proski@gnu.org>.
18999
3f8cc204
UD
19000 [BZ #13138]
19001 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19002 realloc.
19003 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19004 Free memory block if necessary.
19005
f22e1074
UD
19006 [BZ #12847]
19007 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19008 be NULL. Don't lock in this case.
19009
0a2349f9
RM
190102011-09-09 Roland McGrath <roland@hack.frob.com>
19011
19012 * elf/elf.h (ELFOSABI_GNU): New macro.
19013 (ELFOSABI_LINUX): Define to that.
19014
f3cdd467
DZ
190152011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19016
19017 * string/strncat.c (strncat): Undef the symbol in case it has been
19018 defined in bits/string.h.
19019
74718d13
UD
190202011-09-09 Ulrich Drepper <drepper@gmail.com>
19021
633e9e0f
UD
19022 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19023
0a2349f9 19024 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19025 link map.
19026
f9924780
AJ
190272011-08-17 Andreas Jaeger <aj@suse.de>
19028
19029 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19030
7f5517aa
PP
190312011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19032 Ian Lance Taylor <iant@google.com>
19033
19034 * math/libm-test.inc (lround_test): New testcase.
19035 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19036
762011fe
UD
190372011-09-08 Ulrich Drepper <drepper@gmail.com>
19038
92963737
UD
19039 * Makefile: Remove support for automatic cvs check-ins.
19040 * Makerules: Likewise.
19041 * config.make.in: Likewise.
19042 * configure.in: Likewise.
19043 * intl/Makefile: Likewise.
19044 * locale/Makefile: Likewise.
19045 * po/Makefile: Likewise.
19046 * posix/Makefile: Likewise.
19047 * sysdeps/gnu/Makefile: Likewise.
19048 * sysdeps/mach/hurd/Makefile: Likewise.
19049 * sysdeps/sparc/sparc32/Makefile: Likewise.
19050
b0727fd8
JS
19051 [BZ #13118]
19052 * posix/Makefile (bug-regex32-ENV): Define.
19053 Patch by John Stanley <jpsinthemix@verizon.net>.
19054
a0f33f99
UD
19055 * misc/Makefile (headers): Add bits/select2.h.
19056 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19057 * misc/bits/select2.h: New file.
19058 * include/bits/select2.h: New file.
19059 * debug/Makefile (routines): Add fdelt_chk.
19060 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19061 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19062 FD_ISSET.
19063 * debug/fdelt_chk.c: New file.
19064
762011fe
UD
19065 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19066 * wcsmbs/test-wmemcmp.c: Likewise.
19067 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19068 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19069
190702011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19071
19072 * string/Makefile (strop-tests): Add memcmp.
19073 * string/test-wmemcmp.c: New file.
19074 * string/test-memcmp.c: Add wmemcmp support.
19075
7f513ec8
RM
190762011-09-08 Roland McGrath <roland@hack.frob.com>
19077
0442afb4
RM
19078 [BZ #13153]
19079 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19080 2011-07-19 change.
19081
7f513ec8
RM
19082 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19083 garbage value in a __mach_port_mod_refs call in the cases of the
19084 task-self and thread-self ports.
19085
a12b2239
ST
190862011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19087
19088 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19089
610f9ab4
AS
190902011-09-08 Andreas Schwab <schwab@redhat.com>
19091
7f513ec8 19092 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19093
48882a1a
LD
190942011-09-07 Ulrich Drepper <drepper@gmail.com>
19095
b49865be
UD
19096 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19097
fdc86bc9
UD
19098 * elf/dl-libc.c (dlerror_run): Pass back error code from
19099 dl_catch_error.
19100
c966526a
UD
19101 [BZ #13123]
19102 * elf/dl-load.c (lose): Free l_origin if it is valid.
19103
48882a1a
LD
19104 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19105 names.
19106 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19107 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19108 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19109 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19110 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19111 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19112
77a2a8b4
AZ
191132011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19114
19115 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19116 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19117 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19118 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19119 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19120 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19121 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19122 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19123 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19124 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19125
24f579d8
AM
191262011-08-15 Alan Modra <amodra@gmail.com>
19127
19128 [BZ #13092]
19129 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19130 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19131 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19132 ppc_mcount to static-only-routines.
19133 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19134 __mcount_internal.
19135 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19136 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19137
3d4837df
UD
191382011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19139
19140 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19141 for finite and infinity parameters.
19142
22700377
WS
191432011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19144
19145 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19146 and add nop instructions for throughput optimization.
19147 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19148
5025581e
WS
191492011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19150
19151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19152 aligned copy for power7 with vector-scalar instructions.
19153 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19154
08a300c9
L
191552011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19156
19157 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19158 AVX check.
19159
59178ef9
AS
191602011-09-07 Andreas Schwab <schwab@redhat.com>
19161
19162 [BZ #13144]
19163 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19164 last change.
19165
e38ba7ab
UD
191662011-09-07 Ulrich Drepper <drepper@gmail.com>
19167
19168 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19169 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19170 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19172 clock_gettime.
19173
d53a73ac
UD
191742011-09-06 Ulrich Drepper <drepper@gmail.com>
19175
fc8bffcc
UD
19176 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19177 Forgot to demangle the pointer.
19178
ceaa0c5d
UD
19179 * sysdeps/i386/sysdep.h: Define atom_text_section.
19180 * sysdeps/x86_64/sysdep.h: Likewise.
19181 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19182 section with atom_text_section.
19183 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19184 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19185 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19186 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19187 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19188
a77d3c17
UD
19189 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19190 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19191 already be defined. Change to take two parameters and don't assign
19192 result to variable. Adjust all users.
19193 Define INTERNAL_GETTIME if not already defined.
19194 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19195 call.
19196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19197 HAVE_CLOCK_GETTIME_VSYSCALL.
19198 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19199
d53a73ac
UD
19200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19201 gettimeofday vsyscall, just use time.
19202
a8f84144
AS
192032011-09-06 Andreas Schwab <schwab@redhat.com>
19204
19205 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19206 <errno.h>.
19207
ef606249
UD
192082011-09-06 Ulrich Drepper <drepper@gmail.com>
19209
19210 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19211 syscall on x86-64.
19212 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19213 syscall.
19214 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19215 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19216 syscall if possible.
19217
6585cb60
UD
192182011-09-05 Ulrich Drepper <drepper@gmail.com>
19219
19220 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19221 e_ident. Don't pass to find_mapsXX.
19222 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19223
a5f524e4
LD
192242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19225
19226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19227 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19228 * sysdeps/x86_64/multiarch/strchr.S: Update.
19229 Check bit_slow_BSF bit.
19230 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19231 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19232 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19233
554881ef
UD
192342011-09-05 Ulrich Drepper <drepper@gmail.com>
19235
d96de963
UD
19236 [BZ #13134]
19237 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19238 before glibc 2.15.
19239 (tryshell): Define.
19240 (__spawni): Change last parameter to be flag. Test
19241 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19242 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19243 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19244 * posix/spawni.c: Likewise.
19245 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19246 * posix/spawnp.c: Likewise. Change normal version to use
19247 SPAWN_XFLAGS_USE_PATH.
19248 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19249 SPAWN_XFLAGS_TRY_SHELL.
19250
d48e5868
UD
19251 [BZ #13150]
19252 * posix/glob.h: Remove gcc 1.x support.
19253
554881ef
UD
19254 [BZ #13068]
19255 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19256
693fb948
LD
192572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19258
19259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19260 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19261 strrchr-sse2-bsf
19262 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19263 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19264 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19265 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19266 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19267 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19268
1b48c537
UD
192692011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19270
49d42c37
UD
19271 * sysdeps/x86_64/wcscmp.S: New file.
19272
1b48c537
UD
19273 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19274 wcscmp-c wcscmp-sse2
19275 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19276 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19277 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19278 * wcsmbs/wcscmp.c: Allow renaming.
19279
15c95c5d
DM
192802011-09-05 David S. Miller <davem@davemloft.net>
19281
19282 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19283 stack slot, rather than the struct return pointer slot.
19284 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19285 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19287 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19288
2f0ad8f3
UD
192892011-09-05 Ulrich Drepper <drepper@gmail.com>
19290
d88ae418
UD
19291 * po/ja.po: Update from translation team.
19292
2f0ad8f3
UD
19293 [BZ #13144]
19294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19295 kernel in 64-bit binaries.
19296
5f4318d1
DM
192972011-09-01 David S. Miller <davem@davemloft.net>
19298
19299 * elf/elf.h (HWCAP_SPARC_*): Move to..
19300 * sysdeps/sparc/sysdep.h: this new file and add new values.
19301 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19302 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19303 _DL_HWCAP_COUNT to 24.
19304 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19305 entries.
19306 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19307 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19308 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19310 instead of magic constants.
19311 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19312
3ba57516
DM
193132011-08-31 David S. Miller <davem@davemloft.net>
19314
19315 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19317 Reimplement to do errno handling inline.
19318 (SYSCALL_ERROR_HANDLER): New macro.
19319 (__SYSCALL_STRING): Do not do errno handling in asm.
19320 (__CLONE_SYSCALL_STRING): Delete.
19321 (__INTERNAL_SYSCALL_STRING): Delete.
19322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19323 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19324 (PSEUDO): Reimplement to do errno handling inline.
19325 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19326 (SYSCALL_ERROR_HANDLER): New macro.
19327 (__SYSCALL_STRING): Do not do errno handling in asm.
19328 (__CLONE_SYSCALL_STRING): Delete.
19329 (__INTERNAL_SYSCALL_STRING): Delete.
19330 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19331 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19332 i386.
19333 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19334 (inline_syscall*): Add 'err' argument.
19335 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19336 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19337 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19338 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19339
19340 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19341 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19342
2bc17433
AS
193432011-08-30 Andreas Schwab <schwab@redhat.com>
19344
19345 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19346
fbeb5f4d
JO
193472011-08-29 Jiri Olsa <jolsa@redhat.com>
19348
19349 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19350 directive.
19351
ad69cc26
DM
193522011-08-24 David S. Miller <davem@davemloft.net>
19353
19354 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19355
39dd69df
AS
193562011-08-24 Andreas Schwab <schwab@redhat.com>
19357
19358 * elf/Makefile: Add rules to build and run unload8 test.
19359 * elf/unload8.c: New file.
19360 * elf/unload8mod1.c: New file.
19361 * elf/unload8mod1x.c: New file.
19362 * elf/unload8mod2.c: New file.
19363 * elf/unload8mod3.c: New file.
19364
19365 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19366 it wasn't used.
19367
2c0b250a
DM
193682011-08-23 David S. Miller <davem@davemloft.net>
19369
19370 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19371 subtract stack bias.
19372 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19373 %sp not %fp in calculations.
19374 (_JMPBUF_UNWINDS_ADJ): Likewise.
19375
22044b48
DM
19376 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19377 (aio_suspend): Call it to force an exception region around the
19378 AIO_MISC_WAIT() invocation.
19379
2cae4995
AS
193802011-08-23 Andreas Schwab <schwab@redhat.com>
19381
19382 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19383 backslash.
19384
873a772e
AJ
193852011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19386
19387 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19388 protection macro.
19389 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19390 and <dl-machine.h>.
19391 (Elf64_FuncDesc): Remove.
19392
25ad0df1
DM
193932011-08-22 David S. Miller <davem@davemloft.net>
19394
19395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19396 sigaltstack check, add missing cfi directives.
19397 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19398 missing cfi directives, and sigaltstack handling.
19399
e888bcbe
AS
194002011-08-16 Andreas Schwab <schwab@redhat.com>
19401
19402 [BZ #11724]
19403 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19404 object is seen twice.
19405 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19406
19407 * elf/Makefile (distribute): Add tst-initorder2.c.
19408 (tests): Add tst-initorder2.
19409 (modules-names): Add tst-initorder2a tst-initorder2b
19410 tst-initorder2c tst-initorder2d. Add rules to build them.
19411 ($(objpfx)tst-initorder2.out): New rule.
19412 * elf/tst-initorder2.c: New file.
19413 * elf/tst-initorder2.exp: New file.
19414
87162f46
AS
194152011-08-22 Andreas Schwab <schwab@redhat.com>
19416
70538b7f
AS
19417 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19418
f55ffe58
AS
19419 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19420 dependencies back to end of function.
19421
87162f46
AS
19422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19423 $(elfobjdir)/ld.so.
19424
91b392a4
UD
194252011-08-21 Ulrich Drepper <drepper@gmail.com>
19426
19427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19428 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19430 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19431 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19432 of __vdso_gettimeofday.
19433 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19434 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19435 attribute_hidden.
19436 (_libc_vdso_platform_setup): Remove initialization of
19437 __vdso_gettimeofday and __vdso_time.
19438
5c43483f
UD
194392011-08-20 Ulrich Drepper <drepper@gmail.com>
19440
775a77e7
UD
19441 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19442 and fgetc_unlocked.
19443 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19444 getc_unlocked.
89f447ed 19445
49c74ba9
UD
19446 * elf/dl-open.c (add_to_global): Report additions to the global scope
19447 for LD_DEBUG=scopes.
19448 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19449 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19450
5c43483f
UD
19451 [BZ #13114]
19452 * stdio-common/Makefile (tests): Add bug24.
19453 * stdio-common/bug24.c: New file.
19454
a101b025
AJ
194552011-08-19 Andreas Jaeger <aj@suse.de>
19456
19457 [BZ #13114]
19458 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19459 non-existant file when using close-on-exec mode.
19460
c88f1766
UD
194612011-08-20 Ulrich Drepper <drepper@gmail.com>
19462
0276a718
UD
19463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19464 the very first instruction.
19465
c88f1766
UD
19466 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19467 the CFI state in the end.
19468 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19469 inclusion of dl-trampoline.h.
19470 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19471
51ccffa0
AS
194722011-08-19 Andreas Schwab <schwab@redhat.com>
19473
94d7165f
AS
19474 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19475 expectations for long double.
19476
51ccffa0
AS
19477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19478 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19479
fd708658 194802011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19481
19482 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19483 artificual limit depends upon the system page size.
19484
44f0a71e
UD
194852011-08-17 Ulrich Drepper <drepper@gmail.com>
19486
19487 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19488 * resolv/Makefile: Define CFLAGS-libresolv.
19489
8de79a24
AS
194902011-08-17 Andreas Schwab <schwab@redhat.com>
19491
19492 * nss/makedb.c (compute_tables): Make variables used in nested
19493 function static.
19494
27724598
UD
194952011-08-17 Ulrich Drepper <drepper@gmail.com>
19496
c5305d88
UD
19497 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19498 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19499 if buffer was too small.
19500
27724598
UD
19501 * elf/pldd.c (main): Attach to all threads in the process.
19502 Rewrite /proc handling to use *at functions.
19503
076fe015
UD
195042011-08-16 Ulrich Drepper <drepper@gmail.com>
19505
174baab3
UD
19506 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19507 specifies first scope to show.
19508 (dl_open_worker): Update callers. Move printing scope of new
19509 object to before the relocation.
44f0a71e 19510 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19511 * sysdeps/generic/ldsodefs.h: Update declaration.
19512
076fe015
UD
19513 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19514 string for the scope number.
19515
a60df2c3
UD
195162011-08-14 Ulrich Drepper <drepper@gmail.com>
19517
19518 * nscd/servicescache.c (cache_addserv): Make sure written is always
19519 initialized.
19520
5e4287d1
RM
195212011-08-14 Roland McGrath <roland@hack.frob.com>
19522
85ae0589
RM
19523 * sysdeps/i386/i486/bits/atomic.h
19524 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19525 statement expression, so as to suppress "set but not used" warning.
19526 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19527
69f63097
RM
19528 * string/strncat.c (STRNCAT): Use prototype definition.
19529
675456ef
RM
19530 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19531 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19532 -Iprograms here.
19533 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19534 (localedef-modules): Add localedef.
19535 (locale-modules): Add locale.
19536
5e4287d1
RM
19537 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19538 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19539 to avoid a warning.
19540
9c96ff23
DM
195412011-08-14 David S. Miller <davem@davemloft.net>
19542
19543 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19544 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19545
f9ddf089
UD
195462011-08-13 Ulrich Drepper <drepper@gmail.com>
19547
44f0a71e 19548 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19549 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19550 * elf/rtld.c (dl_main): Set l_name of vDSO.
19551 Call _dl_show_scope when DL_DEBUG_SCOPES.
19552 (process_dl_debug): Recognize scopes flag and also set it for all.
19553 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19554 Declare _dl_show_scope.
19555
1dc27704
UD
19556 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19557 (do_dlopen): Pass caller_dlopen to dl_open.
19558 (__libc_dlopen_mode): Initialize caller_dlopen.
19559
f9ddf089
UD
19560 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19561 of libc. Make tolower call locale-independent. Optimize a bit by
19562 using isdigit instead of isalnum.
19563 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19564
9ac533d3
UD
195652011-08-12 Ulrich Drepper <drepper@gmail.com>
19566
19567 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19568 was a dependency or dynamically loaded.
19569
89edf2e9
UD
195702011-08-11 Ulrich Drepper <drepper@gmail.com>
19571
8e999d29
UD
19572 * intl/l10nflist.c: Allow architecture-specific pop function.
19573 * sysdeps/x86_64/l10nflist.c: New file.
19574
89edf2e9
UD
19575 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19576 classification.
19577
14d96785
AS
195782011-08-10 Andreas Schwab <schwab@redhat.com>
19579
19580 * include/dirent.h: Add libc_hidden_proto for scandirat and
19581 scandirat64. Don't declare __scandirat64.
19582 * dirent/scandirat.c: Add libc_hidden_def.
19583 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19584 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19585
6761ac04
DM
195862011-08-10 David S. Miller <davem@davemloft.net>
19587
19588 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19589 enum.
19590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19591 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19593
c55fbd1e
UD
195942011-08-09 Ulrich Drepper <drepper@gmail.com>
19595
19596 * Versions.def [libc]: Add GLIBC_2.15.
19597 * dirent/Makefile (routines): Add scandirat and scandirat64.
19598 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19599 GLIBC_2.15.
19600 * dirent/dirent.h: Declare scandirat and scandirat64.
19601 * dirent/scandirat.c: New file.
19602 * dirent/scandirat64.c: New file.
19603 * sysdeps/wordsize-64/scandirat.c: New file.
19604 * sysdeps/wordsize-64/scandirat64.c: New file.
19605 * dirent/opendir.c: Define opendirat.
19606 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19607 using scandirat.
19608 * dirent/scandir64.c: Adjust for scandir.c change.
19609 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19610 __scandirat64, and __scandir_cancel_handler.
19611 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19612 additional parameter and use openat instead of open (outside of ld.so).
19613 Add new __opendir as wrapper around __opendirat.
19614 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19615 here without requiring old scandirat implementation.
19616
879165f2
UD
196172011-08-08 Ulrich Drepper <drepper@gmail.com>
19618
19619 * dirent/scandir.c (cancel_handler): Renamed to
19620 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19621 defined. Adjust users.
19622 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19623 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19624
cb7e923b
UD
196252011-08-04 Ulrich Drepper <drepper@gmail.com>
19626
16292edd
UD
19627 * string/test-string.h (IMPL): Use __STRING to expand name and then
19628 stringify it.
19629
cb7e923b
UD
19630 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19631 of cleanups.
19632
cff82933
LD
196332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19634
19635 * string/Makefile: Update.
19636 (strop-tests): Append strncat.
19637 * string/test-wcscmp.c: New file.
19638 New comprehensive test for wcscmp.
19639 * string/test-strcmp.c: Update.
19640 (WIDE): New define.
19641
9be9bfcc
AS
196422011-07-22 Andreas Schwab <schwab@redhat.com>
19643
19644 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19645 line.
19646
2e96f1c7
AS
196472011-07-26 Andreas Schwab <schwab@redhat.com>
19648
19649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19650 encoding to ACE if AI_IDN.
19651
85188888
JJ
196522011-08-01 Jakub Jelinek <jakub@redhat.com>
19653
19654 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19655 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19656
5fa16e9b
LD
196572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19658
19659 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19660 Fix overflow bug in strncat.
19661 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19662
19663 * string/test-strncat.c: Update.
19664 Add new tests for checking overflow bugs.
19665
196662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19667
19668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19669 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19670 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19671 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19673 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19674 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19675 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19676 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19677
19678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19679 (USE_AS_STRCAT): Define.
19680 Add strcat and strncat support.
19681 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19682
8c1a459f
AS
196832011-07-25 Andreas Schwab <schwab@redhat.com>
19684
19685 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19686 __n bigger than INT_MAX+1.
19687 (__strncmp_g): Likewise.
19688
bba33c28
UD
196892011-07-23 Ulrich Drepper <drepper@gmail.com>
19690
798be72d
UD
19691 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19692 * libio/stido.h: Likewise.
19693
8accd4dc
UD
19694 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19695 (AF_NFC): Define.
19696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19697 (AF_NFC): Define.
19698
cbff0d96
UD
19699 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19700 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19701 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19702 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19703 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19704
9191c04a
UD
19705 [BZ #13021]
19706 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19707 installed.
19708
bba33c28
UD
19709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19710 typo.
19711 (_dl_x86_64_save_sse): Likewise.
19712
90f139dd
UD
197132011-07-22 Ulrich Drepper <drepper@gmail.com>
19714
1aae088a
UD
19715 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19716 OSXSAVE.
19717 (_dl_x86_64_save_sse): Likewise.
19718
8e2045f5
UD
19719 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19720
90f139dd
UD
19721 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19722
1d002f25
AS
197232011-07-21 Andreas Schwab <schwab@redhat.com>
19724
19725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19726 change.
19727 (_dl_x86_64_save_sse): Use correct AVX check.
19728
21137f89
UD
197292011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19730
19731 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19732 bug in strncpy/strncat.
19733 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19734
a65c0b7a
UD
197352011-07-21 Ulrich Drepper <drepper@gmail.com>
19736
19737 * string/tester.c (test_strcat): Add tests for different alignments
19738 of source and destination.
19739 (test_strncat): Likewise.
19740
6986b98a
UD
197412011-07-20 Ulrich Drepper <drepper@gmail.com>
19742
90bb2039
UD
19743 [BZ #12852]
19744 * posix/glob.c (glob): Check passed in values before using them in
19745 expressions to avoid some overflows.
19746 (glob_in_dir): Likewise.
19747
5644ef54
UD
19748 [BZ #13007]
19749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19750 check for AVX enablement so that we don't crash with old kernels and
19751 new hardware.
19752 * elf/tst-audit4.c: Add same checks here.
19753 * elf/tst-audit6.c: Likewise.
19754
19755 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19756
bfc9dc9b
AS
197572011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19758
19759 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19760
702e64bb
UD
197612011-07-20 Ulrich Drepper <drepper@gmail.com>
19762
19763 * po/cs.po: Update from translation team.
19764 * po/bg.po: Likewise.
19765
295e904f
MP
197662011-07-12 Marek Polacek <mpolacek@redhat.com>
19767
19768 * misc/sys/cdefs.h: Add support for const attribute.
19769 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19770 to gnu_dev_{major,minor,makedev} functions.
19771
3ff94596
MP
197722011-07-20 Marek Polacek <mpolacek@redhat.com>
19773
19774 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19775
28b59fca
AS
197762011-07-20 Andreas Schwab <schwab@redhat.com>
19777
19778 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19779 strlen results.
19780
19df733e
AK
197812011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19782
19783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19784 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19785 register in order to avoid conflicts with the soft frame pointer
19786 being held in r11 when necessary.
19787 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19788 (INTERNAL_VSYSCALL_NCS): Likewise.
19789
c8835729
MP
197902011-07-14 Marek Polacek <mpolacek@redhat.com>
19791
19792 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19793 * elf/dl-fini.c (_dl_fini): Adjust caller.
19794 * elf/dl-close.c (_dl_close_worker): Likewise.
19795 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19796
b902330c
MP
197972011-07-15 Marek Polacek <mpolacek@redhat.com>
19798
8991e135
MP
19799 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19800 "aux_cache->nlibs < 0".
19801
b902330c
MP
19802 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19803 in the reload-count case.
19804
99710781
LD
198052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19806
19807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19808 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19809 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19810 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19811 * sysdeps/x86_64/multiarch/strcat.S: New file.
19812 * sysdeps/x86_64/multiarch/strncat.S: New file.
19813 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19814 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19815 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19816 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19817 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19818 (USE_AS_STRCAT): Define.
19819 Add strcat and strncat support.
19820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19821 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19822 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19823 * string/strncat.c: Update.
19824 (USE_AS_STRNCAT): Define.
19825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19826 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19827 and i7.
19828 * sysdeps/x86_64/multiarch/init-arch.h
19829 (bit_Prefer_PMINUB_for_stringop): New.
19830 (index_Prefer_PMINUB_for_stringop): Likewise.
19831 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19832 bit_Prefer_PMINUB_for_stringop.
19833
7dc6bd90
UD
198342011-07-19 Ulrich Drepper <drepper@gmail.com>
19835
19836 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19837 buffer64.
19838 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19839 of casting of buffer.
19840 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19841 buffer32 and buffer64.
19842 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19843 writes instead of casting of buffer.
19844 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19845 buffer32.
19846 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19847 casting of buffer.
19848
e0e72284
AS
198492011-07-19 Andreas Schwab <schwab@redhat.com>
19850
19851 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19852
feb1eb0b
UD
198532011-07-19 Ulrich Drepper <drepper@gmail.com>
19854
19855 * nscd/nscd.c (termination_handler): Don't do anything for a database
19856 if it has not yet been initialized.
19857
298711ff
UD
198582011-07-18 Ulrich Drepper <drepper@gmail.com>
19859
19860 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19861
198622011-07-15 Marek Polacek <mpolacek@redhat.com>
19863
19864 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19865
f9d68389
UD
198662011-07-18 Ulrich Drepper <drepper@gmail.com>
19867
19868 * po/nl.po: Update from translation team.
19869 * po/sv.po: Likewise.
19870
db290cf5
RM
198712011-07-16 Roland McGrath <roland@hack.frob.com>
19872
19873 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19874 now disallowed by GCC.
5c550700 19875
fd5e21c7
RM
19876 * configure.in (use-default-link): Default to yes if a test -shared
19877 link meets our qualifications.
19878 * configure: Regenerated.
19879
5c550700
RM
19880 * config.make.in (output-format): New variable.
19881 * configure.in: Check for ld --print-output-format support.
19882 * configure: Regenerated.
19883 * Makerules ($(common-objpfx)format.lds)
19884 [$(output-format) != unknown]: Just use $(output-format),
19885 instead of the linker-script munging.
19886
9fa2c032
RM
198872011-07-14 Roland McGrath <roland@hack.frob.com>
19888
a6928d51
RM
19889 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19890 of $(common-objpfx)shlib.lds.
19891 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19892
661607b3
RM
19893 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19894 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19895
9fa2c032
RM
19896 * configure.in (-z relro check): Adjust test code to add a large
19897 writable data section after it.
19898 * configure: Regenerated.
19899
defe9061
RM
199002011-07-11 Roland McGrath <roland@hack.frob.com>
19901
19902 * configure.in (-z relro check): Fix test code to make the variable
19903 truly const.
19904 * configure: Regenerated.
19905
319b9ad4
UD
199062011-07-11 Ulrich Drepper <drepper@gmail.com>
19907
19908 * nscd/nscd.h (struct traced_file): Define.
19909 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19910 elements. Add traced_files.
19911 (inotify_fd): Declare.
19912 (register_traced_file): Declare.
19913 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19914 (inotify_fd): Export.
19915 (resolv_conf_descr): Remove.
19916 (nscd_init): Move inotify descriptor creation to main.
19917 Don't register files for notification here.
19918 (register_traced_file): New function.
19919 (invalidate_cache): Don't use reset_res to determine whether to call
19920 res_init, go through the list of registered files.
19921 (main_loop_poll): The inotify descriptors are now stored in the
19922 structures for the traced files.
19923 (main_loop_epoll): Likewise
19924 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19925 to __nss_disable_nscd.
19926 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19927 for a database anymore. Check the records for all the registered
19928 files instead.
19929 * nss/Makefile (libnss_files-routines): Add files-init.
19930 (libnss_db-routines): Add db-init.
19931 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19932 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19933 * nss/nss_db/db-init.c: New file.
19934 * nss/nss_files/files-init.c: New file.
19935 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19936 __nss_lookup_function.
19937 (__nss_lookup_function): Call nss_load_library.
19938 (nss_load_all_libraries): New function.
19939 (__nss_disable_nscd): Take parameter with callback function for files
19940 to register. Set is_nscd. Load all the DSOs for the NSS modules
19941 used for the cached services.
19942 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19943 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19944 options for features to all the files in nscd.
19945
19946 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19947
23bee3e8
RM
199482011-07-10 Roland McGrath <roland@hack.frob.com>
19949
19950 * csu/elf-init.c (__libc_csu_init): Comment typo.
19951
46a5b7f0
UD
199522011-07-09 Ulrich Drepper <drepper@gmail.com>
19953
19954 * po/pl.po: Update from translation team.
19955 * po/ja.po: Likewise.
19956 * po/ru.po: Likewise.
19957 * po/ko.po: Likewise.
19958 * po/fr.po: Likewise.
19959
d30cf5bb
RM
199602011-07-09 Roland McGrath <roland@hack.frob.com>
19961
113ddea4
RM
19962 * configure.in (.ctors/.dtors header and trailer check):
19963 Use an empirical test on a built program.
19964 * configure: Regenerated.
19965
574920b4
RM
19966 * configure.in (-z relro check): Use an empirical test on a built DSO.
19967 Detect, but do not require, on ia64.
19968 * configure: Regenerated.
19969
d30cf5bb
RM
19970 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19971 Update tests that use readelf to use $READELF instead.
19972 * configure: Regenerated.
19973
8538fdb3
UD
199742011-07-08 Ulrich Drepper <drepper@gmail.com>
19975
19976 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19977 if the result is not used.
19978
04d08991
AJ
199792011-07-05 Andreas Jaeger <aj@suse.de>
19980
19981 [BZ#9696]
19982 * stdlib/tst-strtod.c: Add testcase.
19983
de283087
AD
199842011-07-07 Ulrich Drepper <drepper@gmail.com>
19985
4e5f31c8 19986 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19987 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19988 The latter has a higher limit. Take additional parameter to pass to
19989 the new function.
19990 (__pathconf): Pass file to __statfs_link_max.
19991 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19992 __statfs_link_max.
19993 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19994 __statfs_link_max.
19995
de283087
AD
19996 [BZ #12868]
19997 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19998 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19999 Handle Lustre.
20000 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20001 (__statfs_filesize_max): Likewise.
20002 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20003
c75fa153
AJ
200042011-07-05 Andreas Jaeger <aj@suse.de>
20005
20006 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20007
1a544854
UD
200082011-07-06 Marek Polacek <mpolacek@redhat.com>
20009
20010 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20011 `status' variable.
20012 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20013 Likewise.
20014
6f0eec67
UD
200152011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20016
20017 * Makefile (strop-tests): Add strncat.
20018 * string/test-strncat.c: New file.
20019
aae30307
UD
200202011-06-30 Marek Polacek <mpolacek@redhat.com>
20021
20022 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20023
c0cfb5eb
UD
200242011-06-21 Andreas Jaeger <aj@suse.de>
20025
20026 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20027 Copy rule from iconvdata/Makefile.
20028
01636b21
UD
200292011-07-06 Ulrich Drepper <drepper@gmail.com>
20030
20031 [BZ #12922]
20032 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20033 but no long options are defined, just return 'W'.
20034
9895c8bc
UD
200352011-06-22 Marek Polacek <mpolacek@redhat.com>
20036
20037 [BZ #9696]
20038 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20039
5d4cf042
UD
200402011-07-06 Ulrich Drepper <drepper@gmail.com>
20041
20042 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20043 netgroups to read.
960e5535 20044 (innetgr): Likewise.
5d4cf042 20045
751eb97e
RM
200462011-07-05 Roland McGrath <roland@hack.frob.com>
20047
20048 * config.make.in (install_root): Default to $(DESTDIR).
20049
f15f1e45
UD
200502011-07-05 Ulrich Drepper <drepper@gmail.com>
20051
20052 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20053
4e34ac6a
RM
200542011-07-02 Roland McGrath <roland@hack.frob.com>
20055
5e9b6af4
RM
20056 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20057
84f9ea0f
RM
20058 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20059 containing directory rather than embedding absolute directory names.
20060
ea5ee9f7
RM
20061 * scripts/check-local-headers.sh: Rewritten using awk.
20062 Match by word, not by line. Print error messages for matches.
20063 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20064
1b74661a
RM
20065 * Makerules [shlib-lds-flags empty]:
20066 ($(common-objpfx)libc_pic.opts): New target.
20067 ($(common-objpfx)libc_pic.os.clean): New target.
20068 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20069
20070 * config.make.in (OBJCOPY): New variable.
20071 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20072 * configure: Regenerated.
20073
f781ef40
RM
20074 * config.make.in (use-default-link): New variable.
20075 * configure.in (use_default_link): Grok --with-default-link to set it.
20076 * configure: Regenerated.
20077 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20078 (shlib-lds, shlib-lds-flags): Define to empty.
20079
2d4fa81e
RM
20080 * Makerules (shlib-lds): New variable.
20081 (shlib-lds-flags): New variable.
20082 (build-shlib, build-moduile, build-module-asneeded): Use it.
20083 ($(common-objpfx)libc.so): Use $(shlib-lds).
20084 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20085 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20086
31fffa6b
RM
20087 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20088 DT_FLAGS/DT_FLAGS_1 with zero flags.
20089
4e34ac6a
RM
20090 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20091 linker script munging.
20092
fcfc776b
UD
200932011-07-02 Ulrich Drepper <drepper@gmail.com>
20094
20095 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20096 as 128-bit value.
20097 * crypt/sha512.c (sha512_process_block): Perform total addition using
20098 128-bit if possible.
20099 (__sha512_finish_ctx): Likewise.
20100 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20101 as 64-bit value.
20102 * crypt/sha256.c (SWAP64): Define.
20103 (sha256_process_block): Perform total addition using 64-bit if
20104 possible.
20105 (__sha256_finish_ctx): Likewise.
20106
99231d9a
UD
201072011-07-01 Ulrich Drepper <drepper@gmail.com>
20108
20109 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20111 * nscd/hstcache.c (cache_addhst): Likewise.
20112 * nscd/grpcache.c (cache_addgr): Likewise.
20113 * nscd/aicache.c (addhstaiX): Likewise
20114 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20115
445b4a53
TK
201162011-07-01 Thorsten Kukuk <kukuk@suse.de>
20117
20118 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20119 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20120 * nscd/hstcache.c (cache_addhst): Likewise.
20121 * nscd/grpcache.c (cache_addgr): Likewise.
20122 * nscd/aicache.c (addhstaiX): Likewise
20123
6d4d8e8e
AS
201242011-07-01 Andreas Schwab <schwab@redhat.com>
20125
20126 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20127 domain only when needed.
20128
89f654c5
AS
201292011-06-30 Andreas Schwab <schwab@redhat.com>
20130
20131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20132 is always restored.
20133
cf3b23ff
UD
201342011-06-29 Ulrich Drepper <drepper@gmail.com>
20135
20136 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20137 are re-adding the entry.
20138 * nscd/servicescache.c (cache_addserv): Likewise.
20139
751626f9
AJ
201402011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20141
20142 * sysdeps/generic/dl-irel.h: fix protection against multiple
20143 inclusions.
20144 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20145
9113ea1f
UD
201462011-06-28 Ulrich Drepper <drepper@gmail.com>
20147
5c0b8d90
UD
20148 [BZ #12935]
20149 * malloc/memusage.sh: Fix quoting in message.
20150 * debug/xtrace.sh: Likewise.
20151
9113ea1f
UD
20152 * configure.in: Remove support for --experimental-malloc option, make
20153 it the default.
20154 * config.make.in: Likewise.
20155 * malloc/Makefile: Likewise.
20156
a4172181
AS
201572011-06-27 Andreas Schwab <schwab@redhat.com>
20158
20159 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20160 two-byte characters.
20161
78a7eee7
RM
201622011-06-27 Roland McGrath <roland@hack.frob.com>
20163
62bede13
RM
20164 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20165 AC_CACHE_CHECK invocation.
20166 * configure: Regenerated.
20167
78a7eee7
RM
20168 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20169
5ce33a62
UD
201702011-06-27 Ulrich Drepper <drepper@gmail.com>
20171
034807a9
UD
20172 [BZ #12350]
20173 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20174 bit from old_res_options.
20175
4902da17
UD
20176 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20177
5ce33a62
UD
20178 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20179 value type for setfct.
20180
c2344f56
L
201812011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20182
20183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20184 __gettimeofday instead of gettimeofday.
20185
68468076
UD
201862011-06-26 Ulrich Drepper <drepper@gmail.com>
20187
20188 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20189
acb0d739
L
201902011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20191
20192 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20193
20194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20195 info.
20196
8912479f
L
201972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20198
20199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20200 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20201 strcpy-sse2-unaligned strncpy-sse2-unaligned
20202 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20203 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20204 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20205 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20206 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20208 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20209 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20210 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20211 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20212 (STRCPY): Support SSE2 and SSSE3 versions.
20213
d5495a11
UD
202142011-06-24 Ulrich Drepper <drepper@gmail.com>
20215
20216 [BZ #12874]
20217 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20218 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20219 kernels which artificially limit size of requests.
20220
0b1cbaae
L
202212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20222
20223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20224 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20225 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20226 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20227 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20228 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20229 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20230 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20231 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20232 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20233 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20234 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20235 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20236 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20237 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20239 Enable unaligned load optimization for Intel Core i3, i5 and i7
20240 processors.
20241 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20242 Define.
20243 (index_Fast_Unaligned_Load): Define.
20244 (HAS_FAST_UNALIGNED_LOAD): Define.
20245
07f494a0
MP
202462011-06-23 Marek Polacek <mpolacek@redhat.com>
20247
20248 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20249
fa3fc0fe
UD
202502011-06-22 Ulrich Drepper <drepper@gmail.com>
20251
20252 [BZ #12907]
20253 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20254 until it is clear that the information is realy needed.
20255 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20256
e12df166
AS
202572011-06-22 Andreas Schwab <schwab@redhat.com>
20258
20259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20260
852eb34d
UD
202612011-06-22 Ulrich Drepper <drepper@gmail.com>
20262
84e2a551
UD
20263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20264 /sys/devices/system/cpu/online if it is usable.
20265
852eb34d
UD
20266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20267 reading the information from the /proc filesystem to once a second.
20268
6e502e19
UD
202692011-06-21 Andreas Jaeger <aj@suse.de>
20270
20271 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20272 NULL after inclusion of kernel headers.
20273
75d39ff2
UD
202742011-06-21 Ulrich Drepper <drepper@gmail.com>
20275
51f9aa6a
UD
20276 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20277 calls to internal_setent.
20278
c0244a9d
UD
20279 [BZ #12885]
20280 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20281 addresses using gethostbyname4_r ignore IPv4 addresses.
20282
c5e3c2ae
UD
20283 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20284 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20285
75d39ff2
UD
20286 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20287
42675c6f
DM
202882011-06-20 David S. Miller <davem@davemloft.net>
20289
20290 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20291 inclusions.
20292 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20293
20294 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20295 (elf_irel): Use it.
20296 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20297 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20298 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20299 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20300 * sysdeps/x86_64/dl-irel.h: Likewise.
20301
20302 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20303 * elf/dl-sym.c: Likewise.
20304
57912a71
UD
203052011-06-15 Ulrich Drepper <drepper@gmail.com>
20306
20307 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20308 need to dereference resplen2.
20309
ee22793d
AS
203102011-06-14 Andreas Schwab <schwab@redhat.com>
20311
20312 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20313
a9e836b0
UD
203142011-06-15 Ulrich Drepper <drepper@gmail.com>
20315
77fb9117
UD
20316 * Makeconfig: Define vardbdir and inst_vardbdir.
20317 * nss/Makefile: Add rules to install db-Makefile.
20318
40c1b22c
UD
20319 * nss/nss_db/db-XXX.c: Cleanup.
20320
9f2da732
UD
20321 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20322 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20323 GLIBC_PRIVATE.
20324 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20325 * nss/makedb.c: Implement -g option to specify that value strings
20326 are generated and should not be added to table iterated over for
20327 get*ent calls.
20328 * nss/nss_db/db-initgroups.c: New file.
20329
82e9a1f7
UD
20330 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20331 interface.
20332
c41af17e
UD
20333 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20334 (internal_getgrouplist): Adjust to name change.
20335 Update use_initgroups_entry if this is not the first call.
20336 * nss/databases.def: Add initgroups entry.
20337
a9e836b0
UD
20338 * nss/makedb.c (compute_tables): Check result of multiple hash table
20339 sizes to minimize maximum chain length.
20340
2666d441
UD
203412011-06-14 Ulrich Drepper <drepper@gmail.com>
20342
20343 * Versions.def: Add entry for libnss_db.
20344 * shlib-versions: Likewise.
20345 * nss/Makefile: Add rules to build libnss_db.
20346 * nss/Versions: Add libnss_db information. Organize libnss_files
20347 entries better.
20348 * nss/db-Makefile: Add gshadow support. Change rules for the new
20349 makedb progra. Some minor improvements to generate smaller files.
20350 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20351 here from...
20352 * nss/makedb.c: ...here.
20353 Improve database format to be smaller and require less memory at
20354 runtime.
20355 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20356 db anymore.
20357 * nss/nss_db/db-netgrp.c: Likewise.
20358 * nss/nss_db/db-open.c: Likewise.
20359 * nss/nss_files/flies-XXX.x: Adjust comments.
20360 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20361 * nss/nss_files/files-grp.c: Likewise.
20362 * nss/nss_files/files-hosts.c: Likewise.
20363 * nss/nss_files/files-network.c: Likewise.
20364 * nss/nss_files/files-proto.c: Likewise.
20365 * nss/nss_files/files-pwd.c: Likewise.
20366 * nss/nss_files/files-rpc.c: Likewise.
20367 * nss/nss_files/files-service.c: Likewise.
20368 * nss/nss_files/files-sgrp.c: Likewise.
20369 * nss/nss_files/files-spwd.c: Likewise.
20370 * nss/nss_db/db-alias.c: Removed.
20371 * nss/nss_db/dummy-db.h: Removed.
20372
9ee76b5a
UD
203732011-06-02 Ulrich Drepper <drepper@gmail.com>
20374
20375 * nss/makedb.c: Rewritten to not use database library.
20376 * nss/Makefile: Update to build new makedb program.
20377
c71ca1f8
AJ
203782011-06-14 Andreas Jaeger <aj@suse.de>
20379
20380 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20381 memset declaration.
20382
3154bfb8
UD
203832011-06-10 Andreas Schwab <schwab@redhat.com>
20384
20385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20386 tmpbuf.
20387
b350afab
RM
203882011-06-10 Roland McGrath <roland@hack.frob.com>
20389
decd4e50
RM
20390 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20391 * elf/Makefile ($(objpfx)ld.so): Likewise.
20392
5615eaf2
RM
20393 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20394 Don't list ld.so twice in dependencies.
20395
20396 * posix/bug-regex31.c: Include <stdlib.h>.
20397
20398 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20399
20400 * nis/nss_compat/compat-spwd.c
20401 (getspent_next_nss_netgr): Remove unused variable.
20402 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20403
20404 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20405 nonmembers" output to use the right array.
20406
20407 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20408
20409 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20410
20411 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20412 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20413 * catgets/gencat.c (read_input_file): Likewise.
20414 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20415
20416 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20417 variable definition inside #if's controlling its use.
20418
20419 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20420
20421 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20422
20423 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20424
20425 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20426 unreachable code.
20427
20428 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20429
b68e08db
RM
20430 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20431 * configure: Regenerated.
20432
b350afab
RM
20433 * Makerules: Revert last change.
20434 * elf/Makefile: Likewise.
20435
28368601
RM
204362011-06-09 Roland McGrath <roland@hack.frob.com>
20437
20438 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20439 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20440 (reloc-link): Likewise.
20441
11988f8f
UD
204422011-06-09 Ulrich Drepper <drepper@gmail.com>
20443
20444 * elf/Makefile: Add rules to build pldd.
20445 * elf/pldd.c: New file.
20446 * elf/pldd-xx.c: New file.
20447
e80fab37
UD
204482011-06-07 Ulrich Drepper <drepper@gmail.com>
20449
20450 * version.h: Update for 2.15 development version.
20451
9b849836
DM
204522011-06-07 David S. Miller <davem@davemloft.net>
20453
20454 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20455 ifuncs.
20456 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20457 elf_machine_lazy_rel): Likewise.
20458 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20459 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20460 elf_machine_lazy_rel): Likewise.
20461 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20462 dl_hwcap via passed in argument.
20463 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20464 Likewise.
20465
5a31b283
AK
204662011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20467
20468 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20469
069e52f8
RM
204702011-06-06 Roland McGrath <roland@hack.frob.com>
20471
20472 [BZ #12849]
20473 * manual/fdl-1.1.texi: New file, verbatim from:
20474 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20475 * manual/lgpl-2.1.texi: New file, verbatim from:
20476 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20477 * manual/Makefile (licenses): New variable, list those new file names.
20478 (texis): Use it.
20479 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20480
20481 * manual/fdl.texi: File removed.
20482 * manual/lesser.texi: File removed.
20483 * manual/libc.texinfo (Copying, Documentation License):
20484 Use new @include file names, put @appendix directive before @include.
20485
f16846a5
JJ
204862011-06-04 Jakub Jelinek <jakub@redhat.com>
20487
20488 [BZ #12841]
20489 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20490 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20491 (mq_open): Add __NTH.
20492
3d29045b
L
204932011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20494
20495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20496 Assume Intel Core i3/i5/i7 processor if AVX is available.
20497
8c297311
UD
204982011-05-31 Ulrich Drepper <drepper@gmail.com>
20499
20500 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20501 typo.
20502
c8fc0c91
UD
205032011-05-31 Andreas Schwab <schwab@redhat.com>
20504
20505 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20506 memory. Use alloca_account. Fix memory leak when retrying.
20507
5b27a807
UD
205082011-05-31 Ulrich Drepper <drepper@gmail.com>
20509
356f8bc6
UD
20510 * version.h (RELEASE): Bump for 2.14 release.
20511 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20512
5b27a807
UD
20513 * config.make.in (RANLIB): Remove entry.
20514
01f16ab0
UD
205152011-05-30 Ulrich Drepper <drepper@gmail.com>
20516
41fce8bd
UD
20517 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20518 (libc.pot): Work around missing support for .ksh extension in xgettext.
20519
4769ae77
UD
20520 [BZ #12684]
20521 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20522 if both request failed.
20523 (send_dg): In case of server errors clear resplen or *resplen2.
20524
6b1e7d19
UD
20525 [BZ #12454]
20526 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20527 when there are multiple maps.
20528 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20529 (_dl_fini): Remove test here.
20530
01f16ab0
UD
20531 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20532
b1ebd700
UD
205332011-05-29 Ulrich Drepper <drepper@gmail.com>
20534
7ae22829
UD
20535 [BZ #12350]
20536 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20537 bit from old_res_options.
20538 (gaih_inet): Likewise.
20539
553149f6 20540 [BZ #11099]
18a84741 20541 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20542 as signed.
20543
652ffab1
UD
20544 * resolv/res_init.c (res_setoptions): Make the code more compact.
20545
16985fd0
UD
20546 [BZ #11558]
20547 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20548 set RES_USEVC.
20549
0464f746
UD
20550 [BZ #11634]
20551 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20552
7d17596c
UD
20553 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20554
cf6bbbd7
UD
20555 [BZ #11781]
20556 * malloc/malloc.h: Declare malloc hook variables as volatile.
20557
13f1ab36
UD
20558 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20559 in last patch.
20560
b1ebd700
UD
20561 [BZ #11799]
20562 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20563 raise in the comment.
80e2212d
UD
20564 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20566 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20567
ce67228d
UD
205682011-05-28 Ulrich Drepper <drepper@gmail.com>
20569
8887a920
UD
20570 [BZ #12811]
20571 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20572 grow the buffers more if it already has to be sufficient.
20573 (build_wcs_upper_buffer): Likewise.
20574 * posix/regexec.c (check_matching): Likewise.
20575 (clean_state_log_if_needed): Likewise.
20576 (extend_buffers): Don't enlarge buffers beyond size of the input
20577 buffer.
20578 Patches mostly by Emil Wojak <emil@wojak.eu>.
20579 * posix/bug-regex32.c: New file.
20580 * posix/Makefile (tests): Add bug-regex32.
20581
4f031072
UD
20582 * locale/findlocale.c (_nl_find_locale): Return right away if
20583 _nl_explode_name failed.
20584 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20585
d0478f0c
UD
20586 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20587
de81b246
UD
20588 * debug/xtrace.sh: Unify messages.
20589 * malloc/memusage.sh: Likewise.
20590
c738465a
UD
20591 [BZ #12813]
20592 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20593 time symbol from vDSO. Substitute with vsyscall if not available.
20594 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20595 __vdso_time.
20596
f1f929d7
UD
20597 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20598 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20599 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20600 Add sendmmsg and internal_sendmmsg.
20601 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20602 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20603 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20604
ce67228d
UD
20605 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20606 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20608
e57420c6
UD
206092011-05-27 Ulrich Drepper <drepper@gmail.com>
20610
a8509ca5
UD
20611 [BZ #12813]
20612 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20613 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20614 available.
20615 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20616 __vdso_getcpu.
20617
e57420c6
UD
20618 [BZ #12814]
20619 * iconvdata/Makefile (tests): Add bug-iconv9.
20620 * iconvdata/bug-iconv9.c: New file.
20621
4d07db15
AS
206222011-05-27 Andreas Schwab <schwab@redhat.com>
20623
20624 [BZ #12814]
20625 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20626
ea486f69
JJ
206272011-05-25 Jakub Jelinek <jakub@redhat.com>
20628
20629 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20630 (struct user_regs_struct): Change intcs field back to cs.
20631
6f038433
UD
206322011-05-25 Ulrich Drepper <drepper@gmail.com>
20633
20634 * po/ja.po: Update from translation team.
20635
67f86a25
UD
206362011-05-23 Ulrich Drepper <drepper@gmail.com>
20637
20638 [BZ #12795]
20639 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20640 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20641
def7fbd6
AS
206422011-05-20 Andreas Schwab <schwab@redhat.com>
20643
20644 * stdlib/longlong.h: Update from GCC.
20645
f50ef8f1
AS
206462011-05-23 Andreas Schwab <schwab@redhat.com>
20647
20648 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20649 parameter name.
20650 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20651 Add parameter name.
20652 (__sysconf): Pass it down.
20653
de7ce8f1
UD
206542011-05-22 Ulrich Drepper <drepper@gmail.com>
20655
f2962a71
UD
20656 [BZ #12671]
20657 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20658 some situations.
20659 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20660 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20661 add in in __libc_use_alloca calls. Adjust callers.
20662 (glob): Use malloc in some situations.
20663
de7ce8f1
UD
20664 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20665 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20666 pltexit.
20667
aec84f53
UD
206682011-05-21 Ulrich Drepper <drepper@gmail.com>
20669
05bb4a68
UD
20670 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20671 and CLOCK_BOOTTIME_ALARM.
20672
7ea72f99
UD
20673 [BZ #12782]
20674 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20675 is returned.
20676
7e4afad5
UD
20677 * string/_strerror.c (__strerror_r): Print negative errors as signed
20678 numbers.
20679
8e211fec
UD
20680 [BZ #12777]
20681 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20682 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20683 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20684
f7d82dc9
UD
20685 * configure.in: Fix typo in redirection and correct removal of test
20686 files in two cases.
20687
cc9e536d
UD
20688 [BZ #12788]
20689 * locale/setlocale.c (new_composite_name): Fix test to check for
20690 identical name of all categories.
20691
aec84f53
UD
20692 [BZ #12792]
20693 * libio/filedoalloc.c (local_isatty): New function.
20694 (_IO_file_doallocate): Use local_isatty.
20695 * stdio-common/perror.c (perror): In case a new stream is used
20696 forward the stream error.
20697 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20698 error flag.
20699
78e64fdc
RT
207002011-05-20 Ulrich Drepper <drepper@gmail.com>
20701
34a9094f
UD
20702 [BZ #11869]
20703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20704 alloca.
20705 * include/alloca.h (extend_alloca_account): Define.
20706
78e64fdc
RT
20707 [BZ #11857]
20708 * posix/regex.h: Fix comments with documentation of user-accessible
20709 fields after compilation and describe correct free'ing of pattern
20710 after re_compile_pattern.
20711 Patch by Reuben Thomas <rrt@sc3d.org>.
20712
457bddfc
RA
207132011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20714
20715 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20716 and -mno-altivec to prevent the compiler from using Altivec and/or
20717 VSX instructions when the corresponding registers are not available.
20718
a4527b51
AS
207192011-05-19 Andreas Schwab <schwab@redhat.com>
20720
20721 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20722
ed690b2f
UD
207232011-05-19 Ulrich Drepper <drepper@gmail.com>
20724
20725 * libio/freopen.c (freopen): Use __dup2, not dup2.
20726 * libio/freopen64.c (freopen64): Likewise.
20727
8db73634
L
207282011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20729
20730 [BZ #12775]
20731 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20732 * math/Makefile (tests): Add test-powl.
20733 (CFLAGS-test-powl.c): Define.
20734 * math/test-powl.c: New file.
20735
0a197a9d
L
207362011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20737
20738 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20739
ee30c380
UD
207402011-05-17 Ulrich Drepper <drepper@gmail.com>
20741
20742 [BZ #11837]
20743 * iconvdata/gb18030.c: Update to GB18020-2005.
20744
6ce75379
UD
207452011-05-16 Ulrich Drepper <drepper@gmail.com>
20746
a4b89fd8
AR
20747 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20748 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20749 Patch by Aharon Robbins <arnold@skeeve.com>.
20750
ea389b12
UD
20751 [BZ #11892]
20752 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20753 on the stack.
20754
68a3f91f
UD
20755 [BZ #11895]
20756 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20757 through underflows.
20758
15cc7dd1
UD
20759 [BZ #12766]
20760 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20761 point to strings before performing equality test for error_one_per_line
20762 mode.
20763
f3799213
UD
20764 [BZ #11697]
20765 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20766
d79a9c94
UD
20767 [BZ #11820]
20768 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20769 (struct user_fpregs_struct): Avoid __uint*_t types.
20770
56e5eb46
UD
20771 [BZ #6420]
20772 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20773 symbol info. Use it instead of calling _dl_addr locally.
20774 (lock_and_info): New function.
20775 (tr_freehook): Call lock_and_info and pass symbol info as additional
20776 parameter to tr_where.
20777 (tr_mallochook): Likewise.
20778 (tr_reallochook): Likewise.
20779 (tr_memalignhook): Likewise.
20780
6ce75379
UD
20781 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20782 used and couldn't be at all thread-safe.
20783
f8a3b5bf
UD
207842011-05-15 Ulrich Drepper <drepper@gmail.com>
20785
94b7cc37
UD
20786 * libio/freopen.c (freopen): Don't close old file descriptor
20787 before the new one is opened. Instead dup the new file descriptor
20788 to the old one after the new stream is created.
20789 * libio/freopen64.c (freopen64): Likewise.
20790 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20791 * libio/fileops.c (_IO_new_file_close_it): Handle new
20792 _IO_FLAGS2_NOCLOSE flag.
20793 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20794 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20795 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20796 _IO_FLAGS2_NOCLOSE flag.
20797 * include/unistd.h: Add hidden_proto for dup3.
20798 Define __have_dup3.
20799 * io/dup3.c: Define hidden symbol.
20800 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20801
bd25564e
UD
20802 [BZ #7101]
20803 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20804 when an incomplete long option is used.
20805 * posix/tst-getopt_long1.c: New file.
20806 * posix/Makefile (tests): Add tst-getopt_long1.
20807
c84cfef4
UD
20808 [BZ #10138]
20809 * scripts/config.guess: Update from autoconf-2.68.
20810 * scripts/config.sub: Likewise.
20811
3b85df27
UD
20812 [BZ #10157]
20813 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20814 tests into ...
20815 (has_cpuclock): ...this. New function.
20816 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20817 macro here based on has_cpuclock code.
20818
15a856b1
UD
20819 [BZ #10149]
20820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20821 First byte (not low byte) is now always NUL.
20822 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20823
05f399e6
UD
20824 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20825 Use non-cancelable interfaces.
20826
10a52685 20827 [BZ #9809]
94ecc67d
UD
20828 * locale/iso-639.def: Add entry for Sorani.
20829
f8a3b5bf
UD
20830 [BZ #11901]
20831 * include/stdlib.h: Move include protection to the right place.
20832 Define abort_msg_s. Declare __abort_msg with it.
20833 * stdlib/abort.c (__abort_msg): Adjust type.
20834 * assert/assert.c (__assert_fail_base): New function. Majority
20835 of code from __assert_fail. Allocate memory for __abort_msg with
20836 mmap.
20837 (__assert_fail): Now call __assert_fail_base.
20838 * assert/assert-perr.c: Remove bulk of implementation. Use
20839 __assert_fail_base.
20840 * include/assert.hL Declare __assert_fail_base.
20841 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20842 mmap.
20843 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20844
1af4e298
UD
208452011-05-14 Ulrich Drepper <drepper@gmail.com>
20846
f8a3b5bf 20847 [BZ #11952]
d26dfc60
MG
20848 [BZ #12453]
20849 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20850 until all modules are registered in the DTV.
20851 * elf/Makefile: Add rules to build and run tst-tls19.
20852 * elf/tst-tls19.c: New file.
20853 * elf/tst-tls19mod1.c: New file.
20854 * elf/tst-tls19mod2.c: New file.
20855 * elf/tst-tls19mod3.c: New file.
20856 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20857
2fc54d6f
UD
20858 [BZ #12083]
20859 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20860 correctly.
20861
98d76b46
UD
20862 [BZ #12601]
20863 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20864 two-byte sequence errors.
20865 * iconvdata/Makefile (tests): Add bug-iconv8.
20866 * iconvdata/bug-iconv8.c: New file.
20867
da3c19ef
UD
20868 [BZ #12626]
20869 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20870 buf2 definition.
20871
ca408c15
UD
20872 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20873
d6f67f7d
UD
20874 [BZ #12432]
20875 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20876 (dummy_getcfa): New function.
20877 (init): Get _Unwind_GetCFA address, use dummy if not found.
20878 (backtrace_helper): In recursion check, also check whether CFA changes.
20879 (__backtrace): Completely initialize arg.
20880
1af4e298 20881 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20882 storing incomplete byte sequence in state object. Avoid testing for
20883 guaranteed too small input if we know there is enough data available.
1af4e298 20884
da62f81b
AS
208852011-05-11 Andreas Schwab <schwab@redhat.com>
20886
20887 * Makeconfig (+link-pie): Indent.
20888 * Rules (binaries-pie): Define if $(have-fpie) and
20889 $(build-shared).
20890 (binaries-shared): Also filter out $(binaries-pie).
20891 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20892 * nscd/Makefile (others-pie): Add nscd.
20893 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20894 ($(objpfx)nscd): Remove command override.
20895 * login/Makefile (others-pie): Add pt_chown.
20896 ($(objpfx)pt_chown): Remove command override.
20897 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20898 remove command overrides.
20899
fcabc0f8
UD
209002011-05-13 Ulrich Drepper <drepper@gmail.com>
20901
20030ae6
UD
20902 * libio/tst_putwc.c: Fix error messages.
20903
fcabc0f8
UD
20904 [BZ #12724]
20905 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20906 currently writing and seek to current position when not.
20907 * libio/Makefile (tests): Add bug-fclose1.
20908 * libio/bug-fclose1.c: New file.
20909
320a5dc0
PB
209102011-05-12 Ulrich Drepper <drepper@gmail.com>
20911
20912 [BZ #12511]
20913 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20914 don't set DF_1_NODELETE here.
20915 (do_lookup_x): When entering new entry test for copy relocation
20916 and if necessary set DF_1_NODELETE flag.
20917 * elf/tst-unique4.cc: New file.
20918 * elf/tst-unique4.h: New file.
20919 * elf/tst-unique4lib.cc: New file.
20920 * elf/Makefile: Add rules to build and run tst-unique4.
20921 Patch by Piotr Bury <pbury@goahead.com>.
20922
22836f52
UD
209232011-05-11 Ulrich Drepper <drepper@gmail.com>
20924
f574184a
UD
20925 [BZ #12052]
20926 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20927
e1fb097f
UD
20928 [BZ #12625]
20929 * misc/mntent_r.c (addmntent): Flush the stream after the output
20930
22836f52
UD
20931 [BZ #12393]
20932 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20933 (is_trusted_path_normalize): Skip initial colon. Append slash
20934 to empty buffer. Duplicate is_trusted_path code but allow
20935 constructed patch to be prefix.
20936 (is_dst): Allow $ORIGIN followed by /.
20937 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20938 Correct testing of result of is_trusted_path_normalize
20939 (decompose_rpath): Fix warning.
20940
7b3b0b2a
UD
209412011-05-10 Ulrich Drepper <drepper@gmail.com>
20942
20943 [BZ #11257]
20944 * grp/initgroups.c (internal_getgrouplist): When we found the service
20945 list through the initgroups entry in nsswitch.conf do not always
20946 continue on a successful lookup. Don't always use the
eac80ce2 20947 __nss_group_database value if it is set.
7b3b0b2a
UD
20948 * nss/nsswitch.conf (initgroups): Change action for successful db
20949 lookup to continue for compatibility.
20950
2a81eaa5
UD
209512011-05-09 Ulrich Drepper <drepper@gmail.com>
20952
be97a69e
UD
20953 [BZ #11532]
20954 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20955 and CP774 modules.
20956 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20957 and CP774 modules.
20958 * iconvdata/tst-tables.sh: Likewise.
20959 * iconvdata/cp770.c: New file.
20960 * iconvdata/cp771.c: New file.
20961 * iconvdata/cp772.c: New file.
20962 * iconvdata/cp773.c: New file.
20963 * iconvdata/cp774.c: New file.
20964 * iconvdata/testdata/CP770: New file.
20965 * iconvdata/testdata/CP770..UTF8: New file.
20966 * iconvdata/testdata/CP771: New file.
20967 * iconvdata/testdata/CP771..UTF8: New file.
20968 * iconvdata/testdata/CP772: New file.
20969 * iconvdata/testdata/CP772..UTF8: New file.
20970 * iconvdata/testdata/CP773: New file.
20971 * iconvdata/testdata/CP773..UTF8: New file.
20972 * iconvdata/testdata/CP774: New file.
20973 * iconvdata/testdata/CP774..UTF8: New file.
20974
20975 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20976 END CHARMAP line.
20977 * iconvdata/gen-8bit-gap.sh: Likewise.
20978 * iconvdata/gen-8bit.sh: Likewise.
20979
c1e9e399
UD
20980 * locale/iso-639.def: Add ary entry.
20981
24c55fb3 20982 [BZ #11258]
96b4b1b0
UD
20983 * locale/C-translit.h.in: Add U20A1 transliteration.
20984
bdc2f971
KB
20985 [BZ #12178]
20986 * locale/iso-639.def: Add wae entry.
20987 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20988
2952b117
UD
20989 [BZ #12545]
20990 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20991 for n.
20992
2a81eaa5
UD
20993 [BZ #12711]
20994 * locale/C-translit.h.in: Add entry for U20B9.
20995 Patch by pravin.d.s@gmail.com.
20996
28377d1b
UD
209972011-05-08 Ulrich Drepper <drepper@gmail.com>
20998
7fb90fb8
UD
20999 [BZ #12713]
21000 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21001 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21002 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21003 in rtld. Use *stat64.
7fb90fb8 21004 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21005 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21006 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21007 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21008 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21009 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21010 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21011 __fstatat64 macros.
7fb90fb8
UD
21012 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21013 * dirent/rewinddir.c: Add libc_hidden_def.
21014 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21015 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21016
28377d1b
UD
21017 * include/dirent.h (__alloc_dir): Add flags parameter.
21018 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21019 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21020 __alloc_dir.
21021 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21022 from fdopendir if O_CLOEXEC is already set.
21023
66bdbaa4
AM
210242011-03-15 Alan Modra <amodra@gmail.com>
21025
21026 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21027 l_tls_firstbyte_offset non-zero. Save padding offset in
21028 l_tls_firstbyte_offset for later use.
21029 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21030 freeing static tls block.
21031
95721191
JN
210322011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21033
21034 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21035 where #ifdef was intended. The intent is to prevent ARG_MAX from
21036 being defined by the kernel headers.
21037
f87dfb1f
UD
210382011-05-07 Ulrich Drepper <drepper@gmail.com>
21039
21040 [BZ #12734]
21041 * resolv/resolv.h: Define RES_NOTLDQUERY.
21042 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21043 no-tld-query and set RES_NOTLDQUERY.
21044 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21045 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21046 modern BIND to search name as TLD unless forbidden.
21047
47c3cd7a
UD
210482011-05-07 Petr Baudis <pasky@suse.cz>
21049 Ulrich Drepper <drepper@gmail.com>
21050
21051 [BZ #12393]
21052 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21053 (is_trusted_path): ...to here.
c1e9ea35 21054 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21055 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21056 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21057
8a35c912
PP
210582011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21059
21060 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21061 __BEGIN/__END_DECLS.
21062
acd41f47
UD
210632011-05-06 Ulrich Drepper <drepper@gmail.com>
21064
21065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21066 NSS_STATUS_NOTFOUND if no record was found.
21067
597df647
AS
210682011-05-05 Andreas Schwab <schwab@redhat.com>
21069
21070 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21071 (headers-not-in-tirpc): Remove rpc/netdb.h
21072 * resolv/netdb.h: Revert last change.
21073
b9af1301
PP
210742011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21075
21076 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21077 circular dependency between libgcc.a and libc.a.
21078
4e34d5f5
AS
210792011-05-05 Andreas Schwab <schwab@redhat.com>
21080
21081 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21082 * nis/Makefile: Don't install rpcsvc/*.
21083 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21084 instead of <rpc/types.h>.
21085 (MAXHOSTNAMELEN): Define.
21086
00ee369c
AS
210872011-05-03 Andreas Schwab <schwab@redhat.com>
21088
21089 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21090
0b592a30
MB
210912011-04-28 Maciej Babinski <mbabinski@google.com>
21092
21093 [BZ #12714]
21094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21095 gethostbyname4_r when IPv6 results are possible.
21096
6e04cbbe
UD
210972011-05-02 Ulrich Drepper <drepper@gmail.com>
21098
21099 [BZ #12723]
21100 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21101 _PC_PIPE_BUF handling.
21102
e4ecafe0
BH
211032011-04-30 Bruno Haible <bruno@clisp.org>
21104
21105 [BZ #12717]
21106 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21107 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21108 to 'int'.
21109 * inet/getnameinfo.c (getnameinfo): Likewise.
21110
125ee683
UD
211112011-04-29 Ulrich Drepper <drepper@gmail.com>
21112
21113 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21114 to groups setting in database lookup.
21115 * nss/nsswitch.conf: Add initgroups entry.
21116
b722481a
EB
211172011-04-22 Ulrich Drepper <drepper@gmail.com>
21118
21119 [BZ #12685]
21120 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21121 mode string.
21122 Patch by Eric Blake <eblake@redhat.com>.
21123
4df46dbd
L
211242011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21125
21126 * sunrpc/Makefile (need-export-routines): Add svc_run.
21127 (routines): Remove svc_run.
21128 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21129 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21130 * sunrpc/svc_run.c (svc_run): Likewise.
21131 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21132
e84142d2
UD
211332011-04-21 Ulrich Drepper <drepper@gmail.com>
21134
21135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21136 problem in reallocation in last patch.
21137
877175d8
UD
211382011-04-20 Ulrich Drepper <drepper@gmail.com>
21139
21140 * sunrpc/Makefile: Move inclusion of Rules.
21141
ab8eed78
UD
211422011-04-19 Ulrich Drepper <drepper@gmail.com>
21143
21144 * nss/nss_files/files-initgroups.c: New file.
21145 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21146 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21147 _nss_files_initgroups_dyn.
21148
e3d8f584
RS
211492011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21150
21151 * elf/elf.h (R_ARM_IRELATIVE): Define.
21152
af190f45
UD
211532011-04-19 Ulrich Drepper <drepper@gmail.com>
21154
21155 * po/ru.po: Update from translation team.
21156
53cf59ef
UD
211572011-04-17 Ulrich Drepper <drepper@gmail.com>
21158
21159 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21160 dependencies.
21161
4c559bcd
MF
211622011-02-06 Mike Frysinger <vapier@gentoo.org>
21163
21164 [BZ #12653]
21165 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21166 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21167 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21168 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21169 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21170
4420675c
AS
211712011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21172
21173 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21174 differing bytes.
21175 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21176 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21177 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21178
75ea32ab
UD
211792011-04-17 Ulrich Drepper <drepper@gmail.com>
21180
21181 [BZ #12420]
21182 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21183 storing it.
21184 * stdlib/bug-getcontext.c: New file.
21185 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21186
27390476
AK
211872011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21188
21189 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21190 instructions into .machine "z9-109".
21191 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21192 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21193
10442705
AK
211942011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21195
21196 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21197 between environment variables and auxiliary vector.
21198
7b57bfe5
UD
211992011-04-16 Ulrich Drepper <drepper@gmail.com>
21200
21201 * Makefile: Add rules to build linkobj/libc.so.
21202 * include/libc-symbols.h: Define libc_hidden_nolink.
21203 * include/rpc/auth.h: Mark functions which are to be hidden.
21204 * include/rpc/auth_des.h: Likewise.
21205 * include/rpc/auth_unix.h: Likewise.
21206 * include/rpc/clnt.h: Likewise.
21207 * include/rpc/des_crypt.h: Likewise.
21208 * include/rpc/key_prot.h: Likewise.
21209 * include/rpc/pmap_clnt.h: Likewise.
21210 * include/rpc/pmap_prot.h: Likewise.
21211 * include/rpc/pmap_rmt.h: Likewise.
21212 * include/rpc/rpc_msg.h: Likewise.
21213 * include/rpc/svc.h: Likewise.
21214 * include/rpc/svc_auth.h: Likewise.
21215 * include/rpc/xdr.h: Likewise.
21216 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21217 * nss/Makefile: Likewise.
21218 * sunrpc/Makefile: Don't install headers. Build library with normal
21219 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21220 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21221 for the compat linking library. Remove use of INTDEF/INTUSE.
21222 * sunrpc/auth_none.c: Likewise.
21223 * sunrpc/auth_unix.c: Likewise.
21224 * sunrpc/authdes_prot.c: Likewise.
21225 * sunrpc/authuxprot.c: Likewise.
21226 * sunrpc/clnt_gen.c: Likewise.
21227 * sunrpc/clnt_perr.c: Likewise.
21228 * sunrpc/clnt_raw.c: Likewise.
21229 * sunrpc/clnt_simp.c: Likewise.
21230 * sunrpc/clnt_tcp.c: Likewise.
21231 * sunrpc/clnt_udp.c: Likewise.
21232 * sunrpc/clnt_unix.c: Likewise.
21233 * sunrpc/des_crypt.c: Likewise.
21234 * sunrpc/des_soft.c: Likewise.
21235 * sunrpc/get_myaddr.c: Likewise.
21236 * sunrpc/key_call.c: Likewise.
21237 * sunrpc/key_prot.c: Likewise.
21238 * sunrpc/netname.c: Likewise.
21239 * sunrpc/pm_getmaps.c: Likewise.
21240 * sunrpc/pm_getport.c: Likewise.
21241 * sunrpc/pmap_clnt.c: Likewise.
21242 * sunrpc/pmap_prot.c: Likewise.
21243 * sunrpc/pmap_prot2.c: Likewise.
21244 * sunrpc/pmap_rmt.c: Likewise.
21245 * sunrpc/publickey.c: Likewise.
21246 * sunrpc/rpc_cmsg.c: Likewise.
21247 * sunrpc/rpc_common.c: Likewise.
21248 * sunrpc/rpc_dtable.c: Likewise.
21249 * sunrpc/rpc_prot.c: Likewise.
21250 * sunrpc/rpc_thread.c: Likewise.
21251 * sunrpc/rtime.c: Likewise.
21252 * sunrpc/svc.c: Likewise.
21253 * sunrpc/svc_auth.c: Likewise.
21254 * sunrpc/svc_authux.c: Likewise.
21255 * sunrpc/svc_raw.c: Likewise.
21256 * sunrpc/svc_run.c: Likewise.
21257 * sunrpc/svc_simple.c: Likewise.
21258 * sunrpc/svc_tcp.c: Likewise.
21259 * sunrpc/svc_udp.c: Likewise.
21260 * sunrpc/svc_unix.c: Likewise.
21261 * sunrpc/svcauth_des.c: Likewise.
21262 * sunrpc/xcrypt.c: Likewise.
21263 * sunrpc/xdr.c: Likewise.
21264 * sunrpc/xdr_array.c: Likewise.
21265 * sunrpc/xdr_float.c: Likewise.
21266 * sunrpc/xdr_intXX_t.c: Likewise.
21267 * sunrpc/xdr_mem.c: Likewise.
21268 * sunrpc/xdr_rec.c: Likewise.
21269 * sunrpc/xdr_ref.c: Likewise.
21270 * sunrpc/xdr_sizeof.c: Likewise.
21271 * sunrpc/xdr_stdio.c: Likewise.
21272
e6c61494
UD
212732011-04-10 Ulrich Drepper <drepper@gmail.com>
21274
21275 [BZ #12650]
21276 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21277 * sysdeps/ia64/dl-tls.h: Likewise.
21278 * sysdeps/powerpc/dl-tls.h: Likewise.
21279 * sysdeps/s390/dl-tls.h: Likewise.
21280 * sysdeps/sh/dl-tls.h: Likewise.
21281 * sysdeps/sparc/dl-tls.h: Likewise.
21282 * sysdeps/x86_64/dl-tls.h: Likewise.
21283 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21284
34fe483e
AS
212852011-03-14 Andreas Schwab <schwab@redhat.com>
21286
21287 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21288 rpath element also skip the following colon.
21289 (expand_dynamic_string_token): Add is_path parameter and pass
21290 down to DL_DST_REQUIRED and _dl_dst_substitute.
21291 (decompose_rpath): Call expand_dynamic_string_token with
21292 non-zero is_path. Ignore empty rpaths.
21293 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21294 with zero is_path.
21295
f12a32e6
AS
212962011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21297
21298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21299 Make cancelable.
21300
38a7d692
UD
213012011-04-09 Ulrich Drepper <drepper@gmail.com>
21302
21303 [BZ #12655]
21304 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21305 Patch by Filipe David Manana <fdmanana@apache.org>.
21306
e451d22b
AS
213072011-04-07 Andreas Schwab <schwab@redhat.com>
21308
21309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21310 Maintain aligned stack.
21311 (CHECK_RSP): Remove unused macro.
21312
dedc7c7b
UD
213132011-04-03 Ulrich Drepper <drepper@gmail.com>
21314
21315 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21316 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21317
94521213
UD
213182011-04-02 Ulrich Drepper <drepper@gmail.com>
21319
21320 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21321
8cb700c0 21322 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21323
0354e355
L
213242011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21325
21326 [BZ #12518]
21327 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21328 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21329 * sysdeps/x86_64/memmove.c: New file.
21330 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21331 (memcpy): Renamed to ...
21332 (__new_memcpy): This.
21333 (memcpy): Provide GLIBC_2_14 memcpy.
21334 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21335 (memcpy): Provide GLIBC_2_2_5 memcpy.
21336
8593482f
UD
213372011-04-01 Ulrich Drepper <drepper@gmail.com>
21338
21339 [BZ #12631]
21340 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21341
81a5726b
AS
213422011-03-30 Andreas Schwab <schwab@redhat.com>
21343
21344 * misc/syncfs.c: New file.
21345 * misc/Makefile (routines): Add syncfs.
21346 * posix/unistd.h: Declare syncfs.
21347 * sysdeps/unix/syscalls.list: Add syncfs.
21348
00e5419f
AS
213492011-04-01 Andreas Schwab <schwab@redhat.com>
21350
21351 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21352 open_by_handle_at.
21353 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21354 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21355 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21356 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21357 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21358 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21359 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21360
748876bf
UD
213612011-04-01 Ulrich Drepper <drepper@gmail.com>
21362
658e451d
UD
21363 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21364 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21365 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21367 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21369 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21370
748876bf
UD
21371 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21372 sync_file_range.c with -fexceptions.
21373 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21374 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21375 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21376 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21377 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21378 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21380 sync_file_range as cancellation point
21381 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21382 now a wrapper around __call_sync_file_range with cancellation handling.
21383 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21384 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21385 function name to __call_sync_file_range.
21386 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21387 Add call_sync_file_range.
748876bf 21388
6e63d5e1
AS
213892011-04-01 Andreas Schwab <schwab@redhat.com>
21390
21391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21392 bits/timex.h.
6e63d5e1 21393
46998f74
UD
213942011-04-01 Ulrich Drepper <drepper@gmail.com>
21395
4c1423ed
UD
21396 * iconv/iconv.h: Fix typo in comment.
21397 * io/fcntl.h: Likewise.
21398 * libio/stdio.h: Likewise.
21399 * posix/spawn.h: Likewise.
21400 * posix/unistd.h: Likewise.
21401 * stdlib/stdlib.h: Likewise.
21402 * time/time.h: Likewise.
21403 * wcsmbs/wchar.h: Likewise.
21404
158648c0
UD
21405 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21406 open_by_handle): Add.
21407 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21408 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21409 Augment a few comments.
21410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21411 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21412 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21414 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21415 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21416 open_by_handle.
21417
46998f74
UD
21418 * io/fcntl.h (AT_EMPTY_PATH): Define.
21419
83fe108b
UD
214202011-03-30 Ulrich Drepper <drepper@gmail.com>
21421
21422 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21423 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21424 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21425 to...
21426 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21427 * Versions.def: Add GLIBC_2.14.
21428 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21429 Export.
83fe108b 21430
bb242059
UD
214312011-03-22 Ulrich Drepper <drepper@gmail.com>
21432
21433 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21434 round counter.
21435 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21436
c97a1282
L
214372011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21438
21439 [BZ #12597]
21440 * string/test-strncmp.c (do_page_test): New function.
21441 (check2): Likewise.
21442 (test_main): Call check2.
21443 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21444
2a115601
UD
214452011-03-20 Ulrich Drepper <drepper@gmail.com>
21446
21447 [BZ #12587]
21448 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21449 Handle cache information in CPU leaf 4.
21450 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21451
8126d904
UD
214522011-03-18 Ulrich Drepper <drepper@gmail.com>
21453
042c49c6 21454 [BZ #12583]
8126d904
UD
21455 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21456 character representation.
21457 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21458
ccfe366e
RA
214592011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21460
21461 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21462 END(__isnan) to END(__isnanf) to match function entry point/label
21463 EALIGN(__isnanf,...).
21464
c6e13027
JJ
214652011-03-10 Jakub Jelinek <jakub@redhat.com>
21466
21467 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21468
33f85a3f
UD
214692011-03-10 Ulrich Drepper <drepper@gmail.com>
21470
028478fa
UD
21471 [BZ #12510]
21472 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21473 copy from the symbol referenced in the relocation to initialize the
21474 used variable.
21475 Patch by Piotr Bury <pbury@goahead.com>.
21476 * elf/Makefile: Add rules to build and tst-unique3.
21477 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21478 * elf/tst-unique3.cc: New file.
21479 * elf/tst-unique3.h: New file.
21480 * elf/tst-unique3lib.cc: New file.
21481 * elf/tst-unique3lib2.cc: New file.
21482
33f85a3f
UD
21483 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21484
03592fc7
MF
214852011-03-10 Mike Frysinger <vapier@gentoo.org>
21486
21487 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21488 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21489 to _start.
03592fc7 21490
6a5ee102
UD
214912011-03-06 Ulrich Drepper <drepper@gmail.com>
21492
21493 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21494 to-be-loaded object along a path to loader is ld.so.
21495
7e4ba49c
HJ
214962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21497 Ulrich Drepper <drepper@gmail.com>
21498
21499 * sysdeps/x86_64/memset.S: After aligning destination, code
21500 branches to different locations depending on the value of
21501 misalignment, when multiarch is enabled. Fix this.
21502
215032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21504
21505 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21506 Set _x86_64_preferred_memory_instruction for AMD processsors.
21507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21508 Set bit_Prefer_SSE_for_memop for AMD processors.
21509
13a804de
UD
215102011-03-04 Ulrich Drepper <drepper@gmail.com>
21511
21512 * libio/fmemopen.c (fmemopen): Optimize a bit.
21513
9d25c392
AS
215142011-03-03 Andreas Schwab <schwab@redhat.com>
21515
21516 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21517
a5543c6a
RM
215182011-03-03 Roland McGrath <roland@redhat.com>
21519
21520 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21521
012d35f7
DM
215222011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21523
7e4ba49c 21524 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21525 __bzero_ultra1 instead of __memset_ultra1.
21526
4bff6e01
AS
215272011-02-23 Andreas Schwab <schwab@redhat.com>
21528 Ulrich Drepper <drepper@gmail.com>
21529
21530 [BZ #12509]
21531 * include/link.h (struct link_map): Add l_orig_initfini.
21532 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21533 returning unsuccessfully.
21534 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21535 close of a file loaded at startup, restore the original l_initfini
21536 list.
21537 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21538 list, store the pointer.
21539 * elf/Makefile ($(objpfx)noload-mem): New rule.
21540 (noload-ENV): Define.
21541 (tests): Add $(objpfx)noload-mem.
21542 * elf/noload.c: Include <memcheck.h>.
21543 (main): Call mtrace. Close all opened handles.
21544
f2092faf
AS
215452011-02-17 Andreas Schwab <schwab@redhat.com>
21546
21547 [BZ #12454]
21548 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21549 dependencies are missing.
21550
6c8a2e88
ST
215512011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21552
f2092faf 21553 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21554 Hurd needs munmap.
21555 * sysdeps/mach/hurd/ifreq.h: New file.
21556
84a42118
PB
215572011-01-27 Petr Baudis <pasky@suse.cz>
21558 Ulrich Drepper <drepper@gmail.com>
21559
071f805e 21560 [BZ 12445]#
84a42118
PB
21561 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21562 to extend_alloca().
21563 * stdio-common/bug23.c: New file.
21564 * stdio-common/Makefile (tests): Add bug23.
21565
e23fe25b
AS
215662010-09-28 Andreas Schwab <schwab@redhat.com>
21567 Ulrich Drepper <drepper@gmail.com>
21568
21569 [BZ #12489]
21570 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21571 before performing relro protection. At old place add assertion
21572 to make sure nothing changed.
21573
d3f02e10
NS
215742011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21575 Glauber de Oliveira Costa <glommer@gmail.com>
21576
21577 * elf/elf.h: Add new ARM TLS relocs.
21578
d55fd7a5
RA
215792011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21580
21581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21582 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21583 cast from r3.
21584 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21585 'tests' variable.
21586 * sysdeps/wordsize-64/tst-writev.c: New file.
21587
2206397e
RA
215882011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21589
21590 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21591 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21592 insns in _dl_start to prevent a TOC reference before relocs are
21593 resolved.
21594
e9433893
UD
215952011-02-15 Ulrich Drepper <drepper@gmail.com>
21596
21597 [BZ #12469]
21598 * Makeconfig: Remove RANLIB definition.
21599 * Makerules: Don't use RANLIB.
21600 * aclocal.m4: Remove ranlib test.
21601 * configure.in: No need to check for ranlib.
21602 * elf/rtld-Rules: Don't use RANLIB.
21603
f75286c6
ST
216042011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21605
8e31c82d
ST
21606 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21607 protection macro.
21608 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21609 inclusion protection macro.
21610
f75286c6
ST
21611 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21612 SIGRTMIN and SIGRTMAX and print information in that case only when
21613 SIGRTMIN is defined.
21614
c1d0e639
JJ
216152011-02-11 Jakub Jelinek <jakub@redhat.com>
21616
21617 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21618 arginfo fn returning -1.
21619
21620 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21621 and thousands string is zero terminated.
21622
edf9294e
AS
216232011-02-03 Andreas Schwab <schwab@redhat.com>
21624
21625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21626 sysdeps/unix/sysv/linux/bits/socket.h.
21627
2b7e92df
ST
216282011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21629
edf9294e
AS
21630 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21631 (__CPU_COUNT): Remove old macros.
21632 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21633 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21634 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21635 (__sched_cpualloc, __sched_cpufree): Add declarations.
21636
a4c7ea7b
UD
216372011-02-05 Ulrich Drepper <drepper@gmail.com>
21638
21639 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21640 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21641 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21642 (readdhstai): Return value of addhstaiX call.
21643 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21644 (addgrbyX): Return value returned by cache_addgr.
21645 (readdgrbyname): Return value returned by addgrbyX.
21646 (readdgrbygid): Likewise.
21647 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21648 (addpwbyX): Return value returned by cache_addpw.
21649 (readdpwbyname): Return value returned by addhstbyX.
21650 (readdpwbyuid): Likewise.
21651 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21652 (addservbyX): Return value returned by cache_addserv.
21653 (readdservbyname): Return value returned by addservbyX:
21654 (readdservbyport): Likewise.
21655 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21656 (addhstbyX): Return value returned by cache_addhst.
21657 (readdhstbyname): Return value returned by addhstbyX.
21658 (readdhstbyaddr): Likewise.
21659 (readdhstbynamev6): Likewise.
21660 (readdhstbyaddrv6): Likewise.
21661 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21662 (readdinitgroups): Return value returned by addinitgroupsX.
21663 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21664 (prune_cache): Keep track of timeout value of re-added entries.
21665 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21666 * nscd/nscd.h: Adjust prototypes of readd* functions.
21667
a0bf67cc
RM
216682011-02-04 Roland McGrath <roland@redhat.com>
21669
21670 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21671 (nis_stats): Likewise.
21672 * nis/nis_modify.c (nis_modify): Likewise.
21673 * nis/nis_remove.c (nis_remove): Likewise.
21674 * nis/nis_add.c (nis_add): Likewise.
21675
21676 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21677
21678 * posix/fnmatch_loop.c: Add some consts.
21679
21680 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21681
435b95eb
L
216822011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21683
21684 [BZ #12460]
21685 * config.make.in (config-cflags-novzeroupper): Define.
21686 * configure.in: Substitute libc_cv_cc_novzeroupper.
21687 * elf/Makefile (AVX-CFLAGS): Define.
21688 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21689 (CFLAGS-tst-auditmod4a.c): Likewise.
21690 (CFLAGS-tst-auditmod4b.c): Likewise.
21691 (CFLAGS-tst-auditmod6b.c): Likewise.
21692 (CFLAGS-tst-auditmod6c.c): Likewise.
21693 (CFLAGS-tst-auditmod7b.c): Likewise.
21694 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21695
8517b15e
UD
216962011-02-02 Ulrich Drepper <drepper@gmail.com>
21697
21698 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21699 function to the callback.
21700 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21701
10a656fe
AS
217022011-02-02 Andreas Schwab <schwab@redhat.com>
21703
21704 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21705 of errno.
21706
968dad0a
UD
217072011-01-19 Ulrich Drepper <drepper@gmail.com>
21708
9f94d2ea 21709 [BZ #11724]
968dad0a
UD
21710 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21711 of constructors.
21712 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21713 of destructors.
21714 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21715
21716 [BZ #11724]
21717 * elf/Makefile: Add rules to build and run new test.
21718 * elf/tst-initorder.c: New file.
21719 * elf/tst-initorder.exp: New file.
21720 * elf/tst-initordera1.c: New file.
21721 * elf/tst-initordera2.c: New file.
21722 * elf/tst-initordera3.c: New file.
21723 * elf/tst-initordera4.c: New file.
21724 * elf/tst-initorderb1.c: New file.
21725 * elf/tst-initorderb2.c: New file.
21726 * elf/tst-order-a1.c: New file.
21727 * elf/tst-order-a2.c: New file.
21728 * elf/tst-order-a3.c: New file.
21729 * elf/tst-order-a4.c: New file.
21730 * elf/tst-order-b1.c: New file.
21731 * elf/tst-order-b2.c: New file.
21732 * elf/tst-order-main.c: New file.
21733 New test case by George Gensure <werkt0@gmail.com>.
21734
86e92359
UD
217352010-10-01 Andreas Schwab <schwab@redhat.com>
21736
21737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21738 decoding ACE if AI_CANONIDN.
21739
5d5732b0
UD
217402011-01-18 Ulrich Drepper <drepper@gmail.com>
21741
21742 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21743
a77e8cbc
UD
217442011-01-17 Ulrich Drepper <drepper@gmail.com>
21745
6392473f
UD
21746 * version.h (RELEASE): Bump for 2.13 release.
21747 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21748
620a0529
UD
21749 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21750
18ba70a5
UD
21751 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21752 MADV_NOHUGEPAGE.
32465c3e
UD
21753 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21754 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21755 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21756 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21757 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21758 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21759
c0dafcf1
UD
21760 * posix/getconf.c: Update copyright year.
21761 * catgets/gencat.c: Likewise.
21762 * csu/version.c: Likewise.
21763 * debug/catchsegv.sh: Likewise.
21764 * debug/xtrace.sh: Likewise.
21765 * elf/ldconfig.c: Likewise.
21766 * elf/ldd.bash.in: Likewise.
21767 * elf/sprof.c (print_version): Likewise.
21768 * iconv/iconv_prog.c: Likewise.
21769 * iconv/iconvconfig.c: Likewise.
21770 * locale/programs/locale.c: Likewise.
21771 * locale/programs/localedef.c: Likewise.
21772 * malloc/memusage.sh: Likewise.
21773 * malloc/mtrace.pl: Likewise.
21774 * nscd/nscd.c (print_version): Likewise.
21775 * nss/getent.c: Likewise.
21776
a77e8cbc
UD
21777 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21778 PF_CAIF, and PF_ALG.
21779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21780
77e8bddf
AS
217812011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21782
1f20b93a
AS
21783 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21784 (modules-names): Use them.
21785 (ifunc-test-modules, ifunc-pie-tests): Define.
21786 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21787 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21788 (test-extras): Likewise.
21789 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21790 $(compile-command.c).
21791 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21792 (all-built-dso): Define.
21793 (check-textrel.out, check-execstack.out): Depend on it.
21794
77e8bddf
AS
21795 * configure.in: Don't override --enable-multi-arch.
21796
bc425b33
UD
217972011-01-15 Ulrich Drepper <drepper@gmail.com>
21798
21799 [BZ #6812]
21800 * nscd/hstcache.c (tryagain): Define.
21801 (cache_addhst): Return tryagain not notfound for temporary errors.
21802 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21803 failed.
21804
794c3ad3
UD
218052011-01-14 Ulrich Drepper <drepper@gmail.com>
21806
70181fdd
UD
21807 [BZ #10563]
21808 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21809 to make the syscall.
21810 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21811
794c3ad3
UD
21812 [BZ #12378]
21813 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21814 and fall back to matching as normal character if the string ends before
21815 the matching ']' is found. This is what POSIX requires.
21816 * posix/testfnm.c: Adjust test result.
21817 * posix/globtest.sh: Adjust test result. Add new test.
21818 * posix/tst-fnmatch.input: Likewise.
21819 * posix/tst-fnmatch2.c: Add new test.
21820
68dc9497
AS
218212010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21822
21823 * elf/Makefile (check-execstack): Revert last change. Depend on
21824 check-execstack.h.
21825 (check-execstack.h): New target.
21826 (generated): Add check-execstack.h.
21827 * elf/check-execstack.c: Include "check-execstack.h".
21828 (main): Revert last change.
21829 (handle_file): Return zero if GNU_STACK is absent and
21830 DEFAULT_STACK_PERMS doesn't include PF_X.
21831
451f001b
UD
218322011-01-13 Ulrich Drepper <drepper@gmail.com>
21833
cfa28e56
UD
21834 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21835 in child fails because the descriptor is already closed.
8cf8ce17
UD
21836 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21837 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21838 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21839
1086d70d
UD
21840 [BZ #12397]
21841 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21842 syscall.
21843
451f001b
UD
21844 [BZ #10484]
21845 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21846 temporary buffer used to handle multi lookups locally.
a85b5cb4 21847 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21848
08769175
UD
218492011-01-12 Ulrich Drepper <drepper@gmail.com>
21850
21851 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21852 loader is ld.so.
21853
5e49c52e
UD
218542011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21855
21856 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21857 alignment for SSE2.
21858
60522a5f
UD
218592011-01-12 Ulrich Drepper <drepper@gmail.com>
21860
21861 [BZ #12394]
21862 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21863 characters. When rounding increased number of integer digits recompute
21864 number of groups.
21865 * stdio-common/tst-grouping.c: New file.
21866 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21867
f257bbd7
UD
218682011-01-09 Ulrich Drepper <drepper@gmail.com>
21869
21870 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21871 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21872
21873 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21874 void.
21875 * bits/select.h: Likewise.
21876
fa9c15cb
UD
218772011-01-08 Ulrich Drepper <drepper@gmail.com>
21878
21879 * po/ja.po: Update from translation team.
21880
16c2895f
DM
218812011-01-04 David S. Miller <davem@sunset.davemloft.net>
21882
21883 [BZ #11155]
21884 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21885 implementation just like for lxstat, fxstatat, et al.
21886
2543fef2
JM
218872010-12-27 Jim Meyering <meyering@redhat.com>
21888
21889 [BZ #12348]
21890 * posix/regexec.c (build_trtable): Return failure indication upon
21891 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21892
98727dbe
UD
218932010-12-25 Ulrich Drepper <drepper@gmail.com>
21894
5bd6dc5c
UD
21895 [BZ #12201]
21896 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21897 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21898 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21899 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21900
97983464
UD
21901 [BZ #12207]
21902 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21903
98727dbe
UD
21904 [BZ #12204]
21905 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21906 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21907
4a531bb0
L
219082010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21909
21910 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21911 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21912 script has SORT_BY_INIT_PRIORITY.
21913 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21914 NO_CTORS_DTORS_SECTIONS is defined.
21915 * elf/soinit.c: Likewise.
21916 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21917 NO_CTORS_DTORS_SECTIONS is defined.
21918 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21919 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21920 * sysdeps/sh/init-first.c: Likewise.
21921 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21922
07eb4b71
UD
219232010-12-24 Ulrich Drepper <drepper@gmail.com>
21924
21925 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21926 always use the slow path.
21927
30950a5f
RA
219282010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21929
21930 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21931 similar rule which adds the sysdep directories to the header search in
21932 order to pick up the correct platform stackinfo.h.
21933 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21934 perform test if it is, otherwise return successfully without testing.
21935 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21936 DEFAULT_STACK_PERMS define in stackinfo.h.
21937 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21938 defined in stackinfo.h.
21939 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21940 DEFAULT_STACK_PERMS defined in stackinfo.h.
21941 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21942 * sysdeps/ia64/stackinfo.h: Likewise.
21943 * sysdeps/s390/stackinfo.h: Likewise.
21944 * sysdeps/sh/stackinfo.h: Likewise.
21945 * sysdeps/sparc/stackinfo.h: Likewise.
21946 * sysdeps/x86_64/stackinfo.h: Likewise.
21947 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21948 PF_X for powerpc64. Retain PF_X for powerpc32.
21949
db753e2c
UD
219502010-12-19 Ulrich Drepper <drepper@gmail.com>
21951
14b697f7
UD
21952 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21953 accurately.
db753e2c
UD
21954 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21955 GETDENTS_64BIT_ALIGNED.
21956
28300719
UD
219572010-12-14 Ulrich Drepper <dreper@gmail.com>
21958
14b697f7 21959 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21960
4f197237
AS
219612010-12-10 Andreas Schwab <schwab@redhat.com>
21962
dbb0472f
AS
21963 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21964 _GNU_SOURCE.
21965
4f197237
AS
21966 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21967 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21968 Remove __restrict.
21969 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21970 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21971
fb88ac72
UD
219722010-12-09 Ulrich Drepper <drepper@gmail.com>
21973
21974 [BZ #11655]
21975 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21976 are initialized.
21977
42acbb92
JJ
219782010-12-09 Jakub Jelinek <jakub@redhat.com>
21979
21980 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21981
c038d98d
UD
219822010-12-03 Ulrich Drepper <drepper@gmail.com>
21983
21984 * po/it.po: Update from translation team.
21985
3a4a2499
L
219862010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21987
21988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21989 unused codes.
21990
1e24cf6e
UD
219912010-11-30 Ulrich Drepper <drepper@gmail.com>
21992
21993 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21994
a7690819
AS
219952010-11-24 Andreas Schwab <schwab@redhat.com>
21996
21997 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21998 specially.
21999 (gaih_getanswer_slice): Likewise.
22000
3bf8d1b1
JJ
220012010-10-20 Jakub Jelinek <jakub@redhat.com>
22002
22003 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22004
6db52fbb
PB
220052010-05-31 Petr Baudis <pasky@suse.cz>
22006
22007 [BZ #11149]
22008 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22009 silently even in the chroot mode.
22010
eaca7569
UD
220112010-11-22 Ulrich Drepper <drepper@gmail.com>
22012
22013 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22014 last patch a bit. Pretty printing
22015
3056dcdb
UD
220162010-05-31 Petr Baudis <pasky@suse.cz>
22017
22018 [BZ #10085]
22019 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22020 initialization of skip_initgroups_dyn.
22021
cf7c9078
UD
220222010-11-19 Ulrich Drepper <drepper@gmail.com>
22023
22024 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22025 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22026
a1fb5e3e
UD
220272010-11-16 Ulrich Drepper <drepper@gmail.com>
22028
22029 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22030
3540d66b
AS
220312010-11-11 Andreas Schwab <schwab@redhat.com>
22032
22033 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22034 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22035 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22036 ($(objpfx)tst-fnmatch-mem): New rule.
22037 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22038 * posix/tst-fnmatch.c (main): Call mtrace.
22039
13b69574
L
220402010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22041
22042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22043 Support Intel processor model 6 and model 0x2c.
22044
da93d214
LM
220452010-11-10 Luis Machado <luisgpm@br.ibm.com>
22046
22047 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22048 signed comparison.
22049
8ca52c6e
L
220502010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22051
22052 [BZ #12205]
22053 * string/test-strncasecmp.c (check_result): New function.
22054 (do_one_test): Use it.
22055 (check1): New function.
22056 (test_main): Use it.
22057 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22058 Support strcasecmp and strncasecmp.
22059
69da074d
UD
220602010-11-08 Ulrich Drepper <drepper@gmail.com>
22061
22062 [BZ #12194]
22063 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22064 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22065
ff02d528
L
220662010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22067
22068 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22069 IFUNC support.
22070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22071 memset-x86-64.
22072 * sysdeps/x86_64/multiarch/bzero.S: New file.
22073 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22074 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22075 * sysdeps/x86_64/multiarch/memset.S: New file.
22076 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22078 Set bit_Prefer_SSE_for_memop for Intel processors.
22079 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22080 Define.
22081 (index_Prefer_SSE_for_memop): Define.
22082 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22083
344d0b54
LM
220842010-11-04 Luis Machado <luisgpm@br.ibm.com>
22085
22086 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22087 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22088
c0dde15b
UD
220892010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22090
22091 [BZ #12191]
22092 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22093 (__x86_64_raw_data_cache_size_half): Likewise.
22094 (__x86_64_raw_shared_cache_size): Likewise.
22095 (__x86_64_raw_shared_cache_size_half): Likewise.
22096
22097 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22098 (__x86_64_raw_data_cache_size_half): Likewise.
22099 (__x86_64_raw_shared_cache_size): Likewise.
22100 (__x86_64_raw_shared_cache_size_half): Likewise.
22101 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22102 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22103 and __x86_64_raw_shared_cache_size_half. Round
22104 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22105 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22106 to multiple of 256 bytes.
22107
0e516e0e
MS
221082010-11-03 Ulrich Drepper <drepper@gmail.com>
22109
22110 [BZ #12167]
22111 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22112 of inacessible symlinks. Verify result of symlink before returning it.
22113 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22114 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22115
0e012e87
ER
221162010-10-28 Erich Ritz <erichritz@gmail.com>
22117
22118 * math/math.h (isinf): Fix typo in comment.
22119
de0ff7bc
UD
221202010-11-01 Ulrich Drepper <drepper@gmail.com>
22121
22122 * po/da.po: Update from translation team.
22123
fa41c84d
UD
221242010-10-26 Ulrich Drepper <drepper@gmail.com>
22125
22126 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22127 is added to the list.
22128
f0967738
AK
221292010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22130 Ulrich Drepper <drepper@gmail.com>
22131
22132 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22133 the global list here. Move code to...
22134 (_dl_add_to_namespace_list): ...here. New function.
22135 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22136 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22137 * elf/dl-load.c (lose): Don't remove the element from the list.
22138 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22139 (_dl_map_object): Likewise.
22140
221412010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22142
22143 [BZ #12159]
22144 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22145 into all bytes of SSE register.
22146 Patch by Richard Li <richardpku@gmail.com>.
22147
f0967738 221482010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22149
22150 [BZ #12140]
22151 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22152 perturbing.
22153
d0b9e94f
MB
221542010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22155
22156 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22157 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22158 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22159 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22161 submachine.
22162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22163
8e9f92e9
AS
221642010-10-22 Andreas Schwab <schwab@redhat.com>
22165
22166 * include/dlfcn.h (__RTLD_SECURE): Define.
22167 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22168 mode & __RTLD_SECURE instead.
22169 (open_path): Rename preloaded parameter to secure.
22170 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22171 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22172 * elf/dl-deps.c (openaux): Likewise.
22173 * elf/rtld.c (struct map_args): Remove is_preloaded.
22174 (map_doit): Don't use it.
22175 (dl_main): Likewise.
22176 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22177 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22178
bc96fbda
AS
221792010-09-09 Andreas Schwab <schwab@redhat.com>
22180
22181 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22182 (sysd-rules-targets): Remove duplicates.
22183 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22184 rtld-%.$o dependency.
22185
22cd1c9b
AS
221862010-10-18 Andreas Schwab <schwab@redhat.com>
22187
22188 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22189 _dl_map_object do it.
22190
18edac48
UD
221912010-10-19 Ulrich Drepper <drepper@gmail.com>
22192
22193 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22194 fast fma builtins, define the macros in the C99 standard.
22195 (FP_FAST_FMAF): Likewise.
22196 (FP_FAST_FMAL): Likewise.
22197 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22198
22199 * bits/mathdef.h: Update copyright year.
22200 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22201
d2050124
MM
222022010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22203
22204 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22205 builtins, define the macros in the C99 standard.
22206 (FP_FAST_FMAF): Likewise.
22207 (FP_FAST_FMAL): Likewise.
22208 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22209 multiply/add.
22210 (FP_FAST_FMAF): Likewise.
22211
475facd1
JJ
222122010-10-15 Jakub Jelinek <jakub@redhat.com>
22213
22214 [BZ #3268]
22215 * math/libm-test.inc (fma_test): Some new testcases.
22216 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22217 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22218 y and infinite z. Do multiplication by C already in long double.
22219 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22221 y and infinite z. Do bitwise or of inexact bit into u.d.
22222 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22223 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22224 * sysdeps/i386/fpu/s_fma.S: Removed.
22225 * sysdeps/i386/fpu/s_fmal.S: Removed.
22226
7c08a05c
JJ
222272010-10-16 Jakub Jelinek <jakub@redhat.com>
22228
22229 [BZ #3268]
22230 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22232 computation is not scheduled after fetestexcept. Fix value
22233 of minimum denormal long double.
22234
f3f7372d
JJ
222352010-10-14 Jakub Jelinek <jakub@redhat.com>
22236
22237 [BZ #3268]
22238 * math/libm-test.inc (fma_test): Add some more tests.
22239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22240 correctly.
22241
14d43591
AS
222422010-10-15 Andreas Schwab <schwab@redhat.com>
22243
22244 * scripts/data/localplt-s390-linux-gnu.data: New file.
22245 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22246
5e908464
JJ
222472010-10-13 Jakub Jelinek <jakub@redhat.com>
22248
22249 [BZ #3268]
22250 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22251 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22252 instead of dbl-64.
22253 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22254 inlines.
22255 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22257 if one of x and y is very large and the other is subnormal.
22258 * sysdeps/s390/fpu/s_fmaf.c: New file.
22259 * sysdeps/s390/fpu/s_fma.c: New file.
22260 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22261 * sysdeps/powerpc/fpu/s_fma.S: New file.
22262 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22263 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22264 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22265
222662010-10-12 Jakub Jelinek <jakub@redhat.com>
22267
22268 [BZ #3268]
22269 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22270 fma tests.
22271 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22272 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22273 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22274 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22275 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22276 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22277 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22278
b833d51f
UD
222792010-10-12 Ulrich Drepper <drepper@redhat.com>
22280
22281 [BZ #12078]
22282 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22283 * posix/bug-regex31.input: Add test case.
22284
1751705d
UD
222852010-10-11 Ulrich Drepper <drepper@gmail.com>
22286
e9b9cbf5
UD
22287 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22288 * posix/bug-regex31.input: New file.
22289
22290 [BZ #12078]
22291 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22292 (parse_sub_exp): Fix last change, use postorder.
22293
ef06edbe
UD
22294 * posix/bug-regex31.c: New file.
22295 * posix/Makefile: Add rules to build and run bug-regex31.
22296
a129c80d
UD
22297 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22298
22299 [BZ #12078]
22300 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22301
b76b818e
UD
22302 [BZ #12108]
22303 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22304 to have entries in sys_siglist.
22305
1751705d
UD
22306 [BZ #12093]
22307 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22308 be NULL.
22309
9ff8d36f
JJ
223102010-10-07 Jakub Jelinek <jakub@redhat.com>
22311
22312 [BZ #3268]
22313 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22314 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22315 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22316 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22317 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22318 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22319 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22320 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22321 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22322 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22323 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22324 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22325 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22326 * math/ftestexcept.c (fetestexcept): Likewise.
22327 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22328 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22329 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22330 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22331 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22332 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22333 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22334
af325969
UD
223352010-10-11 Ulrich Drepper <drepper@gmail.com>
22336
c579b202 22337 [BZ #12107]
af325969
UD
22338 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22339 newline.
22340
67a67b95
UD
223412010-10-06 Ulrich Drepper <drepper@gmail.com>
22342
22343 * string/bug-strstr1.c: New file.
22344 * string/Makefile: Add rules to build and run bug-strstr1.
22345
5fb308bc
EB
223462010-10-05 Eric Blake <eblake@redhat.com>
22347
22348 [BZ #12092]
22349 * string/str-two-way.h (two_way_long_needle): Always clear memory
22350 when skipping input due to the shift table.
22351
45db99c7
UD
223522010-10-03 Ulrich Drepper <drepper@gmail.com>
22353
3b111893
UD
22354 [BZ #12005]
22355 * malloc/mcheck.c: Handle large requests.
22356
45db99c7
UD
22357 [BZ #12077]
22358 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22359 for strncmp and strncasecmp.
22360 * string/stratcliff.c: Add tests for strcmp and strncmp.
22361 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22362
cf7a1eb8
NI
223632010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22364
22365 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22366 __set_fpscr.
22367
6484ba5e
AJ
223682010-09-30 Andreas Jaeger <aj@suse.de>
22369
22370 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22371 (CGROUP_SUPER_MAGIC): Define.
22372 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22373 Handle btrfs and cgroup file systems.
22374 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22375 Likewise.
22376
91c42559
LM
223772010-09-27 Luis Machado <luisgpm@br.ibm.com>
22378
22379 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22380 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22381
87a97932
AK
223822010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22383
22384 [BZ #12067]
22385 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22386 trying to locate the ELF header.
22387
c21cc9bc
AS
223882010-09-27 Andreas Schwab <schwab@redhat.com>
22389
22390 [BZ #11611]
22391 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22392 Mask out sign-bit copies when constructing f_fsid.
22393
315970f6
PB
223942010-09-24 Petr Baudis <pasky@suse.cz>
22395
22396 * debug/stack_chk_fail_local.c: Add missing licence exception.
22397 * debug/warning-nop.c: Likewise.
22398
1ac7a2c7
JM
223992010-09-15 Joseph Myers <joseph@codesourcery.com>
22400
22401 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22402 implementing getdents64 using getdents syscall, set d_type if
22403 __ASSUME_GETDENTS32_D_TYPE.
22404
56801c50
AS
224052010-09-16 Andreas Schwab <schwab@redhat.com>
22406
22407 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22408 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22409
dda51327
UD
224102010-09-21 Ulrich Drepper <drepper@redhat.com>
22411
22412 [BZ #12037]
22413 * posix/unistd.h: Undo change of feature selection for ftruncate from
22414 2010-01-11.
22415
8ffcee4a
UD
224162010-09-20 Ulrich Drepper <drepper@redhat.com>
22417
a545ecd9 22418 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22419 detection.
22420
e24f0a8b
AS
224212010-09-20 Andreas Schwab <schwab@redhat.com>
22422
22423 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22424 fanotify_mark.
22425 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22426
7291c56f
AS
224272010-09-14 Andreas Schwab <schwab@redhat.com>
22428
22429 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22430 variables after CHECK_SP call.
22431 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22432
bc5fb037
AS
224332010-09-13 Andreas Schwab <schwab@redhat.com>
22434 Ulrich Drepper <drepper@redhat.com>
22435
22436 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22437 re-relocationg ld.so.
22438 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22439 _dl_init_paths call.
22440 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22441 here anymore.
22442
e66e7419
UD
224432010-09-14 Ulrich Drepper <drepper@redhat.com>
22444
22445 * resolv/res_init.c (__res_vinit): Count the default server we added.
22446
c044aa75
CLT
224472010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22448 Ulrich Drepper <drepper@redhat.com>
22449
22450 [BZ #11968]
22451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22452 (____longjmp_chk): Use %ebx for saving value across system call.
22453 Add unwind info.
22454
32cf4069
AS
224552010-09-06 Andreas Schwab <schwab@redhat.com>
22456
22457 * manual/Makefile: Don't mix pattern rules with normal rules.
22458
817328ee
AS
224592010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22460
22461 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22462 operation.
22463 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22464 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22465 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22466 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22468 Likewise.
22469
29fddf61
UD
224702010-09-04 Ulrich Drepper <drepper@redhat.com>
22471
22472 [BZ #11979]
22473 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22474 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22475
0959ffc9
UD
224762010-09-02 Ulrich Drepper <drepper@redhat.com>
22477
22478 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22479 * sysdeps/x86_64/addmul_1.S: Likewise.
22480 * sysdeps/x86_64/lshift.S: Likewise.
22481 * sysdeps/x86_64/mul_1.S: Likewise.
22482 * sysdeps/x86_64/rshift.S: Likewise.
22483 * sysdeps/x86_64/sub_n.S: Likewise.
22484 * sysdeps/x86_64/submul_1.S: Likewise.
22485
ece29840
ST
224862010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22487
0959ffc9
UD
22488 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22489 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22490 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22491 * bits/sched.h [__need_schedparam]
ece29840 22492 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22493 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22494 (__defined_schedparam): Define to 1.
ece29840
ST
22495 (__sched_param): New structure, identical to sched_param.
22496 (__need_schedparam): Undefine.
22497
e53a31fe
MF
224982010-08-31 Mike Frysinger <vapier@gentoo.org>
22499
fdc0c10d
MF
22500 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22501 (epoll_create1): Declare.
22502
e53a31fe
MF
22503 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22504
a726d796
AS
225052010-08-31 Andreas Schwab <schwab@redhat.com>
22506
22507 [BZ #7066]
22508 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22509 shifting retval into place.
22510
2f3e3dc7
UD
225112010-09-01 Ulrich Drepper <drepper@redhat.com>
22512
f2933da9
UD
22513 * nis/rpcsvc/nis.h: Update copyright notice.
22514 * nis/rpcsvc/nis.x: Likewise.
22515 * nis/rpcsvc/nis_callback.h: Likewise.
22516 * nis/rpcsvc/nis_callback.x: Likewise.
22517 * nis/rpcsvc/nis_object.x: Likewise.
22518 * nis/rpcsvc/nis_tags.h: Likewise.
22519 * nis/rpcsvc/yp.h: Likewise.
22520 * nis/rpcsvc/yp.x: Likewise.
22521 * nis/rpcsvc/ypupd.h: Likewise.
22522 * nis/yp_xdr.c: Likewise.
22523 * nis/ypupdate_xdr.c: Likewise.
22524
2f3e3dc7
UD
22525 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22526 mainly the body of pmap_getport. Add parameters to specify timeouts.
22527 (pmap_getport): Use __libc_rpc_getport.
22528 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22529 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22530 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22531
f3dcc2f9
AS
225322010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22533
22534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22535 fanotify_mark.
22536
6d34eb5b
RM
225372010-08-27 Roland McGrath <roland@redhat.com>
22538
22539 * sysdeps/i386/i686/multiarch/Makefile
22540 (CFLAGS-varshift.c): New variable.
22541
9ea3de11
UD
225422010-08-27 Ulrich Drepper <drepper@redhat.com>
22543
c96d23fc
UD
22544 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22545 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22546
9ea3de11
UD
22547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22548
22549 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22550
623aac7f
L
225512010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22552
22553 * sysdeps/x86_64/strlen.S: Unroll the loop.
22554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22555 strlen-sse2 strlen-sse2-bsf.
22556 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22557 __strlen_no_bsf if bit_Slow_BSF is set.
22558 (__strlen_sse42): Removed.
22559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22560 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22561
8b2b7715
RM
225622010-08-25 Roland McGrath <roland@redhat.com>
22563
22564 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22565 * sysdeps/x86_64/multiarch/varshift.c: New file.
22566 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22567 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22568 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22569 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22570
e73015f2
L
225712010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22572
22573 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22574 strlen-sse2 strlen-sse2-bsf.
22575 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22576 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22577 (__strlen_sse2): Removed.
22578 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22579 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22581 bit_Slow_BSF for Atom.
22582 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22583 (index_Slow_BSF): Define.
22584 (HAS_SLOW_BSF): Define.
22585
df24a73e
UD
225862010-08-25 Ulrich Drepper <drepper@redhat.com>
22587
22588 [BZ #10851]
22589 * resolv/res_init.c (__res_vinit): When no server address at all
22590 is given default to loopback.
22591
f2ac4868
RM
225922010-08-24 Roland McGrath <roland@redhat.com>
22593
09055553
RM
22594 * configure.in: Remove config-name.h generation.
22595 * configure: Regenerated.
22596 * config-name.in: File removed.
22597 * scripts/config-uname.sh: New file.
22598 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22599 ($(objdir)config-name.h): New target.
22600
f2ac4868
RM
22601 * sunrpc/rpc_parse.h: Avoid nested comment.
22602
73f27d5e
RH
226032010-08-24 Richard Henderson <rth@redhat.com>
22604 Ulrich Drepper <drepper@redhat.com>
22605 H.J. Lu <hongjiu.lu@intel.com>
22606
22607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22609 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22610 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22611 _mm_alignr_epi8 with _mm_loadu_si128.
22612 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22613 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22614 (__m128i_shift_right): Removed.
22615 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22616 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22617 * sysdeps/x86_64/multiarch/varshift.h: New file.
22618 * sysdeps/x86_64/multiarch/varshift.S: New file.
22619
84b9230c
MF
226202010-08-21 Mike Frysinger <vapier@gentoo.org>
22621
22622 * configure.in: Move assembler checks to before sysdep dir checking.
22623
9bbd0ddc
PB
226242010-08-20 Petr Baudis <pasky@suse.cz>
22625
22626 * LICENSES: Sync the sunrpc license.
22627
9da4bb31
UD
226282010-08-19 Ulrich Drepper <drepper@redhat.com>
22629
a7ab6ec8
UD
22630 * sunrpc/auth_des.c: Update copyright notice once again.
22631 * sunrpc/auth_none.c: Likewise.
22632 * sunrpc/auth_unix.c: Likewise.
22633 * sunrpc/authdes_prot.c: Likewise.
22634 * sunrpc/authuxprot.c: Likewise.
22635 * sunrpc/bindrsvprt.c: Likewise.
22636 * sunrpc/clnt_gen.c: Likewise.
22637 * sunrpc/clnt_perr.c: Likewise.
22638 * sunrpc/clnt_raw.c: Likewise.
22639 * sunrpc/clnt_simp.c: Likewise.
22640 * sunrpc/clnt_tcp.c: Likewise.
22641 * sunrpc/clnt_udp.c: Likewise.
22642 * sunrpc/clnt_unix.c: Likewise.
22643 * sunrpc/des_crypt.c: Likewise.
22644 * sunrpc/des_soft.c: Likewise.
22645 * sunrpc/get_myaddr.c: Likewise.
22646 * sunrpc/getrpcport.c: Likewise.
22647 * sunrpc/key_call.c: Likewise.
22648 * sunrpc/key_prot.c: Likewise.
22649 * sunrpc/openchild.c: Likewise.
22650 * sunrpc/pm_getmaps.c: Likewise.
22651 * sunrpc/pm_getport.c: Likewise.
22652 * sunrpc/pmap_clnt.c: Likewise.
22653 * sunrpc/pmap_prot.c: Likewise.
22654 * sunrpc/pmap_prot2.c: Likewise.
22655 * sunrpc/pmap_rmt.c: Likewise.
22656 * sunrpc/rpc/auth.h: Likewise.
22657 * sunrpc/rpc/auth_unix.h: Likewise.
22658 * sunrpc/rpc/clnt.h: Likewise.
22659 * sunrpc/rpc/des_crypt.h: Likewise.
22660 * sunrpc/rpc/key_prot.h: Likewise.
22661 * sunrpc/rpc/netdb.h: Likewise.
22662 * sunrpc/rpc/pmap_clnt.h: Likewise.
22663 * sunrpc/rpc/pmap_prot.h: Likewise.
22664 * sunrpc/rpc/pmap_rmt.h: Likewise.
22665 * sunrpc/rpc/rpc.h: Likewise.
22666 * sunrpc/rpc/rpc_des.h: Likewise.
22667 * sunrpc/rpc/rpc_msg.h: Likewise.
22668 * sunrpc/rpc/svc.h: Likewise.
22669 * sunrpc/rpc/svc_auth.h: Likewise.
22670 * sunrpc/rpc/types.h: Likewise.
22671 * sunrpc/rpc/xdr.h: Likewise.
22672 * sunrpc/rpc_clntout.c: Likewise.
22673 * sunrpc/rpc_cmsg.c: Likewise.
22674 * sunrpc/rpc_common.c: Likewise.
22675 * sunrpc/rpc_cout.c: Likewise.
22676 * sunrpc/rpc_dtable.c: Likewise.
22677 * sunrpc/rpc_hout.c: Likewise.
22678 * sunrpc/rpc_main.c: Likewise.
22679 * sunrpc/rpc_parse.c: Likewise.
22680 * sunrpc/rpc_parse.h: Likewise.
22681 * sunrpc/rpc_prot.c: Likewise.
22682 * sunrpc/rpc_sample.c: Likewise.
22683 * sunrpc/rpc_scan.c: Likewise.
22684 * sunrpc/rpc_scan.h: Likewise.
22685 * sunrpc/rpc_svcout.c: Likewise.
22686 * sunrpc/rpc_tblout.c: Likewise.
22687 * sunrpc/rpc_util.c: Likewise.
22688 * sunrpc/rpc_util.h: Likewise.
22689 * sunrpc/rpcinfo.c: Likewise.
22690 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22691 * sunrpc/rpcsvc/key_prot.x: Likewise.
22692 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22693 * sunrpc/rpcsvc/mount.x: Likewise.
22694 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22695 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22696 * sunrpc/rpcsvc/rex.x: Likewise.
22697 * sunrpc/rpcsvc/rstat.x: Likewise.
22698 * sunrpc/rpcsvc/rusers.x: Likewise.
22699 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22700 * sunrpc/rpcsvc/spray.x: Likewise.
22701 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22702 * sunrpc/rtime.c: Likewise.
22703 * sunrpc/svc.c: Likewise.
22704 * sunrpc/svc_auth.c: Likewise.
22705 * sunrpc/svc_authux.c: Likewise.
22706 * sunrpc/svc_raw.c: Likewise.
22707 * sunrpc/svc_run.c: Likewise.
22708 * sunrpc/svc_simple.c: Likewise.
22709 * sunrpc/svc_tcp.c: Likewise.
22710 * sunrpc/svc_udp.c: Likewise.
22711 * sunrpc/svc_unix.c: Likewise.
22712 * sunrpc/svcauth_des.c: Likewise.
22713 * sunrpc/xcrypt.c: Likewise.
22714 * sunrpc/xdr.c: Likewise.
22715 * sunrpc/xdr_array.c: Likewise.
22716 * sunrpc/xdr_float.c: Likewise.
22717 * sunrpc/xdr_mem.c: Likewise.
22718 * sunrpc/xdr_rec.c: Likewise.
22719 * sunrpc/xdr_ref.c: Likewise.
22720 * sunrpc/xdr_sizeof.c: Likewise.
22721 * sunrpc/xdr_stdio.c: Likewise.
22722
9da4bb31
UD
22723 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22724 handling.
22725
bdaa77bc
AS
227262010-08-19 Andreas Schwab <schwab@redhat.com>
22727
22728 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22729
fe2f79db
LM
227302010-08-19 Luis Machado <luisgpm@br.ibm.com>
22731
22732 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22733 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22734 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22735 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22736 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22737 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22738 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22739 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22740 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22741 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22742 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22743 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22744 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22745 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22746
b9b42ee0
AB
227472010-07-26 Anton Blanchard <anton@samba.org>
22748
22749 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22750 * malloc/arena.c (heap_trim): Likewise.
22751
1c06ba31
UD
227522010-08-16 Ulrich Drepper <drepper@redhat.com>
22753
22754 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22755 here. Not...
22756 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22757 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22758
f8392f40
L
227592010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22760
22761 * sysdeps/i386/elf/Makefile: New file.
22762
3162f12e
AS
227632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22764
22765 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22766 from fanotify_init.
22767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22769
28c90b2c
UD
227702010-08-15 Ulrich Drepper <drepper@redhat.com>
22771
22772 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22773 of strncasecmp_l.
1feccb6c 22774 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22775
ca6bb004
UD
227762010-08-14 Ulrich Drepper <drepper@redhat.com>
22777
e9f82e0d
UD
22778 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22779 strncase_l-nonascii.
22780 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22781 Add strncase_l-ssse3.
22782 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22783 * sysdeps/x86_64/strcmp.S: Likewise.
22784 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22785 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22786 * sysdeps/x86_64/strncase.S: New file.
22787 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22788 * sysdeps/x86_64/strncase_l.S: New file.
22789 * string/Makefile (strop-tests): Add strncasecmp.
22790 * string/test-strncasecmp.c: New file.
22791
22792 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22793 warning.
22794
ca6bb004
UD
22795 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22796 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22797
052fa7b3
AS
227982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22799
22800 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22801
962dba78
UD
228022010-08-12 Ulrich Drepper <drepper@redhat.com>
22803
22804 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22805 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22806 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22807
bebff237
AM
228082010-05-01 Alan Modra <amodra@gmail.com>
22809
22810 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22811 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22812 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22813 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22814 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22815 tidying. Don't tail-call __sigjmp_save for static lib.
22816 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22817 save location.
22818 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22819 (CALL_MCOUNT): Add eh info, and nop after bl.
22820 (TAIL_CALL_SYSCALL_ERROR): New macro.
22821 (PSEUDO_RET): Use it.
22822 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22823 Correct save location of integer regs and cr.
22824 (_dl_profile_resolve): Correct cr save location. Delete nops
22825 after bl when SHARED. Reduce cfi size a little by better
22826 placement of cfi directives.
22827 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22828 make a stack frame. Instead use parm save area as a temp.
22829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22830 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22832 Don't make a stack frame for parent, use parm save area.
22833 Increase child stack frame to 112 bytes. Don't save unused reg,
22834 and adjust reg usage. Set up cfi on error recovery and
22835 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22837 (__makecontext): Add dummy nop after jump to exit.
22838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22839 Use correct parm save area and cr save, reduce stack frame.
22840 Correct cfi for possible PSEUDO_RET frame setup.
22841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22842 Branch to local label emitted by PSEUDO_RET rather than
22843 __syscall_error.
22844
02637374
AS
228452010-08-12 Andreas Schwab <schwab@redhat.com>
22846
22847 [BZ #11904]
22848 * locale/programs/locale.c (print_assignment): New function.
22849 (show_locale_vars): Use it.
22850
c3e2f19b
UD
228512010-08-11 Ulrich Drepper <drepper@redhat.com>
22852
3cdaa6ad
UD
22853 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22854 field.
22855 (struct statfs64): Likewise.
22856 (_STATFS_F_FLAGS): Define.
22857 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22858 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22859 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22860 (ST_VALID): Define locally.
22861 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22862 __statvfs_getflags, use the provided value.
22863 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22864 __ASSUME_STATFS_F_FLAGS.
22865
754f7da3
UD
22866 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22867
10b3bedc
UD
22868 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22869 Add sys/fanotify.h.
22870 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22871 fanotify_mask for GLIBC_2.13.
22872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22873 fanotify_init and fanotify_mark.
22874 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22875 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22876
c08fb0d7
UD
22877 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22878 Add prlimit.
22879 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22880 prlimit64 for GLIBC_2.13.
22881 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22882 prlimit64.
22883 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22884 syscall.
22885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22886 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22887 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22888 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22890 add prlimit alias.
22891 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22892
15bac72b
UD
22893 [BZ #11903]
22894 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22895 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22896
c3e2f19b
UD
22897 * nss/Makefile: Add rules to build and run tst-nss-test1.
22898 * shlib-versions: Add entry for libnss_test1.
22899 * nss/nss_test1.c: New file.
22900 * nss/tst-nss-test1.c: New file.
22901
22902 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22903 (__nss_configure_lookup): Set appropriate entry in
22904 __nss_configure_lookup to true.
22905 * nss/nsswitch.h: Define enum with indeces of databases in
22906 databases and __nss_database_custom arrays. Declare
22907 __nss_database_custom.
22908 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22909 to avoid using nscd when custom rules are installed.
22910 * nss/getXXbyYY_r.c: Likewise.
22911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22912
22913 * nss/nss_files/files-parse.c: Whitespace fixes.
22914
f15ce4d8
UD
229152010-08-09 Ulrich Drepper <drepper@redhat.com>
22916
22917 [BZ #11883]
22918 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22919 * posix/fnmatch_loop.c: Likewise.
22920
d22e4cc9
AK
229212010-07-17 Andi Kleen <ak@linux.intel.com>
22922
22923 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22924 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22925 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22926 * Versions.def [GLIBC_2.13]: Add.
22927
805bc17d
UD
229282010-08-06 Ulrich Drepper <drepper@redhat.com>
22929
22930 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22931 Also fail if tpwd after pwuid call is NULL.
22932
5a42321d
ST
229332010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22934
22935 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22936 when converting to ms.
22937
fd3ebeda
ST
229382010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22939
22940 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22941 EOPNOTSUPP errors with ENOTTY.
22942 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22943 EOPNOTSUPP errors with ENOTTY.
22944
73507d3a
UD
229452010-07-31 Ulrich Drepper <drepper@redhat.com>
22946
22947 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22948 Add strcasecmp_l-ssse3.
22949 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22950 strcasecmp.
22951 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22952 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22953 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22954
fe36dd02
UD
229552010-07-30 Ulrich Drepper <drepper@redhat.com>
22956
66f6765a
UD
22957 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22958
42e08a54
UD
22959 * string/Makefile (strop-tests): Add strcasecmp.
22960 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22961 strcasecmp_l-nonascii.
22962 (gen-as-const-headers): Add locale-defines.sym.
22963 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22964 * sysdeps/x86_64/strcasecmp.S: New file.
22965 * sysdeps/x86_64/strcasecmp_l.S: New file.
22966 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22967 * sysdeps/x86_64/locale-defines.sym: New file.
22968 * string/test-strcasecmp.c: New file.
22969
fe36dd02
UD
22970 * string/test-strcasestr.c: Test both ends of the range of characters.
22971 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22972
48cbc0d6
RM
229732010-07-29 Roland McGrath <roland@redhat.com>
22974
76e6d6bc 22975 [BZ #11856]
48cbc0d6
RM
22976 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22977
880113d9
UD
229782010-07-27 Ulrich Drepper <drepper@redhat.com>
22979
22980 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22981 for ld.so.
22982
deb9cabb
AS
229832010-07-27 Andreas Schwab <schwab@redhat.com>
22984
22985 * manual/memory.texi (Malloc Tunable Parameters): Document
22986 M_PERTURB.
22987
1c7570ff
RM
229882010-07-26 Roland McGrath <roland@redhat.com>
22989
22990 [BZ #11840]
22991 * configure.in (-fgnu89-inline check): Set and substitute
22992 gnu89_inline, not libc_cv_gnu89_inline.
22993 * configure: Regenerated.
22994 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22995
24fb0f88
UD
229962010-07-26 Ulrich Drepper <drepper@redhat.com>
22997
22998 * string/test-strnlen.c: New file.
22999 * string/Makefile (strop-tests): Add strnlen.
23000 * string/tester.c (test_strnlen): Add a few more test cases.
23001 * string/tst-strlen.c: Better error reporting.
23002
23003 * sysdeps/x86_64/strnlen.S: New file.
23004
8e96b93a
UD
230052010-07-24 Ulrich Drepper <drepper@redhat.com>
23006
23007 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23008 lower-latency instructions.
23009
dbc676d4
UD
230102010-07-23 Ulrich Drepper <drepper@redhat.com>
23011
23012 * string/test-strcasestr.c: New file.
23013 * string/test-strstr.c: New file.
23014 * string/Makefile (strop-tests): Add strstr and strcasestr.
23015 * string/str-two-way.h: Don't undefine MAX.
23016 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23017
f6a31e0e
AS
230182010-07-21 Andreas Schwab <schwab@redhat.com>
23019
23020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23021 strcasestr-nonascii.
23022 (CFLAGS-strcasestr-nonascii.c): Define.
23023 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23024 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23025 Remove unused attribute.
23026
5dbc3b6c
RM
230272010-07-20 Roland McGrath <roland@redhat.com>
23028
23029 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23030 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23031 ld.so.cache was broken. With it, there is no way to disable dsocaps
23032 like LD_HWCAP_MASK can disable hwcaps.
23033
23d101d8
EPM
230342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23035
23036 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23037
cc9f2e47
UD
230382010-07-16 Ulrich Drepper <drepper@redhat.com>
23039
23040 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23041 call in strcasestr.
23042 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23043 __strcasestr_sse42_nonascii.
23044 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23045 strcasestr-nonascii.c.
23046 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23047
77c1b069
LM
230482010-06-15 Luis Machado <luisgpm@br.ibm.com>
23049
23050 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23051 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23052 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23054
440566c3
UD
230552010-07-09 Ulrich Drepper <drepper@redhat.com>
23056
23057 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23058 fcntl.
23059
5be9d05d
AS
230602010-07-06 Andreas Schwab <schwab@redhat.com>
23061
c30b7ee2 23062 [BZ #11577]
5be9d05d
AS
23063 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23064 dl_signal_cerror.
23065
8a492a67
UD
230662010-07-06 Ulrich Drepper <drepper@redhat.com>
23067
23068 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23069 _PC_PIPE_BUF using F_GETPIPE_SZ.
23070
713df3d5
RM
230712010-07-05 Roland McGrath <roland@redhat.com>
23072
23073 * manual/arith.texi (Rounding Functions): Fix rint description
23074 implicit in round description.
23075
702e8f14
UD
230762010-07-02 Ulrich Drepper <drepper@redhat.com>
23077
23078 * elf/Makefile: Fix linking for a few tests to make recent linker
23079 happy.
23080
52ed8be9
AS
230812010-06-30 Andreas Schwab <schwab@redhat.com>
23082
23083 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23084 $(common-objpfx)libc_nonshared.a.
23085
f47c9a11
LM
230862010-06-21 Luis Machado <luisgpm@br.ibm.com>
23087
23088 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23089 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23090 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23091 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23092 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23093 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23094 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23095 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23110 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23111 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23112 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23113 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23114 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23115 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23116 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23117 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23118 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23119 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23120 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23121 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23136
6fb8cbcb
L
231372010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23138
23139 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23140 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23141 * string/memmove.c (memmove): Renamed to ...
23142 (MEMMOVE): ...this. Default to memmove.
23143 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23144 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23145 (END_CHK): Define.
23146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23147 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23148 mempcpy-ssse3-back memmove-ssse3-back.
23149 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23150 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23151 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23152 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23153 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23154 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23155 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23156 * sysdeps/x86_64/multiarch/memmove.c: New file.
23157 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23158 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23159 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23160 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23161 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23162 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23163 Define.
23164 (index_Fast_Copy_Backward): Define.
23165 (HAS_ARCH_FEATURE): Define.
23166 (HAS_FAST_REP_STRING): Define.
23167 (HAS_FAST_COPY_BACKWARD): Define.
23168
4e733bac 231692010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23170
23171 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23172 Restore proper fallback handling.
23173
63c4ed22
UD
231742010-06-19 Ulrich Drepper <drepper@redhat.com>
23175
ac2b484c
UD
23176 [BZ #11701]
23177 * posix/group_member.c (__group_member): Correct checking loop.
23178
63c4ed22
UD
23179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23180 OOM in getpwuid_r correctly. Return error number when the caller
23181 should return, otherwise -1.
23182 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23183 call returning > 0 value.
23184 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23185
765ade4b
AS
231862010-06-07 Andreas Schwab <schwab@redhat.com>
23187
23188 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23189 libc_nonshared.a from targets in modules-names.
23190
80da2e09
KS
231912010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23192
23193 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23194 requires it.
23195
158db122
LM
231962010-06-10 Luis Machado <luisgpm@br.ibm.com>
23197
23198 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23199 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23200 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23201 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23202
caa78cf8
AS
232032010-06-02 Andreas Schwab <schwab@redhat.com>
23204
23205 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23206
b2ef2c01
UD
232072010-06-14 Ulrich Drepper <drepper@redhat.com>
23208
23209 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23210 and F_GETPIPE_SZ.
23211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23215 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23216 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23217
fbd643b6
RM
232182010-06-14 Roland McGrath <roland@redhat.com>
23219
23220 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23221
f32f2869
JJ
232222010-06-07 Jakub Jelinek <jakub@redhat.com>
23223
23224 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23225 __REDIRECT followed by __THROW.
23226 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23227 * posix/getopt.h (getopt): Likewise.
23228
2a50c078
EPM
232292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23230
23231 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23232 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23233 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23234 in AT_FLAGS.
23235 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23236 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23237
eb5ad2eb
LM
232382010-05-28 Luis Machado <luisgpm@br.ibm.com>
23239
23240 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23241
3c88fe1e
L
232422010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23243
23244 [BZ #11640]
23245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23246 Properly check family and model.
23247
d2f73151
TY
232482010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23249
23250 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23251
ebd2e13d
LM
232522010-05-24 Luis Machado <luisgpm@br.ibm.com>
23253
23254 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23255
b32b8b45
UD
232562010-05-21 Ulrich Drepper <drepper@redhat.com>
23257
23258 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23259 symbol reference.
23260
9acbe24d
AS
232612010-05-19 Andreas Schwab <schwab@redhat.com>
23262
23263 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23264 symbol reference.
23265
f0ccf6ea
AS
232662010-05-21 Andreas Schwab <schwab@redhat.com>
23267
3d04ff3a
AS
23268 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23269 and internal_recvmmsg.
23270 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23271 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23272 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23273 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23274
f0ccf6ea
AS
23275 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23276 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23277 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23278
5b08ac57
AS
232792010-05-20 Andreas Schwab <schwab@redhat.com>
23280
23281 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23282
4828935d
LM
232832010-05-17 Luis Machado <luisgpm@br.ibm.com>
23284
23285 POWER7 optimizations.
23286 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23287 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23288
373d545e
UD
232892010-05-19 Ulrich Drepper <drepper@redhat.com>
23290
23291 * version.h: Update for 2.13 development version.
23292
21a2b1ae
AS
232932010-05-12 Andrew Stubbs <ams@codesourcery.com>
23294
23295 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23296 exceptions. Return 0.
23297
3f7dcb2b
RM
232982010-05-07 Roland McGrath <roland@redhat.com>
23299
23300 * elf/ldconfig.c (main): Add a const.
23301
5f24d53a 233022010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23303
a160f8d8
UD
23304 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23305 (args_options): Add no-idn option.
23306 (ahosts_keys_int): Add idn_flags to ai_flags.
23307 (parse_option): Handle 'i' option to clear idn_flags.
23308
5f24d53a
UD
23309 * malloc/malloc.c (_int_free): Possible race in the most recently
23310 added check. Only act on the data if no current modification
23311 happened.
265bb1ce
UD
23312
23313See ChangeLog.17 for earlier changes.